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

Globalevent - Teleport effects. Errors.

cremes

New Member
Joined
Oct 12, 2012
Messages
69
Reaction score
2
Hi,

i got [8.60] The Forgotten Server 0.3.6 (Crying Damson) V5 distribution, and Evolera.pl data packs..
i have many tps, and my script doesn work,

its a write up the tp script. i use few script and no1 work.. ;//

first script :

local text = {
--X pos,Y pos, Z pos, text
[1] = {pos = {1617, 1556, 7}, text = {"Temple"}},
[2] = {pos = {1000, 924, 8}, text = {"Temple"}},
[3] = {pos = {1006, 924, 8}, text = {"Temple"}},
[4] = {pos = {1057, 885, 7}, text = {"! EXIT !"}},
[5] = {pos = {1003, 996, 7}, text = {"5cc"}},
[6] = {pos = {1009, 1002, 7}, text = {"! WAR !"}},
[7] = {pos = {1199, 730, 7}, text = {"EXP"}},
[8] = {pos = {1034, 1009, 7}, text = {"Bomberman"}},
[9] = {pos = {1134, 1677, 7}, text = {"Temple"}},
[10] = {pos = {1036, 1007, 7}, text = {"! Event !"}},
[11] = {pos = {1036, 996, 7}, text = {"Temple"}},
[12] = {pos = {1038, 996, 7}, text = {"Expowiska"}},
[13] = {pos = {1037, 996, 7}, text = {"Questy"}},
[14] = {pos = {1045, 1002, 7}, text = {"Training"}},
[15] = {pos = {1197, 732, 7}, text = {"Training"}},
[16] = {pos = {1196, 732, 7}, text = {"Back!"}},
[17] = {pos = {1034, 1008, 7}, text = {"City"}},
[18] = {pos = {1127, 1677, 7}, text = {"More EXP"}},
[19] = {pos = {1008, 993, 7}, text = {"Sklepy"}},
[20] = {pos = {1008, 992, 7}, text = {"Depo"}},
[21] = {pos = {1005, 994, 7}, text = {"Expowiska"}},
[22] = {pos = {1005, 992, 7}, text = {"Training"}},
[23] = {pos = {1008, 994, 7}, text = {"Eventy"}},
[24] = {pos = {919, 1354, 7}, text = {"! Exit !"}},
[25] = {pos = {996, 1206, 7}, text = {"! Exit !"}},
[26] = {pos = {843, 732, 6}, text = {"Bomberman"}},
[27] = {pos = {845, 732, 6}, text = {"Tetris"}},
[28] = {pos = {847, 732, 6}, text = {"Football"}},
[29] = {pos = {848, 722, 6}, text = {"! Exit !"}},
[30] = {pos = {887, 1186, 7}, text = {"! Exit !"}},
[31] = {pos = {822, 1227, 7}, text = {"! Exit !"}},
[32] = {pos = {1883, 1650, 7}, text = {"! More !"}},
[33] = {pos = {998, 999, 7}, text = {"Start EXP"}},
[34] = {pos = {843, 723, 6}, text = {"Snake"}},
[35] = {pos = {845, 723, 6}, text = {"Kasyno"}},
[36] = {pos = {996, 986, 7}, text = {"H Boost"}},
[37] = {pos = {996, 985, 7}, text = {"M Boost"}},
[38] = {pos = {1151, 1243, 7}, text = {"EXIT"}},
[39] = {pos = {1158, 1311, 7}, text = {"Witamy!"}},
[40] = {pos = {1613, 1560, 7}, text = {"! NEW !"}},
[41] = {pos = {1919, 1688, 7}, text = {"I ROOM"}},
[42] = {pos = {1920, 1688, 7}, text = {"II ROOM"}},
[43] = {pos = {1921, 1688, 7}, text = {"III ROOM"}},
[44] = {pos = {1005, 993, 7}, text = {"Questy"}}


}
local effects = {
--X pos,Y pos, Z pos, text

[23] = {pos = {779,808,7}, effect = {30}},


}

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

