• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Items desappear before time left.

God Triaca

New Member
Joined
Dec 13, 2008
Messages
23
Reaction score
1
I'm trying to change some itens to left after 30 days using it.
but all itens desappear after 3 sec using.

HTML:
    <item id="26132" name="void boots">
        <attribute key="description" value="It can only be wielded properly by players of level 150 or higher." />
        <attribute key="weight" value="1500" />
        <attribute key="slotType" value="feet" />
        <attribute key="decayTo" value="0" />
        <attribute key="transformDeEquipTo" value="26133" />
        <attribute key="duration" value="2592000" />
        <attribute key="showduration" value="1" />
        <attribute key="speed" value="60" />
        <attribute key="armor" value="2" />
        <attribute key="healthGain" value="100" />
        <attribute key="healthTicks" value="3000" />
        <attribute key="manaGain" value="100" />
        <attribute key="manaTicks" value="3000" />
        <attribute key="absorbPercentEnergy" value="10" />
        <attribute key="showattributes" value="1" />
    </item>
    <item id="26133" name="void boots">
        <attribute key="description" value="It can only be wielded properly by players of level 150 or higher." />
        <attribute key="weight" value="1500" />
        <attribute key="slotType" value="feet" />
        <attribute key="transformEquipTo" value="26132" />
        <attribute key="stopduration" value="1" />
        <attribute key="showduration" value="1" />
    </item>
 
Well, not sure about your 3 seconds issue..
But 1 day is 86400 seconds.
30 days is 2592000 seconds.
Which is what you have.. but you need to add 3 zero's because it's milliseconds.
30 days is 2,592,000,000 milliseconds.
 
Well, not sure about your 3 seconds issue..
But 1 day is 86400 seconds.
30 days is 2592000 seconds.
Which is what you have.. but you need to add 3 zero's because it's milliseconds.
30 days is 2,592,000,000 milliseconds.

When I added more 3 zeros, duration changed for 24 days and 16 hours but worked fine bc its didnt desappear :D
and now to change for 30 days? haha
 

Attachments

1000 milliseconds is 1 second.
60 seconds is 1 minute.
60 minutes is 1 hour.
24 hours = 1 day.

1000 * 60 * 60 = 1 hour in milliseconds. (3,600,000)
1000 * 60 * 60 * 24 = 1 day in milliseconds. (8,6400,000)

1 hour in milliseconds * 16 = 16 hours. (57,600,000)
1 day in milliseconds * 24 = 24 days. (2,073,600,000)

(57,600,000) + (2,073,600,000) = Those void boots expiration. (2,131,200,000)


soooo.. either your source is broken.. or those boots aren't 'fresh', and their timer has been ticking down already.
Or.. you have some script somewhere that is interfering with the boots.

I don't know what what else to say.
 
do you know where can I find for something ticking it?
I opened almost all .lua, .cpp and .html trying to find something with IDItem or name void boots.
 
Back
Top