Skip to content

Conversation

roossienb
Copy link

@roossienb roossienb commented Jul 23, 2025

While EA fixed the group force attack exploit ("scud bug") when one was trying to add a building to a group with units, it was still possible to do the reverse: Add the building to a group. Select a bunch of units and than add-select ('shift') the group to the current selection.

To remedy this, every object in the group needs to be checked for kindof building when getting added to an existing selection.

@roossienb roossienb added this to the Code foundation build up milestone Jul 23, 2025
@roossienb roossienb self-assigned this Jul 23, 2025
@roossienb roossienb added Minor Severity: Minor < Major < Critical < Blocker Gen Relates to Generals ZH Relates to Zero Hour Fix Is fixing something, but is not user facing labels Jul 23, 2025
@roossienb roossienb changed the title Fix group force attack exploit when a building group is added to a unit selection [Gen][ZH] Fix group force attack exploit when a building group is added to a unit selection Jul 23, 2025
@roossienb roossienb force-pushed the fix-scud-bug-through-add-group branch from 309d7b8 to c5297f7 Compare July 23, 2025 12:53
@roossienb roossienb changed the title [Gen][ZH] Fix group force attack exploit when a building group is added to a unit selection [GEN][ZH] Fix group force attack exploit when a building group is added to a unit selection Jul 23, 2025
@roossienb roossienb force-pushed the fix-scud-bug-through-add-group branch from c5297f7 to 987fcc2 Compare July 23, 2025 12:57
@roossienb roossienb force-pushed the fix-scud-bug-through-add-group branch from 987fcc2 to 58a39bd Compare July 24, 2025 19:17
@roossienb
Copy link
Author

roossienb commented Jul 24, 2025

Removed the dependency and have taken the logic out of the for-loop.
Behaviour is now also in line with gentool

@roossienb roossienb changed the title [GEN][ZH] Fix group force attack exploit when a building group is added to a unit selection fix(exploit: fix group force attack exploit when a building group is added to a unit selection Jul 26, 2025
@Caball009 Caball009 changed the title fix(exploit: fix group force attack exploit when a building group is added to a unit selection fix(exploit): fix group force attack exploit when a building group is added to a unit selection Aug 1, 2025
@xezon xezon removed this from the Code foundation build up milestone Aug 23, 2025
@xezon xezon changed the title fix(exploit): fix group force attack exploit when a building group is added to a unit selection bugfix(selection): Prevent exploits from grouping structures and units Aug 23, 2025
Copy link

@Mauller Mauller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected.

Although in the future once certain bugs are fixed at their source, we may want to revert these "fixes" since we can allow multi building select for a number of new features, like group sell and group build etc.

@roossienb roossienb force-pushed the fix-scud-bug-through-add-group branch from 58a39bd to c3fd272 Compare August 30, 2025 06:52
@xezon xezon added Bug Something is not working right, typically is user facing Critical Severity: Minor < Major < Critical < Blocker Input and removed Fix Is fixing something, but is not user facing Minor Severity: Minor < Major < Critical < Blocker labels Aug 30, 2025
@xezon xezon added this to the Major bug fixes milestone Aug 30, 2025
@xezon xezon merged commit 0a77180 into TheSuperHackers:main Aug 30, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working right, typically is user facing Critical Severity: Minor < Major < Critical < Blocker Gen Relates to Generals Input ZH Relates to Zero Hour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Units and Buildings can be grouped together by using the SHIFT key feature
3 participants