second

local pozycje = {
{pos = {x=1617, y=1556, z=7}, tekst = "Temple"},
{pos = {x=1000, y=924, z=8}, tekst = "Temple"},
{pos = {x=1006, y=924, z=8}, tekst = "Temple"},
{pos = {x=1057, y=885, z=7}, tekst = "! EXIT !"},
{pos = {x=1003, y=996, z=7}, tekst = "5cc"},
{pos = {x=1009, y=1002, z=7}, tekst = "! WAR !"},
{pos = {x=1199, y=730, z=7}, tekst = "EXP"},
{pos = {x=1034, y=1009, z=7}, tekst = "Bomberman"},
{pos = {x=1134, y=1677, z=7}, tekst = "Temple"},
{pos = {x=1036, y=1007, z=7}, tekst = "! Event !"},
{pos = {x=1036, y=996, z=7}, tekst = "Temple"},
{pos = {x=1038, y=996, z=7}, tekst = "Expowiska"},
{pos = {x=1037, y=996, z=7}, tekst = "Questy"},
{pos = {x=1045, y=1002, z=7}, tekst = "Training"},
{pos = {x=1197, y=732, z=7}, tekst = "Training"},
{pos = {x=1196, y=732, z=7}, tekst = "Back!"},
{pos = {x=1034, y=1008, z=7}, tekst = "City"},
{pos = {x=1127, y=1677, z=7}, tekst = "More EXP"},
{pos = {x=1008, y=993, z=7}, tekst = "Sklepy"},
{pos = {x=1008, y=992, z=7}, tekst = "Depo"},
{pos = {x=1005, y=994, z=7}, tekst = "Expowiska"},
{pos = {x=1005, y=992, z=7}, tekst = "Training"},
{pos = {x=1008, y=994, z=7}, tekst = "Eventy"},
{pos = {x=919, y=1354, z=7}, tekst = "! Exit !"},
{pos = {x=996, y=1206, z=7}, tekst = "! Exit !"},
{pos = {x=843, y=732, z=6}, tekst = "Bomberman"},
{pos = {x=845, y=732, z=6}, tekst = "Tetris"},
{pos = {x=847, y=732, z=6}, tekst = "Football"},
{pos = {x=848, y=722, z=6}, tekst = "! Exit !"},
{pos = {x=887, y=1186, z=7}, tekst = "! Exit !"},
{pos = {x=822, y=1227, z=7}, tekst = "! Exit !"},
{pos = {x=1883, y=1650, z=7}, tekst = "! More !"},
{pos = {x=998, y=999, z=7}, tekst = "Start EXP"},
{pos = {x=843, y=723, z=6}, tekst = "Snake"},
{pos = {x=845, y=723, z=6}, tekst = "Kasyno"},
{pos = {x=996, y=986, z=7}, tekst = "H Boost"},
{pos = {x=996, y=985, z=7}, tekst = "M Boost"},
{pos = {x=1151, y=1243, z=7}, tekst = "EXIT"},
{pos = {x=1158, y=1311, z=7}, tekst = "Witamy!"},
{pos = {x=1613, y=1560, z=7}, tekst = "! NEW !"},
{pos = {x=1919, y=1688, z=7}, tekst = "I ROOM"},
{pos = {x=1920, y=1688, z=7}, tekst = "II ROOM"},
{pos = {x=1921, y=1688, z=7}, tekst = "III ROOM"},
{pos = {x=1005, y=993, z=7}, tekst = "Questy"}
}
function onThink(interval, lastExecution)
local kolor = TEXTCOLOR_TEAL -- Jakim kolorem jest dany napis
for i=1, #pozycje do
doSendMagicEffect(pozycje.pos,37)
doSendMagicEffect(pozycje.pos,31)
doSendAnimatedText(pozycje.pos,pozycje.tekst,kolor)
end
return true
end


maybe some1 know why it doesn't work ?? ;//

btw i got this write in globalevents.xml

rep++ for help
 
Back
Top Bottom