Repository navigation
fix(zombies): guard death callbacks and initialize wave spawn angles - #20
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Player death in original Before the Dawn Alpha 001 can compare an undefined inflictor targetname with a string, aborting the game session while the process remains running. Add a pinned, locally generated GSX defined-field guard. The subsequent lifecycle regression exposed a separate wave-one failure: spawn structs initialize origin but omit the native-vector angles consumed by the zombie constructor. Initialize those angles in a second pinned overlay.
Original fastfile/IWD/CFG bytes remain unchanged; no third-party scripts or assets are committed. Preparation reads verified plaintext raw-source members, without bytecode decompilation or fastfile rebuilding. Promod and VM semantics are unchanged.
Validation: 44 engine unit tests (one optional client-source test skipped); seven asset/preparation tests included. Native VM reproductions show the original expression, actual player-killed callback/shutdown and separate missing-angle wave defect. The corrected disposable synthetic-player lifecycle passes death, respawn, vendor zombie spawning and wave-two progression, two UDP admission handshakes, and mp_crash/mp_strike transitions without script errors. Fresh private preparation plus workspace overlay validation passes. Existing BTD all-map integration passes 53 checks with developer error reporting enabled; existing Promod integration passes 53 checks.
These are automated fixtures, not real client gameplay qualification. Independent review, mandatory CI and operator-approved merges must precede master-based homolog deployment and a supervised real-client session. Production remains on recovered Promod; no merge or remote deployment has been performed. Companion ghptc/ec2-workspace#15 requires both overlay hashes before packaging and adds a disabled-by-default restricted host CLI.
Mandatory GitHub Linux and Windows CI checks passed at head 96bf9a3. Independent human review and operator-approved merge remain pending.