Page 1 of 1

Registering Lua Functions

Posted: Thu Mar 10, 2022 1:41 am
by Icesythe7
Looks like lua state pointer is at

Code: Select all

 namespace Offsets
{
	inline auto game_base = RVA(0x609B84); //8B 0D ? ? ? ? 8B 96 ? ? ? ? 50 FF D2 8B 0D ? ? ? ? 6A FF
}
+ 4BC + 4

You can then register any lua functions you want and use them in addons or use any of their lua api in your own applications as seen below, just thought was neat.
Image

Re: Registering Lua Functions

Posted: Sat Mar 19, 2022 8:46 am
by Administrator
This does indeed seem like a pretty cool project you've got going here.
Have you also been able to register C functions?