Jump to content

Pathfinding


Recommended Posts

Hi beater07,

the reported problem is solved by using vmaps, which enables line of sight.

Check vmap.enableLOS and vmap.enableHeight on mangosd.conf file.

To learn how to extract vmaps, check tutorial here. Look for "Build the Vmap Files" section.

The pathfinding is a different problem, and is being discussed here:

 Path Finding For Mobs, Start your development here[/b]

http://getmangos.eu/community/viewtopic.php?id=21565

Hope it helps,

chaos

Link to comment
Share on other sites

  • 38 years later...

I searched "pathfinding and didnt come up with any recent discussion about it.

If there is, please someone direct me to it, and if there is not, Is it still in the works?

I believe its what causes my problem anyway, when you walk past a building and EVERY mob inside comes running through the wall and kills you.

Thanks in advance.

Link to comment
Share on other sites

Thanks for your support.

I have ran the make vmaps_simple file and it ran 100% fine, and i copied the output (vmaps) folder to the root of my mangos directory.

I checked the mangos.conf file and vmaps and height were set to 0 so i changed them to 1

Ran mangos and it said

2008-04-27 10:20:08 Using UDB 0.10.0 (347) with SD2 calls rev.344

2008-04-27 10:20:08 Using DataDir ./

2008-04-27 10:20:08 WORLD: VMap support included. LineOfSight:1, getHeight:1

2008-04-27 10:20:08 WORLD: VMap data directory is: ./vmaps

2008-04-27 10:20:08 WORLD: VMap config keys are: vmap.enableLOS, vmap.enableHeight, vmap.ignoreMapIds, vmap.ignoreSpellIds

2008-04-27 10:20:08 ERROR:Could not find vmap file './vmaps/530_12_43.vmdir'

2008-04-27 10:20:08 ERROR:Correct *.map files not found in path './maps' or *.vmap/*vmdir files in './vmaps'. Please place *.map/*.vmap/*.vmdir files in appropriate directories or correct the DataDir value in the mangosd.conf file.

I rebuilt the vmap and .maps files after upgrading to the lastest revision.

Know whats up?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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