Hi,
is there a way to notify users before the automatic decay happens?
Notify users of decay
Re: Notify users of decay
The only way to do this is to disable the core decay in servspecopt.cfg with DecayItems=0 and then script your own decay system.
You're welcome to build off of a decay system I wrote to accomplish that:
https://svn.code.sf.net/p/mytharria/cod ... ems/decay/
You're welcome to build off of a decay system I wrote to accomplish that:
https://svn.code.sf.net/p/mytharria/cod ... ems/decay/
Re: Notify users of decay
Interesting! Thank you Austin.
Looking at the sources, I've seen that you use .decayat as the property on which decide when to decay item. I can't seem to find documentation about how this prop works. For example, when you drop an item on the ground, this property is automatically set to some value by POL?
Looking at the sources, I've seen that you use .decayat as the property on which decide when to decay item. I can't seem to find documentation about how this prop works. For example, when you drop an item on the ground, this property is automatically set to some value by POL?
Re: Notify users of decay
http://docs.polserver.com/pol099/objref.php#Item
Yeah the POL core sets it.
It is related to the serverspecopt.cfg DefaultDecayTime value.
http://docs.polserver.com/pol099/config ... pecopt.cfg
Yeah the POL core sets it.
It is related to the serverspecopt.cfg DefaultDecayTime value.
http://docs.polserver.com/pol099/config ... pecopt.cfg