Page 1 of 1

Advanced Tactics Gold App crash after click on Unitstats

Posted: Fri Mar 15, 2024 11:55 am
by carsten99
Hello,
i use Steam and i get this error in ATG Version 2.40.084 every time when i create a new Unit (in a Standard Game).
The Unit Creation Screen opens and if i click the unit stats button the app crashes with this exception.
Screenshot attached. Log attached. Seems to be an initialization error.

Thank you
Carsten

Re: Advanced Tactics Gold App crash after click on Unitstats

Posted: Fri Mar 15, 2024 2:09 pm
by ernieschwitz
These are the information types you get when you have a unit and ordinarily choose to press that button.
ANL.jpg
ANL.jpg (44.6 KiB) Viewed 847 times
As you can see, all information that pertains to what is IN the unit. Since there is nothing there, it crashes. I know Ormand is working on a fix for this. Incidently this crash happens too, if you create a unit, while having pressed that button on another unit, and kept it like that.

Workaround: Don't press that button, unless the unit actually isn't empty.

Re: Advanced Tactics Gold App crash after click on Unitstats

Posted: Fri Mar 15, 2024 2:36 pm
by Ormand
Yes, this a bug that popped up in the last week. Funny that it is a big that has been there for 10+ years and got two hits in the last week. From a technical point of view the problem arises trying to calculate the staff for unit that has no HQ assigned to it. It isn't so much that unit is empty, but it doesn't have an HQ.

I have found it and fixed it and it will be part of a patch fairly soon.