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

WEIRD death bug

danielh70

New Member
Joined
Mar 15, 2009
Messages
36
Reaction score
0
well ok.. im using tfs 0.3.4pl2 gui and im testing it before i put it up.. when my char dies it goes back to char list and when i log in hes back at temple and stuff but.. WITHOUT an aol he keeps all his gear... and i went back to where he died and he has a body but nothings in it.. whats wrong?

oh btw. i have a server error.. i got like 100 or more of this error

Code:
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:47] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Royal Paladin
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elite Knight
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Master Sorcerer
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Druid
[22/06/2009 21:52:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Elder Druid

thats the whole error thing in my log.. when i start up server.. can somone fix this death thing? thnx
 
Last edited:
heres my login.lua and creaturescripts.xml

creatures.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<creaturescripts>

<event type="advance" name="advance" script="advance.lua"/>    	
<event type="login" name="PlayerLogin" event="script" value="login.lua"/>
	<event type="login" name="FirstItems" event="script" value="firstitems.lua"/>
	<event type="death" name="PlayerDeath" event="script" value="playerdeath.lua"/>
	<event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua"/>
	<event type="receivemail" name="Mail" event="script" value="mail.lua"/>
 
</creaturescripts>

login.lua
Code:
function onLogin(cid)
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
	end

	registerCreatureEvent(cid, "Mail")
	registerCreatureEvent(cid, "GuildMotd")
	registerCreatureEvent(cid, "PlayerDeath")


    registerCreatureEvent(cid, "GuildMotd")
    registerCreatureEvent(cid, "PlayerDeath")
    registerCreatureEvent(cid, "advance")
    return TRUE
end

is there any problems in there maby?
 
Back
Top