Register for your free account! | Forgot your password?

You last visited: Today at 16:59

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Navmesh file structure

Discussion on Navmesh file structure within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 120
Received Thanks: 17
Navmesh file structure

I was searching about navmesh files, i did find lots of info but then i got confused, so i will write what i understood and hopefully someone will correct/explain where did i got it wrong:

from my understanding, a .nvm file consist of entity, zone1, zone2, zone3
each entity contain an id of a bsr file, the path of the bsr is defined in object.ifo
the bsr contains a hitbox in the first bms entry, the rest of entries isn't useful
then the hitbox contain entries for the object orientation on the ground (outer lines, inner lines..)

using drew's nvm class i was able to extract these entries, and to draw zone3 (rectangles), zone2 (map sector borders)
zone1 gives strange lines which dont make sense to me
and about the bms, i cant draw them in a correct way (they get stacked up on 2-3 thick lines across the screen)

Thanks.
supermando is offline  
Old 03/14/2012, 17:33   #2
 
Kape7's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,292
This might can help you, through there is no source code, might can help you figure out what is the rest of the missing info on navemesh files.



Download it from attach.
Attached Files
File Type: rar NavTestV2.rar (1.03 MB, 391 views)
Kape7 is offline  
Thanks
1 User
Old 03/14/2012, 22:14   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 120
Received Thanks: 17
Actually I've been using it to compare it with my result, that's how I knew that my result was wrong.

Anyway, I've decompiled it now and I found out what was wrong with my approach (at least it seems so).

Thanks for your time nevertheless
supermando is offline  
Old 03/15/2012, 09:32   #4
 
elite*gold: 0
Join Date: Sep 2010
Posts: 783
Received Thanks: 920
Quote:
Originally Posted by Synx7 View Post
This might can help you, through there is no source code, might can help you figure out what is the rest of the missing info on navemesh files.



Download it from attach.
do you mind sharing the PK2Reader code?since I think it uses the base pk2 key not the blowfish key and thats what I need
ÑõÑ_Ŝŧóp is offline  
Old 03/15/2012, 09:58   #5
 
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
Quote:
Originally Posted by ÑõÑ_Ŝŧóp View Post
do you mind sharing the PK2Reader code?since I think it uses the base pk2 key not the blowfish key and thats what I need
as far as I know,it's not synx's work
vorosmihaly is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Navmesh X, Y Collision
08/03/2011 - SRO Coding Corner - 21 Replies
Soo lately I've been working on the navmesh files and I used drew's edxNVMViewer for this. But I've got a little stuck right now. For my project I'm using the nvm.h and nvm.cpp to load the navmesh file and I'm saving it in my memory. Everything goes fine and I get the correct Z position from the navmesh but I can't figure out how to get the forbidden area's in the navmesh. Like when a character walks up a mountain it will stop at some points since there is a collision. How am I able to...
SQL-DB structure
05/29/2010 - Silkroad Online - 0 Replies
Hey folks, does anyone happen to have the structure of the official SRO SQL-DB? I need no more than the column names and their associated table names (usually located in the DB "INFORMATION_SCHEMA").
Agbot 2.7.5 and 2.7.6 "error navmesh 0x0180"
03/05/2009 - Silkroad Online - 0 Replies
As the title says, when i use 2.7.5 and 2.7.6 agbot, whenever im in town and click start walkscript, i get "error navmesh 0x0180" and then walkscript turns off... ive tried everything, use return scrolls, restarting the game.. Nothing seems to work. Does anyone know what is wrong with my bot?
.DMAP File Structure
01/22/2009 - CO2 Programming - 1 Replies
I'm looking for the .DMAP file structure. Based on existing source code I have been able to determine the following: Skip the first 268 bytes (anyone know what this is). Next 4 bytes contain the length of X. Next 4 bytes contain the length of Y. public struct DMAP { public uint32 MapX; public uint32 MapY;



All times are GMT +2. The time now is 16:59.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.