Jump to content

Question syserr HandleEvent: QUEST


Recommended Posts

Hello, in the server syserr i have multiple of this with every quest i use (warp.lua, dungeons, etc..)

This syserr is only when the server is in test mode, but i wanted to understand what exactly it is and if it cause any problem, or if it's normal for all

 

Example 1 HandeEvent:

SYSERR: Mar 18 21:14:21 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: guild_manage pc: Tester123)
SYSERR: Mar 18 21:14:21 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: guild_manage pc: Tester123)
SYSERR: Mar 18 21:14:22 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: guild_manage pc: Tester123)
SYSERR: Mar 18 21:14:22 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: guild_manage pc: Tester123)
SYSERR: Mar 18 21:14:23 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: guild_manage pc: Tester123)
SYSERR: Mar 18 21:14:23 :: HandleEvent: QUEST There's suspended quest state, can't run new quest state (quest: guild_manage pc: Tester123)

 

Example 2 HandleReceiveAllEvent

HandleReceiveAllEvent: QUEST There's suspended quest state, can't run new quest state

 

 

This is the source:

    bool NPC::HandleEvent(PC& pc, int EventIndex)
    {
        if (EventIndex < 0 || EventIndex >= QUEST_EVENT_COUNT)
        {
            sys_err("QUEST invalid EventIndex : %d", EventIndex);
            return false;
        }

        if (pc.IsRunning())
        {
            if (test_server)
            {
                CQuestManager & mgr = CQuestManager::instance();

                sys_err("QUEST There's suspended quest state, can't run new quest state (quest: %s pc: %s)",
                        pc.GetCurrentQuestName().c_str(),
                        mgr.GetCurrentCharacterPtr() ? mgr.GetCurrentCharacterPtr()->GetName() : "<none>");
            }

            return false;
        }

 

    bool NPC::HandleReceiveAllEvent(PC& pc, int EventIndex)
    {
        if (EventIndex < 0 || EventIndex >= QUEST_EVENT_COUNT)
        {
            sys_err("QUEST invalid EventIndex : %d", EventIndex);
            return false;
        }

        if (pc.IsRunning())
        {
            if (test_server)
            {
                CQuestManager & mgr = CQuestManager::instance();

                sys_err("QUEST There's suspended quest state, can't run new quest state (quest: %s pc: %s)",
                        pc.GetCurrentQuestName().c_str(),
                        mgr.GetCurrentCharacterPtr() ? mgr.GetCurrentCharacterPtr()->GetName() : "<none>");
            }

            return false;
        }

        FuncMissHandleReceiveAllEvent fMiss;
        FuncMatchHandleReceiveAllEvent fMatch;

        MatchingQuest(pc, m_mapOwnQuest[EventIndex], fMatch, fMiss);
        return fMiss.bHandled || fMatch.bHandled;
    }

 

 

Should i worry about this or is all okay? because it happens with every quest

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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