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 


Using debugger_onBreakpoint()

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
DontWannaBeASkid
Newbie cheater
Reputation: 0

Joined: 01 Mar 2014
Posts: 13

PostPosted: Sat Mar 08, 2014 5:49 am    Post subject: Using debugger_onBreakpoint() Reply with quote

I've seen usage of
debug_setBreakPoint(x)

After that they used:

function debugger_onBreakpoint()
if EAX > 0x02 and EAX < 0x7 then
EAX = 0x7
end

Presumably to debug the variable "x".

I notice they used assembly and what I thought was hexadecimal, but when I tried to decode 0x02 and 0x7 by removing 0x and putting 02 and 7 into a hexadecimal to string converter nothing came up.

I know EAX is a global variable used in assembly, and I'm assuming it was defined as something related to the variable "x".
Can someone explain what this code was doing exactly?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sat Mar 08, 2014 7:27 am    Post subject: Reply with quote

When the breakpoint hits it checks if the register EAX has a value between 3 and 6, and if so, change it to 7
_________________
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
DontWannaBeASkid
Newbie cheater
Reputation: 0

Joined: 01 Mar 2014
Posts: 13

PostPosted: Sat Mar 08, 2014 11:14 am    Post subject: Reply with quote

Dark Byte wrote:
When the breakpoint hits it checks if the register EAX has a value between 3 and 6, and if so, change it to 7

Thanks!
Back to top
View user's profile Send private message
jackendra
How do I cheat?
Reputation: 0

Joined: 11 Mar 2014
Posts: 8

PostPosted: Tue Mar 11, 2014 3:16 pm    Post subject: Re: Using debugger_onBreakpoint() Reply with quote

DontWannaBeASkid wrote:
I've seen usage of
debug_setBreakPoint(x)

After that they used:

function debugger_onBreakpoint()
if EAX > 0x02 and EAX < 0x7 then
EAX = 0x7
end

Presumably to debug the variable "x".

I notice they used assembly and what I thought was hexadecimal, but when I tried to decode 0x02 and 0x7 by removing 0x and putting 02 and 7 into a hexadecimal to string converter nothing came up.

I know EAX is a global variable used in assembly, and I'm assuming it was defined as something related to the variable "x".
Can someone explain what this code was doing exactly?


Lol, so you wanna use this on a game like.. ROBLOX?
Just asking, seems like it, plus that code was used in one of our (V3rmillion) previous 'exploits' that raised your client context in-game to 7 or 'unrestricted' allowing us to execute higher Lua scripts in a script builder.
So idk if thats what your doing but it seems funny, that not only is the code 100% the same, but also because of your name Smile
-----
To DarkByte:
Do you happen to know anything about 64bit Assembly?
Just wondering, according to others the registers are different, and I really would prefer to learn 64 over 32 bit assembly since I dont have a 32 bit machine and I dislike DOSBox/Too lazy to setup a vm.
Anyways if you can maybe share some help that'd be great!
[i] Sorry I just Hijacked this topic, I just didnt want to make another post.
Back to top
View user's profile Send private message Send e-mail
DontWannaBeASkid
Newbie cheater
Reputation: 0

Joined: 01 Mar 2014
Posts: 13

PostPosted: Sun Mar 16, 2014 9:38 am    Post subject: Re: Using debugger_onBreakpoint() Reply with quote

Woah Jack, I didn't realise that was how they changed the context, but that number makes more sense now. Thanks dude!
Back to top
View user's profile Send private message
jackendra
How do I cheat?
Reputation: 0

Joined: 11 Mar 2014
Posts: 8

PostPosted: Sun Mar 16, 2014 2:06 pm    Post subject: K Reply with quote

Lol your welcome xd
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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