Ashenfallen-Modpack-1.4.2.zip
What's new
Changelog: 1.4.2
1. Zero Stale UObject Pointer Architecture (OSRSMinimap)
- Crash Vector Eliminated: Resolved the fatal hardware access violation (
0xC0000005atUE4SS.dll+0xB9598D) that occurred during combat (e.g. killing Zogres) or resource destruction (e.g. mining nodes withspell_rocksplosion). - Primitive-Only State Tables: Refactored
TrackedAiActors,TrackedResourceActors, andTrackedLandmarkActorsto store strictly primitive numeric tables ({ Location = {X,Y,Z} }) instead of raw C++ActorandComponentuserdata across frames. - Double-Free / Use-After-Free Eradication: Removed all 7 instances of
comp:K2_DestroyComponent(comp)across the mod. Component lifecycle is now handled naturally by Unreal Engine's garbage collector. - Native Weak-Pointer Cleanup: Replaced manual UMG canvas children traversal in
PruneDeadIconWidgetswith native C++MinimapWidget:ForgetDestroyedIcons(), allowing the engine to prune destroyed icons safely. - Live-Object Queries: Updated the
F9toggle and pawn respawn transitions to query liveGUObjectArrayentries directly, guaranteeing zero dangling pointer dereferences.
2. Thread-Safe Loop Architecture (OSRSMinimap)
- Deadlock Prevention: Migrated the minimap timer from
LoopAsync(unmanaged background OS thread) to UE4SS's nativeLoopInGameThreadWithDelay(50). - Eliminated Queue Contention: Eradicated cross-thread mutex contention on UE4SS's
delayed_actionsqueue, preventing thread lockups when mods reload or when the game enters the pause screen. - Deferred Startup Sweeper: Moved the initial orphan widget cleanup to the first game loop tick instead of running synchronously during module load.
This mod has no additional files