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.

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

Posted: Fri Sep 19, 2025 4:18 am
by zorroot
Thx for your nonsense answer, Denniss. Both editors, the new and the old one, fully support deleting or inserting of rows. Just go to the table 'units' and check it out. This is NOT a problem in general, but especially with the new editor with the table 'airgroups'.

I have studied computer science and your answer is 100% wrong. Every day, millions of databases are operated and there are lines of data deleted and inserted. Not a single problem. If your statement is right, every database will go corrupt in a matter of seconds or minutes of usage. That is NOT the case.

I am also very disapointed that no staff member has checked this bug report. What does a customer of Matrix needs to do to report bugs ? And what does a customer need to do so that someone responsible at least checks if it is a bug or something else ?

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

Posted: Fri Sep 19, 2025 7:25 pm
by Denniss
history has proven that inserting/deleting lines sometimes led to major problems in the Wite series

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

Posted: Sat Sep 27, 2025 3:43 am
by zorroot
Can you please post an example that proves your thesis ?

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

Posted: Mon Sep 29, 2025 2:20 pm
by Wiedrock
I am not an programmer and I did not edit much on Units or airgroups, but my understanding on this is that the game/code, always relates to the IDs, so the actual numbers (in most cases), so thing X or thing Y have specific IDs/numbers they look at, if you delete a line, the whole IDs change by one. That means thing X now becomes thing X-1 and thing Y becomes thing Y-1. So in this example, Y would become X and X would become W.
Like with the Ground Elements, if your Tiger is on slot/ID 200 all the TOEs using it have an ID 200 in the slot where the Tiger belongs, if you now remove a line and the Tiger ends up in slot 199 the TOEs will still be asking for ID 200, which now will be another Ground Element, so the Tiger will be gone from the TOE.

I think what the game is "missing" to work as you'd like it, is that it'd make an actual "connection" to an Dataset/Line/ID, that will keep track of that specific ID's "movement", but that's not what happens and it only ever refers to a number in one of the many lists (Ground Elements, Devices, ....).

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

Posted: Mon Sep 29, 2025 7:53 pm
by Teo41_ITA
zorroot wrote: Sat Sep 27, 2025 3:43 am Can you please post an example that proves your thesis ?
I speak for experience. When creating the 1942-1945 GC, all the times I did use the "Insert/Delete" function in the unit buton, the scenario would simply crash. Trust me, it was not fun to manually cut-and-paste individual units to have some kind of order in the unit tab.