nao deu
[15/02/2011 19:15:04] [Error - CreatureScript Interface] [15/02/2011 19:15:04] In a timer event called from: [15/02/2011 19:15:04] data/creaturescripts/scripts/logout.lua:onLogout [15/02/2011 19:15:04] Description: [15/02/2011 19:15:04] (luaDoPlayerSendTextMessage) Player not found [15/02/2011 19:15:05] [Error - CreatureScript Interface] [15/02/2011 19:15:05] In a timer event called from: [15/02/2011 19:15:05] data/creaturescripts/scripts/logout.lua:onLogout [15/02/2011 19:15:05] Description: [15/02/2011 19:15:05] (luaDoPlayerSendTextMessage) Player not found [15/02/2011 19:15:06] [Error - CreatureScript Interface] [15/02/2011 19:15:06] In a timer event called from: [15/02/2011 19:15:06] data/creaturescripts/scripts/logout.lua:onLogout [15/02/2011 19:15:06] Description: [15/02/2011 19:15:06] (luaDoPlayerSendTextMessage) Player not found [15/02/2011 19:15:07] [Error - CreatureScript Interface] [15/02/2011 19:15:07] In a timer event called from: [15/02/2011 19:15:07] data/creaturescripts/scripts/logout.lua:onLogout [15/02/2011 19:15:07] Description: [15/02/2011 19:15:07] (luaDoRemoveCreature) Creature not found
EDIT--
descobri o erro era porque eu tava tentando com o GOD, mais mesmo assim ainda aparece o erro no log ![]()










info
Grupo: Visconde
Registrado: 21/04/08
Posts: 311
Reputação: +257
Tá ligado o cooldown do MU, qndo vc vai logar aparece vc será logado em tantos segundos.. ai vai o script, mais para ele funcionar vc vai precisar dessa minha função encontrada aki no xtibia..
doRemoveCreatureInSeconds(cid, seconds)
crie um arquivo com nomi de logout.lua na pasta creaturescripts/scripts e cole script :
function onLogout(cid) if isCreature(cid) then doRemoveCreatureInSeconds(cid, 5) return false end return true endTAG:
Depois no arquivo creaturescripts/scripts/login.lua adicione o registro :
Obrigado a todos, e adeus.
Editado Abril 20 por xotservx