• 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!

Loss items

alekito

Archlord - Retired
Joined
Oct 21, 2008
Messages
150
Reaction score
29
Location
Sweden
I need help to make my chars not lose anything when they die. only the amulet they got on.

i give rep+ for help!
 
Last edited:
Is why have bad loss percen items, etc in database
go to phpmyadmin - SQL and execute this query:
SQL:
update player set loss_items  = 0;
 
Last edited:
That query is for loss items, he said that not loss items, add this to creaturescripts/login.lua:

doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 0)
doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 0)
 
Back
Top