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 06:54 Go to previous messageGo to previous message
Musmuris

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

Messages: 96
Registered: June 2011
I think you've missed what I'm saying. The server doesn't just take the state and overwrite it, it only takes and verifies what the client is allowed to changed.

With the split/merge I absolutely meant it checks the total ammount of individual cargos. However it just get's the ship IDs that are now in each fleet - it never needs to look at the components as they cannot change. It just modifies it's state based on the values sent

For production queues again it only wants to look at the queue now. In the example you mention I'd probably want the server to realise and produce the item - however each production item added can be given an Id of course.

Aeglos wrote on Thu, 07 July 2011 06:31


It just feels easier to send to the server "merge fleet Y & Z" or "add item to X stars queue", where the checks would be far less. Merging/Splitting would need only to check for same owners and same position (not even nessesary for split) since the server is sure the fleet data has not been tampered with. Production queues would only need to check for component/design availability and star capability. Waypoint modifications would only need to check owners, and if deleting, that the waypoint exists already. (Since editing is simply a remove-add combo).


I agree it sounds better this way, and propbably would be better. However generating and tracking all those orders seems hard. Plus currently you can't save a turn and then re-open it to see what you've done, so all the changes the orders make need to be shown somehow. This just feels like a lot of work no?

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 22:52:36 EDT 2024