Bamxd Posted August 12, 2018 Report Share Posted August 12, 2018 quest Armado begin state start begin when login with pc.level >= 30 begin set_state(information) end end state information begin when letter begin send_letter("Caballo Armado") end when info or button begin say("Caballo Armado") say("Quieres Mejorar Tu Caballo?") say("Pues Ahora tienes La Posibilidad De Mejorarlo") say_reward("Mata Guerrero Llama") say("") pc.setqf("state", 120) q.set_counter("Guerrero", 120) end when 2205.kill begin local count = pc.getqf("state") - 1 if count <= 1 then pc.setqf("state", count) q.set_counter("Guerrero", count) end if count == 0 then say_title("Caballo Armado") say("Se ha completado la misión!") say("Usted recibirá:") say_reward("Libro Caballo Armado") say_reward("13 Pferdelevel") pc.give_item2(50052, 1) horse.set_level("13") clear_letter() set_state(__COMPLETE__) end end end state __COMPLETE__ begin end end EL PROBLEMA ES EL MISMOM, ME APARECE EL PERGAMINO Y CUANTOS DEBO MATAR PERO NO DESCUENTA NI UNA MUERTE DEL MOB. EJEMPLO SON 120 MATO 1 Y SIGUE EN 120 AUN ACTUALIZANDO LA MISION ME PASA LO MISMO CON LAS QUEST DE JEFES QUE TENGO PERO ESA LA PUBLIQUE AYER Y DILONG ME PASO OTRA PERO ESTA MALA. ACA PUBLICO LA QUE ME PASO DILONG AYER PERO NO ME FUNCIONA Milenario.quest:27:syntax error : [string "startpc . getqf ( "Milenario" ) == 1"]:3: `=' expected near `when'Abort (core dumped) quest killdemon begin state start begin when login with pc.get_level()>= 90 and pc.getqf("killdemon")==0 begin pc.setqf("killdemon2",1) end when letter with pc.getqf("killdemon2")==1 begin send_letter("Mision") end when button or info begin say_title("texto") say("texto") pc.setqf("killdemon3",1) end when idmob.kill with pc.get_level()>= 90 and pc.getqf("killdemon3")==1 begin pc.setqf("killdemon3",0) pc.setqf("killdemon",1) pc.setqf("killdemon2",0) say_title("Mision completado") say("texto") say("texto") say("texto") say("texto") pc.change_money(5000000) pc.give_item2(50132,1) pc.give_item2(50133,1) pc.give_item2(30251,1) end end end Link to comment Share on other sites More sharing options...
Bamxd Posted August 12, 2018 Author Report Share Posted August 12, 2018 up!!! Link to comment Share on other sites More sharing options...
colcrt Posted August 12, 2018 Report Share Posted August 12, 2018 parece q el error esta en la forma en q descuenta cada kill, muestra algun error al compilar? Link to comment Share on other sites More sharing options...
Bamxd Posted August 12, 2018 Author Report Share Posted August 12, 2018 no ni un error. la que me paso dilong muestra errores pero las mias no ni uno Link to comment Share on other sites More sharing options...
Dilong Posted August 12, 2018 Report Share Posted August 12, 2018 hace 2 horas, Bamxd dijo: Milenario.quest:27:syntax error : [string "startpc . getqf ( "Milenario" ) == 1"]:3: `=' expected near `when'Abort (core dumped) Spoiler quest killdemon begin state start begin when login with pc.get_level()>= 90 and pc.getqf("killdemon1")==0 begin pc.setqf("killdemon2",1) end when letter with pc.getqf("killdemon2")==1 begin send_letter("Mision") end when button or info begin say_title("texto") say("texto") pc.setqf("killdemon3",1) end when idmob.kill with pc.get_level()>= 90 and pc.getqf("killdemon3")==1 begin pc.setqf("killdemon3",0) pc.setqf("killdemon1",1) pc.setqf("killdemon2",0) say_title("Mision completado") say("texto") say("texto") say("texto") say("texto") pc.change_money(5000000) pc.give_item2(50132,1) pc.give_item2(50133,1) pc.give_item2(30251,1) end end end Pd: Usa las quest gameforge, esos tienen las misiones de caballo y tal como el oficial, por que esa quest a saber quien lo hizo, esta bastante mal Link to comment Share on other sites More sharing options...
Bamxd Posted August 12, 2018 Author Report Share Posted August 12, 2018 tendra que ser XD porque ni la de jefes funcionan Link to comment Share on other sites More sharing options...
Recommended Posts