Jump to content
  • Server crash - WorldObjectGetMap


    madmax
    • Status: Awaiting Feedback
      Main Category: Core / Mangos Daemon
      Sub-Category: Core Crash
      Version: 0.19 Milestone: 0.20-newbeginnings Priority: New
      Implemented Version: 0.20

    Server crash - WorldObjectGetMap

    See screenshot attached below.

    [IMG]https://www.getmangos.eu/attachment.php?attachmentid=145&d=1413121071[/IMG]


    User Feedback

    Recommended Comments

    Antz applied a code change to Covenant-WoW to see if this fixes it, it is as follows:

    File Object.h


    bool IsInMap(const WorldObject* obj) const
    {
    return IsInWorld() && obj->IsInWorld() && (GetMap() == obj->GetMap());
    }


    to
    bool IsInMap(const WorldObject* obj) const
    {
    if (m_currMap)
    {
    return IsInWorld() && obj->IsInWorld() && (GetMap() == obj->GetMap());
    }
    else
    {
    return false;
    }
    }

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use