Jump to content

[HELP]Quest Problem


Recommended Posts

Hello,
I have this problem in this quest.

 

SYSERR: Oct 21 16:30:06 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: main_quest_lv2_2 pc: Ario)


Can somebody help me?

 

quest main_quest_lv2_2 begin
    state start begin
    end
    state run begin
        when login or levelup or enter with pc.get_level() >= 2 begin
            set_state ( gotoinfomation )
        end
    end
    state gotoinfomation begin
        when letter begin
            if (pc.get_empire()==2) then
                local v=find_npc_by_vnum(20355)
                    if (v==0) then
                else
                    target.vid("__TARGET__", v, "")
                end
            elseif pc.get_empire()==1 then
                local v=find_npc_by_vnum(20355)
                    if (v==0) then
                else
                    target.vid("__TARGET__", v, "")
                end
            elseif pc.get_empire()==3 then
                local v=find_npc_by_vnum(20355)
                if (v==0) then
                else
                    target.vid("__TARGET__", v, "")
                end
            end
        end
        when __TARGET__.target.click begin
            target.delete("__TARGET__")
            say_green("Capitán:")
                say_white("Hola, ¿quien eres?")
                say_white("¿No serás un salvaje?, ultimamente han invadido la ciudad.")
                say_white("")
            say_gold("Yo:")
                say_white("No, acabo de llegar a la ciudad, y estoy hablando con")
                say_white("algunos aldeanos, a sí, el Vendedor de Armaduras me ha.")
                say_white("dicho que tiene las armaduras terminadas.")
                say_white("")
                wait()
            say_green("Capitán:")
                say_white("Vale, pues ahora mismo estoy ocupado, ya iré por ellas.")
                say_white("Bueno pues veo que aun no tienes un arma, ni habilidades.")
                say_white("ve a visitar a el Vendedor de Armas, el te dará una espada.")
                say_white("")
                say_white("Tras eso, dirigete hacia el maestro de habilidades, podrás")
                say_white("empezar a aprender tus habilidades.")
                say_white("")
                pc.give_exp2( 900 )
                clear_letter()
                set_state (__COMPLETE__)
                set_quest_state("find_squareguard","find")
        end
    end
    state __COMPLETE__ begin
    end
end

 

This is the hidden content, please

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.