I'm getting crash when I login on my 8.7 server, (upgraded an evolution from 8.54) and when I start Tibia again the error is: TALKMODE_BEYOND_LAST, and I think it's something wrong in globalevents.
Here's effects.lua
Also I'm getting spammed with error: Addmonster Cannot find monster ""
How to fix that ??
Thx.
Here's effects.lua
Code:
--[[
Talking Tp/signs/tiles for TFS 0.3+
by Maxi (Shawak)
]]--
local text = {
--X pos,Y pos, Z pos, text
[1] = {pos = {1002,1003,7}, text = {"Itemki Na"}},
[2] = {pos = {1003,1003,7}, text = {"Start !"}},
[3] = {pos = {779,808,7}, text = {"Teleports"}},
[4] = {pos = {995,992,7}, text = {"ViP TP's"}},
[5] = {pos = {1004,1001,7}, text = {"Teleports"}},
[6] = {pos = {998,994,7}, text = {"NPC"}},
[7] = {pos = {1026,994,7}, text = {"Trainers!"}},
[8] = {pos = {1034,1001,7}, text = {"Temple!"}},
[9] = {pos = {998,1000,7}, text = {"Trainers!"}},
[10] = {pos = {998,998,7}, text = {"NPC "}},
[11] = {pos = {1004,994,7}, text = {"Depo !"}},
[12] = {pos = {998,992,7}, text = {"Kasyno !"}},
[13] = {pos = {1032,996,4}, text = {"Earth"}},
[14] = {pos = {1033,996,4}, text = {"Monsters"}},
[15] = {pos = {1034,996,4}, text = {"EXP !"}}
}
local effects = {
--X pos,Y pos, Z pos, text
[1] = {pos = {1004,1001,7}, effect = {31}},
[2] = {pos = {1026,994,7}, effect = {21}},
[3] = {pos = {1034,1001,7}, effect = {30}},
[4] = {pos = {998,1000,7}, effect = {21}},
[5] = {pos = {1032,996,4}, effect = {45}},
[6] = {pos = {1033,996,4}, effect = {50}},
[7] = {pos = {1034,996,4}, effect = {54}},
}
function onThink(interval, lastExecution)
for _, area in pairs(text) do
doSendAnimatedText({x=area.pos[1],y=area.pos[2],z=area.pos[3]},area.text[1], math.random(01, 255))
end
for _, area in pairs(effects) do
doSendMagicEffect({x=area.pos[1],y=area.pos[2],z=area.pos[3]},area.effect[1])
end
return TRUE
end
Also I'm getting spammed with error: Addmonster Cannot find monster ""
How to fix that ??
Thx.