• 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!

Solved talking tp signs Problem

GMBear

chaos revived Owner
Joined
Jan 28, 2008
Messages
575
Reaction score
2
Location
New york
ok i got a problem here
Im using this tfs [04/08/2009 20:51:46] The Forgotten Server, version 0.3.4 (Crying Damson)

and i get this error
[04/08/2009 20:59:31] [Warning - Event::loadScript] Cannot load script (data/globalevents/scripts/Text.lua)
[04/08/2009 20:59:31] data/globalevents/scripts/Text.lua:13: '}' expected (to close '{' at line 6) near '['
[04/08/2009 20:59:32] Reloaded global events.

--[[
Talking Tp/signs/tiles for TFS 0.3+
by Maxi (Shawak)
]]--

local text = {


[1] = {pos = {1196,994,7}, text = {"!aol"}},
[2] = {pos = {998,993,7}, text = {"Hail"}},
[3] = {pos = {1002,993,7}, text = {"Hausch"}},
[4] = {pos = {1004,993,7}, text = {"Quests!"}}
[5] = {pos = {996,993,7}, text = {"Monster TPs"}}
[6] = {pos = {995,994,6}, text = {"RotWorms!"}}
[7] = {pos = {995,996,6}, text = {"Dragons!"}}
[8] = {pos = {995,998,6}, text = {"Hydra!"}}
[9] = {pos = {995,1000,6}, text = {"Heros!"}}
[10] = {pos = {995,1002,6}, text = {"Giant Spiders!"}}
[11] = {pos = {1005,994,6}, text = {"Vampires!"}}
[12] = {pos = {1005,996,6}, text = {"Demon!"}}
[13] = {pos = {1005,998,6}, text = {"600+"}}
[14] = {pos = {1005,1000,6}, text = {"1,000+"}}
[15] = {pos = {1005,1005,6}, text = {"1,200+"}}
[16] = {pos = {995,994,5}, text = {"2,000+"}}
[17] = {pos = {995,996,5}, text = {"2,500+"}}
[18] = {pos = {995,998,5}, text = {"3,500+"}}
[19] = {pos = {995,1000,5}, text = {"4,200+"}}
[20] = {pos = {995,1002,5}, text = {"5,000+"}}
[21] = {pos = {995,1005,5}, text = {"7,200+"}}
[22] = {pos = {1005,998,5}, text = {"8,200+"}}
[23] = {pos = {1005,1000,5}, text = {"10,000+"}}
[25] = {pos = {1005,1002,5}, text = {"12,000+"}}
[26] = {pos = {995,994,4}, text = {"15,000+"}}
[27] = {pos = {995,996,4}, text = {"20,000+"}}
[28] = {pos = {995,998,4}, text = {"22,000"}}
[29] = {pos = {995,1000,4}, text = {"25,000"}}
[30] = {pos = {995,1002,4}, text = {"30,000"}}
[31] = {pos = {1005,994,3}, text = {"35,000"}}


}

