Skip to content

Migrated from GameInteractor Hooks to LUS Event System#6468

Open
KiritoDv wants to merge 32 commits into
HarbourMasters:developfrom
KiritoDv:impl/kill-gi
Open

Migrated from GameInteractor Hooks to LUS Event System#6468
KiritoDv wants to merge 32 commits into
HarbourMasters:developfrom
KiritoDv:impl/kill-gi

Conversation

@KiritoDv
Copy link
Copy Markdown
Contributor

@KiritoDv KiritoDv commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

@leggettc18 leggettc18 left a comment

Choose a reason for hiding this comment

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

Haven't played or gone over everything yet but I've checked out the main core and have a few comments I'd like to get out there early on.

Comment thread soh/soh/Enhancements/game-interactor/EventSystem_List.h Outdated
Comment thread soh/soh/Enhancements/game-interactor/GameInteractor_Hooks.cpp Outdated
Comment thread soh/soh/Enhancements/game-interactor/GameInteractor_Hooks.h Outdated
Comment thread soh/CMakeLists.txt
Comment thread soh/soh/stubs.c Outdated
@leggettc18
Copy link
Copy Markdown
Contributor

leggettc18 commented Apr 7, 2026

Decided to do some playtesting this morning, crashed right off the bat when I applied a preset
Ship of Harkinian.log

The Preset in question:
9.2-MADNESS-Preset.json

@A-Green-Spoon
Copy link
Copy Markdown
Contributor

On Windows, crashed right after o2r extraction completed

Ship of Harkinian.log

Comment thread soh/soh/Enhancements/Cheats/NoBugsDespawn.cpp Outdated
Comment thread soh/soh/Enhancements/ExtraModes/MirroredWorld.cpp Outdated
Comment thread soh/soh/Enhancements/Fixes/BrokenGiantsKnife.cpp Outdated
Comment thread soh/soh/Enhancements/game-interactor/EventSystem_List.h Outdated
Comment thread soh/soh/Enhancements/game-interactor/GameInteractor.cpp Outdated
Comment thread soh/soh/Enhancements/randomizer/Messages/MerchantMessages.cpp
Comment thread soh/soh/Enhancements/randomizer/hook_handlers.cpp Outdated
Comment thread soh/soh/Enhancements/randomizer/hook_handlers.cpp
Comment thread soh/soh/Enhancements/randomizer/ShuffleCrates.cpp Outdated
Comment thread soh/soh/Enhancements/randomizer/ShuffleGrass.cpp Outdated
Comment thread soh/soh/Enhancements/randomizer/ShuffleIcicles.cpp Outdated
Comment thread soh/soh/Enhancements/ArrowCycle.cpp
ObjLightswitch* thisx = (ObjLightswitch*)actorPtr;
COND_ID_HOOK(ShouldActorUpdate, ACTOR_OBJ_LIGHTSWITCH, shouldRegister, [](IEvent* event) {
ShouldActorUpdate* ev = reinterpret_cast<ShouldActorUpdate*>(event);
ObjLightswitch* thisx = (ObjLightswitch*)ev->actor;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Merely wanted to make a note here, it doesn't look like these ever get unregistered, so there's probably some hook bleed happening here.

Comment thread soh/soh/stubs.c
Comment thread soh/CMakeLists.txt Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants