Inel teleportare cerere

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

Nivel 1
Mesaje: 127
Membru din: 10 Apr 2017, 11:43
Aprecieri: 21  
Mulţumiri: 1  
Medalii

Cine imi poate adauga 2 mape in urmatorul quest, coordonatele si numele le voi adauga eu.
quest inel_tp begin
state start begin
when login begin
set_state(inel_teleportare_quest)
end
end
state inel_teleportare_quest begin
when letter begin
send_letter ( "& Inel Teleportare" )
end

when button or info begin
local x
local y
local t
local e = pc.get_empire()
say_title("Teleporter:")
say("Unde vrei sã fii teleportat?")

local s = select("Satul 1", "Satul 2", "Valea Seungryong", "Desertul Yongbi", "Muntele Sohan", "Doyyumhwan", "Urmãtoarele", "Închide")
if s==7 then
say_title("Teleporter:")
say("Unde vrei sã fii teleportat?")
local p = select("Turnul Demonilor", "Caverna Pãianjenilor I", "Lungsam", "Pãdurea Rosie", "Tãrâmul Gigantilor", "Grota Exilului", "Temnita Maimutelor", "Închide")

if p==1 then -- Turnul Demonilor
x="590400" y="110500"
elseif p==2 then -- Kuahlo Dong (V2)
x="91900" y="525400"
elseif p==3 then -- Lungsam
x="289000" y="5800"


elseif p==4 then -- Pãdurea Rosie
say_size(350, 180)
t = select( "Început", "Sfârsit", "Închide" )
if t==1 then
x="1119900" y="70800"
elseif t==2 then
x="1119200" y="7000"
elseif t==3 then
return
end

elseif p==5 then -- Tãrâmul Gigantilor
x="828100" y="763400"

elseif p==6 then -- Grota Exilului
x="181700" y="1220600"

elseif p==7 then -- Temnita Maimutelor
say_size(350, 200)
t = select ( "Temnita Maimutelor Începãtor", "Temnita Maimutelor Normal", "Temnita Maimutelor Avansat", "Închide" )

if t== 2then
x="128000" y="640000"
elseif t==3 then
x="128000" y="716800"
elseif t==4 then
return

elseif t==1 then
local empire = pc . get_empire ( )
if empire == 1 then
x="768000" y="435200"
elseif empire == 2 then
x="844800" y="435200"
elseif empire == 3 then
x="921600" y="435200"

end

elseif p==8 then
send_letter ( "& Inel Teleportare" )
return
end
end

