Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to use {$luacode} when connecting to a process via DBVM

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
24quant42
Cheater
Reputation: 0

Joined: 19 Apr 2023
Posts: 31

PostPosted: Mon Dec 02, 2024 1:19 am    Post subject: How to use {$luacode} when connecting to a process via DBVM Reply with quote

I use DBVM and connect via kernel mode, after that I find the health value.
If I try to execute the command "Find out what addresses this code accesses", I get a lot of addresses and the program freezes, I have to press the stop button in advance.
I decided that I need to add AOB to the instructions.
After reading some articles, I decided to use {$LUACODE} to get the register and then output to the console via print, but I get an error luacode.dll line 1 loadlibrary.....
Apparently the problem is that it is impossible to add to the kernel luacode.dll
I tried to use {$CCODE}, but I do not know how to output a message to the Cheat Engine?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25785
Location: The netherlands

PostPosted: Mon Dec 02, 2024 4:26 am    Post subject: Reply with quote

If you need to use dbvm kernelmode instead of normal kernelmode and dll injection fails likely you don't have a functioning copy-on-write system working so code injection and allocations will be troublesome

you may have more luck with lua code that uses debug_setBreakpoint and handle the events in there

_________________
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
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites