Lazy Vulpes
November 20th, 2011, 02:36 PM
Hi, and sorry for just bumping in and start asking questions, but I'm in dire need of help!
I've started developing this Data Management System for my guild at AstroEmpires.com (http://www.astroempires.com/) but I've run into problems.
First I think I have to tell a little about what kind of data that needs to be managed..
AstroEmpires is a space strategy game where you fly around with a fleet battling other players and build bases (this is not an advertisements) the universe in the game is divided into 3 categories; Galaxies, Regions and Systems (which contains plants & moons)
The game uses a coordinate system to navigate through the universe which looks like this; SGG:RR:SS:AA (E16:14:36:31)
S is the server name, GG, RR, SS and AA is the "i & p" of a grid symbolizing the galaxy/Region/System/Astro.
So first we have the galaxy which contains in each "grid cell" the grid of Regions and Regions contains in each of its cells the System grid which (you guess right) contains in each of its cells planets.
So; ServerName.Galaxy[i,p]:Region[i,p]:System[i,p]:Astro[orbit from sun,orbit from planet]
Galaxy, Region and System cells range from 0,0 to 9,9, Astro cells range from 1,0 to 5,4
These are the coordinates which I have to relate information to. The information I have to relate to the coordinates is; Guild Name, Player Name, Base Defences, Jumpgate level and a short info text.
so the output would look like this:
Location Guild Player Defence JG Info
E16:14:36:31 [TBAG] Lazy Vulpes 25PR/15PS/10CC 5 My own base
So far I've developed a treemenu where you can add new coordinates to and associate the necessary information to too.
What I'm having trouble with is getting the "collective output" working correct.
I've started developing this Data Management System for my guild at AstroEmpires.com (http://www.astroempires.com/) but I've run into problems.
First I think I have to tell a little about what kind of data that needs to be managed..
AstroEmpires is a space strategy game where you fly around with a fleet battling other players and build bases (this is not an advertisements) the universe in the game is divided into 3 categories; Galaxies, Regions and Systems (which contains plants & moons)
The game uses a coordinate system to navigate through the universe which looks like this; SGG:RR:SS:AA (E16:14:36:31)
S is the server name, GG, RR, SS and AA is the "i & p" of a grid symbolizing the galaxy/Region/System/Astro.
So first we have the galaxy which contains in each "grid cell" the grid of Regions and Regions contains in each of its cells the System grid which (you guess right) contains in each of its cells planets.
So; ServerName.Galaxy[i,p]:Region[i,p]:System[i,p]:Astro[orbit from sun,orbit from planet]
Galaxy, Region and System cells range from 0,0 to 9,9, Astro cells range from 1,0 to 5,4
These are the coordinates which I have to relate information to. The information I have to relate to the coordinates is; Guild Name, Player Name, Base Defences, Jumpgate level and a short info text.
so the output would look like this:
Location Guild Player Defence JG Info
E16:14:36:31 [TBAG] Lazy Vulpes 25PR/15PS/10CC 5 My own base
So far I've developed a treemenu where you can add new coordinates to and associate the necessary information to too.
What I'm having trouble with is getting the "collective output" working correct.