View previous topic :: View next topic |
Author |
Message |
spacetrace Board Admin


Joined: 24 Dec 2001 Posts: 1624
|
Posted: Tue Aug 14, 2007 7:35 pm Post subject: optimize traveltime with wormholes |
|
|
is there a blessed programmer who wants to prove his skills and make a program that can calculate a route via one/several wormholes to minimize travel times ?
all you would need is:
- start coords
- target coords
- coords of all wormholes
i think it is a serious problem  |
|
Back to top » |
|
 |
Dinskydude Admiral

Joined: 18 May 2006 Posts: 854 Location: Nijmegen, The Netherlands, Europe, Earth
|
Posted: Tue Aug 14, 2007 9:06 pm Post subject: |
|
|
This WOULD indeed be very nice... But the best i can do is basic HTML  _________________
 |
|
Back to top » |
|
 |
DavAlan Admiral

Joined: 24 Aug 2004 Posts: 778 Location: Palo Alto, California
|
Posted: Tue Aug 14, 2007 9:18 pm Post subject: |
|
|
OK...if I take the hyperdrop calc in Renee's TTC_JS code and put it into a loop that runs through the wh list and coords and output the results to an st frame that would do it. 1st version would merely be an addition into that application. JS runs slow in those loops (40+ wh's means 40^2 (=1600) calls to the hyperdrop calculation in sequence ) though so, a exe or java compiled app run either from the ST server or on the client end would be more effective.
Got to work on that alog in C++ 1st (fastest code).
Also could add in the ability to enter alliance member coords and do this for the alliances twn net
Edit: since the calculation will be done from one spacific wh or twn only the number of wh's or twn's in the # of calls to the hyperdrop calc are neccessary. So js will work for this one....getting Renee on it asap  _________________ "Destruction leads to a very rough road
But it also breeds creation
And earthquakes are to a girl's guitar
They are just another good vibration
And tidal waves couldn't save the world
From Californication"
Red Hot Chili Peppers - Californication
https://www.youtube.com/watch?v=YlUKcNNmywk
___________________________________
https://www.facebook.com/david.brass.524 |
|
Back to top » |
|
 |
spacetrace Board Admin


Joined: 24 Dec 2001 Posts: 1624
|
|
Back to top » |
|
 |
T2 Admiral

Joined: 26 Mar 2005 Posts: 1398 Location: Ontario
|
Posted: Wed Aug 15, 2007 6:13 am Post subject: |
|
|
I think your on to something ! Although determining the best route to take to a point is space is very time consuming...I considered it a part of the game. I'll have to admit, It's a part I was not real fond of...rarely got it right...takes way too much time if trying to do it manually and for casual players or people like me who only log in for a few minutes at a time, needless to say, I don't have the time to try to calculate the shortest route. Casual players would tend to remain casual instead of quitting altogether because of the time needed to just "get around".
I think it would be a much welcomed addition. |
|
Back to top » |
|
 |
Knight of Truth Admiral


Joined: 12 Jan 2006 Posts: 2011
|
Posted: Wed Aug 15, 2007 11:10 am Post subject: |
|
|
This would also be quite handy when using a MTWG. If I need to send reinforcements to a scoreplanet, the MTWG tends to be close, but not on it. My fleets tend to sit there for a few hours until I can log on again and send them forward to the planet. _________________ [img]http://img408.imageshack.us/img408/599/kot2ks1.jpg[/img]
MicroJak wrote: |
For fuck's sake would you both please stop fucking swearing!!!! |
|
|
Back to top » |
|
 |
Dinskydude Admiral

Joined: 18 May 2006 Posts: 854 Location: Nijmegen, The Netherlands, Europe, Earth
|
Posted: Wed Aug 15, 2007 11:26 am Post subject: |
|
|
How about if you integrated into the fleet menu? You type in coords, it calculates the shortest route, and gives you the option to take that route. Maybe even coordinating itself , like with waypoints... _________________
 |
|
Back to top » |
|
 |
Knight of Truth Admiral


Joined: 12 Jan 2006 Posts: 2011
|
Posted: Wed Aug 15, 2007 11:55 am Post subject: |
|
|
Actually, I suggested that once, as a second box of coordinates, which it goes to once it reaches the coordinates in the first box. Thats kindof like waypoints. _________________ [img]http://img408.imageshack.us/img408/599/kot2ks1.jpg[/img]
MicroJak wrote: |
For fuck's sake would you both please stop fucking swearing!!!! |
|
|
Back to top » |
|
 |
DavAlan Admiral

Joined: 24 Aug 2004 Posts: 778 Location: Palo Alto, California
|
Posted: Thu Sep 06, 2007 3:05 am Post subject: OK |
|
|
...think I will proceed with this one now that I have the alog done and just got an updated wh listing.
Will give me something to do on a very hot humid night at about 5 degrees N. latitude.
1st version will require manual copy and paste but, will add frame links as we go along. _________________ "Destruction leads to a very rough road
But it also breeds creation
And earthquakes are to a girl's guitar
They are just another good vibration
And tidal waves couldn't save the world
From Californication"
Red Hot Chili Peppers - Californication
https://www.youtube.com/watch?v=YlUKcNNmywk
___________________________________
https://www.facebook.com/david.brass.524 |
|
Back to top » |
|
 |
|