Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Nova - Development » The Great Fleet ID Change
The Great Fleet ID Change Sun, 03 July 2011 17:12 Go to next message
Musmuris

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

Messages: 96
Registered: June 2011
Lost track of which thread to put this into so making a new one.

Anyway, this is messy! But then it was anyway so it needs fixing.

Anyway... it now compiles AND can make a new game, but I get a lot of errors doing stuff so I'll start working through them.

However FleetId and Key are now gone from Fleet, and it uses Id only but I'm not sure owner Ids actually get set and various other issues but my wife is giving me looks that say I should really put the PC down now. Arguing 3

Report message to a moderator

Re: The Great Fleet ID Change Sun, 03 July 2011 17:46 Go to previous messageGo to next message
Daniel is currently offline Daniel

 
Chief Warrant Officer 3
Stars! Nova developer
Stars! Nova developer

Messages: 179
Registered: April 2006
Location: Nowra, Australia
I am on holidays this week so I will try to do some testing and hunt down bugs from the conversion. I have started with the unit/integration tests but there is only one of those left to fix.


Have fun.

Report message to a moderator

Re: The Great Fleet ID Change Tue, 05 July 2011 17:39 Go to previous messageGo to next message
Musmuris

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

Messages: 96
Registered: June 2011
It is done. Well - at least it's commited, whether it's actually done done remains to be seen!

However Fleets should now just be using the Id property. On creation the Owner and PureId are set.

I'll get back to those dialogs which I was supposed to be doing now...

Report message to a moderator

Re: The Great Fleet ID Change Wed, 06 July 2011 17:54 Go to previous messageGo to next message
Aeglos is currently offline Aeglos

 
Chief Warrant Officer 1
Stars! Nova developer
Stars! Nova developer

Messages: 142
Registered: May 2011
Location: Chile
I've noticed something.

Ships may also need a unique ID of sorts as the battle engine targets them individually from fleets. This seems to be only used in the battle viewer to display the target, so I'll probably disable this for now, as it uses ship.Key which is deprecated in favour of ship.Id... sadly ships are not assigned Id's anywhere.

Each fleet could have a shipCounter to track them down, instead of doing it at the empire level.

Report message to a moderator

Re: The Great Fleet ID Change Sat, 09 July 2011 19:47 Go to previous message
Daniel is currently offline Daniel

 
Chief Warrant Officer 3
Stars! Nova developer
Stars! Nova developer

Messages: 179
Registered: April 2006
Location: Nowra, Australia
Sips now inherit a key comprised on owner and Id (from Item). Not sure if it is being set anywhere.


Have fun.

Report message to a moderator

Previous Topic: Orders overwriting Star Data
Next Topic: Nova.Common.IntelLevel.InPlace
Goto Forum:
  


Current Time: Wed Jul 28 05:51:41 EDT 2021