• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua OTSERV 8.7 talkmode beyond last

markkus

New Member
Joined
Jan 28, 2011
Messages
5
Reaction score
0
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
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.
 
Fixed

If anyone has the same errors:
TALKMODE_BEYOND_LAST error was caused by the lua file with all talkmodes, it was too old
and Cannot find monster = The monster in remeres map editor was saved when it was white npc outfit ( means 'Cannot find monster' ) so you have to import monster/npc in file menu with every monster.

Ty for help though (not)
 
Talkmodes has to do with
Code:
doPlayerSendMessage(Cid, 25)
to
Code:
MESSAGE_STATUS_CONSOLE_ORANGE

MESSAGE_INFO_DESCR

MESSAGE_STATUS_CONSOLE_BLUE
 
Last edited:
Back
Top