• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Talking Signs 9.7!

bybbzan

mapper
Joined
Aug 4, 2012
Messages
809
Solutions
2
Reaction score
136
Location
Sweden
Hello! Since the newer versions of tibia has come, they deleted the function doSentAnimatedText, so "talking signs/teleports" are gone.
BUT some months ago i actually fixed it. There was a text above the teleports.
Then i deleted my trunk because i stopped play OT, and now i want to start again, but i can't remember how i solved it!
I guess it was TALKTYPE_MONSTER or it could also have been something with Green texts, like when you look on someone ingame.

Can someone think about this and make it possible? Cuz i know it worked. <_<

Thanks in advance! :)

- - - Updated - - -

Please help me!
 

Seems very good Summ, but i do get this error :o

error.jpg


LUA:
local config = {
    positions = {
        {pos = {x = 851, y = 972, z = 7}, text = "Trainers", effects = {CONST_ME_MAGIC_BLUE}},
        {pos = {x = 855, y = 972, z = 7}, text = "Temple"}
		{pos = {x = 857, y = 982, z = 7}, text = "Hunts"}
        {pos = {x = 844, y = 944, z = 7}, text = "Quest"}		
    },
    effects = {CONST_ME_POFF, CONST_ME_TELEPORT, CONST_ME_MAGIC_RED}
}
 
function onThink(interval)
    local people = getPlayersOnline()
    if #people == 0 then
        return true
    end
 
    for _, info in pairs(config.positions) do
        doPlayerSay(people[1], info.text, TALKTYPE_MONSTER_SAY, false, 0, info.pos)
        if info.effects and #info.effects > 0 then
            doSendMagicEffect(info.pos, info.effects[math.random(#info.effects)])
        elseif config.effects and #config.effects > 0 then
            doSendMagicEffect(info.pos, config.effects[math.random(#config.effects)])
        end
    end
	return true
end
 
Last edited:
Leave this away:
, effects = {CONST_ME_MAGIC_BLUE}

and only add one effect here:
effects = {CONST_ME_POFF, CONST_ME_TELEPORT, CONST_ME_MAGIC_RED}
 
How would I do this on tfs 1.3 i know it’s possible as Iv seen it on other servers
 
Back
Top