Posted: Sat Jun 30, 2012 8:29 pm Post subject: Modify "print" call pointer of Game with LUA engin
Hi,
lets say we have a game which has an LUA engine for scripting but dose not allow send information's to other processes. The game has the possibility to print lines to the in game console by calling print in LUA.
As the C API of LUA sets pointers to the functions it should be possible to modify that pointer to point to my own function in my own program or i am wrong?
And if yes. How is the best way to find that pointer and how do i change the address?
Joined: 09 May 2003 Posts: 25346 Location: The netherlands
Posted: Sun Jul 01, 2012 6:28 pm Post subject:
Hmm,. not sure how to do that without hooking the lua engine of the game or the print function that is called
You could try ultimap to find out the function address that is executed when you print to the screen and then see if you can find an pointer that points to there. And check that the region it is in is a lua memory block
Perhaps you can find the lua engine and lua pointer itself, and then issue a lua_register call overriding the existing function _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum