Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Nova - Development » More Testing
Re: More Testing Mon, 28 May 2012 21:06 Go to previous messageGo to previous message
Aeglos is currently offline Aeglos

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

Messages: 142
Registered: May 2011
Location: Chile
Alright, issue *should* be fixed. I haven't been able to test it very well, but I did the following:

Introduced a new Stack class which inherits from Fleet and to be used only on the Battle engine and Battle viewer; A Stack is a Fleet which holds a single ShipToken and holds battle-specific things like target and battle speed (not relevant for fleets anywhere) and also keeps a copy of it's originating Fleet's Key in Stack.ParentKey, while Stack.Key is unique to the battle. This way we don't delete wrong fleets.

I reworked some firing methods that were redundant; We had like FireWeapon, ShootWeapon, DischargeWeapon, Attack, Fire... it was confusing.

All BattleEvents are now indexed by Stack Key and not Name. This allowed me to restore some of the Battle Viwer displays and future proofs the system for further improvements.

AllBattles is gone from ServerData; they are now directly reported to each Empire (Battles moved from Intel to EmpireData).

I think that's it, might have forgotten minor related changes.

I'm going to keep refining the Waypoint Tasks system now, and continue improving the server's turn processing: splitting w0 and w1 resolution is related and important.

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Orders
Next Topic: GUI refactoring/changes
Goto Forum:
  


Current Time: Wed May 01 22:53:10 EDT 2024