Cerere quest Batran (teleport)

Închis
Avatar utilizator
[HF]White
Metin Master

Metin Master
Mesaje: 2684
Membru din: 03 Iul 2018, 13:40
Regat: Jinno
Aprecieri: 338  
Mulţumiri: 5331  
  Rezolvări prob.: 13
Discord: Copiază ID
 Contact:
Medalii

Sall,

are cineva questul oficial de la Batran? (teleporterul din map1 blue jos stanga)

Raman dator!

Imi raman dator singur cu o bere

Cod: Selectaţi tot

-------------------------------
-- ServerFiles BY [Elyas] -- 
-------------------------------
quest neutral_warper begin
        state start begin
                when 20009.chat."Salut!" begin
                        ---                                                   l
                        say_title("Batran:")
                        say("")
                        say("Salut!")						
                        say("Stiu cum se poate ajunge in alte regiuni de aici.")
                        say("Daca-mi dai niste Yang te pot transporta")
                        say("acolo.")
						say("")
						
                        local s = select("Teleporteaza.", "inapoi.")

                        if 2 == s then
                                return
                        end

                        local cost = 1000
                        say_title("Batran:")
                        say("")
                        say("Unde vrei sa mergi?")
                        say("Costa "..cost.."Yang.")
                        say("")

                        if pc.gold < cost then
                                say("Nu ai destul Yang!")
								say("")
                                return
                        end

                        local m = pc.get_map_index()
                        local e = pc.empire

                        if m == 1 or m == 3 then
                                e = 1
                        elseif m == 21 or m == 23 then
                                e = 2
                        elseif m == 41 or m == 43 then
                                e = 3
                        end

                        if m == 1 or m == 21 or m == 41 then
                                local s = select("Valea Seungryong", "Muntele Sohan", "Iesire")

                                if 3 == s then
                                        return
                                end

                                local warp = {
                                        -- 64 map_n_threeway
                                        {
                                                { 402100, 673900 },
                                                { 270400, 739900 },
                                                { 321300, 808000 },
                                        },
                                        -- 61 map_n_snowm_01
                                        {
                                                { 434200, 290600 },
                                                { 375200, 174900 },
                                                { 491800, 173600 },
                                        }
                                }
                                test_chat(warp[s][e][1]..warp[s][e][2])

                                pc.warp(warp[s][e][1], warp[s][e][2])
                                pc.changegold(-cost)

                        elseif m == 3 or m == 23 or m == 43 then
                                local s = select( "Desertul Yongbi","Doyyumhwan", "Iesire")

                                if 3 == s then
                                        return
                                end

                                local warp = {
                                        -- 63 metin2_map_n_desert_01
                                        {
                                                { 217800, 627200 },
                                                { 221900, 502700 },
                                                { 344000, 502500 },
                                        },
                                        -- 62 metin2_map_n_flame_01
                                        {
                                                { 599400, 756300 },
                                                { 597800, 622200 },
                                                { 730700, 689800 },
                                        },
                                }
                                test_chat(warp[s][e][1]..warp[s][e][2])

                                pc.warp(warp[s][e][1], warp[s][e][2])
                                pc.changegold(-cost)
                        end
                end 
        end 
end 
Ultima oară modificat 16 Iul 2021, 21:04 de către [HF]White, modificat 1 dată în total.
Avatar utilizator
Helsinky
Nivel 2

Nivel 2
Mesaje: 241
Membru din: 24 Apr 2021, 19:14
Server: Kertus
Regat: Chunjo
Aprecieri: 361  
Mulţumiri: 820  
Discord: Copiază ID
 Contact:
Medalii

Cod: Selectaţi tot

