TripleA Changelog

What's new in TripleA 1.5.1.0

Mar 22, 2012
  • A second possible fix for ConcurrentModificationException in BattleModel.refresh -> DiceRoll.isAmphibiousMarine -> BattleTracker.getPendingBattleSites. (veqryn)
  • Changed Sea Placements to use all production for all surrounding Factories, if multiple factories touch that sea zone. Will now dynamically shift the production of other sea units away to other legal factories in order to allow the maximum production possible. (frigoref & veqryn)
  • Fixed null pointer error in trying to place a construction to a sea zone. (veqryn)
  • Locking the map when user's mouse is over the history panel, and then unlocking for each click on a history node. (frigoref) [edit: this is undone/rolled-back for now, pending finding a better way to lock/unlock a user's interface without writing to the cache/registry each time]
  • Fixed bug where Rounds would not appear in a Client game. (veqryn)
  • Creating a NullModeratorController class for locally hosted games. (veqryn)
  • Fixed bug where steps appear out of order in a client game's history panel. (frigoref)
  • Created new Trigger Attachment option, changeOwnership, which will allow a map to have the owner of a territory change by trigger. (veqryn)
  • For Trigger Attachment option "removeUnits", now allowing the use of "all" in place of the territory name, and also "all" in place of the unit type. Can be used to remove all units from some or all territories. (veqryn)
  • Correcting politics for Alpha xml. (veqryn)
  • Changing game property, Selectable Tech Roll, to also work with WW2V3 Tech Model, allowing the user to select which tech they want after a successful roll. Also fixed the dice chooser to let you set the sides. (veqryn)
  • Fixing bugs in new air movement validation, and improving speed and efficiency. (veqryn)
  • Completely rewrote the validation of air unit movement, and moved it to a new class, AirMovementValidator.java (veqryn)
  • More work on rewriting MoveValidation of air units. (veqryn)
  • Allowed for the use of the Arrow Keys for navigating around the map. (frigoref)
  • Adding [Mod] tags onto the names of any Admins in the online lobby. (veqryn)
  • Possibly correcting some hidden bugs in MoveValidator. (veqryn)
  • Created new CanalAttachment option, excludedUnits, which allows the specifying of specific units which will not be validated for. (veqryn)
  • Created new RelationshipTypeAttachment option, canMoveThroughCanals, which allows a player to move through a canal owned by the other player. (veqryn)
  • Removed restrictions that had canals only checked for Sea Movement. They now check for all movement, and therefore there can now be 'land' canals that require sea zones, or land requiring other land, or sea requiring sea, etc. (veqryn)
  • Creating a better error message for when users do not have a map, but try to join the game anyway. (frigoref)
  • Getting history panel to stop closing clicked on expanded paths every time a there is a new event or change, when your mouse is over the history panel. (frigoref)
  • Correcting bad history log messages for Edit mode. (veqryn)
  • Refactored Trigger Attachment class again to allow triggers to fire other triggers with certain options and properties. (veqryn)
  • Created new Trigger Attachment option, activateTrigger, which will allow a trigger to fire other triggers. (veqryn)
  • Preliminary work on ability to fire triggers from other triggers. (veqryn)
  • Fixing NoSuchElementException in Kamikaze attack ui. (veqryn)
  • Created new RelationshipTypeAttachment option, canMoveIntoDuringCombatMove, which stops combat-phase movement, but allows non-combat-phase movement. (veqryn)
  • Fixing Chat Panel player name area to be correct size to hold all player names and national flags. (frigoref)
  • Adding Alpha+3 National Objectives to xml. (veqryn)
  • Added "originalNoWater" as an option for conditions that test territories. (veqryn)
  • Fixed bug where paratroopers could not move over enemy sea zones or captured sea zones. (veqryn)
  • Fixed bug with moving sea units through sea units belonging to a power not yet at war with. Also possibly fixed bug with Easy AI's comparison method contract. (veqryn)
  • Adding Global 1940 alpha 3 as test xml. (veqryn)
  • Fixing bug where the neutral (null) player might be asked if it wants to scramble, which gives an error. (veqryn)
  • Adding Play-By-Forum method for TripleA War Club, http://www.tripleawarclub.org/ so that people can also play there. (qwertgold)
  • Fixing Battle Calc to not include units that are irrelevant to combat. (veqryn)
  • Made sure all m_variable types in attachments exactly match the new instance type that is used. This, combined with the previous 2 changes, should fix the history panel bugs that are being caused by not being able to find the correct setter. (veqryn)
  • Changing the way the ChangeFactory uses PropertyUtil for getting the old value of properties. Previously relied on the "get" method for getting the old value. Now it will directly access and store the "m_" object. getRawProperty no longer used. (veqryn)
  • Allowed changes to all attachments to be undone and redone in the history panel, by ensuring each setter has an additional setter for an object of the field's type. (veqryn)
  • Preventing history panel from updating if moused over, and allowing it to scroll down if not. (frigoref & veqryn)
  • Allowing route to recalculate if only air can make it. (frigoref)
  • More optimizations of getBestRoute. Also changing "Parse Selected" to be default parsing strategy of maps. (veqryn)
  • Changing getBestRoute to not use territories for which the owner's relationship with us does not allow us to pass. (veqryn)
  • Fixing getBestRoute to never use impassible and restricted territories. (veqryn)
  • Adding Global 1940 as test xml. (veqryn)
  • Fixing weird tech attachment getters to use booleans rather than strings. (veqryn)
  • Making sure that all attachment variables that start out as Null, can return to being null again through their setter. (veqryn)
  • Fixing various errors introduced into casualty selection. (veqryn)
  • Fixed null pointer error for players who have damaged units but no repair frontier. (veqryn)
  • Adding Europe 1940 as test xml. (veqryn)
  • Fixed more "Lock not held" errors, and a potential null pointer in the battle calculator. (veqryn)
  • Possible fix for ConcurrentModificationException in BattleModel.refresh -> DiceRoll.isAmphibiousMarine -> BattleTracker.getPendingBattleSites. (veqryn)
  • Fixing bug with displaying up total resources when more than one unit creates resources. (veqryn)
  • Allowed users to use Edit Mode to create new units for normal players, based on both their production frontier and any units they have on the board. (veqryn)
  • Allowing users to use Edit Mode to create and place new "Neutral" (null player) units, but only selecting from ones on the board. (veqryn)
  • Allowing users to Battle Calc against any "Neutral" (null player) units that are still on the board. (veqryn)
  • Fixing casting error bug introduced into battle calc. (veqryn)
  • Changing airfields and harbours to stop being operational at 3 damage, instead of 4. (veqryn)
  • Fixed bug where you were not allowed zero (0) for the unitPresence count. (veqryn)
  • Making the check to see if you can do the purchase phase, the same for both humans and AIs. (veqryn)
  • Fixed null pointer error for when a player runs low on resources. (veqryn)
  • Fixing a couple "Lock not held" errors. (veqryn)
  • Fixed the Battle Calculator not displaying combat units with 'AA' abilities. (veqryn)
  • Fixed the "Cant add an event, not a step" bug for adding AddBattleRecordsChange. (veqryn)
  • Fixed bug with Air Battles where there were more hits than aircraft. (veqryn)