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

Make all items drop on death 100% TFS 0.2.15

crispy_256

New Member
Joined
Sep 18, 2014
Messages
10
Reaction score
1
I've read all over the forums and I've looked to find how to change the item drop percentage.

I'm using Uniform Server Zero and MySQL

I can't find anything in my phpMyAdmin that has to do with item loss.
I've tried to type
doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, percent)
doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, percent)
in my login.lua but I get this error

[20/11/2014 00:05:45] Lua Script Error: [CreatureScript Interface]
[20/11/2014 00:05:45] data/creaturescripts/scripts/login.lua:onLogin
[20/11/2014 00:05:45] data/creaturescripts/scripts/login.lua:3: attempt to call global 'doPlayerSetLossPercent' (a nil value)
[20/11/2014 00:05:45] stack traceback:
[20/11/2014 00:05:45] [C]: in function 'doPlayerSetLossPercent'
[20/11/2014 00:05:45] data/creaturescripts/scripts/login.lua:3: in function <data/creaturescripts/scripts/login.lua:1>

I know I'm using an older version of TFS but for what I need for my server I think it will work nicely....I just need to change the item drop percentage.
Thanks in advance!

P.S. I'd like to give rep+ for whoever helps....but I don't really know how lol
 

Similar threads

Back
Top