• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Mod General Discussion
« Previous 1 … 207 208 209 210 211 … 547 Next »
Shortest path calculations and other data parsing

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Shortest path calculations and other data parsing
Offline AeternusDoleo
02-08-2012, 03:35 PM,
#6
Ex-Developer
Posts: 5,744
Threads: 149
Joined: Nov 2009

' Wrote:
  • Time of shortest paths between every pair of bases. Units don't matter, as long as they're consistent, but I would ideally like the option to choose whether or not to use trade lanes in the calculations. Also, I want to be able to route through jump holes.
    Can't help you there. You can read out the location of lanes, bases and gates/holes from the various system files in /universe/systems/ but the algorithm you will want is yours. Bases have a base = BASENAME line to their object entry. Lanes have a previous and next lane, unless you have the start and end node. Anything with a "goto =" line in the object definition indicate a transition, usually to another system. How you measure distance is up to you.
  • Commodity prices at every base, and which bases sell what
    Read these out from the market_commodities.ini file in the \data\equipment folder
  • For every base, a unique ID, the system it's in, and the faction it belongs to
    Read these out from the universe.ini file in \data\universe. All bases have a short internal nickname, IE Li01_01_base means Liberty 01 (New York system), Base 01 (Planet Manhattan).
  • Preferably, information on what commodities are contraband in what places, but that won't make it into the first version
    discoverygc.com/wiki/ -> Commodities.

Wide awake in a world that sleeps, enduring thoughts, enduring scenes. The knowledge of what is yet to come.
From a time when all seems lost, from a dead man to a world, without restraint, unafraid and free.


Mostly retired Discovery member. May still visit from time to time.
Reply  


Messages In This Thread
Shortest path calculations and other data parsing - by Heliomance - 02-08-2012, 12:40 PM
Shortest path calculations and other data parsing - by Echo 7-7 - 02-08-2012, 12:43 PM
Shortest path calculations and other data parsing - by Heliomance - 02-08-2012, 12:48 PM
Shortest path calculations and other data parsing - by Echo 7-7 - 02-08-2012, 12:53 PM
Shortest path calculations and other data parsing - by Heliomance - 02-08-2012, 01:32 PM
Shortest path calculations and other data parsing - by AeternusDoleo - 02-08-2012, 03:35 PM
Shortest path calculations and other data parsing - by Ursus - 02-08-2012, 05:26 PM
Shortest path calculations and other data parsing - by Linkus - 02-08-2012, 05:26 PM
Shortest path calculations and other data parsing - by Alex. - 02-08-2012, 05:38 PM
Shortest path calculations and other data parsing - by Heliomance - 02-08-2012, 11:36 PM
Shortest path calculations and other data parsing - by Linkus - 02-09-2012, 12:22 AM
Shortest path calculations and other data parsing - by Ursus - 02-09-2012, 12:30 AM
Shortest path calculations and other data parsing - by Linkus - 02-09-2012, 01:31 AM
Shortest path calculations and other data parsing - by Ursus - 02-09-2012, 01:59 AM
Shortest path calculations and other data parsing - by dj ole - 02-09-2012, 02:03 AM
Shortest path calculations and other data parsing - by Heliomance - 02-09-2012, 02:09 AM
Shortest path calculations and other data parsing - by Corsair - 02-09-2012, 02:11 AM
Shortest path calculations and other data parsing - by dj ole - 02-09-2012, 02:15 AM
Shortest path calculations and other data parsing - by Heliomance - 02-09-2012, 10:23 AM
Shortest path calculations and other data parsing - by Heliomance - 03-01-2012, 06:28 PM
Shortest path calculations and other data parsing - by Ursus - 03-01-2012, 06:36 PM
Shortest path calculations and other data parsing - by Coin - 03-01-2012, 07:20 PM
Shortest path calculations and other data parsing - by Jimothy - 03-01-2012, 07:27 PM
Shortest path calculations and other data parsing - by Heliomance - 03-02-2012, 12:43 AM

  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2026 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode