Cerere Inel Teleport

Închis
Avatar utilizator
Moșule
Nivel 1

Nivel 1
Mesaje: 64
Membru din: 30 Dec 2017, 00:19
Aprecieri: 23  
Mulţumiri: 0
Medalii

Mă puteți ajuta cu quest pentru inel de teleportare, doar cu map1 si map2 aș avea nevoie. :D
Imagine
Afișează semnătura
Avatar utilizator
Moșule
Nivel 1

Nivel 1
Mesaje: 64
Membru din: 30 Dec 2017, 00:19
Aprecieri: 23  
Mulţumiri: 0
Medalii

Up
Imagine
Afișează semnătura
Avatar utilizator
Moșule
Nivel 1

Nivel 1
Mesaje: 64
Membru din: 30 Dec 2017, 00:19
Aprecieri: 23  
Mulţumiri: 0
Medalii

Up
Imagine
Afișează semnătura
Avatar utilizator
Yahiko
Membru Club

Membru Club
Mesaje: 3865
Membru din: 25 Mai 2015, 18:31
Aprecieri: 0
Mulţumiri: 4857  
Discord: Copiază ID
 Contact:
Medalii

Cod: Selectaţi tot

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("Încotro vrei sã mergi strãine?")
         local s = select("Map1", "Map2", "Închide")
         elseif s==1 then
            say_title("Teleporter")
            say("Încotro vrei sã mergi strãine?")
            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("Încotro vrei sã mergi strãine?")
            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
         if s!=3 then
            pc.warp(x, y)
         end
      end
   end
end
NU știu dacă funcționează.
*Contact Discord: Yahiko#2936
*Doar SMS: 0749592613
*Grup discord: Click
Cu stimă,
Yahiko.

GL & HF
Afișează semnătura
Avatar utilizator
Moșule
Nivel 1

Nivel 1
Mesaje: 64
Membru din: 30 Dec 2017, 00:19
Aprecieri: 23  
Mulţumiri: 0
Medalii

Yahiko scrie:

Cod: Selectaţi tot

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("Încotro vrei sã mergi strãine?")
         local s = select("Map1", "Map2", "Închide")
         elseif s==1 then
            say_title("Teleporter")
            say("Încotro vrei sã mergi strãine?")
            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("Încotro vrei sã mergi strãine?")
            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
         if s!=3 then
            pc.warp(x, y)
         end
      end
   end
end
NU știu dacă funcționează.
QUEST : warpring
STATE : start
WHEN : 40002.use
local x
local y
local t
local e = pc . get_empire ( )
say_title ( "Teleporter:" )
say ( "▒ncotro vrei s▒ mergi str▒ine?" )
local s = select ( "Map1" , "Map2" , "▒nchide" )
elseif s == 1 then
say_title ( "Teleporter" )
say ( "▒ncotro vrei s▒ mergi str▒ine?" )
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 ( "▒ncotro vrei s▒ mergi str▒ine?" )
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
if s ~= 3 then
pc . warp ( x , y )
end

inel.quest:42:syntax error : [string "start"]:8: <eof> expected near `elseif'
Abort (core dumped)
root@:/usr/game/share/locale/romania/quest #
Imagine
Afișează semnătura
Avatar utilizator
DemOnJR
Nivel 3

Nivel 3
Mesaje: 384
Membru din: 02 Noi 2013, 13:13
Aprecieri: 169  
Mulţumiri: 41  
Medalii

imediat revin cu edit.
Edit: Testeaza daca nu merge pune la primul if pui elseif dar nu cred ca trebuie
in general un script if else arata asa
if (....)[
Conditia de sus
]
elseif(....)[
Conditia de sus
]
elseif(....)[
Conditia de sus
]
...
else[
ERROR
]
, sa imi spui daca merge.

Cod: Selectaţi tot

quest warpring begin
   state start begin
      when 40002.use begin
         local x
         local y
         local t
         local e = pc.get_empire()
         say_title("Teleporter:")
         say("Încotro vrei sã mergi strãine?")
         local s = select("Map1", "Map2", "Închide")
         if s==1 then
            say_title("Teleporter")
            say("Încotro vrei sã mergi strãine?")
            t = select("Regatul Roºu", "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("Încotro vrei sã mergi strãine?")
            t = select("Regatul Roºu", "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
         end         
         if s!=3 then
            pc.warp(x, y)
         end
      end
   end
end
Pentru acest mesaj, DemOnJR for the post:
Moșule
Avatar utilizator
Moșule
Nivel 1

Nivel 1
Mesaje: 64
Membru din: 30 Dec 2017, 00:19
Aprecieri: 23  
Mulţumiri: 0
Medalii

DemOnJR scrie:imediat revin cu edit.
Edit: Testeaza daca nu merge pune la primul if pui elseif dar nu cred ca trebuie
in general un script if else arata asa
if (....)[
Conditia de sus
]
elseif(....)[
Conditia de sus
]
elseif(....)[
Conditia de sus
]
...
else[
ERROR
]
, sa imi spui daca merge.

Cod: Selectaţi tot

quest warpring begin
   state start begin
      when 40002.use begin
         local x
         local y
         local t
         local e = pc.get_empire()
         say_title("Teleporter:")
         say("Încotro vrei sã mergi strãine?")
         local s = select("Map1", "Map2", "Închide")
         if s==1 then
            say_title("Teleporter")
            say("Încotro vrei sã mergi strãine?")
            t = select("Regatul Roºu", "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("Încotro vrei sã mergi strãine?")
            t = select("Regatul Roºu", "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
         end         
         if s!=3 then
            pc.warp(x, y)
         end
      end
   end
end
Mulțumesc :D

[ Postat de pe iPhone ] Imagine
Imagine
Afișează semnătura
Avatar utilizator
Yahiko
Membru Club

Membru Club
Mesaje: 3865
Membru din: 25 Mai 2015, 18:31
Aprecieri: 0
Mulţumiri: 4857  
Discord: Copiază ID
 Contact:
Medalii

//# Rezolvat. Subiect arhivat.

[ Postat de pe Android ] Imagine
*Contact Discord: Yahiko#2936
*Doar SMS: 0749592613
*Grup discord: Click
Cu stimă,
Yahiko.

GL & HF
Afișează semnătura
Închis
Răspunsuri
3
Vizualizări
459
Răspunsuri
4
Vizualizări
306
Răspunsuri
3
Vizualizări
351

Înapoi la “Cereri Rezolvate”

  • Informaţie
  • Cine este conectat

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