Repository navigation
Crowd Control Updates & Ammo Quantity fixes - #7493
Conversation
| #include <libultraship/libultra.h> | ||
|
|
||
| const char gBuildVersion[] = "@PROJECT_BUILD_NAME@ (@CMAKE_PROJECT_VERSION_MAJOR@.@CMAKE_PROJECT_VERSION_MINOR@.@CMAKE_PROJECT_VERSION_PATCH@)"; | ||
| const char gBuildName[] = "@PROJECT_BUILD_NAME@"; |
There was a problem hiding this comment.
I'd recommend against this, version is all you need
There was a problem hiding this comment.
Don't completely disagree, and won't ask you to include this if you think otherwise.
But we've had a lot of users using forks of SoH and then reporting bugs, so we were hoping to have a bit more info about the build they are using when this happens so we know where to target PRs and fixes.
If you have a another idea on how to accomplish that, it would be useful but with just version number it won't tell us enough.
There was a problem hiding this comment.
I'd expect forks to end up with same build names, so don't think this will fix your issue either. You have example fork this is meant to differentiate? Commit hash could work
There was a problem hiding this comment.
I'm good with just a hash since that should for sure be different and would be enough for us to get some data. Thanks.
serprex
left a comment
There was a problem hiding this comment.
I can fix formatting issues in a couple weeks when I'm back
30a5fa0 to
f0bd89d
Compare
…o counts Queue network payloads for game-thread processing, retry timed-effect cleanup after disabling, and clamp negative ammo counts before drawing. Report commit hash to Crowd Control
f0bd89d to
e4e1954
Compare
|
fixed formatting & adjusted ammo fix to be handled in protocol handling rather than in soh/src |
## Merged from `develop` * HarbourMasters#7551 * HarbourMasters#7555 * HarbourMasters#7521 * HarbourMasters#7520 * HarbourMasters#7491 * HarbourMasters#7443 * HarbourMasters#7433 * HarbourMasters#7505 * HarbourMasters#7261 * HarbourMasters#7493 * HarbourMasters#7441 * HarbourMasters#7545 * HarbourMasters#7547 * HarbourMasters#7546 * HarbourMasters#7548 * HarbourMasters#7470 * HarbourMasters#7550 * HarbourMasters#7455 * HarbourMasters#7559 * HarbourMasters#7560 * HarbourMasters#7561 * HarbourMasters#7563 ## Own changes * Navigation functionality for the entrance tracke (feb5669) * Savegame migration (af67bfa, 7e3c664) * Fix Bug where the check tracker duplicates checks in list after file_select dev command (4a8b092) * Extend the Autosave feature with mor triggers (685579c, 50212ce)
## Merged from `develop` * HarbourMasters#7551 * HarbourMasters#7555 * HarbourMasters#7521 * HarbourMasters#7520 * HarbourMasters#7491 * HarbourMasters#7443 * HarbourMasters#7433 * HarbourMasters#7505 * HarbourMasters#7261 * HarbourMasters#7493 * HarbourMasters#7441 * HarbourMasters#7545 * HarbourMasters#7547 * HarbourMasters#7546 * HarbourMasters#7548 * HarbourMasters#7470 * HarbourMasters#7550 * HarbourMasters#7455 * HarbourMasters#7559 * HarbourMasters#7560 * HarbourMasters#7561 * HarbourMasters#7563 ## Own changes * Navigation functionality for the entrance tracker (feb5669) * Savegame migration (af67bfa, 7e3c664) * Fix Bug where the check tracker duplicates checks in list after file_select dev command (4a8b092) * Extend the Autosave feature with morr triggers (685579c, 50212ce)
Crowd Control was running effects on its own thread and touching game state (spawning actors, inventory, player) while the game was mid-frame, which could cause random crashes. It also had a hang on disconnect:
OnDisconnectedjoined the effects thread, but that thread kept looping while CC was still enabled, so the network thread never came back.Crowd Control
OnGameFrameUpdate. Responses go the other way: they're queued on the game thread and sent from the network thread inProcessOutgoingPackets.Ammo
_gAmmoDigit0Texout of bounds). Both are now clamped at 0 like the other ammo types.s8overflow inInventory_ChangeAmmoon large changes. Didn't change those here.Build Artifacts