Shiindrex Posted June 23, 2013 Report Share Posted June 23, 2013 Hola amigos de mt2zone! Necesito ayuda con esta quest: ------------------------------------ MAIN QUEST LV5-- Ayuda a Octavio----------------------------------quest main_quest_lv5 beginstate start beginwhen login or levelup or enter with pc.get_level() >= 5 beginset_state ( information )endendstate information beginwhen letter beginsend_letter ("Octavio te busca!")endwhen button or info beginsay_title ("Octavio pregunta por ti!")say("")say("Octavio dijo")say("que estaba buscando algo")say("ve con el")say("Te dira")say("lo quiere de ti.")say("Podras Hacerlo?")say("")end when 179.kill beginlocal s = number(1, 100)if s <= 5 and pc.count_item("30020") == 0 thenpc.give_item2(30020, 1)set_state(gototeacher)endendend state gototeacher beginwhen letter beginsend_letter ("Ve a ver a Octavio") local v==find_npc_by_vnum(20008)if 0==v thenelsetarget.vid("__TARGET__", v, "Octavio ")endendwhen button or info begin say_title ("Vuelve Rapido") say("")say("Super, Ya lo tienes!")say("Ahora ve, pero rapido")say("a donde Octavio")say("Estara esperando por ti")say("y te tiene una sorpresa!")say("")endwhen __TARGET__.target.click or20008.chat."Vuelve a donde Octavio".." begintarget.delete("__TARGET__")---say("Gracias!")say("Durante mucho tiempo he")say("esperado por esto!")say("Aqui esta tu sorpresa:")say("")say("100000 EXP")say("1000000 Yang")say("") pc.give_exp2(100000)pc.give_gold2(1000000)set_state ( __COMPLETE__ )set_quest_state("main_quest_lv30","levelup","run")say_reward("Has ganado 100.000 EXP")say_reward("Has ganado 1.000.000 Yang")endendstate __COMPLETE__ beginend end Y Tengo otro error, que no me compila una quest, la misma, parece estar bien, en la maquina me pone "error occured on compiled ...." Porque sera? Hay varias Quest que me ponen el mismo error de que no se pueden compilar, uso los ServerFiles de invoice. Antes usaba los de lauling y no daban tanto errores. Les agradesco su ayuda Saludos! Link to comment Share on other sites More sharing options...
topekone Posted June 23, 2013 Report Share Posted June 23, 2013 when __TARGET__.target.click or20008.chat."Vuelve a donde Octavio".." begin A simple vista me parece que te sobran ahi unas comillas despues de Octavio Link to comment Share on other sites More sharing options...
Shiindrex Posted June 24, 2013 Author Report Share Posted June 24, 2013 Sigo teniendo el mismo error Gracias por contestar el tema Link to comment Share on other sites More sharing options...
Anthony's Posted June 24, 2013 Report Share Posted June 24, 2013 Aquí tienes la quest reparada. Solamente te faltaría testearla yo ya hice la parte de oracle y no tira ningún core dump u otro error. Debes iniciar sesión para ver el contenido del enlace en esta publicación. Si pasara algo de que la quest no te funcionara dentro del servidor contacta con alguna persona que sepa hacer quest. Yo solamente logré quitarte el core dump y hacer que no salte más fallos. Aparte la quest de por ella ya tenía muchos fallos en códigos de quest. Te dejo mi skype por si acaso: phytonyt #Cierro el post si pasará algo pregunta a alguien que sepa mejor# Link to comment Share on other sites More sharing options...
Recommended Posts