EzekielitohMercury Posted May 28, 2018 at 01:46 AM Share Posted May 28, 2018 at 01:46 AM Can someone tell me what I did wrong in the quest? when trying to load it, it stays locked in this part: ./qc inventario_teleport.lua QUEST : inventario_teleport STATE : start WHEN : login WHEN : button or WHEN : info Quest: quest inventario_teleport begin state start begin when login begin cmdchat("Teleport "..q.getcurrentquestindex()) end when button or info begin say_title("Anillo teletransportador:") say("A que mapa deseas teletransportarte?") say("") local s = select("Imperios","Regiones Forestales","Cuevas de Arañas","Zonas de Atlantea","Otras Regiones","Mapas de Leveo","Cerrar") if s == 1 then say_title("Anillo teletransportador:") say("") local ss = select("Reino Shinsoo","Reino Chunjo","Reino Jinno","Cerrar") if ss == 1 then say_title("Anillo teletransportador:") say("") local ciudades = select("Ciudad 1","Ciudad 2","Cerrar") if ciudades == 1 then pc.warp(473900,954600) elseif ciudades == 2 then pc.warp(352300,882700) end elseif ss == 2 then say_title("Anillo teletransportador:") say("") local citys = select("Ciudad 1","Ciudad 2","Cerrar") if citys == 1 then pc.warp(63200,166700) elseif citys == 2 then pc.warp(145700,239800) end elseif ss == 3 then say_title("Anillo teletransportador:") say("") local citys = select("Ciudad 1","Ciudad 2","Cerrar") if citys == 1 then pc.warp(959600,269700) elseif citys == 2 then pc.warp(863800,246000) end end elseif s == 2 then say_title("Anillo teletransportador:") say("") local sss = select("Bosque","Bosque Rojo (Inicio)","Bosque Rojo (Final)","Cerrar") if sss == 1 then pc.warp(288700,5700) elseif sss == 2 then pc.warp(1119900,70800) elseif sss == 3 then pc.warp(1118100,8600) end elseif s == 3 then say_title("Anillo teletransportador:") say("") local zindan = select("Caverna de Arañas (V1)","Caverna de Arañas (V2)","Cerrar") if zindan == 1 then pc.warp(59800,497300) elseif zindan == 2 then pc.warp(704100,521900) end elseif s == 4 then say_title("Anillo teletransportador:") say("") local atlantea = select("Gruta del Exilio (40)","Sala del Dragón (70)","Cerrar") if atlantea == 1 then if pc.get_level() < 40 then pc.warp(0,1203200) elseif atlantea == 2 then if pc.get_level() < 80 then pc.warp(819200,1049600) end elseif s == 5 then say_title("Anillo teletransportador:") say("") local sssssss = select("Valle de Seungryong","Monte Sohan","Desierto Yongbi","Tierra de Fuego","Tierra de Gigantes","Torre de Demonios","Cerrar") 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 say_title("Anillo teletransportador:") say("") local sssssss = select("Acantilado de Gautama (90)","Bahía Nefrite (90)","Cabo del Dragón (90)","Cerrar") if sssssss == 1 then if pc.get_level() < 90 then pc.warp(1177600,1664000) elseif sssssss == 2 then if pc.get_level() < 90 then pc.warp(1049600,1510400) elseif sssssss == 3 then if pc.get_level() < 90 then pc.warp(1024000,1664000) end elseif s == 7 then end end end end Link to comment Share on other sites More sharing options...
lolhehehe Posted May 28, 2018 at 03:04 PM Share Posted May 28, 2018 at 03:04 PM (edited) quest inventario_teleport begin state start begin when login begin cmdchat("Teleport "..q.getcurrentquestindex()) end when button or info begin say_title(" Anillo teletransportador: ") say("A que mapa deseas teletransportarte? ") say("") local s = select("Imperios","Regiones Forestales","Cuevas de Arañas","Zonas de Atlantea","Otras Regiones","Mapas de Leveo","Cerrar") if s == 1 then say_title("Anillo teletransportador:") say("") local ss = select("Reino Shinsoo","Reino Chunjo","Reino Jinno","Cerrar") if ss == 1 then say_title("Anillo teletransportador:") say("") local ciudades = select("Ciudad 1","Ciudad 2","Cerrar") if ciudades == 1 then pc.warp(473900,954600) elseif ciudades == 2 then pc.warp(352300,882700) end elseif ss == 2 then say_title("Anillo teletransportador:") say("") local citys = select("Ciudad 1","Ciudad 2","Cerrar") if citys == 1 then pc.warp(63200,166700) elseif citys == 2 then pc.warp(145700,239800) end elseif ss == 3 then say_title("Anillo teletransportador:") say("") local citys = select("Ciudad 1","Ciudad 2","Cerrar") if citys == 1 then pc.warp(959600,269700) elseif citys == 2 then pc.warp(863800,246000) end end elseif s == 2 then say_title("Anillo teletransportador:") say("") local sss = select("Bosque","Bosque Rojo (Inicio)","Bosque Rojo (Final)","Cerrar") if sss == 1 then pc.warp(288700,5700) elseif sss == 2 then pc.warp(1119900,70800) elseif sss == 3 then pc.warp(1118100,8600) end elseif s == 3 then say_title("Anillo teletransportador:") say("") local zindan = select("Caverna de Arañas (V1)","Caverna de Arañas (V2)","Cerrar") if zindan == 1 then pc.warp(59800,497300) elseif zindan == 2 then pc.warp(704100,521900) end elseif s == 4 then say_title("Anillo teletransportador:") say("") local atlantea = select("Gruta del Exilio (40)","Sala del Dragón (70)","Cerrar") if atlantea == 1 then if pc.get_level() < 40 then pc.warp(0,1203200) end elseif atlantea == 2 then if pc.get_level() < 80 then pc.warp(819200,1049600) end end elseif s == 5 then say_title("Anillo teletransportador:") say("") local sssssss = select("Valle de Seungryong","Monte Sohan","Desierto Yongbi","Tierra de Fuego","Tierra de Gigantes","Torre de Demonios","Cerrar") 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 say_title("Anillo teletransportador:") say("") local sssssss = select("Acantilado de Gautama (90)","BahÃa Nefrite (90)","Cabo del Dragón (90)","Cerrar") if sssssss == 1 then if pc.get_level() < 90 then pc.warp(1177600,1664000) end elseif sssssss == 2 then if pc.get_level() < 90 then pc.warp(1049600,1510400) end elseif sssssss == 3 then if pc.get_level() < 90 then pc.warp(1024000,1664000) end end elseif s == 7 then end end end end My friend, stop writing quests ... Hire me Edited May 28, 2018 at 03:09 PM by lolhehehe Link to comment Share on other sites More sharing options...
oserra Posted May 28, 2018 at 07:27 PM Share Posted May 28, 2018 at 07:27 PM 4 horas atrás, lolhehehe disse: elseif s == 7 then end I don't understand what the problem is the, quest calls for a login and a button/info trigger and seems to be compiled properly. Are there any issues with it in-game? If so elaborate on them and give details. Link to comment Share on other sites More sharing options...
lolhehehe Posted May 28, 2018 at 08:19 PM Share Posted May 28, 2018 at 08:19 PM The quest was full of mistakes, I just corrected them to compile. Only that. Link to comment Share on other sites More sharing options...
oserra Posted May 28, 2018 at 09:10 PM Share Posted May 28, 2018 at 09:10 PM 47 minutos atrás, lolhehehe disse: The quest was full of mistakes, I just corrected them to compile. Only that. A quest dele deu compile, do que vi tu não mudaste nada, eu queria era perceber qual é o problema que ele tem para dizer que a quest tem um erro se na máquina não acusou nada. Link to comment Share on other sites More sharing options...
lolhehehe Posted May 28, 2018 at 09:14 PM Share Posted May 28, 2018 at 09:14 PM (edited) No meu compile deu erro. ^^ Tem certeza que não mudei nada? rs Edited May 28, 2018 at 09:18 PM by lolhehehe Link to comment Share on other sites More sharing options...
xkillmt2 Posted May 29, 2018 at 12:30 AM Share Posted May 29, 2018 at 12:30 AM (edited) Missed closings on options quest inventario_teleport begin state start begin when login begin cmdchat("Teleport "..q.getcurrentquestindex()) end when button or info begin say_title("Anillo teletransportador:") say("A que mapa deseas teletransportarte ?") say("") -- 7 opções local s = select("Imperios","Regiones Forestales","Cuevas de Arañas","Zonas de Atlantea","Otras Regiones","Mapas de Leveo","Cerrar") if s == 1 then say_title("Anillo teletransportador:") say("") -- start ss // Imperios local ss = select("Reino Shinsoo","Reino Chunjo","Reino Jinno","Cerrar") if ss == 1 then say_title("Anillo teletransportador:") say("") local ciudades = select("Ciudad 1","Ciudad 2","Cerrar") if ciudades == 1 then pc.warp(473900,954600) elseif ciudades == 2 then pc.warp(352300,882700) else return -- Cerrar end elseif ss == 2 then say_title("Anillo teletransportador:") say("") local citys = select("Ciudad 1","Ciudad 2","Cerrar") if citys == 1 then pc.warp(63200,166700) elseif citys == 2 then pc.warp(145700,239800) else return -- Cerrar end elseif ss == 3 then say_title("Anillo teletransportador:") say("") local citys = select("Ciudad 1","Ciudad 2","Cerrar") if citys == 1 then pc.warp(959600,269700) elseif citys == 2 then pc.warp(863800,246000) else return -- Cerrar end else return -- Cerrar end -- end ss elseif s == 2 then say_title("Anillo teletransportador:") say("") -- start sss // Regiones Forestales local sss = select("Bosque","Bosque Rojo (Inicio)","Bosque Rojo (Final)","Cerrar") if sss == 1 then pc.warp(288700,5700) elseif sss == 2 then pc.warp(1119900,70800) elseif sss == 3 then pc.warp(1118100,8600) else return -- Cerrar end -- end sss elseif s == 3 then say_title("Anillo teletransportador:") say("") -- start zindan // Cuevas de Arañas local zindan = select("Caverna de Arañas (V1)","Caverna de Arañas (V2)","Cerrar") if zindan == 1 then pc.warp(59800,497300) elseif zindan == 2 then pc.warp(704100,521900) else return -- Cerrar end -- end zindan elseif s == 4 then say_title("Anillo teletransportador:") say("") -- start atlantea // Zonas de Atlantea local atlantea = select("Gruta del Exilio (Lv 40)","Sala del Dragón (Lv 70)","Cerrar") if atlantea == 1 then if pc.get_level() < 40 then pc.warp(0,1203200) else return end elseif atlantea == 2 then if pc.get_level() < 80 then pc.warp(819200,1049600) else return end else return -- Cerrar end -- end atlantea elseif s == 5 then say_title("Anillo teletransportador:") say("") -- start sssssss // Otras Regiones local sssssss = select("Valle de Seungryong","Monte Sohan","Desierto Yongbi","Tierra de Fuego","Tierra de Gigantes","Torre de Demonios","Cerrar") 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) else return -- Cerrar end -- end sssssss elseif s == 6 then say_title("Anillo teletransportador:") say("") -- start sssssss // Mapas de Leveo local sssssss = select("Acantilado de Gautama (90)","Bahía Nefrite (90)","Cabo del Dragón (90)","Cerrar") if sssssss == 1 then if pc.get_level() < 90 then pc.warp(1177600,1664000) else return end elseif sssssss == 2 then if pc.get_level() < 90 then pc.warp(1049600,1510400) else return end elseif sssssss == 3 then if pc.get_level() < 90 then pc.warp(1024000,1664000) else return end end -- end else return -- Cerrar end end end end Edited May 29, 2018 at 12:36 AM by xkillmt2 formatação Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now