Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Nova - Development » Need to move away from using names as IDs
Re: Need to move away from using names as IDs Wed, 29 June 2011 11:26 Go to previous messageGo to previous message
Musmuris

 
Master Chief Petty Officer
Stars! Nova developer
Stars! Nova developer

Messages: 96
Registered: June 2011
Aeglos wrote on Wed, 29 June 2011 06:29

But what do we do when the counter runs out?

The standard Stars! limits are 16 ship designs and 10 starbase designs, while those are going to be configurable, they should default to Stars! values for balance reasons as stated on the wiki. And even if they don't, there is still a chance they may exhaust.

Although, we could just use those for Ids and track the total amounts with Count from their collections. Might be a better idea.



We can have over 16 million fleets/designs etc. They're not going to run out. Tracking how many there is easier than trying to re-use Ids. I was going to suggest adding a counter for each empire and ID type that just then increases each time

Report message to a moderator

 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Turn year
Next Topic: Orders overwriting Star Data
Goto Forum:
  


Current Time: Thu May 02 21:32:22 EDT 2024