Aller au contenu

Photo

RE: KDS v2.2 Killer Death System - Faction Glitch - FIXED


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
Pstemarie

Pstemarie
  • Members
  • 2 745 messages
 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 .


#2
Cursed Eclipse

Cursed Eclipse
  • Members
  • 70 messages
If you have an OnPlayerRespwan event use this instead OnDeath to reset the faction.

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


#3
ShadowM

ShadowM
  • Members
  • 768 messages
Make a custom neutral faction for the chicken and make sure global is not check or check commoner and make sure it not global.

#4
Pstemarie

Pstemarie
  • Members
  • 2 745 messages
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 .


#5
Pstemarie

Pstemarie
  • Members
  • 2 745 messages
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 .