Register for your free account! | Forgot your password?

You last visited: Today at 08:11

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

Advertisement



Navmesh X, Y Collision

Discussion on Navmesh X, Y Collision within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old 05/05/2011, 20:31   #16
 
elite*gold: 0
Join Date: Dec 2008
Posts: 316
Received Thanks: 44
Quote:
Originally Posted by sjaakie100 View Post
Hmm I have one other question. How can I detect if for example a user or in my test the mouse cursor is inside the forbidden area?

I draw the zone3 at the screen so I have an good view of the whole collision thing. but the zone3 has x1 x2 y1 and y2 which is a line and the square which I tested weren't just 4 of those lines but one lines were a couple of lines attached to eachother so is there some kind of algorithm which can help with this or is it just unkown and does it needs to be reversed from the client?
If you want this for an pixel analyse bot you can forgot it. this is huge thing and insane, better you do this with calculating the way where you can walk like the autowalk bots.
XchangliiX is offline  
Old 05/05/2011, 20:42   #17
 
elite*gold: 0
Join Date: Dec 2010
Posts: 27
Received Thanks: 1
Yeah well that's kinda the idea which I want to just check if you're not in the forbidden area bit once you can calulate those things you can also draw it at a window at least I guess so since you calculate which way you have to take or else you collide with a mountain you can do the same thing to draw it at a map.
sjaakie100 is offline  
Old 05/06/2011, 12:38   #18
 
elite*gold: 0
Join Date: Dec 2008
Posts: 316
Received Thanks: 44
A friends of me made this as a little tool its amazing left klick start right klick destination and then klick get path, there is still a problem with bridges and town gates he said, the aim is to make also a coordiante script/walk script and then you can use the function for autowalk. my idea is to edit some navmesh parts like bridges and get acces to let the bot find a way, now the biggest problem is making a script with the path
XchangliiX is offline  
Thanks
1 User
Old 05/10/2011, 03:52   #19
 
Oriya9's Avatar
 
elite*gold: 94
Join Date: Mar 2007
Posts: 569
Received Thanks: 1,496
Quote:
Originally Posted by XchangliiX View Post
A friends of me made this as a little tool its amazing left klick start right klick destination and then klick get path, there is still a problem with bridges and town gates he said, the aim is to make also a coordiante script/walk script and then you can use the function for autowalk. my idea is to edit some navmesh parts like bridges and get acces to let the bot find a way, now the biggest problem is making a script with the path
Very nice project, the visuals helped with understanding better.
I ran over Drew's project again and again many times before, but this one gave me perspective on the whole thing by its visuals.
finally, I managed to do something:


Drew, as always, things are way easier with you
So.. many thanks to Drew and some thanks to Keinplan (that's his name I guess?) who motivated me to try it
Oriya9 is offline  
Thanks
1 User
Old 08/03/2011, 15:02   #20
 
elite*gold: 0
Join Date: Jul 2011
Posts: 2
Received Thanks: 1
Aufbau des Navmesh

Ich habe mich vor ein, zwei Jahren mit dem Programmieren eines Private Servers beschäftigt. Obwohl die "großen" Gebiete, wie Skills, Navmesh, (De-)Spawn und das gesamte Dateisystem fertig war, bin ich daran gescheitert, das die neue Version andere Opcodes benutzt und ich somit nicht alle Packets finden konnte. Meine Programm entnimmt den Navmesh , bsr und bms dateien folgende Informationen (über Minimapbild gelegt):
Hotan:
Objekte:

zPosition


Taklamakan:



Die unterschiedlichen Farben der Linien bedeuten:
blau: nicht übertretbare Grenzlinien,
gelb: Ein- und Ausgänge
Rot: übertretbare Grenzlinien (drunterhergehen)
pink: nicht übertretbare innere Linien
grau: übertretbare innere Linien (von einem Dreieck zum anderen)
schwarz: Geländemäßig nicht übertretbare Grenzenlinien
grün-gelb: Übergangslinie (von einem Objekt zum nächstem)
abd12 is offline  
Old 08/03/2011, 16:07   #21
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
@abd12 nice pictures of the collision but do you also have the caves done like the jangan cave it also has a lot of objects in it.
kevin_owner is offline  
Old 08/03/2011, 16:30   #22
 
elite*gold: 0
Join Date: Jul 2011
Posts: 2
Received Thanks: 1
@kevin_owner
Hmm, just found the .dof Files^^ they seem to have a very similar logic like .nvm Files. But it looks like they contains the Entrypath to the object (.bsr) and not an int32 as an Index to the in object.ifo listed objects.

But i stopped working on it. My Server shouldn't even support Caves and was made for lvl 80 cap . I just found the old project in my folder and wanted to share my knowledge.

Downhang:


The .nvm Files contains terrain, ground Zpos, Object position and an int32 as an index for the objects . While the .bsr contains the entrynames of the bms files and an hitbox to reduce cpuusage. This File stores the vertices, faces and bones and all bottomvectors wich are connected by tre arrays of int16 indeces. The first contains the Triangles, the second contains two index ifor the array of bottomvectors for a line and one other for the linked triangle as an index to the first array and a byte flag which tells us what this Line does like 4 for block and 0 for enter( don't know why it sometimes signed - doesnt matter anyway). The last one contains the link between the Triangles. So it have two indeces for the line and two other for the linked triangles in the first array and a flag which tell us what to do. This is the hole thing... I think .dof files will not be any special, because the contains the .bsr entryname, position and so on.
abd12 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
WoW Collision Disabler (4.0.3a)
12/27/2010 - WoW Exploits, Hacks, Tools & Macros - 17 Replies
Credits to Evieh Hier mal wieder was nettes: Ein Collision disabler. Dieser macht es möglich durch Bäume u. ä. zu laufen. Besonders gut zum Botten. M2 Collision (Bäume, etc.) WMO Collision (z.B. der Boden von Orgrimmar) Terrain Collision (der allg. Boden ) Viel Spaß damit! ;)
[HOW TO]Map-Editing: Collision bearbeiten.!!
06/06/2010 - Metin2 PServer Guides & Strategies - 35 Replies
Hallo, willkommen zu meinem Map Attr.atr bearbeiten, in dem zeige ich euch wie man die stellen verändert wo man laufen kann und wo nicht wo Safezone ist usw... Mein Programm und das hab ich selbst geschrieben und die lösung selbst erarbeitet deswegen wäre ich über thx sehr dankbar! EDIT: Es geht darum wie man die "attr.atr" bearbeitet diese ist für die Collision, Safezone und Wasser usw. zuständig. Was wird benötigt: Photoshop das, das RAW Format unterstützt, M2 FileArchiver,
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?
Walk Through Wall/ No Collision
08/16/2008 - Cabal Online - 0 Replies
is possible do the hack like TwinR did? if someone know can u share with us how to get the address using CE?



All times are GMT +1. The time now is 08:12.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.