• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Windows when i die i go down to lvl 1

Wipflash

Old School
Joined
Jul 27, 2010
Messages
1,101
Reaction score
87
Location
Sweden
My server got some bug , so when i die i go down to lvl 1? , does anyone know this error?
 
look, go to your database and take a look on your samples, and watch out in loss_experience, loss_items, etc.. it may have it in "100"
 
SQL:
UPDATE players SET loss_experience = 100;
and check this line in your login.lua
LUA:
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
	end
After that it shouldn't happen again :)
 
Back
Top