Jump to content
  • 0

Question syserr HandleEvent: QUEST


Cripplez

Question

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 post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



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