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!

Despawn time of Dropped loot

Initiate Mage
Joined
Jan 5, 2019
Messages
1
Reaction score
0
Anyone got an idea how i can despawn dropped loot instantly?
 
Newbie Spellweaver
Joined
Dec 24, 2018
Messages
47
Reaction score
14
in type.xml

-For Exemple-

<type name="Paper">
<lifetime>3</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>

<lifetime>3</lifetime> this one is for time of the item and if you want despawn instantly i think you need to set this :

deloot="0" to this deloot="1"

of course if you added a item like :

<type name="YOURITEMID">
<nominal>100</nominal>
<lifetime>1</lifetime>
<restock>0</restock>
<min>80</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="1"/>
<category name="weapons"/>
</type>

this one despawn weapon / Magzine / Melee weapon Just add the classname of the item you want to despawn instantly in YOURITEMID and add this code to type.xml if already exist just change ..deloot="0" to deloot="1" and change this too <lifetime>170000</lifetime> to <lifetime>1</lifetime>
 
Back
Top