[Error - MoveEvents Interface]
data/movements/scripts/pharao/tiledemon.lua:onStepIn
Description:
data/movements/scripts/pharao/tiledemon.lua:9: attempt to perform arithmetic on
a string value
stack traceback:
data/movements/scripts/pharao/tiledemon.lua:9: in function <data/movemen
ts/scripts/pharao/tiledemon.lua:2>
[Error - MoveEvents Interface]
data/movements/scripts/pharao/tiledemon.lua:onStepIn
Description:
data/movements/scripts/pharao/tiledemon.lua:9: attempt to perform arithmetic on
a string value
stack traceback:
data/movements/scripts/pharao/tiledemon.lua:9: in function <data/movemen
ts/scripts/pharao/tiledemon.lua:2>
Pergunta
carlinhoo0ww 0
PRECISO MT DA AJUDA DE VOCES COM ESSE SCRIPT
ELE FUNCIONA NORMALMENTE
QUEM NAO GANHA A STORAGE DO NPC NAO PASSA
,E QUEM GANHA A STORAGE DO NPC PASSA NORMALMENTE
MAAAAAAS QUANDO O PLAYER PISA NO TILE APARECE ESSE ERRO NA DISTRO:
MAS REPITO FUNCIONA 100% SO APARECE O ERRO NO DISTRO
[Error - MoveEvents Interface]
data/movements/scripts/pharao/tilequeen.lua:onStepIn
Description:
(luaDoPlayerSendTextMessage) Player not found
______________________________________________________________________________
[Error - MoveEvents Interface]
data/movements/scripts/pharao/tiledemon.lua:onStepIn
Description:
data/movements/scripts/pharao/tiledemon.lua:9: attempt to perform arithmetic on
a string value
stack traceback:
data/movements/scripts/pharao/tiledemon.lua:9: in function <data/movemen
ts/scripts/pharao/tiledemon.lua:2>
________________________________________________________________________________
[Error - MoveEvents Interface]
data/movements/scripts/pharao/tiledemon.lua:onStepIn
Description:
data/movements/scripts/pharao/tiledemon.lua:9: attempt to perform arithmetic on
a string value
stack traceback:
data/movements/scripts/pharao/tiledemon.lua:9: in function <data/movemen
ts/scripts/pharao/tiledemon.lua:2>
O SCRIPT É ESSE:
-- Script Vip Sytem 1.0 --
function onStepIn(cid, item, position, fromPosition)
local config = {
msgDenied = "You don't have Master Demon goldentask",
msgWelcome = "Seja Bem Vindo."
}
if getPlayerStorageValue(cid, 91023) - os.time() <= 0 then
doTeleportThing(cid, fromPosition, true)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
return TRUE
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome)
return TRUE
end
E SAO EM TORNO DE 4 TILE COM O MESMO SCRIPT SO MUDEI A STORAGE.
dourep++++
Link para o comentário
Compartilhar em outros sites
7 respostass a esta questão
Posts Recomendados