• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

Not answered Resume: wrong QUEST_WAIT request

Member
May
Threads
3
56
1
8
HubMoney
771

AD: Mt2009 - Mobile & PC - 30 January 2026 CHECK THE PRESENTATION!

Hello, please warehouse.quest has a problem.

SYSERR: Oct 1 03:15:13 :: Resume: wrong QUEST_WAIT request! : 74

Thank you very much, have a nice day.



Code:
quest stash begin
    state start begin -- Status when nothing is open
        when 9005.chat.locale_quest(10016) begin
            say_title(locale_quest(10024))
            -- changed handling, after we get a new button to open the storeage directly
            say(locale_quest(10025))
            wait()
            if pc.get_gold() < 500 then
                say_title(locale_quest(10024))
                say(locale_quest(10026))
            else
                local s = select(locale_quest(4443), locale_quest(4442))
                if s == 1 then
                    pc.change_gold(-500)
                    game.set_safebox_level(1)
                    set_state(use)
                    say_npc()
                    say(locale_quest(10027))
                    say_reward(locale_quest(10028))
                    say(locale_quest(10029))
                else
                    say_title(locale_quest(10024))
                    say(locale_quest(10030))
                end
            end
        end

        when 9005.chat.locale_quest(10019) begin
            if pc.getqf("open_item_storage_count") < 3 then
                say_npc()
                say(locale_quest(10021))
                wait()
                say_npc()
                say_show_item(90013) -- icon of item
                say(locale_quest(10022))
                wait()
                pc.setqf("open_item_storage_count", pc.getqf("open_item_storage_count") + 1)
            end

            setskin(NOWINDOW)
            game.open_mall()
        end
    end

    state use begin
        when 9005.chat.locale_quest(10031) begin
            if pc.getqf("open_count") < 3 then
                say_npc()
                say(locale_quest(10017))
                wait()
                say_npc()
                say(locale_quest(10018))
                wait()
                pc.setqf("open_count", pc.getqf("open_count") + 1)
            end

            setskin(NOWINDOW)
            game.open_safebox()
        end

        when 9005.chat.locale_quest(10019) begin
            if pc.getqf("open_item_storage_count") < 3 then
                say_npc()
                say(locale_quest(10021))
                wait()
                say_npc()
                say_show_item(90013) -- icon of item
                say(locale_quest(10022))
                wait()
                pc.setqf("open_item_storage_count", pc.getqf("open_item_storage_count") + 1)
            end

            setskin(NOWINDOW)
            game.open_mall()
        end

        when 9005.chat.locale_quest(4386) begin
            npc.open_shop()
            say_npc()
            say(locale_quest(10020))
        end
    end -- end_of_state: use
end -- end_of_quest

Thank you very much, have a nice day.
 
Last edited:
Metin2Hub Bot
M2Hub Bot
Feb
Threads
66
2,363
2
1,293
113
HubMoney
1,678
Hello, please warehouse.quest in multilang working for all language but Tr/Cz has problem.

For example:
Eng - Open warehouse,
Tr/Cz - NoName

When i use eng locale_quest and translate it so working but if i use Tr/Cz locale_quest so NoName. (Only warehouse.quest has problem in Tr/Cz, eng,de,pt.. - working good.)

Log/Syserr when i use Tr/Cz:
Sep 30 14:52:30 :: OnClick Administrator Depozit[vnum 9005 ServerUniqueID 14686, pid 0] by Test1
Sep 30 14:52:33 :: QUEST ScriptAnswer pid 74 answer 0
Sep 30 14:52:34 :: QUEST ScriptAnswer pid 74 answer 254
Sep 30 14:52:39 :: QUEST ScriptAnswer pid 74 answer 1
Sep 30 14:52:40 :: QUEST ScriptAnswer pid 74 answer 254
SYSERR: Sep 30 14:52:40 :: Resume: wrong QUEST_WAIT request! : 74


Code:
quest stash begin
    state start begin -- Status when nothing is open
        when 9005.chat.locale_quest(10016) begin
            say_title(locale_quest(10024))
            -- changed handling, after we get a new button to open the storeage directly
            say(locale_quest(10025))
            wait()
            if pc.get_gold() < 500 then
                say_title(locale_quest(10024))
                say(locale_quest(10026))
            else
                local s = select(locale_quest(4443), locale_quest(4442))
                if s == 1 then
                    pc.change_gold(-500)
                    game.set_safebox_level(1)
                    set_state(use)
                    say_npc()
                    say(locale_quest(10027))
                    say_reward(locale_quest(10028))
                    say(locale_quest(10029))
                else
                    say_title(locale_quest(10024))
                    say(locale_quest(10030))
                end
            end
        end

        when 9005.chat.locale_quest(10019) begin
            if pc.getqf("open_item_storage_count") < 3 then
                say_npc()
                say(locale_quest(10021))
                wait()
                say_npc()
                say_show_item(90013) -- icon of item
                say(locale_quest(10022))
                wait()
                pc.setqf("open_item_storage_count", pc.getqf("open_item_storage_count") + 1)
            end

            setskin(NOWINDOW)
            game.open_mall()
        end
    end

    state use begin
        when 9005.chat.locale_quest(10031) begin
            if pc.getqf("open_count") < 3 then
                say_npc()
                say(locale_quest(10017))
                wait()
                say_npc()
                say(locale_quest(10018))
                wait()
                pc.setqf("open_count", pc.getqf("open_count") + 1)
            end

            setskin(NOWINDOW)
            game.open_safebox()
        end

        when 9005.chat.locale_quest(10019) begin
            if pc.getqf("open_item_storage_count") < 3 then
                say_npc()
                say(locale_quest(10021))
                wait()
                say_npc()
                say_show_item(90013) -- icon of item
                say(locale_quest(10022))
                wait()
                pc.setqf("open_item_storage_count", pc.getqf("open_item_storage_count") + 1)
            end

            setskin(NOWINDOW)
            game.open_mall()
        end

        when 9005.chat.locale_quest(4386) begin
            npc.open_shop()
            say_npc()
            say(locale_quest(10020))
        end
    end -- end_of_state: use
end -- end_of_quest

Thank you very much, have a nice day.

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.