Jump to content
Slabon

[Corrección]Quest Anillo Teletransportador

Recommended Posts

Al hacer ./qc a la quest me da el error:

syntax error: (string "start") :60: unexpoted symbol near 'local' anilloteleport.quest: 92: Abort (core dumped)

 

quest anilloteleport begin
state start begin
  when 70058.use begin
  say_title ("Teletransportador Portátil:")
  say ("Hola!")
  say ("Hacia donde quieres transportarte?")
local a = select ("Reinos", "Mapas", "Castillos de los Reinos", "Salir")
if a == 1 then
  local b = select ("Reino Shinsoo", "Reino Chunjo", "Reino Jinno", "Salir")
  if b == 1 then
  local c = select ("Area Yongan", "Jayang","País Jungrang","País Miryang", "Salir")
   if c == 1 then
    pc.warp ( 469300 , 964200 )
   elseif c == 2 then
    pc.warp ( 360800 , 877600 )
   elseif c == 3 then
    pc.warp ( 128500 , 1000 )
   elseif c == 4 then
    pc.warp ( 230400 , 232200 )
   return
  end
elseif b == 2 then
  local d = select ("Area Joan", "Bokjung","País Waryong","País Songpa", "Sair")
   if d == 1 then
    pc.warp ( 55700 , 157900 )
   elseif d == 2 then
    pc.warp ( 138500 , 234900 )
   elseif d == 3 then
    pc.warp ( 179500 , 1000 )
   elseif d == 4 then
    pc.warp ( 639700 , 411400 )
  return
  end
elseif b == 3 then
  local e = select ("Area Pyungmoo", "Bakra","País Imha","País Daeyami", "Salir")
   if e == 1 then
    pc.warp ( 969600 , 278400 )
   elseif e == 2 then
    pc.warp ( 873100 , 242600 )
   elseif e == 3 then
    pc.warp ( 271800 , 13000 )
   elseif e == 4 then
    pc.warp ( 282100 , 846300 )
  return
end
end
elseif a == 2 then
  local main_set = select ("Valle del Seungryong","Monte Sohan","Tierra de Fuego","Desierto Yongbi", "Bosque Fantasma", "Templo Hwang", "Más Mapas")
   if main_set == 1 then
    pc.warp ( 256000 , 665600 )
   elseif main_set == 2 then
    pc.warp ( 491800, 173600 )
   elseif main_set == 3 then
    pc.warp ( 730700, 689800 )
   elseif main_set == 4 then
    pc.warp ( 344000 , 502500 )
   elseif main_set == 5 then
    pc.warp ( 281600 , 0 )
   elseif main_set == 6 then
    pc.warp ( 590500 , 110500 )
   elseif main_set == 7 then
  return
   
  local main_set2 = select ("Bosque Rojo","Campo Serpiente","Arañas","Arañas 2","Gruta del Exilio","Gruta del Exilio 2","Cerrar")
   if main_set2 == 1 then
    pc.warp ( 1049600 , 0 )
   elseif main_set2 == 2 then
    pc.warp ( 1059000 , 726200 )
   elseif main_set2 == 3 then
    pc.warp ( 51200 , 486400 )
   elseif main_set2 == 4 then
    pc.warp ( 665600 , 435200 )
   elseif main_set2 == 5 then
    pc.warp ( 0 , 1203200 )
   elseif main_set2 == 6 then
    pc.warp ( 241300 , 1275500 )
   elseif main_set2 == 7 then
  return
  end
end
elseif a == 3 then
  local f = select ("Castillo Milaard", "Castillo Dendera", "Castillo Listhmos", "Sair")
   if f == 1 then
    pc.warp ( 975200 , 133000 )
   elseif f == 2 then
    pc.warp ( 977200 , 185000 )
   elseif f == 3 then
    pc.warp ( 923900 , 183600 )
  return
   end
  end
end
end

 

Share this post


Link to post
Share on other sites

quest anilloteleport begin
state start begin
  when 70058.use begin
   say_title ("Teletransportador Portátil:")
   say ("Hola!")
   say ("Hacia donde quieres transportarte?")
local a = select ("Reinos", "Mapas", "Castillos de los Reinos", "Salir")
if a == 1 then
local b = select ("Reino Shinsoo", "Reino Chunjo", "Reino Jinno", "Salir")
if b == 1 then
  local c = select ("Area Yongan", "Jayang","País Jungrang","País Miryang", "Salir")
  if c == 1 then
   pc.warp ( 469300 , 964200 )
  elseif c == 2 then
   pc.warp ( 360800 , 877600 )
  elseif c == 3 then
   pc.warp ( 128500 , 1000 )
  elseif c == 4 then
   pc.warp ( 230400 , 232200 )
   return
  end
elseif b == 2 then
  local d = select ("Area Joan", "Bokjung","País Waryong","País Songpa", "Sair")
  if d == 1 then
  pc.warp ( 55700 , 157900 )
  elseif d == 2 then
  pc.warp ( 138500 , 234900 )
  elseif d == 3 then
  pc.warp ( 179500 , 1000 )
  elseif d == 4 then
  pc.warp ( 639700 , 411400 )
  return
  end
elseif b == 3 then
  local e = select ("Area Pyungmoo", "Bakra","País Imha","País Daeyami", "Salir")
  if e == 1 then
    pc.warp ( 969600 , 278400 )
  elseif e == 2 then
    pc.warp ( 873100 , 242600 )
  elseif e == 3 then
    pc.warp ( 271800 , 13000 )
  elseif e == 4 then
    pc.warp ( 282100 , 846300 )
    return
  end
end
elseif a == 2 then
local main_set = select ("Valle del Seungryong","Monte Sohan","Tierra de Fuego","Desierto Yongbi", "Bosque Fantasma", "Templo Hwang", "Más Mapas")
if main_set == 1 then
  pc.warp ( 256000 , 665600 )
elseif main_set == 2 then
  pc.warp ( 491800, 173600 )
elseif main_set == 3 then
  pc.warp ( 730700, 689800 )
elseif main_set == 4 then
  pc.warp ( 344000 , 502500 )
elseif main_set == 5 then
  pc.warp ( 281600 , 0 )
elseif main_set == 6 then
  pc.warp ( 590500 , 110500 )
elseif main_set == 7 then
  return
  
local main_set3 = select ("Bosque Rojo","Campo Serpiente","Arañas","Arañas 2","Gruta del Exilio","Gruta del Exilio 2","Cerrar")
if main_set3 == 1 then
  pc.warp ( 1049600 , 0 )
elseif main_set3 == 2 then
  pc.warp ( 1059000 , 726200 )
elseif main_set3 == 3 then
  pc.warp ( 51200 , 486400 )
elseif main_set3 == 4 then
  pc.warp ( 665600 , 435200 )
elseif main_set3 == 5 then
  pc.warp ( 0 , 1203200 )
elseif main_set3 == 6 then
  pc.warp ( 241300 , 1275500 )
elseif main_set3 == 7 then
  return
  end
end
elseif a == 3 then
local f = select ("Castillo Milaard", "Castillo Dendera", "Castillo Listhmos", "Sair")
if f == 1 then
  pc.warp ( 975200 , 133000 )
elseif f == 2 then
  pc.warp ( 977200 , 185000 )
elseif f == 3 then
  pc.warp ( 923900 , 183600 )
  return
   end
  end
end
end

Prueba así

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...