Author Topic: RE: KDS v2.2 Killer Death System - Faction Glitch - FIXED  (Read 325 times)

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
RE: KDS v2.2 Killer Death System - Faction Glitch - FIXED
« on: December 31, 2013, 09:53:22 pm »


                Hi All!

I've been using Killer Death System v2.2 by Axe for the death system in my LAN module. One of my players found a major glitch that I have been unable to fix. She killed a chicken with an AOE spell and the entire Commoner faction has now turned against her. She died in a massive fight with the townsfolk and was sent to Purgatory. After reviving and returning to the town the commoners all attacked her. Everytime her cursor passed over a commoner it did not change to a sword, it stayed as the usual talk-to icon. 

I checked the KDS OnPlayerDeath script and it resets the standard factions using the same coding as in nw_o0_death. I have no idea what's wrong with it.

Anyone else ever have this issue with KDS? Or, is there an alternate system I can use that leaves behind a PC corpse and sends the dead PC to a Purgatory area until either raised by allies, brought back by a DM, or by paying an XP or GP cost?
               
               

               


                     Modifié par Pstemarie, 01 janvier 2014 - 01:23 .
                     
                  


            

Legacy_Cursed Eclipse

  • Full Member
  • ***
  • Posts: 132
  • Karma: +0/-0
RE: KDS v2.2 Killer Death System - Faction Glitch - FIXED
« Reply #1 on: December 31, 2013, 10:40:42 pm »


               If you have an OnPlayerRespwan  event use this instead OnDeath to reset the faction.
               
               

               


                     Modifié par Cursed Eclipse, 31 décembre 2013 - 10:44 .
                     
                  


            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
RE: KDS v2.2 Killer Death System - Faction Glitch - FIXED
« Reply #2 on: December 31, 2013, 10:49:43 pm »


               Make a custom neutral faction for the chicken and make sure global is not check or check commoner and make sure it not global.
               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
RE: KDS v2.2 Killer Death System - Faction Glitch - FIXED
« Reply #3 on: December 31, 2013, 11:00:29 pm »


               Its not a faction problem guys - its a problem with KDS. I just got done using a test module with just KDS installed as the scripts and the same thing happens. Changing the creatures isn't going to be a good solution because this anomaly happens for ALL factions. Basically if you screw up and kill someone you shouldn't you're screwed!

@Cursed Eclipse - KDS removes the respawn script.
               
               

               


                     Modifié par Pstemarie, 01 janvier 2014 - 01:24 .
                     
                  


            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
RE: KDS v2.2 Killer Death System - Faction Glitch - FIXED
« Reply #4 on: January 01, 2014, 01:16:14 am »


               I have resolved the faction issue - it was a timing issue, preventing the factions from resetting properly when the dead PC was sent to purgatory. The short of it - the PC has to be a corpse for 6 seconds before going to Purgatory, allowing the calls to SetStandardFactionReputation() to fully process the adjustment they make to the factions.

I have uploaded the modified version of kds1_playerdeath.nss to Pastebin for any are interested.

pastebin.com/iKhwgVxg
               
               

               


                     Modifié par Pstemarie, 01 janvier 2014 - 01:26 .