Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 14:38

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

Advertisement



[SOURCE CODE] Paths between maps

Discussion on [SOURCE CODE] Paths between maps within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old   #1
 
skeith_sk8's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 3,053
Received Thanks: 2,658
[SOURCE CODE] Paths between maps

Hi all,
Some time ago i developed this project in order to help some guys with a bot project. The zip attached includes a Java code which uses Floyd algortihm in order to get the best paths between the different DarkOrbit maps.

It calculates the path between all maps and it does not use the shortest path (actually its the shortest but i adjusted the weights), it uses the best path for a bot (at least my best path). It can be easily adjusted with the priority var i put on the Main.
It auto-generates three .txt, one for each company, as the path will also depend on your company.

At the moment the logic is ownCompanyMaps > otherCompanyMaps > PVP > 4-4 > 4-5. Its also adjusted to use x-7 maps instead of x-6 maps due to the difference of activity.

What is the use of this? DarkOrbit bot development only (as this is only for darkorbit thats why i put it on this section).

I hope that some devs find this usefull.



PS: Other good idea is to apply a Dijsktra algorithm for this (to calculate all paths of 1 map with the others)
Regards
skeith
Attached Files
File Type: zip Maps.zip (20.8 KB, 97 views)
skeith_sk8 is offline  
Thanks
8 Users
Old 06/30/2017, 22:13   #2
 
elite*gold: 0
Join Date: Mar 2011
Posts: 75
Received Thanks: 14
It will be very helpful thanks
dere1 is offline  
Old 07/01/2017, 20:39   #3
 
Red_John's Avatar
 
elite*gold: 55
Join Date: Oct 2012
Posts: 1,630
Received Thanks: 234
Seems nice especially Floyd–Warshall algorithm

You could use more syntactic sugar^^
Red_John is offline  
Old 07/01/2017, 20:58   #4
 
skeith_sk8's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 3,053
Received Thanks: 2,658
Quote:
Originally Posted by Red_John View Post
Seems nice especially Floyd–Warshall algorithm

You could use more syntactic sugar^^
Imo my syntax has a lot of sugar (i should have done documentation but i was too lazy) Yep, floyd-Warshall algorithm
skeith_sk8 is offline  
Old 07/01/2017, 21:21   #5
 
[becky]'s Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 319
Received Thanks: 67
oh wow, thanks! I've just learned of these algorithms in college but never thought I have the opportunity to see them being practically used
[becky] is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[Koordinaten] Alle Maps ; Neue Maps ; Unbekannte Maps.
04/08/2013 - Metin2 PServer Guides & Strategies - 28 Replies
Hallu o.o Das Tool von Eddy˛ hat mich auf die Idee gebracht, alle Orte mal aufzulisten, mit den Koordinaten die man brauch um sich dahin zu teleportieren ;D Rotes Reich Map1 /warp 4742 9544 Rotes Reich Map2 /warp 3529 8825



All times are GMT +1. The time now is 14:38.


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.