H5 AI Compiler and Incorrect IS_TOGGLE_SKILL_ONOFF ID

Issue #21 new
mepstein created an issue

Hi,
The default handler id for IS_TOGGLE_SKILL_ONOFF id = 173 but after compilation is changed to 183.

Original H5 AI:

handler 173 37  //  IS_TOGGLE_SKILL_ONOFF

Compiled with MyExt64 h5-branch:

handler 183 37  //  IS_TOGGLE_SKILL_ONOFF

The generated AI can’t be decompiled later…

Thank you!

Comments (1)

  1. mepstein reporter

    Ok, found!

    reinterpret_cast<void(*)(void*, wchar_t*)>(0x5771DC)(registry, L"IS_TOGGLE_SKILL_ONOFF");
    

    This handler is already defined. Just comment this line and go to compile! 👍

  2. Log in to comment