Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Nova - Development » Orders
Re: Orders Thu, 07 July 2011 08:02 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 Thu, 07 July 2011 07:55

But there is a flaw there...

If the client sends the fleet already merged and the server uses that as it's data source, then it needs to validate every single field, as the client could have modified those.



My point is that the server NEVER READS those fields. Yes - it essentially creates 2 new fleets and moves the ships from it's own data store across. So yes the server is re-doing the client merge. Yes, this harder than just processing a merge order, however it actually may be easier than producing that merge order in the first place.

Just to re-interate, I'm mainly suggesting this as the easiest way from where [i think] we are.

Leave that to one side for now and let's explore the other option how are we proposing to track orders as the client makes them, and how does the UI show the last known state + orders?



[Updated on: Thu, 07 July 2011 08:03]

Report message to a moderator

 
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
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: New Waypoint System
Next Topic: More Testing
Goto Forum:
  


Current Time: Sat May 11 10:16:25 EDT 2024