Jump to content
  • Pathfinding is broken again


    cabfever
    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Show Stopper
      Version: 0.20(currentmasterbranch) Milestone: 21 Priority: High
      Implemented Version: 0.20(currentmasterbranch)

    Pathfinding is broken again

    Title says it. Creature Pathfinding is broken and creatures are running through buildings, walls, trees and stuff.
    Line of sight for players is working though.

    Maybe it's because of this commit:
    [url]https://github.com/mangoszero/server/commit/b42793405496a40e98dcedf910536e8eec68c884[/url]


    User Feedback

    Recommended Comments

    The log shows a lot of this:
    [code]
    2014-08-23 21:03:32 ERROR:MMAP:loadMapData: Failed to initialize dtNavMesh for mmap 000 from file /home/mangos/mangoszero/share/mmaps/000.mmap
    2014-08-23 21:03:36 ERROR:MMAP:loadMapData: Failed to initialize dtNavMesh for mmap 001 from file /home/mangos/mangoszero/share/mmaps/001.mmap
    [/code]

    Link to comment
    Share on other sites

    cmake with extract-tools =

    [code]

    [ 64%] Building CXX object src/tools/Movemap-Generator/CMakeFiles/mmap-generator.dir/MapBuilder.cpp.o
    /home/mangos/mangoszero/server/src/tools/Movemap-Generator/MapBuilder.cpp: In member function ‘void MMAP::MapBuilder::buildNavMesh(uint32, dtNavMesh*&)’:
    /home/mangos/mangoszero/server/src/tools/Movemap-Generator/MapBuilder.cpp:319:24: error: ‘DT_POLY_BITS’ was not declared in this scope
    int polyBits = DT_POLY_BITS;
    ^
    make[2]: *** [src/tools/Movemap-Generator/CMakeFiles/mmap-generator.dir/MapBuilder.cpp.o] Error 1
    make[1]: *** [src/tools/Movemap-Generator/CMakeFiles/mmap-generator.dir/all] Error 2
    make: *** [all] Error 2
    [/code]

    Link to comment
    Share on other sites

    There was.. I don't know why. Just tried it and downloaded just fine. Re-extracting ALL maps and will try again. I will come back and report findings after the lengthy movemap-generator run. ;)

    [B]EDIT: I don't know what's changed but I've been doing movemap-generator for over 20+ hours on a 4 core (3.2Ghz) that usually takes about 10 hours max. (Win7 64-bit) Did I miss a command option or something?[/B]

    Link to comment
    Share on other sites

    I don't know what's changed but I've been doing movemap-generator for over 20+ hours on a 4 core (3.2Ghz) that usually takes about 10 hours max. (Win7 64-bit)[B] Did I miss a command option or something?[/B]

    EDIT: STILL EXTRACTING. Never seen it this long... (That's what she said...) ;)

    Link to comment
    Share on other sites

    I don't know what's changed but I've been doing movemap-generator for over 20+ hours on a 4 core (3.2Ghz) that usually takes about 10 hours max. [B](Win7 64-bit)[/B]


    The build was done 72+ hours later, but still have clipping creatures and floating over obstacles. Maybe I'm just not doing this right. I have my config files set up for mmaps, Database has errors , but nothing show stopping; yet when creatures run the go up the sides of large trees and some are under the floors in dungeons or floating above my head in others. I'll wait to see what others are saying. Please disregard my tracker report until Rel20 is a full release.

    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