elseif s==1 then -- Satul 1
say_size(350, 200)
t = select("Tinutul Yongan", "Tinutul Joan", "Tinutul Pyungmoo","Î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"
elseif t==4 then
send_letter ( "& Inel Teleportare" )
return
end

elseif s==2 then -- Satul 2
say_size(350, 200)
t = select("Tinutul Yayang", "Tinutul Bokjung", "Tinutul Bakra", "Î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"
elseif t==4 then
send_letter ( "& Inel Teleportare" )
return
end

elseif s==3 then -- Valea Seungryong
say_size(350, 200)
t = select("Început", "Mijloc", "Î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"
elseif e==4 then
send_letter ( "& Inel Teleportare" )
return
end
elseif t==2 then
x="332700" y="745600"
elseif t==3 then
return
end

elseif s==4 then -- Desertul Yongbi
say_size(350, 180)
t = select("Început", "Mijloc", "Î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"
elseif t==3 then
send_letter ( "& Inel Teleportare" )
return
end

elseif s==5 then -- Muntele Sohan
say_size(350, 180)
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"
elseif t==3 then
send_letter ( "& Inel Teleportare" )
return
end

elseif s==6 then -- Doyyumhwan
say_size(350, 150)
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
send_letter ( "& Inel Teleportare" )
return
end

elseif s==8 then
send_letter ( "& Inel Teleportare" )
return
end

pc.warp(x, y)

end
end
Va rog mult.
Avatar utilizator
d4ny
Nivel 1

Nivel 1
Mesaje: 127
Membru din: 10 Apr 2017, 11:43
Aprecieri: 21  
Mulţumiri: 1  
Medalii

Cineva?
Avatar utilizator
d4ny
Nivel 1

Nivel 1
Mesaje: 127
Membru din: 10 Apr 2017, 11:43
Aprecieri: 21  
Mulţumiri: 1  
Medalii

up
Avatar utilizator
SkyLine
Membru Club

Membru Club
Mesaje: 2655
Membru din: 12 Dec 2013, 23:37
Server: Miraj2-Online
Regat: Jinno
Aprecieri: 520  
Mulţumiri: 987  
Discord: Copiază ID
 Contact:
Medalii

Ti le bag eu, spune-mi aici numele, coordonatele, pozitia (intre ce alte mape vrei sa fie...gen..daca e asa :
Map1
Map2
Aici mapa ta
Padurea rosie
Etc..)

[ Postat de pe Android ] Imagine
Pentru acest mesaj, SkyLine for the post:
d4ny
Avatar utilizator
d4ny
Nivel 1

Nivel 1
Mesaje: 127
Membru din: 10 Apr 2017, 11:43
Aprecieri: 21  
Mulţumiri: 1  
Medalii

KrYpToNNN scrie:Ti le bag eu, spune-mi aici numele, coordonatele, pozitia (intre ce alte mape vrei sa fie...gen..daca e asa :
Map1
Map2
Aici mapa ta
Padurea rosie
Etc..)

[ Postat de pe Android ] Imagine
Pe ultima pagina dupa ultima mapa vreau sa imi adaugi, te rog, Mapa cu metin si Mapa cu Sefi, coordonatele sunt :
Mapa cu metin - 11896 181
Mapa cu sefi - 9360 215
Avatar utilizator
SkyLine
Membru Club

Membru Club
Mesaje: 2655
Membru din: 12 Dec 2013, 23:37
Server: Miraj2-Online
Regat: Jinno
Aprecieri: 520  
Mulţumiri: 987  
Discord: Copiază ID
 Contact:
Medalii

Incepand de la "local s"-ul tau si pana la sfarsit, inlocuieste cu toate astea.

Atentie: recomand sa faci un backup la questul original, in caz ca nu-ti merge asta
Vezi sa dai /usr/home/game/.../quest (... = calea ta pana la quest) , apoi ./qc quest-ul tau.quest si apoi /reload q in joc, ca sa-ti mearga. Asta doar la questuri. Daca e ceva din folderul object, poti da direct cu /reload q
local s = select("Satul 1", "Satul 2", "Valea Seungryong", "Desertul Yongbi", "Muntele Sohan", "Doyyumhwan", "Urmãtoarele", "Închide")
if s==7 then
say_title("Teleporter:")
say("Unde vrei sã fii teleportat?")
local p = select("Turnul Demonilor", "Caverna Pãianjenilor I", "Lungsam", "Pãdurea Rosie", "Tãrâmul Gigantilor", "Grota Exilului", "Temnita Maimutelor", "Mapa cu Metin", "Mapa cu Sefi" "Închide")

if p==1 then -- Turnul Demonilor
x="590400" y="110500"
elseif p==2 then -- Kuahlo Dong (V2)
x="91900" y="525400"
elseif p==3 then -- Lungsam
x="289000" y="5800"


elseif p==4 then -- Pãdurea Rosie
say_size(350, 180)
t = select( "Început", "Sfârsit", "Închide" )
if t==1 then
x="1119900" y="70800"
elseif t==2 then
x="1119200" y="7000"
elseif t==3 then
return
end

elseif p==5 then -- Tãrâmul Gigantilor
x="828100" y="763400"

elseif p==6 then -- Grota Exilului
x="181700" y="1220600"

elseif p==7 then -- Temnita Maimutelor
say_size(350, 200)
t = select ( "Temnita Maimutelor Începãtor", "Temnita Maimutelor Normal", "Temnita Maimutelor Avansat", "Închide" )

if t== 2then
x="128000" y="640000"
elseif t==3 then
x="128000" y="716800"
elseif t==4 then
return

elseif t==1 then
local empire = pc . get_empire ( )
if empire == 1 then
x="768000" y="435200"
elseif empire == 2 then
x="844800" y="435200"
elseif empire == 3 then
x="921600" y="435200"

end

elseif p==8 then
x="1189600" y="18100"
elseif p==9 then
x="936000" y="21500"
elseif p==10 then
send_letter ( "& Inel Teleportare" )
return
end
end

elseif s==1 then -- Satul 1
say_size(350, 200)
t = select("Tinutul Yongan", "Tinutul Joan", "Tinutul Pyungmoo","Î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"
elseif t==4 then
send_letter ( "& Inel Teleportare" )
return
end

elseif s==2 then -- Satul 2
say_size(350, 200)
t = select("Tinutul Yayang", "Tinutul Bokjung", "Tinutul Bakra", "Î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"
elseif t==4 then
send_letter ( "& Inel Teleportare" )
return
end

elseif s==3 then -- Valea Seungryong
say_size(350, 200)
t = select("Început", "Mijloc", "Î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"
elseif e==4 then
send_letter ( "& Inel Teleportare" )
return
end
elseif t==2 then
x="332700" y="745600"
elseif t==3 then
return
end

elseif s==4 then -- Desertul Yongbi
say_size(350, 180)
t = select("Început", "Mijloc", "Î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"
elseif t==3 then
send_letter ( "& Inel Teleportare" )
return
end

elseif s==5 then -- Muntele Sohan
say_size(350, 180)
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"
elseif t==3 then
send_letter ( "& Inel Teleportare" )
return
end

elseif s==6 then -- Doyyumhwan
say_size(350, 150)
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
send_letter ( "& Inel Teleportare" )
return
end

elseif s==8 then
send_letter ( "& Inel Teleportare" )
return
end

pc.warp(x, y)

end
end
Închis
Răspunsuri
1
Vizualizări
240
Răspunsuri
9
Vizualizări
713
Răspunsuri
6
Vizualizări
1494

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

  • Informaţie
  • Cine este conectat

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