Inel teleport coordonate

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

Nou Venit
Mesaje: 36
Membru din: 18 Mai 2014, 23:53
Regat: Jinno
Aprecieri: 20  
Mulţumiri: 1  
Discord: Copiază ID
 Contact:
Medalii

Salut. Vreau sa ma ajute cineva daca poate si daca vrea sa imi faca urmatoarele modificari la inel teleport, am incercat singur dar nu prea am inteles unde trebuie si ce trebuie scris.
Deci:
1.Pentru fiecare regat, la map1 sa ajung in cercul mic.
2.Pentru fiecare regat, la map2 sa ajung langa grajdar.
3.Pentru orci, muntele sohan, desert, tara de foc vreau sa ajung la inceput, si nu la bo cum este pus.
Mersi mult.

Cod: Selectaţi tot

quest system_inel_tp begin
    state start begin
		when login begin
			cmdchat("Teleport "..q.getcurrentquestindex())
		end
		when button or info begin
			say_title("Inel Teleportare")
			say("Unde vrei să călătoreşti?")
			say("")
			local s = select("Regate","Regiuni de Pădure","Temniţa Păianjenilor","Grota Exilului","Alte Regiuni","Închide")
			if s == 1 then
				say_title("Inel Teleport:")
				say("")
				local ss = select("Regatul Jinno","Regatul Shinsoo","Închide")
				if ss == 1 then
					say_title("Inel Teleport:")
					say("")
					local twix = select("Pyungmoo(Nivel 1-20)","Bakra(Nivelul 20-40)","Închide")
					if twix == 1 then
						pc.warp(959800,268400)
					elseif twix == 2 then
						pc.warp(873100,242600)
					end	
				elseif ss == 2 then
					say_title("Inel Teleport:")
					say("")
					local twix_work = select("Yongan(Nivel 1-20)","Yayang(Nivelul 20-40)","Închide")
					if twix_work == 1 then
						pc.warp(474300,954800)
					elseif twix_work == 2 then
						pc.warp(360800,877600)
					end	
				end
			elseif s == 2 then
				say_title("Inel Teleport:")
				say("")
				local sss = select("Pădurea Stafiilor(Nivel 69-79)","Pădurea Roşie(Nivel 79-89)","Închide")
				if sss == 1 then
					pc.warp(288700,5700)
				elseif sss == 2 then
					pc.warp(1119900,70800)
				end
			elseif s == 3 then
				say_title("Inel Teleport:")
				say("")
				local zindan = select("Temniţa Păianjenilor(Nivel 39-59)","Temniţa Păianjenilor 2(Nivel 59-69)","Închide")
					if zindan == 1 then
					pc.warp(59800,497300)
				elseif zindan == 2 then
					pc.warp(704100,521900)	
				end
			elseif s == 4 then
			say_title("Inel Teleport:")
			say("")
				say("Suntem în drum spre Grota Exilului...")
				wait()
				pc.warp(284400,810700)
			elseif s == 5 then
				say_title("Inel Teleport:")
				say("")
				local sssssss = select("Valea Seungryong(Nivel 39-49)","Muntele Sohan(Nivel 49-69)","Deşertul Yongbi(Nivel 29-59)","Ţara de foc(Nivel 69-79)","Tărâmul Giganţilor(Nivel 69-79)","Turnul Demonilor(Nivel 49-59)","Închide")
				if sssssss == 1 then
					pc.warp(336000,755600)
				elseif sssssss == 2 then
					pc.warp(436400,215600)
				elseif sssssss == 3 then
					pc.warp(296800,547400)
				elseif sssssss == 4 then
					pc.warp(600800,687400)
				elseif sssssss == 5 then
					pc.warp(829900,763300)
				elseif sssssss == 6 then
					pc.warp(590500,110500)
				end
			elseif s == 6 then
			end
		end
	end
end
Avatar utilizator
LikePc
Nivel 10

Nivel 10
Mesaje: 2240
Membru din: 11 Aug 2015, 00:01
Server: M3
Regat: Chunjo
Aprecieri: 9  
Mulţumiri: 270  
 Contact:
Medalii

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" )
if s == 7 then
say_title ( "Teleporter:" )
say ( "Încotro vrei sa mergi straine?" )
local p = select ( "Turnul Demonilor" , "V2" , "Grota Exilului" , "Campul cu serpi" , "V4" , "Insula Haosului" ,"Lungsam" , "Padurea Rosie" , "Închide" )
if p == 1 then
x = "590400"
y = "110500"
elseif p == 2 then
x = "704100"
y = "464100"
elseif p == 3 then
x = "284200"
y = "809600"
elseif p == 4 then
x = "1059200"
y = "726900"
elseif p == 5 then
if pc.get_level() >= 90 then
x = "241600"
y = "1274600"
elseif p == 6 then
x="289000"
y="5800"
elseif p == 7 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
else
say_title ( "Teleporter:" )
say ( "Iti trebui cel putin nivel 90." )
return
end
elseif p == 6 then
if pc.get_level() >= 90 then
x = "1277800"
y = "1737100"
else
say_title ( "Teleporter:" )
say ( "Iti trebui cel putin nivel 90." )
return
end
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
Incearca acest quest.
https:/horus-maps.com
Afișează semnătura
Avatar utilizator
Syron
Developer

Developer
Mesaje: 712
Membru din: 14 Mai 2014, 23:41
Aprecieri: 5  
Mulţumiri: 138  
Medalii

Trebuie sa modifici coordonatele de la functia pc.warp()
Pentru a obtine coordonatele bune, intra in server->locale->map->mapa dorita si in folderul Setting.txt, acolo vei gasi 'BasePosition x y', acele coordonate trebuie puse in quest-ul tau de teleportare. Tine minte, in cazul in care vrei in joc sa te teleportezi intr-o harta, poti face acelasi lucru, dar sa stergi cele doua '00' de la final.
Exemplu: metin2_map_c1 (Jinno - Pyungmoo) = 921600 204800 -> /warp 9216 2048
Pentru acest mesaj, Syron for the post:
DragonA7X
Avatar utilizator
LikePc
Nivel 10

Nivel 10
Mesaje: 2240
Membru din: 11 Aug 2015, 00:01
Server: M3
Regat: Chunjo
Aprecieri: 9  
Mulţumiri: 270  
 Contact:
Medalii

Subiect arhivat , autorul nu a dat nici un semn timp de 3zile.
https:/horus-maps.com
Afișează semnătura
Închis
Răspunsuri
3
Vizualizări
325
Răspunsuri
1
Vizualizări
241
Răspunsuri
5
Vizualizări
372

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

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Baidu [Spider] și 24 vizitatori