Jump to content
  • Creatures waypoints not loaded


    Snowdog
    • Main Category: Core / Mangos Daemon
      Sub-Category: Creature
      Version: 21.11

    I was getting an error (for example) WaypointMovementGenerator::LoadPaath: Creature (Entry: 32721 Guid: 88636) doesn't have waypoint path 0

    for all creatures that were supposed to be walking around on waypoint paths.

     

    Found a bug in the WaypointManager.cpp  void WaypointManager::Load() routine.

    In the creature_movement section:

      WaypointPath& path = m_pathTemplateMap[id << 8];  should be  WaypointPath& path = m_pathMap[id];

     

    and farther down in the creature_movement_template section the same line has the correct m_pathTemplateMap but is missing the << 8.

     

    Now everything is moving but some creatures are not exactly following the waypoints.


    User Feedback

    Recommended Comments

    There are no comments to display.



    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