Hello friends, i'm use TFS 0.2.11 8.1 server and i have many actions/ moviments with console erros, but work on server correctly.
-- See exemple:
-- and this is a erros when a monster spet on tile
Some scripts on movments and actions make this error, but when player execut this work fine, but when a monster step on it make all erros on console, i want to retire all erros because many erros crash the server...
No more, thx
F@bio
-- See exemple:
Code:
--Parede de Fogoo POI by F@bio--
function onStepIn(cid, item, frompos, item2, topos)
msg = "Burning!"
if item.itemid == 5062 then
doPlayerSendTextMessage(cid, 22, msg)
doPlayerAddMana(cid,-10)
doCreatureAddHealth(cid,-20)
doSendMagicEffect(getPlayerPosition(cid),15)
end
return 1
end
-- and this is a erros when a monster spet on tile
Code:
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/outros/firewall.lua:onStepIn
luaDoPlayerSendTextMessage(). Player not found
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/outros/firewall.lua:onStepIn
luaDoPlayerAddMana(). Player not found
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/outros/firewall.lua:onStepIn
attempt to index a number value
Some scripts on movments and actions make this error, but when player execut this work fine, but when a monster step on it make all erros on console, i want to retire all erros because many erros crash the server...
No more, thx
F@bio