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

[Help] Deaths not saving..

AGS

DeathSouls Owner
Joined
Oct 29, 2007
Messages
400
Reaction score
10
Location
Mexico
I have a problem, when a player dies, he loses level, eqp, you know.. everything is ok, but the death doesn't appear on the player_deaths table =\

I'm using the version 0.2.6
 
To make the death list work do this.
Go to data/creaturescripts/scripts.
open login.lua
and replace what you have with this.
Code:
function onLogin(cid)
registerCreatureEvent(cid, "PlayerDeath")
return TRUE
end
 
It worked!!
Thanks a lot! =D
 
this can work?
Code:
function onLogin(cid)

str = "Wellcome\nTibia Mochis Server\nºPlayers Commands:\n-!help\n-!online\n-!buyhouse\n-!sellhouse\n-!serverinfo\n-!kills\n-!createguild\n-!joinguild\n-!bp\n-!leavehouse\n-!save\n-!changesex\n-!uptime\n-!ranks 'exp or skill rank here'\nDiviertete conviviendo y disfrutando del server.\nThe Tibia Mochis Team\nalgun problema reportar a: [email protected]"


doPlayerPopupFYI(cid, str)
	return TRUE
function onLogin(cid)
registerCreatureEvent(cid, "PlayerDeath")
return TRUE
end
end
 
this can work?
Code:
function onLogin(cid)

str = "Wellcome\nTibia Mochis Server\nºPlayers Commands:\n-!help\n-!online\n-!buyhouse\n-!sellhouse\n-!serverinfo\n-!kills\n-!createguild\n-!joinguild\n-!bp\n-!leavehouse\n-!save\n-!changesex\n-!uptime\n-!ranks 'exp or skill rank here'\nDiviertete conviviendo y disfrutando del server.\nThe Tibia Mochis Team\nalgun problema reportar a: [email protected]"


doPlayerPopupFYI(cid, str)
	return TRUE
function onLogin(cid)
registerCreatureEvent(cid, "PlayerDeath")
return TRUE
end
end

Try with this:
Code:
function onLogin(cid)

str = "Wellcome\nTibia Mochis Server\nºPlayers Commands:\n-!help\n-!online\n-!buyhouse\n-!sellhouse\n-!serverinfo\n-!kills\n-!createguild\n-!joinguild\n-!bp\n-!leavehouse\n-!save\n-!changesex\n-!uptime\n-!ranks 'exp or skill rank here'\nDiviertete conviviendo y disfrutando del server.\nThe Tibia Mochis Team\nalgun problema reportar a: [email protected]"

doPlayerPopupFYI(cid, str)
	return TRUE
registerCreatureEvent(cid, "PlayerDeath")
return TRUE
end
 
Back
Top