UE4SS-RE / RE-UE4SS

Injectable LUA scripting system, SDK generator, live property editor and other dumping utilities for UE4/5 games
http://docs.ue4ss.com/
MIT License
1.37k stars 187 forks source link

[BUG - main] Incorrect value for Key.NUM_ZERO #633

Open n0bodysec opened 3 months ago

n0bodysec commented 3 months ago

Branch or Release 1b5ff7739601f504d7563b280185eae267bdc047

Game and Engine Version N/A

Describe the bug https://github.com/UE4SS-RE/RE-UE4SS/blob/1b5ff7739601f504d7563b280185eae267bdc047/UE4SS/src/Mod/LuaMod.cpp#L458

VK_NUMPAD0 is 0x60 but it's defined as 0x69 (VK_NUMPAD9) in the base code.

Mods directory N/A

To Reproduce N/A

Expected behavior

key_table.add_pair("NUM_ZERO", 0x60);

Screenshots, UE4SS Log, and .dmp file N/A

Desktop (please complete the following information): N/A

Additional context N/A