LuaAPI v0.1.0-Alpha — Lifecycle Reset, Pointer Safety & Inbound Events
First Alpha Release (v0.1.0-alpha)
This release transitions LuaAPI from MVP to Alpha-State, featuring:
- Pointer & RTTI Safety:
ValidateTechnoprevents0xC0000005crashes on dead/nil objects. - Session Lifecycle: Clean Lua VM & callback reset on map load/restart (
ResetSession). - Inbound Events: Sub-frame damage interception via
OnPreDamage. - Core Gameplay APIs:
house_GetCredits,house_AddCredits,game_PrintMessage,unit:SetHealthRatio,unit:AttachParticleSystem. - Multiplayer Safe: Deterministic RNG preventing OOS in CnCNet (
--withcncnet). - Zero Overhead: Measured 60.04 FPS / 55.11 1% Lows via Intel PresentMon.
Quick Installation:
- Unpack all files into your Red Alert 2 / Yuri's Revenge game folder (where
gamemd.exeis located). - Run
injector.exe, toggle desired sample mods (bounty_hunter,shield_overload), and click Launch Game.