Author Topic: [TLA SDK] Permanent death  (Read 2432 times)

[TLA SDK] Permanent death
« on: August 21, 2016, 10:14:34 pm »
I spend some time today on failed attempts to make perma death omitting replication in damn hell, but no fully satisfied effect. Setting _permanentDeath to 1 in config.fos enable this function only partialy coz no matter what char after death is at least one time replicated in respawn point before client is kicked out and char deleted. My dream is make perma death working without any replication before, just like game over.
Here is replication.fos - https://xp-dev.com/sc/76003/6/%2FServer%2Fscripts%2Freplication.fos (probably lines 183-185 are desirable effect)
If someone can take a look and say me how I can deal with this this I will be glad and happy :)

Offline Wipe

  • Rotator
  • Random is god
Re: [TLA SDK] Permanent death
« Reply #1 on: August 22, 2016, 05:53:46 pm »
Just replace whole if( cr.IsPlayer() ) block with content of lines 183-185 and return.
Games are meant to be created, not played...

Re: [TLA SDK] Permanent death
« Reply #2 on: August 22, 2016, 08:49:53 pm »
Ingenious in its simplicity! Thanks :)