Problema aspect quest teleport

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
misura123
Nivel 3

Nivel 3
Mesaje: 301
Membru din: 13 Mar 2014, 18:46
Server: Karios2
Regat: Shinsoo
Aprecieri: 185  
Mulţumiri: 9  
Discord: Copiază ID
Medalii

*Problemă: Am implementat un quest cu inel de teleport, dupa care l-am transcris fara diacritice. Acesta este:

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("PROJECT METIN2 - TELEPORT")
         say_galben("Incotro vrei sa mergi straine?")
         local s = select("Map1", "Map2", "Valea Orcilor", "Desert", "Sohan", "Tara de foc", "URMATOARELE", "Inchide")
         if s==7 then
            say_title("PROJECT METIN2 - TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            local p = select("Turnul Demonilor", "V1", "Padurea Fantomelor", "Padurea Rosie", "Tara Gigantilor", "Grota Exilului", "Inchide")
            if p==1 then
               x="590400"
               y="110500"
            elseif p==2 then
               x="91900"
               y="525400"
            elseif p==3 then
               x="289000"
               y="5800"
            elseif p==4 then
               say_title("PROJECT METIN2 - TELEPORT")
               say_galben("Incotro vrei sa mergi straine?")
               t = select("Inceput", "Sfarsit", "Inchide")
               if t==1 then
                  x="1119900"
                  y="70800"
               elseif t==2 then
                  x="1119200"
                  y="7000"
               end
            elseif p==5 then
               x="828100"
               y="763400"
            elseif p==6 then
               x="284200"
               y="809600"
            end
         elseif s==1 then
            say_title("PROJECT METIN2 - TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Regatul Rosu", "Regatul Galben", "Regatul Albastru","Inchide")
            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("PROJECT METIN2 - TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Regatul Rosu", "Regatul Galben", "Regatul Albastru", "Inchide")
            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
         elseif s==3 then
            say_title("PROJECT METIN2 - TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Centru", "Arahani", "Inchide")
            if t==1 then
               if e==1 then
                  x="402100"
                  y="673900"                  
               elseif e==2 then
                  x="270400"
                  y="739900"
               elseif e==3 then
                  x="321300"
                  y="808000"
               end
            elseif t==2 then
               x="332700"
               y="745600"
            elseif t==3 then
               x="282800"
               y="792800"
            end
         elseif s==4 then
            say_title("PROJECT METIN2 - TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Sfarsit", "Inchide")
            if t==1 then
               if e==1 then
                  x="217800"
                  y="627200"                  
               elseif e==2 then
                  x="221900"
                  y="502700"
               elseif e==3 then
                  x="344000"
                  y="502500"
               end
            elseif t==2 then
               x="296300"
               y="547500"
            end
         elseif s==5 then
            say_title("PROJECT METIN2 - TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Mijloc", "Inchide")
            if t==1 then
               if e==1 then
                  x="434200"
                  y="290600"                  
               elseif e==2 then
                  x="375200"
                  y="174900"
               elseif e==3 then
                  x="491800"
                  y="173600"
               end
            elseif t==2 then
               x="436200"
               y="215300"
            end         
         elseif s==6 then
            say_title("PROJECT METIN2 - TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Inchide")
            if t==1 then
               if e==1 then
                  x="599400"
                  y="756300"                  
               elseif e==2 then
                  x="597800"
                  y="622200"
               elseif e==3 then
                  x="730700"
                  y="689800"
               end
            elseif t==2 then
               return
            end
         end         
         if s!=8 or p!= 7 then
            pc.warp(x, y)
         end
      end
   end
end
Ideea e ca pe joc tot asa mi se vede:

Tipologie server(PvM / PvP):
*Resursă folosită: *Link exclusiv J4M*
*ServerFiles utilizat:
*Syserr:
Poză:
*Detalii suplimentare:
Talk is cheap.
Show me the code.
Afișează semnătura
Avatar utilizator
.Duh
Mister Just4Metin

Mister Just4Metin
Mesaje: 435
Membru din: 06 Dec 2015, 22:22
Regat: Shinsoo
Aprecieri: 262  
Mulţumiri: 302  
Discord: Copiază ID
Medalii

Pentru acest mesaj, .Duh for the post:
misura123
Avatar utilizator
Inuyasha
Utilizator interzis !

Utilizator interzis !
Mesaje: 1087
Membru din: 17 Feb 2017, 22:54
Server: Metin2 Ro
Regat: Chunjo
Aprecieri: 12  
Mulţumiri: 182  
 Contact:
Medalii

quest warpring begin
   state start begin
      when 70007.use begin
         local x
         local y
         local t
         local e = pc.get_empire()
         say_title("TELEPORT")
         say_galben("Incotro vrei sa mergi straine?")
         local s = select("Map1", "Map2", "Valea Orcilor", "Desert", "Sohan", "Tara de foc", "URMATOARELE", "Inchide")
         if s==7 then
            say_title("TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            local p = select("Turnul Demonilor", "V1", "Padurea Fantomelor", "Padurea Rosie", "Tara Gigantilor", "Grota Exilului", "Inchide")
            if p==1 then
               x="590400"
               y="110500"
            elseif p==2 then
               x="91900"
               y="525400"
            elseif p==3 then
               x="289000"
               y="5800"
            elseif p==4 then
               say_title("TELEPORT")
               say_galben("Incotro vrei sa mergi straine?")
               t = select("Inceput", "Sfarsit", "Inchide")
               if t==1 then
                  x="1119900"
                  y="70800"
               elseif t==2 then
                  x="1119200"
                  y="7000"
               end
            elseif p==5 then
               x="828100"
               y="763400"
            elseif p==6 then
               x="284200"
               y="809600"
            end
         elseif s==1 then
            say_title("TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Regatul Rosu", "Regatul Galben", "Regatul Albastru","Inchide")
            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("TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Regatul Rosu", "Regatul Galben", "Regatul Albastru", "Inchide")
            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
         elseif s==3 then
            say_title("TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Centru", "Arahani", "Inchide")
            if t==1 then
               if e==1 then
                  x="402100"
                  y="673900"                  
               elseif e==2 then
                  x="270400"
                  y="739900"
               elseif e==3 then
                  x="321300"
                  y="808000"
               end
            elseif t==2 then
               x="332700"
               y="745600"
            elseif t==3 then
               x="282800"
               y="792800"
            end
         elseif s==4 then
            say_title("TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Sfarsit", "Inchide")
            if t==1 then
               if e==1 then
                  x="217800"
                  y="627200"                  
               elseif e==2 then
                  x="221900"
                  y="502700"
               elseif e==3 then
                  x="344000"
                  y="502500"
               end
            elseif t==2 then
               x="296300"
               y="547500"
            end
         elseif s==5 then
            say_title("TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Mijloc", "Inchide")
            if t==1 then
               if e==1 then
                  x="434200"
                  y="290600"                  
               elseif e==2 then
                  x="375200"
                  y="174900"
               elseif e==3 then
                  x="491800"
                  y="173600"
               end
            elseif t==2 then
               x="436200"
               y="215300"
            end         
         elseif s==6 then
            say_title("TELEPORT")
            say_galben("Incotro vrei sa mergi straine?")
            t = select("Inceput", "Inchide")
            if t==1 then
               if e==1 then
                  x="599400"
                  y="756300"                  
               elseif e==2 then
                  x="597800"
                  y="622200"
               elseif e==3 then
                  x="730700"
                  y="689800"
               end
            elseif t==2 then
               return
            end
         end         
         if s!=8 or p!= 7 then
            pc.warp(x, y)
         end
      end
   end
end
asa il vrei, sau cum?
Pentru acest mesaj, Inuyasha for the post:
misura123
„Vrei să trăiești cum se cuvine? Învață mai întâi să mori.” — Confucius
Afișează semnătura
Avatar utilizator
misura123
Nivel 3

Nivel 3
Mesaje: 301
Membru din: 13 Mar 2014, 18:46
Server: Karios2
Regat: Shinsoo
Aprecieri: 185  
Mulţumiri: 9  
Discord: Copiază ID
Medalii

Talk is cheap.
Show me the code.
Afișează semnătura
Avatar utilizator
.Duh
Mister Just4Metin

Mister Just4Metin
Mesaje: 435
Membru din: 06 Dec 2015, 22:22
Regat: Shinsoo
Aprecieri: 262  
Mulţumiri: 302  
Discord: Copiază ID
Medalii

Cu placere.
Avatar utilizator
George.
Membru Club

Membru Club
Mesaje: 863
Membru din: 08 Mar 2018, 12:08
Server: Invictus2
Regat: Jinno
Aprecieri: 78  
Mulţumiri: 127  
  Rezolvări prob.: 1
 Contact:
Medalii

Marcat ca și rezolvat, mutat în probleme rezolvate

[ Postat de pe Android ] Imagine
Ţinând cont că oamenii te bârfesc, nu ar fi ok să îi iei în seamă... Dar mna, unii te judecă fără să le spui nimic, pur şi simplu se iau în seamă fără rost. ;;) :ymhug:
Afișează semnătura
Închis
Răspunsuri
4
Vizualizări
299
Răspunsuri
2
Vizualizări
284
Răspunsuri
2
Vizualizări
191
Răspunsuri
7
Vizualizări
391

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

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