Ir para conteúdo

Pela Mor De Deus Ajuda Ai + Rep


cdmanga

Posts Recomendados

aff olha só o erro que da no meu server:

[05/01/2012 13:09:49] [Error - CreatureScript Interface]

[05/01/2012 13:09:49] data/creaturescripts/scripts/arenakill.lua:onKill

[05/01/2012 13:09:49] Description:

[05/01/2012 13:09:49] attempt to call a table value

[05/01/2012 13:09:49] stack traceback:

 

[05/01/2012 13:09:49] [Error - CreatureScript Interface]

[05/01/2012 13:09:49] data/creaturescripts/scripts/killinginthenameof.lua:onKill

[05/01/2012 13:09:49] Description:

[05/01/2012 13:09:49] attempt to call a table value

[05/01/2012 13:09:49] stack traceback:

 

[05/01/2012 13:09:50] [Error - CreatureScript Interface]

[05/01/2012 13:09:50] data/creaturescripts/scripts/arenakill.lua:onKill

[05/01/2012 13:09:50] Description:

[05/01/2012 13:09:50] attempt to call a table value

[05/01/2012 13:09:50] stack traceback:

 

[05/01/2012 13:09:50] [Error - CreatureScript Interface]

[05/01/2012 13:09:50] data/creaturescripts/scripts/killinginthenameof.lua:onKill

[05/01/2012 13:09:50] Description:

[05/01/2012 13:09:50] attempt to call a table value

[05/01/2012 13:09:50] stack traceback:

 

[05/01/2012 13:09:50] [Error - CreatureScript Interface]

[05/01/2012 13:09:50] data/creaturescripts/scripts/advancesave.lua:onAdvance

[05/01/2012 13:09:50] Description:

[05/01/2012 13:09:50] attempt to call a number value

[05/01/2012 13:09:50] stack traceback:

 

[05/01/2012 13:09:56] [Error - CreatureScript Interface]

[05/01/2012 13:09:56] data/creaturescripts/scripts/advancesave.lua:onAdvance

[05/01/2012 13:09:56] Description:

[05/01/2012 13:09:56] attempt to call a number value

[05/01/2012 13:09:56] stack traceback:

e continua, quando isso acontece o tibia.exe para de funcionar

oq eu faço????

Link para o comentário
Compartilhar em outros sites

advancesave.lua:

-- [( Script edited by: DoidinMapper for XTibia.com )] --

function onAdvance(cid, skill, oldLevel, newLevel)

local config = {savePlayersOnAdvance = true}

if(config.savePlayersOnAdvance) then

doPlayerSave(cid, TRUE)

end

return TRUE

end

--------------------------------------------------

arenakill.lua:

function onKill(cid, target)

local room = getArenaMonsterIdByName(getCreatureName(target))

if room > 0 then

setPlayerStorageValue(cid, room, 1)

doPlayerSendTextMessage(cid,22,"You can enter next room!")

end

return TRUE

end

------------------------------------------------

vlw

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...