quest teleport begin
   state start begin
		when login begin
			cmdchat("teleporter_index "..q.getcurrentquestindex())
		end
      when button or info begin
         local x
         local y
         local t
         local e = pc.get_empire()
         say_title("Teleporter:")
         say("Încotro vrei sa mergi straine?")
         local s = select("Map1", "Map2", "Valea Orcilor", "Desert", "Sohan", "Tara de foc", "Urmatoarele", "Închide")
         if s==7 then
            say_title("Teleporter:")
            say("Încotro vrei sa mergi straine?")
            local p = select("Turnul Demonilor", "V1", "Padurea Fantomelor", "Padurea Rosie", "Tara Gigantilor", "Grota Exilului", "Închide")
            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("Teleporter")
               say("Încotro vrei sa mergi straine?")
               t = select("Început", "Sfârsit", "Închide")
               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("Teleporter")
            say("Încotro 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("Încotro 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
         elseif s==3 then
            say_title("Teleporter:")
            say("Încotro vrei sa mergi straine?")
            t = select("Început", "Centru", "Arahani", "Închide")
            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("Teleporter:")
            say("Încotro vrei sa mergi straine?")
            t = select("Inceput", "Sfârsit", "Închide")
            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("Teleporter")
            say("Încotro vrei sa mergi straine?")
            t = select("Început", "Mijloc", "Închide")
            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("Teleporter:")
            say("Încotro vrei sa mergi straine?")
            t = select("Început", "Închide")
            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
Sau asta si mai oficial

Cod: Selectaţi tot

quest teleporter begin
state start begin
when 9012.chat."Teleport"  begin
local empire = pc.get_empire()
local selectmap = select(gameforge[get_lang()].warpring._title000,
gameforge[get_lang()].warpring._title010,
gameforge[get_lang()].warpring._title020,
gameforge[get_lang()].warpring._title030,
gameforge[get_lang()].warpring._title040,
gameforge[get_lang()].warpring._title050,
gameforge[get_lang()].warpring._title060,
gameforge[get_lang()].warpring._title070,
gameforge[get_lang()].warpring._title080,
gameforge[get_lang()].warpring._title090,
gameforge[get_lang()].warpring._title100,
gameforge[get_lang()].warpring._title110,
gameforge[get_lang()].warpring._title120,
gameforge[get_lang()].warpring._title130,
gameforge[get_lang()].warpring._title140,
gameforge[get_lang()].warpring._title150,
gameforge[get_lang()].warpring._title160,
gameforge[get_lang()].warpring._title170,
gameforge[get_lang()].warpring._title180,
gameforge[get_lang()].warpring._title190,
gameforge[get_lang()].warpring._title200,
gameforge[get_lang()].warpring._title210,
gameforge[get_lang()].warpring._title220,
gameforge[get_lang()].warpring._title230)
if selectmap == 26 then
return
elseif selectmap == 1 then
local map1select = select(gameforge[get_lang()].warpring._locale080,
gameforge[get_lang()].warpring._locale380,
gameforge[get_lang()].warpring._locale410,
gameforge[get_lang()].warpring._locale090,
gameforge[get_lang()].warpring._locale000)
if map1select == 5 then
return
elseif map1select == 1 then
pc.warp(969500, 278400)
elseif map1select == 2 then
pc.warp(953500, 259800)
elseif map1select == 3 then
pc.warp(950900, 232100)
elseif map1select == 4 then
pc.warp(2157200, 2993300)
end
elseif selectmap == 2 then
local map1select = select(gameforge[get_lang()].warpring._locale120,
gameforge[get_lang()].warpring._locale390,
gameforge[get_lang()].warpring._locale420,
gameforge[get_lang()].warpring._locale130,
gameforge[get_lang()].warpring._locale000)
if map1select == 5 then
return
elseif map1select == 1 then
pc.warp(469300, 964200)
elseif map1select == 2 then
pc.warp(474400, 954000)
elseif map1select == 3 then
pc.warp(498600, 956200)
elseif map1select == 4 then
pc.warp(2363200, 875400)
end
elseif selectmap == 3 then
pc.warp(75933000, 35921900)
elseif selectmap == 4 then
pc.warp(3004400, 4956700)
elseif selectmap == 5 then
local wuesteselect = select(gameforge[get_lang()].warpring._locale010,
gameforge[get_lang()].warpring._locale020,
gameforge[get_lang()].warpring._locale000)
if wuesteselect == 3 then
return
elseif wuesteselect == 1 then
if empire == 1 then
pc.warp(217800, 627200)
elseif empire == 2 then
pc.warp(221900, 502700)
elseif empire == 3 then
pc.warp(344000, 502500)
end
elseif wuesteselect == 2 then
pc.warp(295100, 549300)
end
elseif selectmap == 6 then
pc.warp(372000, 172400)
elseif selectmap == 7 then
pc.warp(599700, 623300)
elseif selectmap == 8 then
local flr_map = select(gameforge[get_lang()].warpring._locale050,
gameforge[get_lang()].warpring._locale040,
gameforge[get_lang()].warpring._locale100,
gameforge[get_lang()].warpring._locale060,
gameforge[get_lang()].warpring._locale110,
gameforge[get_lang()].warpring._locale000)
if flr_map == 6 then
return
elseif flr_map == 1 then
pc.warp(163100, 158400)
elseif flr_map == 2 then
pc.warp(69800, 96100)
elseif flr_map == 3 then
pc.warp(257500, 124500)
elseif flr_map == 4 then
pc.warp(297300, 206300)
elseif flr_map == 5 then
pc.warp(251600, 14200)
end
elseif selectmap == 9 then
local wwuesteselect = select(gameforge[get_lang()].warpring._locale010,gameforge[get_lang()].warpring._locale020,gameforge[get_lang()].warpring._locale070,gameforge[get_lang()].warpring._locale000)
if wwuesteselect == 4 then
return
elseif wwuesteselect == 1 then
if empire == 1 then
pc.warp(1119100, 69900)
elseif empire == 2 then
pc.warp(1119100, 69900)
elseif empire == 3 then
pc.warp(1119100, 69900)
end
elseif wwuesteselect == 2 then
pc.warp(1091900, 30700)
elseif wwuesteselect == 3 then
pc.warp(1101200, 53700)
end
elseif selectmap == 10 then
local map1select = select(gameforge[get_lang()].warpring._locale450,
gameforge[get_lang()].warpring._locale440, 
gameforge[get_lang()].warpring._locale370,
gameforge[get_lang()].warpring._locale000)
if map1select == 4 then
return
elseif map1select == 1 then
pc.warp(5571100, 5648700)
elseif map1select == 2 then
pc.warp(5607800, 5615400)
elseif map1select == 3 then
pc.warp(5609000, 5603700)
end
elseif selectmap == 11 then
local map1select = select(gameforge[get_lang()].warpring._locale320,
gameforge[get_lang()].warpring._locale330, 
gameforge[get_lang()].warpring._locale340,
gameforge[get_lang()].warpring._locale000)
if map1select == 4 then
return
elseif map1select == 1 then
pc.warp(84228600, 94724800)
elseif map1select == 2 then
pc.warp(84272900, 94841300)
elseif map1select == 3 then
pc.warp(84343900, 94844700)
end
elseif selectmap == 12 then
pc.warp(1153800, 1116500)
elseif selectmap == 13 then
pc.warp(2263500, 2254500)
elseif selectmap == 14 then
local map1select = select(gameforge[get_lang()].warpring._locale280, 
gameforge[get_lang()].warpring._locale290, 
gameforge[get_lang()].warpring._locale300,
gameforge[get_lang()].warpring._locale310,
gameforge[get_lang()].warpring._locale000)
if map1select == 5 then
return
elseif map1select == 1 then
pc.warp(10000, 1207800)
elseif map1select == 2 then
pc.warp(136600, 1344400)
elseif map1select == 3 then
pc.warp(241800, 1275000)
elseif map1select == 4 then
pc.warp(180300, 1220600)
end
elseif selectmap == 15 then
pc.warp(63400, 7686700)
elseif selectmap == 16 then
pc.warp(4575800, 55400)
elseif selectmap == 17 then
pc.warp(613000, 652300)
elseif selectmap == 18 then
pc.warp(426300, 169500)
elseif selectmap == 19 then
pc.warp(71500, 106000)
elseif selectmap == 20 then
local map1select = select(gameforge[get_lang()].warpring._locale270,
gameforge[get_lang()].warpring._locale030, 
gameforge[get_lang()].warpring._locale190,
gameforge[get_lang()].warpring._locale200,
gameforge[get_lang()].warpring._locale000)
if map1select == 5 then
return
elseif map1select == 1 then
pc.warp(1106700, 1791800)
elseif map1select == 2 then
pc.warp(1089600, 1786900)
elseif map1select == 3 then
pc.warp(1120700, 1732800)
elseif map1select == 4 then
pc.warp(1165300, 1779400)
end
elseif selectmap == 21 then
local map1select = select(gameforge[get_lang()].warpring._locale010,gameforge[get_lang()].warpring._locale200, gameforge[get_lang()].warpring._locale210 ,gameforge[get_lang()].warpring._locale000)
if map1select == 4 then
return
elseif map1select == 1 then
pc.warp(1087300, 1652200)
elseif map1select == 2 then
pc.warp(1106300, 1639400)
elseif map1select == 3 then
pc.warp(1064300, 1604400)
end
elseif selectmap == 22 then
local map1select = select(gameforge[get_lang()].warpring._locale010,gameforge[get_lang()].warpring._locale220,gameforge[get_lang()].warpring._locale230,gameforge[get_lang()].warpring._locale000)
if map1select == 4 then
return
elseif map1select == 1 then
pc.warp(1134100, 1654800)
elseif map1select == 2 then
pc.warp(1216900, 1518800)
elseif map1select == 3 then
pc.warp(1191800, 1618800)
end
elseif selectmap == 23 then
local map1select = select(gameforge[get_lang()].warpring._locale010,gameforge[get_lang()].warpring._locale220,gameforge[get_lang()].warpring._locale240,gameforge[get_lang()].warpring._locale000)
if map1select == 4 then
return
elseif map1select == 1 then
pc.warp(1225800, 1682000)
elseif map1select == 2 then
pc.warp(1244600, 1744300)
elseif map1select == 3 then
pc.warp(1278000, 1734400)
end
elseif selectmap == 24 then 
return
end
end
end
end
Imagine
Eat C++
Afișează semnătura
Avatar utilizator
[HF]White
Metin Master

Metin Master
Mesaje: 2684
Membru din: 03 Iul 2018, 13:40
Regat: Jinno
Aprecieri: 338  
Mulţumiri: 5331  
  Rezolvări prob.: 13
Discord: Copiază ID
 Contact:
Medalii

Am de la teleporter, imi trebuie la Batran cu locatiile lui specifice
Închis
Răspunsuri
3
Vizualizări
300
Răspunsuri
1
Vizualizări
358
Răspunsuri
1
Vizualizări
111
Răspunsuri
4
Vizualizări
331

Înapoi la “Cereri Rezolvate”

  • Informaţie
  • Cine este conectat

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