Jump to content

Quest problem


Adrian Boss

Mensajes recomendados

Hello, I have this quest and it does not work, can someone help me?

In this quest, once you entered the map, I want to go to the Orc Valley after 20 minutes

 

quest taram_metin begin
	state start begin
		when 20093.chat."Valea Eroilor" begin
			if pc.get_map_index() == 103 then
			say_title("Koe-Pung:")
			say("Ridicã-þi sabia laºule,doar de atât eºti în stare?")
			say("Devino puternic ºi aratã-mi cã eºti un adevãrat") 
			say("rãzboinic. În curând vom merge la rãzboi ºi avem") 
			say("nevoie de rãzboinici puternici,aºa cã devino ") 
			say("mai puternic. Eu te pot lãsa sã intri în Valea") 
			say("Eroilor, pentru a lupta cu") 
			say("Pietrele Metin de acolo ºi pentru a deveni un")
			say("Erou adevãrat.")
			wait()
			say_title("Koe-Pung:")
			say("Pentru a te putea trece ai nevoie de Permis Valea")
			say("Eroilor, pe care doar Cãpitanul þi-l poate poate")
			say("da.")
			say_reward("Nivelul necesare pentru a intra este 30.")
			say_item_vnum(30002)
			wait()
			say_reward("Nivel minim de intrare 30, poþi intra pânã la")
			say_reward("nivelul 99.")
			say_item_vnum(30002)
			wait()
			if pc.count_item(30002) > 0 and pc.level >= 30  and pc.level <= 99  then				
				say_title("Koe-Pung:")
				say("Se pare cã totul este în regulã,pregãteºte-te")
				say("pentru o cãlãtorie periculoasã,te voi duce doar")
				say("unde cei mai curajoºi ºi mai bravi eroi au ajuns.")
				pc.setqf("duration",get_time()+900)
				server_loop_timer('devil_stone4_update', 10, pc.get_map_index())
				server_timer( 5*60, pc.get_map_index())
				notice("Ai 15 minute la dispozitie sa farmezi");
				pc.remove_item(30002)
				pc.warp(9728,102400 )
			else
				say_title("Koe-Pung:")
				say("Se pare cã ceva nu este în regulã,nu ai permisul")
				say("de intrare sau nivelul minim sau ai depãºit nivelul")
				say("maxim pânã la care poþi intra ca sã te pot duce")
				say("în Valea Eroilor.")

                     end
                end
           end
     end
end
Enlace para comentar
Compartir en otros sitios

Listo

Spoiler

quest mapa begin
state start begin
when npcid.chat."farm map" begin
say("text")
if pc.get_level() < 99 then
  say("error")
  return end
if pc.count_item() < iditem then
  say("error")
  return end
pc.remove_item(iditem,1)
pc.warp(x, y)
pc.setqf("check_in_map",1)
end
when login with pc.get_map_index()== indexmap begin
loop_timer("check", 60*15)
loop_timer("check_in_map2",5)
end
when check_in_map2.timer begin
if pc.getqf("check_in_map")== 0 then
	cleartimer("check_in_map2")
	warp_to_village()
notice("No has entrado legalmente al mapa")
else
	if pc.getqf("check_in_map")== 1 then
		cleartimer("check_in_map2")
end
end
end
when check.timer begin
notice("texto")
cleartimer("check")
pc.setqf("check_in_map",0)
warp_to_village()
end
end
end

 

 

Enlace para comentar
Compartir en otros sitios

En 09.03.2018 a las 19:50, Dilong dijo:

Listo

Debes iniciar sesión para ver el contenido del enlace en esta publicación.
Ocultar contenido


quest mapa begin
state start begin
when npcid.chat."farm map" begin
say("text")
if pc.get_level() < 99 then
  say("error")
  return end
if pc.count_item() < iditem then
  say("error")
  return end
pc.remove_item(iditem,1)
pc.warp(x, y)
pc.setqf("check_in_map",1)
end
when login with pc.get_map_index()== indexmap begin
loop_timer("check", 60*15)
loop_timer("check_in_map2",5)
end
when check_in_map2.timer begin
if pc.getqf("check_in_map")== 0 then
	cleartimer("check_in_map2")
	warp_to_village()
notice("No has entrado legalmente al mapa")
else
	if pc.getqf("check_in_map")== 1 then
		cleartimer("check_in_map2")
end
end
end
when check.timer begin
notice("texto")
cleartimer("check")
pc.setqf("check_in_map",0)
warp_to_village()
end
end
end

 

 

Do not let me get into the map

Enlace para comentar
Compartir en otros sitios

  • Dilong locked this tema
Guest
Este tema está cerrado a otras respuestas.
  • Recientemente navegando por este tema   0 miembros

    • No hay usuarios registrados visitando esta página.
×
×
  • Crear nuevo...