- Joined
- Mar 17, 2007
- Messages
- 9,306
When you delete a technology from the custom rules, the editor can potentially de-select other technologies from players who have custom starting technologies, in existing to the deleted one.
To reproduce (from a new BIQ):
It looks like the game is deleting the deleted technology from the list first, and subsequently de-selecting it based on its (old) index. But since it's already deleted, it's actually de-selecting the next one. What probably should be done is that it is de-selected from the list, and then deleted (thus it will be deleting the now-deselected technology).
This is with Conquests 1.22 and the editor version 1.03. Needless to say, I don't actually expect a patch, but not seeing it documented elsewhere, I couldn't not submit the first real, definite bug I'd found.
Update: A similar bug applies if you give a civ custom starting units and then delete one of them. Reproduce the same way, but with units instead of technologies. You'll notice that in the editor, the unit after the one you deleted is not selected as well. However, there's an additional bug, too. Suppose that you have told the editor to give you 1 of the first 7 units in the game, and delete one of those. Now the editor will show 5 selected (instead of 6). But when you start the game, you start with six units - you get two of the first selected unit after the one you deleted, even though the editor (even after reloading the scenario) will show that you will only receive one of them.
You can avoid the second part of that bug by selecting the starting units anew. However, Ctrl+Clicking will not fix the bug, so you'd have to start over from scratch. The editor is in fact saving a duplicate entry for the doubled unit in the BIQ file itself, and isn't sure quite how to handle it.
To reproduce (from a new BIQ):
- Enable custom rules and player data
- Set player 1 to not have civ defaults
- Give them, for example, the 1st eight techs. Accept out of Custom Player Data
- Delete one of those 1st 8 techs. I deleted the Alphabet
- Go back to Custom Player Data. In addition to (correctly) not having the alphabet selected, the next tech (by default, Pottery) is not selected, either.
It looks like the game is deleting the deleted technology from the list first, and subsequently de-selecting it based on its (old) index. But since it's already deleted, it's actually de-selecting the next one. What probably should be done is that it is de-selected from the list, and then deleted (thus it will be deleting the now-deselected technology).
This is with Conquests 1.22 and the editor version 1.03. Needless to say, I don't actually expect a patch, but not seeing it documented elsewhere, I couldn't not submit the first real, definite bug I'd found.
Update: A similar bug applies if you give a civ custom starting units and then delete one of them. Reproduce the same way, but with units instead of technologies. You'll notice that in the editor, the unit after the one you deleted is not selected as well. However, there's an additional bug, too. Suppose that you have told the editor to give you 1 of the first 7 units in the game, and delete one of those. Now the editor will show 5 selected (instead of 6). But when you start the game, you start with six units - you get two of the first selected unit after the one you deleted, even though the editor (even after reloading the scenario) will show that you will only receive one of them.
You can avoid the second part of that bug by selecting the starting units anew. However, Ctrl+Clicking will not fix the bug, so you'd have to start over from scratch. The editor is in fact saving a duplicate entry for the doubled unit in the BIQ file itself, and isn't sure quite how to handle it.