PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Items not decaying.

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 096
Display posts from previous:   

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1094
Location: Southern Central USA

PostPosted: Tue Jul 25, 2006 10:18 pm    Post subject: Items not decaying. Reply with quote

I am running POL 96.1. My servspecopt.cfg file has the following entries:

Code:

#
# DecayItems - Determines if the decay system is enabled or not.
#
DecayItems=1

#
# DefaultDecayTime - minimum number of minutes before movable items decay (are destroyed)
#
DefaultDecayTime=10


I created a robe, made sure it was set to moveable and have left it for over 24 hours lying on the ground and it still remains. I think this might be a bug or else I am misinterpreting the logic for the "DecayItems" setting in the specopt file.

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Wed Jul 26, 2006 12:05 am    Post subject: Reply with quote

Did you create it on the ground, and never move it? Did you check to make sure the decayat property was set? etc. Please, more info Smile

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1094
Location: Southern Central USA

PostPosted: Wed Jul 26, 2006 1:18 am    Post subject: Reply with quote

I used the .create command which creates things on the ground. I never checked the decayat property though. I guess I assumed that created items would have that set to some default value.

I'll write a quick script to check the property and get back to you.

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1094
Location: Southern Central USA

PostPosted: Wed Jul 26, 2006 1:27 am    Post subject: Reply with quote

Maud,

Here is my read decay property script:

Code:

use uo;
use os;

include "include/client";


program read_decayat(who)
//
   var item := target(who);
   SendSysMessage (who, "DecayAt property set to " + item.decayat);

endprogram


It returns a value of 0. If memory serves me this means that the item will never decay. I wasn't aware that the create command set items decayat to 0. I'll look at that script and if it does I'll fix that.

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1094
Location: Southern Central USA

PostPosted: Wed Jul 26, 2006 1:29 am    Post subject: Reply with quote

Guess the problem was in the create command.

Thanks for the help Maud. Once again you've come to my rescue.

*smiles*

Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 096 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty