Registering Lua Functions

Talk about anything in Runes of Magic. This does not need to pertain to botting.
Post Reply
Message
Author
Icesythe7
Posts: 3
Joined: Sat Mar 05, 2022 3:36 pm

Registering Lua Functions

#1 Post by Icesythe7 » Thu Mar 10, 2022 1:41 am

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

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: Registering Lua Functions

#2 Post by Administrator » Sat Mar 19, 2022 8:46 am

This does indeed seem like a pretty cool project you've got going here.
Have you also been able to register C functions?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests