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

    cabfever

    Posted

    Still broken after I used the rel20 extractor tools and replaced the dbc,map, mmap, vmap files

    cabfever

    Posted

    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]

    antz

    Posted

    i did a fresh build and extract last night and tested today.

    in moonbrook i attacked a mob in a house, then proceeded to run around the house, mob followed me perfectly.

    flexserve

    Posted

    Just witnessed trolls run through a large tree. Should I re-clone? My build is from about 3-4 days ago. R20

    cabfever

    Posted

    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]

    cabfever

    Posted

    Pathfinding is working again except the range or LoS Check for caster creatures (but this didnt work at any time I guess).
    Now it's only the build-tools problem left.

    flexserve

    Posted

    Weird. I recompiled and pathfinding was still broken. R20 latest build from 1 day ago. Creatures teleporting through walls, bouncing over terrain etc..

    cabfever

    Posted

    Did you extract the mmaps and vmaps again with the extraction tools? You need new mmaps and vmaps to get pathfinding working.

    flexserve

    Posted

    OK, but now the git is password protected?
    git clone [url]http://github.com/mangoszero/server[/url] --recursive -b Rel20

    antz

    Posted

    There should be no password ?

    btw.. we're still working on the extraction tools failure on Linux

    flexserve

    Posted

    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]

    flexserve

    Posted

    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...) ;)

    antz

    Posted

    Are you extracting on Windows or Linux ?

    flexserve

    Posted

    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.



    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