Vanilla Fix - Sell Unit Exploit #2109
Conversation
|
Hey! Don't forget to add a Changelog entry in |
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
|
tested, it works👀 |
|
merged too fast, no changelog and credits entries, also IIRC @Starkku was looking into it too |
|
I have supplemented the Changelog ( |
|
You could probably just add a CREDITS.md entry and it'll be fine. Also IMO such changes could be added directly, since they're basically fixing a critical issue. Doc readability improvements and translation synchronization should be done as you do, of course. |
Based on the previous control scheme of the label checker[1], my understanding is that a bugfix does not require a record in the I think the more important issue is how to coordinate between the ongoing issue investigation by Starkku and the fact that this PR has been merged.
|
Not really. What you said applies to Phobos bugfixes (also changelog entry is only required when it's a bugfix to a bug that was found in a released stable version). Vanilla fixes, however, are much more complex and have no reason to be excluded from any of the required docs. |
What I mean is that CREDITS has always been more of something that PR authors decide to add based on their own discretion, just like how we used to use Minor label (later No Documentation Needed) to allow some PRs whose authors believed no CREDITS (or other documentation changes) were needed to pass workflow checks. |
|
Just for a note that the fix itself is also buggy, the hook in |
I'm not too concerned with credits overall. Not like this is some super higly sought after feature. Just a bugfix. |
It's a project policy, so you should credit all the vanilla fixes and feature contributions you make. |
I think the real issue is that we lack a clear classification of which types of contributions the Contributing changes to the project section applies to, and the label checker also needs to assign the corresponding correct skip settings. |
|
There are also reports of people crashing when trying to sell walls now. @Coronia we shouldn't be so fast to merge stuff, and also preferably should check the Discord chat more often as it is still the central gathering point. |
Can confirm this as well. Just crashed trying to sell walls. |
Could you list in detail the scenarios you have tested to help us eliminate those already tested? |
Improvements to sell-target selection:
src/Misc/Hooks.BugFixes.cpp(ScrollClass_ChooseAction_SellWall) to disallow the sell action on wall overlays if the mouse cursor is hovering over another object, ensuring the correct target is selected.src/Misc/Hooks.BugFixes.cpp(HouseClass_SellOverlay_ObjectCheck) to prevent the sell action on wall overlays at the event/network level if there is another object present on the cell.Supporting changes:
EventClass.hheader insrc/Misc/Hooks.BugFixes.cppto support the new event-level sell overlay logic.