Skip to content
Snippets Groups Projects
  1. Oct 24, 2015
    • DarkGod's avatar
      6b9ff5eb
    • DarkGod's avatar
      Merge branch 'wardens_call_fix' of http://git.net-core.org/Effigy/t-engine4... · 90cdbe42
      DarkGod authored
      Merge branch 'wardens_call_fix' of http://git.net-core.org/Effigy/t-engine4 into Effigy/t-engine4-wardens_call_fix
      90cdbe42
    • DarkGod's avatar
      stuff · f85f439c
      DarkGod authored
      f85f439c
    • DarkGod's avatar
      Merge branch 'Misc' into 'master' · 0673e711
      DarkGod authored
      A few different things
      
      Hi DarkGod, I baked you some code! :D
      
      Contains 5 different things, which are separate should you not want all of them.
      1: Changes disease spreading code to be more general to works nicely with any future or addon diseases.
      2: Adds bleeding damage to Bone spells. They are a little bit weak and then I won't have to hack them for Witherer. :)
      3: Balances some creatures with innate 100 points per turn resource regeneration.
      4: Adds more zone auras which include handy tooltips for explaining things like finding bubbles when underwater. Also adds some flavourful modifiers.
      5: Addresses a bug with the hasShield() change I found while testing this.
      0673e711
    • DarkGod's avatar
      Merge branch 'small_fixes' into 'master' · d572a3ef
      DarkGod authored
      Small fixes
      
      Fix 1: Improve efficiency of Arcane Combat info
      
      Changed Arcane Combat's description generator to use table.concat, to
      avoid making temporary string objects that need garbage collection.
      
      Fix 2: Fix various typos
      d572a3ef
    • Samuel Wegner's avatar
      Fix comment wording · 59367ea6
      Samuel Wegner authored
      59367ea6
    • Simon André Curtis's avatar
    • Samuel Wegner's avatar
      Set minimum duration · 8fcfd0a1
      Samuel Wegner authored
      8fcfd0a1
    • Samuel Wegner's avatar
      Remove debugging code · dd24e023
      Samuel Wegner authored
      dd24e023
    • Samuel Wegner's avatar
      Restructure cloning code and more · 878cd840
      Samuel Wegner authored
      1. Since the customizable table cloning function may be useful for
      other purposes than just making Chronomancy clones, I moved it to
      engine/class.lua and renamed it cloneCustom(). It works like
      cloneFull(), but allows specifying a table of keys/values to skip or
      replace in the clone table.
      
      If desired, I could instead just modify cloneFull() to have an optional
      parameter for the "alt_nodes" table, but I didn't want to mess with it
      without permission. There could be a conditional statement to pick
      between two different recursive functions so the optional param doesn't
      impact performance, if that's a concern.
      
      2. Updated comments for cloneFull() and related functions for clarity.
      The comment originally said it returns the clone and the number of
      objects cloned, but it actually only returns the clone. I think the
      comment may have been copied from somewhere else and not updated.
      
      3. Renamed the "t" param from cloneFull() to "post_copy" to be more
      descriptive and to be consistent with cloneCustom(). This has no
      functional impact.
      
      4. Significantly expanded the number of properties which are skipped
      when making Chronomancy clones of an actor. Hopefully this will improve
      performance and maybe even help with the memory leak. I didn't see any
      errors during brief testing, but it probably merits more testing.
      878cd840
    • Simon André Curtis's avatar
    • Simon André Curtis's avatar
      df5c4b12
    • Simon André Curtis's avatar
      Icons are good. · a895435f
      Simon André Curtis authored
      a895435f
  2. Oct 23, 2015
  3. Oct 22, 2015
  4. Oct 21, 2015
    • Samuel Wegner's avatar
      Improve efficiency · 33f94dd8
      Samuel Wegner authored
      33f94dd8
    • Samuel Wegner's avatar
      Fix coding style · e66fe05c
      Samuel Wegner authored
      e66fe05c
    • Samuel Wegner's avatar
      Fix comment formatting · a5d7126d
      Samuel Wegner authored
      a5d7126d
    • Samuel Wegner's avatar
      Fix some issues with Warden's Call · e42cbd0a
      Samuel Wegner authored
      Fix 1: Improve cloning function
      
      Previously, makeParadoxClone() temporarily cleared the actor's
      particles and main inventory so that they wouldn't be copied by
      cloneFull() when making Warden's Call clones. However, this resulted
      in some players losing their inventory, probably due to some race
      condition during lag caused by the Warden's Call memory leak.
      
      Now, makeParadoxClone() has its own recursive table cloning function
      with options for skipping specific nodes or assigning them a different
      value from the source table. This way, we can clone an actor without
      modifying that actor's table.
      
      Fix 2: Create cleanup function for Warden's Call
      
      Added a basic cleanup function for Warden's Call clones. Currently, it
      just makes sure they're dead and replaces references in timed effects
      with references to the player, so the clones can be freed by the
      garbage collector. More features will likely be added as I find other
      causes of the memory leak.
      
      NOTE: These changes don't fix the memory leak. It may help a little,
      but that issue needs more investigation.
      
      It's probably worth pushing these changes back to v1.3.X in a minor
      update to fix the issue with missing player inventory. Completely
      fixing the memory leak may take a while.
      e42cbd0a
  5. Oct 20, 2015
  6. Oct 19, 2015
  7. Oct 18, 2015
  8. Oct 15, 2015
Loading