Skip to content
Snippets Groups Projects
  1. Oct 21, 2015
    • 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
  2. Oct 05, 2015
  3. Aug 30, 2015
  4. Mar 16, 2015
  5. Mar 03, 2015
  6. Feb 25, 2015
  7. Feb 22, 2015
  8. Feb 21, 2015
  9. Feb 20, 2015
  10. Feb 19, 2015
  11. Feb 18, 2015
  12. Feb 16, 2015
  13. Feb 14, 2015
  14. Feb 10, 2015
  15. Feb 09, 2015
  16. Feb 08, 2015
  17. Feb 06, 2015
  18. Feb 05, 2015
  19. Feb 03, 2015
  20. Jan 24, 2015
  21. Jan 23, 2015
  22. Jan 22, 2015
  23. Jan 19, 2015
  24. Jan 18, 2015
  25. Jan 16, 2015
Loading