Jump to content
  • Register Now

    Sign up and take advantage of the features of our community! Some forums are only accessible to our members!

  • 0

Quest error rainbowstone


alexghinet

Question

Sep 12 12:45:20 :: TheVlad: A folosit obiectul: Piatra curcubeu (inven 1, cell: 27)
SYSERR: Sep 12 12:45:20 :: RunState: LUA_ERROR: [string "perfect"]:1: bad argument #1 to `foreachi' (table expected, got nil)
SYSERR: Sep 12 12:45:20 :: WriteRunningStateToSyserr: LUA_ERROR: quest perfect.start leave

 

quest :

 quest perfect begin
state start begin
when 50512.use begin
table.foreachi(special.active_skill_list[pc.get_job()+1][pc.get_skill_group()],function(r,skill) pc.set_skill_level(skill,59) end)
chat("Felictari. Ai primit skillurile perfecte acum vei fii mai puternic ca nici-o data!")
item.remove()
command("logout")
say_albastru2("Vei fii deconectat , pentru a putea primii noile skilluri")
end
end
end

Link to post

2 answers to this question

Recommended Posts

  • 0

T/C . If someone got this problem here is the fixed quuest by DnD.

 

quest skill_p_dnd begin
    state start begin
        when 50512.use begin
            table.foreachi(special.active_skill_list[pc.get_job()+1][pc.get_skill_group()],function(r,skill) pc.set_skill_level(skill,59) end)

            item.remove()

            pc.remove_item(50512, 1)
            
            command("logout")
            say_title("Piatra curcubeu:")
            
            say("Acum ai skillurile la maximum , luptele vor fii mai interesante!")
            say("")
            say_albastru2("Vei fii deconectat din motive de securitate!")
            return
        end
    end
end

 

Thanks a lot !

Link to post
Guest
This topic is now closed to further replies.


×
×
  • 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.