Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Making pets permanent.

Initiate Mage
Joined
Apr 16, 2016
Messages
86
Reaction score
1
I've been stuck on this for a bit not knowing where are the pet expiry handled at. Would be great to get a tip from anyone who knows!

I've tried to set period on pets in the XML to 0 but it doesn't work.
 
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
When I had no item expirations implemented I personally just used this for the dateDead of the pet (in addItemInfo):
PHP:
mplew.writeLong((long)(System.currentTimeMillis() * 1.2));

This will always make your pets "permanent".
 
Upvote 0
Initiate Mage
Joined
Jun 30, 2017
Messages
22
Reaction score
0
When I had no item expirations implemented I personally just used this for the dateDead of the pet (in addItemInfo):
PHP:
mplew.writeLong((long)(System.currentTimeMillis() * 1.2));

This will always make your pets "permanent".

Hi~
Where to look for additeminfo?

Thanks
 
Upvote 0
Back
Top