Problema quest inel teleport

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
DarkOfLegend
Nivel 2

Nivel 2
Mesaje: 251
Membru din: 15 Iun 2015, 10:37
Server: RETRAS
Aprecieri: 2  
Mulţumiri: 1  
Medalii

Salut! Am incercat sa bag cateva mape de Farm pe inelul de teleportare dar cand sa instalez questul imi da eroarea asta:
syntax error : [string "start"]:7: `)' expected near `"Închide"'
teleport.quest:55:Abort (core dumped)
Acesta este questul:
quest warpring begin
state start begin
when 70007.use begin
local x
local y
local t
local e = pc.get_empire()
say_title("Teleporter:")
say("Incotro vrei sa mergi straine?")
local s = select("Map1", "Map2", "Map Farm", "Închide")
if s==1 then
say_title("Teleporter")
say("Incotro vrei sa mergi straine?")
t = select("Regatul Rosu", "Regatul Galben", "Regatul Albastru", "Închide")
if t==1 then
x="473900"
y="954600"
elseif t==2 then
x="63200"
y="166700"
elseif t==3 then
x="959600"
y="269700"
end
elseif s==2 then
say_title("Teleporter:")
say("Incotro vrei sa mergi straine?")
t = select("Regatul Rosu", "Regatul Galben", "Regatul Albastru", "Închide")
if t==1 then
x="352300"
y="882700"
elseif t==2 then
x="145700"
y="239800"
elseif t==3 then
x="863800"
y="246000"
end
return
end
elseif s==3 then
say_title("Teleporter:")
say("Incotro vrei sa mergi straine?")
t = select("Map Farm F&C", "Map Farm B&G", "Închide")
if t==1 then
x="38100"
y="64600"
elseif t==2 then
x="19800"
y="10600"
end
if s!=5 or p!= 6 then
pc.warp(x, y)
end
end
end
end
Multumesc anticipat!

EDIT: Am rezolvat aceea eroare dar cand dau pe Map Farm si aleg una dintre cele 2 mape nu am teleporteaza.
Avatar utilizator
Chance
Mister Just4Metin

Mister Just4Metin
Mesaje: 1084
Membru din: 31 Dec 2014, 10:24
Server: Posibil
Regat: Jinno
Aprecieri: 5  
Mulţumiri: 35  
 Contact:
Medalii

Cod: Selectaţi tot

quest teleporter begin
state start begin
when 70007.use begin
say_title ( "Inel de Teleportare" )
say ( "Unde vrei sa te duci?" )
local main_set = select ("Camp Cu Serpi","DT","V2","Padurea Rosie","Grota Exilului","Urmatoarea")
if main_set == 1 then
pc.warp ( 1059000 , 726200 )
elseif main_set == 2 then
pc.warp ( 590500 , 110500)
elseif main_set == 3 then
pc.warp ( 665600 , 435200 )
elseif main_set == 4 then
pc.warp ( 1049600 , 0 )
elseif main_set == 5 then
pc.warp ( 0 , 1203200 )
elseif main_set == 6 then

local main_set2 = select ("Valea Orcilor","Desert","Muntele Sohan", "Tara de foc","Farm MAP1","Farm MAP2","Urmatoarea")
if main_set2 == 1 then
pc.warp ( 333949 , 752560 )
elseif main_set2 == 2 then
pc.warp ( 344000 , 502500 )
elseif main_set2 == 3 then
pc.warp ( 491800, 173600 )
elseif main_set2 == 4 then
pc.warp ( 730700, 689800 )
elseif main_set2 == 5 then
pc.warp ( Coordonate Farm MAP1 )
elseif main_set2 == 6 then
pc.warp ( Coordonate Farm MAP2 )
elseif main_set2 == 7 then

local main_set3 =select ("Map 1 Albastri","Map 2 Albastri","Map 1 Galbeni","Map 2 Galbeni","Map 1 Rosi","Map 2 Rosi","Nu mai vreau,multumesc")
if main_set3 == 1 then
pc.warp ( 969600 , 278400 )
elseif main_set3 == 2 then
pc.warp ( 873100 , 242600 )
elseif main_set3 == 3 then
pc.warp ( 55700 , 157900 )
elseif main_set3 == 4 then
pc.warp ( 138500 , 234900 )
elseif main_set3 == 5 then
pc.warp ( 469300 , 964200 )
elseif main_set3 == 6 then
pc.warp ( 360800 , 877600 )
elseif main_set3 == 7 then
return
end
end
end
end
end
end
Avatar utilizator
Ankhed
Fost Super Ad Moderator

Fost Super Ad Moderator
Mesaje: 2130
Membru din: 22 Noi 2015, 13:00
Aprecieri: 42  
Mulţumiri: 45  
 Contact:
Medalii

Subiect vechi, arhivat

[ Postat de pe iPhone ] Imagine
Imagine
Afișează semnătura
Închis
Răspunsuri
4
Vizualizări
303
Răspunsuri
3
Vizualizări
347
Răspunsuri
3
Vizualizări
456

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 168 vizitatori