-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CTD: transfering engineers #505
Comments
Selling/buying from one to the other works but they stay assigned and their proficiency keeps counting. |
Did you start new game? The fix to scientist bug only works for the new saves. |
Yes, brand new game with the OpenApoc-x64-v0.1-345-gea6033fa build, which I took as the "stable" 345 master build. |
Ok I will take a look. |
Savegame Attached |
Please see also issue #532 which is a duplicate |
saves.zip |
gdb log and stack trace for 1 of #532 issue |
Also there is no crash on case 2. It's just shows MessageDialog with "Alien Containment exeeded" |
Ah, the alien containment issue is good old #369 i'll reference this there too |
See also #370 |
stack trace for case 3 |
After a lot of smth like that message dialogs game crashes. |
I think what's happening here is when transferring or selling scientists it's not disassociating them from any lab they're currently working in, so the lab holds a reference to that agent. And nearly always you get a missing ID error, it'll crash directly afterwards - as it'll return a null object - so unless the code then doesn't use the object at all (in which case why is it bothering to look it up?) it'll deference that null pointer. |
@JonnyH another instance of this bug save_Expanded Weapons Test 1.zip To run the savegame, you will need V3 of the weapons mod |
Cannot reproduce -- should be fixed by #720. |
All transfering personel was unassigned to begin with.
345 CTD engineer transfer.zip
Soldiers were transfered without problems earlier on, so it seems to be about scientists. Possibly related to #482
The text was updated successfully, but these errors were encountered: