PenUltima Online

It is currently Mon Oct 06, 2008 4:08 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: item decay timer problem
PostPosted: Sun Apr 22, 2007 1:44 pm 
Offline

Joined: Fri Feb 10, 2006 8:29 am
Posts: 21
There is a little problem with item decay time. Item decayat do not reset when item is set to movable. (Fortunatelly, I can do it myself, because I can change .decayat member... but it would be probably better if core do that)

Problem occurs when for example: Item objtype has DecayOnMultis 1 in itemdesc.cfg, item is locked (unmovable) on house ground for some time, and then when someone will unlock it, item can immediatelly disappear, because decayat time is not refreshed. Decay sweep interval is like 10-20 mins (maybe the DefaultDecayTime ?), then it depends, sometimes it stays on the ground for a 5 mins more, and in another case it can stay on ground for a 1 sec.
I think it wont hurt if pol will update decayat member on Item.movable := 1;

Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl