Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Nova - Development » Nova.Common.IntelLevel.InPlace
Nova.Common.IntelLevel.InPlace Sat, 09 July 2011 06:35 Go 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
What is the meaning of the intel level "InPlace". Does that mean a ship in orbit with a basic (non-penetrating) scanner? The rest are obvious to me:

 None = 0, // never visited        
 InScan = 1, // in range of non-penetrating scanner - not much better than None.
 InPlace = 2, // ???
 InDeepScan = 3, // In range of a penetrating scanner.
 Owned = 4 // Best kind of star Wink



Have fun.

Report message to a moderator

Re: Nova.Common.IntelLevel.InPlace Sat, 09 July 2011 16:58 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
Be noted that i'm revising this enum currently, as the fourth "owned" level will no longer be of any use since owned fleets/stars go into another collection and not with reports.

InPlace means either in orbit for fleets orbiting stars, or used when two fleets are in the same position. IIRC there are certain things you can learn by having ships with no scanners in the same place as enemy ships, and it would be useful for SS stealing.

Report message to a moderator

Re: Nova.Common.IntelLevel.InPlace Sat, 09 July 2011 18:08 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
Aeglos wrote on Sun, 10 July 2011 06:58

Be noted that i'm revising this enum currently, as the fourth "owned" level will no longer be of any use since owned fleets/stars go into another collection and not with reports.



Would it not still be useful to have owned stars and fleets in with the reports? That way you only have to iterate over one collection when drawing the map?

I have found that you need to be very mindful on the server side of whether you are looking at EmpireData or ServerState.Data.All<Fleets/Stars/Designs>. The last disappearing homeworld bug I spent six hours tracking down was caused by copying report data from one race over the StateData.AllStars, removing the owner details from any other empire's stars. This is still a good design I think but we do need to be extremly careful when updating ServerState.



Have fun.

Report message to a moderator

Re: Nova.Common.IntelLevel.InPlace Sat, 09 July 2011 18:57 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
Daniel wrote on Sat, 09 July 2011 18:08


Would it not still be useful to have owned stars and fleets in with the reports? That way you only have to iterate over one collection when drawing the map?



Well that was my rationale for the current report system, to group all stars and all fleets, wether owned or third party on the same collections. But the method of setting the data is kludgy at best. That is also why the reports extend Star/Fleet instead of being standalone objects.

But weren't we going to split owned and reports into two separate collections with common interfaces but distinct star and star reports?

Report message to a moderator

Re: Nova.Common.IntelLevel.InPlace Sat, 09 July 2011 19:42 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
Aeglos wrote on Sun, 10 July 2011 08:57


But weren't we going to split owned and reports into two separate collections with common interfaces but distinct star and star reports?



I was thinking the reports would still include owned items, but only a subset of their data. No production queues for stars being the first thing that comes to mind.

Let me think about that for five minutes, having just spent two days in the guts of EmpireData. I want to re-read what we discussed and give this a bit more thought now I have a more in depth understanding of how EmpireData currently works with the new turn processing...



Have fun.

Report message to a moderator

Re: Nova.Common.IntelLevel.InPlace Sat, 09 July 2011 20:24 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
Daniel wrote on Sun, 10 July 2011 09:42


Let me think about that for five minutes, having just spent two days in the guts of EmpireData. I want to re-read what we discussed and give this a bit more thought now I have a more in depth understanding of how EmpireData currently works with the new turn processing...


I have added my thoughts to the FleetIntel thread where this was previously discussed.




Have fun.

Report message to a moderator

Previous Topic: The Great Fleet ID Change
Next Topic: Priorities
Goto Forum:
  


Current Time: Thu Mar 28 22:08:08 EDT 2024