local effects = {
--X pos,Y pos, Z pos, text
[1] = {pos = {1095,1217,7}, effect = {18}},
[2] = {pos = {1096,1217,7}, effect = {19}},
[3] = {pos = {1097,1217,7}, effect = {21}},
[4] = {pos = {1098,1217,7}, effect = {22}}
}

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
Code:
--[[ 
        Talking Tp/signs/tiles for TFS 0.3+
        by Maxi (Shawak)
]]--

        local text = {
		
		
        [1] = {pos = {1196,994,7}, text = {"!aol"}},
        [2] = {pos = {998,993,7}, text = {"Hail"}},
        [3] = {pos = {1002,993,7}, text = {"Hausch"}},
        [4] = {pos = {1004,993,7}, text = {"Quests!"}}
		[5] = {pos = {996,993,7}, text = {"Monster TPs"}}
		[6] = {pos = {995,994,6}, text = {"RotWorms!"}}
		[7] = {pos = {995,996,6}, text = {"Dragons!"}}
		[8] = {pos = {995,998,6}, text = {"Hydra!"}}
		[9] = {pos = {995,1000,6}, text = {"Heros!"}}
		[10] = {pos = {995,1002,6}, text = {"Giant Spiders!"}}
		[11] = {pos = {1005,994,6}, text = {"Vampires!"}}
		[12] = {pos = {1005,996,6}, text = {"Demon!"}}
		[13] = {pos = {1005,998,6}, text = {"600+"}}
		[14] = {pos = {1005,1000,6}, text = {"1,000+"}}
		[15] = {pos = {1005,1005,6}, text = {"1,200+"}}
		[16] = {pos = {995,994,5}, text = {"2,000+"}}
		[17] = {pos = {995,996,5}, text = {"2,500+"}}
		[18] = {pos = {995,998,5}, text = {"3,500+"}}
		[19] = {pos = {995,1000,5}, text = {"4,200+"}}
		[20] = {pos = {995,1002,5}, text = {"5,000+"}}
		[21] = {pos = {995,1005,5}, text = {"7,200+"}}
		[22] = {pos = {1005,998,5}, text = {"8,200+"}}
		[23] = {pos = {1005,1000,5}, text = {"10,000+"}}
		[25] = {pos = {1005,1002,5}, text = {"12,000+"}}
	    [26] = {pos = {995,994,4}, text = {"15,000+"}}
		[27] = {pos = {995,996,4}, text = {"20,000+"}}
		[28] = {pos = {995,998,4}, text = {"22,000"}}
		[29] = {pos = {995,1000,4}, text = {"25,000"}}
		[30] = {pos = {995,1002,4}, text = {"30,000"}}
		[31] = {pos = {1005,994,3}, text = {"35,000"}}
		
		
        }

        local effects = {
        --X pos,Y pos, Z pos, text
        [1] = {pos = {1095,1217,7}, effect = {18}},
        [2] = {pos = {1096,1217,7}, effect = {19}},
        [3] = {pos = {1097,1217,7}, effect = {21}},
        [4] = {pos = {1098,1217,7}, effect = {22}}
        }

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


If can help im on msn [email protected]
 
Last edited:
LUA:
--[[ 
        Talking Tp/signs/tiles for TFS 0.3+
        by Maxi (Shawak)
]]--

        local text = {
        	[1] = {pos = {1196,994,7}, text = {"!aol"}},
       		[2] = {pos = {998,993,7}, text = {"Hail"}},
        	[3] = {pos = {1002,993,7}, text = {"Hausch"}},
       		[4] = {pos = {1004,993,7}, text = {"Quests!"}},
		[5] = {pos = {996,993,7}, text = {"Monster TPs"}},
		[6] = {pos = {995,994,6}, text = {"RotWorms!"}},
		[7] = {pos = {995,996,6}, text = {"Dragons!"}},
		[8] = {pos = {995,998,6}, text = {"Hydra!"}},
		[9] = {pos = {995,1000,6}, text = {"Heros!"}},
		[10] = {pos = {995,1002,6}, text = {"Giant Spiders!"}},
		[11] = {pos = {1005,994,6}, text = {"Vampires!"}},
		[12] = {pos = {1005,996,6}, text = {"Demon!"}},
		[13] = {pos = {1005,998,6}, text = {"600+"}},
		[14] = {pos = {1005,1000,6}, text = {"1,000+"}},
		[15] = {pos = {1005,1005,6}, text = {"1,200+"}},
		[16] = {pos = {995,994,5}, text = {"2,000+"}},
		[17] = {pos = {995,996,5}, text = {"2,500+"}},
		[18] = {pos = {995,998,5}, text = {"3,500+"}},
		[19] = {pos = {995,1000,5}, text = {"4,200+"}},
		[20] = {pos = {995,1002,5}, text = {"5,000+"}},
		[21] = {pos = {995,1005,5}, text = {"7,200+"}},
		[22] = {pos = {1005,998,5}, text = {"8,200+"}},
		[23] = {pos = {1005,1000,5}, text = {"10,000+"}},
		[25] = {pos = {1005,1002,5}, text = {"12,000+"}},
	    	[26] = {pos = {995,994,4}, text = {"15,000+"}},
		[27] = {pos = {995,996,4}, text = {"20,000+"}},
		[28] = {pos = {995,998,4}, text = {"22,000"}},
		[29] = {pos = {995,1000,4}, text = {"25,000"}},
		[30] = {pos = {995,1002,4}, text = {"30,000"}},
		[31] = {pos = {1005,994,3}, text = {"35,000"}}
        }

        local effects = {
        	[1] = {pos = {1095,1217,7}, effect = {18}},
        	[2] = {pos = {1096,1217,7}, effect = {19}},
        	[3] = {pos = {1097,1217,7}, effect = {21}},
        	[4] = {pos = {1098,1217,7}, effect = {22}}
        }

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(1,215))
	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
 
Back
Top