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

War server

Kippetjee

Member
Joined
Jun 17, 2009
Messages
1,197
Reaction score
11
Location
The Netherlands
Im making a war server

And i need fix sometings
People are losing hes backpack when they died ( not evrey time )
and how can i fix that they dint lose skills when she died?


if you can help me i repp u :D
 
login.lua, replace:
LUA:
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
	end
with
LUA:
	for i = 0, 4 do
		doPlayerSetLossPercent(cid, i, 0)
	end
Or if you're making a true war server and don't want anything to be saved on logout/death, execute this SQL query in phpMyAdmin:
SQL:
UPDATE players SET save = 0
 
Back
Top