Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Age of Tribes nuclear game crash #4883
Pre-release 1.10.14782 and most likely older and newer versions also.
Age of Tribes 1.0.8 (Newest and downloadable version)
Can you describe how to trigger the error? (eg: what sequence of actions will recreate it?)
Load and start this single player game save:
Do you have the exact error text? Please copy/paste if so
Bug was originally reported at forum:
It seems that the error is triggered by the two attacks with two differnt nukes at the same time, and this is something that hardly ever happens in AoT, but it is theoretically possible as players can save one nuke bomb unit and then build and place a missile silo. In the next round the player has two nuke units that can be thrown at the enemy at the same time.
I don’t know if the XML is just not geared to handle two explosions at the same time or if it is a flaw in the game engine?
@FrostionAAA The issue appears to be related to the XML having more than 1 defined "battle" delegate:
Is there a reason you need to have multiple battle delegates defined in the XML instead of having just 1? Are there some other maps that have that as well? I think there is some things in the engine that assume only a single battle delegate is defined and reused instead.
I have been doing some testing. I still can’t recall why I originally used multiple BattleDelegates for a single player (Player “AI”) during a single round, but I would guess that I once experienced problems if I only used a single one.
Nevertheless, I have modified and tested several XMLs. They now only use a single BattleDelegate for the player called “AI”, when this player resolves nuclear battles. (nuclear battles can potentially happen between the turns of all other players, as they have potentially attacked each other with nukes that spread undiscriminating and hostile-to-all radiation units.)
Age of Tribes: Renaissance (called 1.0.81, not the original name 1.0.8) is one of the now modified XMLs.
Recreate the error by using this XML and loading one of the two save games. The player is “Baltic” and has just flown two nukes into “Germanic” territories, ready to deliver nuclear blasts. If you proceed past the purchase phase the errors should happen.
@FrostionAAA Can you try deleting the last 2 battle delegates as well and have all the steps just reference the regular one ("battle"):