Page 1 of 1

New editor, deleting or inserting a row to table 'airgroups'

Posted: Wed Dec 27, 2023 12:52 pm
by zorroot
Hello,
I think there is a bug in the new editor. To reproduce the error, please do the following steps:
- Open the new editor
- Load scenario, select one of the two gc41 campaigns.
- Go to 'airgroups', delete row 7, it does not contain any data.
- Go to the map, press a to display the planes and see how messed up the airgroups are.

This error does not only apply to the gc41 campaign, its a general misfunction of the editor. But with the gc41 campaign, its just the most obvious to proof.

I think that the bug is caused by improper adjustment of ids when you delete or insert a row. Please note that both editors are able to handle this problem correctly when editing ground units (table 'unit'). The old editor is also unable to edit airgroups correctly. When you delete or insert a row there, it just crashes
. I hope that this additional info makes it easier to identify and fix the bug.
Kind regards,
Oliver

Re: New editor, deleting or inserting a row to table 'airgroups'

Posted: Wed Dec 27, 2023 2:39 pm
by Denniss
never ever delete or insert a line, thats a general rule of thumb to prevent chaos with your units.