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 


Debug NOP Breakpoints

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting -> Lua Extensions
View previous topic :: View next topic  
Author Message
predprey
Master Cheater
Reputation: 15

Joined: 08 Oct 2015
Posts: 370

PostPosted: Thu Jun 02, 2016 11:48 am    Post subject: Debug NOP Breakpoints Reply with quote

This plugin adds an option to set debug NOP breakpoints to both the main menu and popup menu of memory viewer.
For more information on what are debug NOP breakpoints refer to this thread below:
http://forum.cheatengine.org/viewtopic.php?t=592140

Do note DBVM is not required to use DNOPs. Only thing required is an attached debugger. Unless the game detects Windows/VEH breakpoints and crashes.

By default, it NOPs/skips the currently selected address in memory view.
You can multiselect addresses to NOP/skip from the start to the end of selection.
When adding breakpoints from the breakpoint list, if an address has already been DNOPed before, it is overwritten again (i.e. range is changed if it is different).

Screenshots:
https://www.dropbox.com/sh/h10wllz842cqrkq/AABdEwvN35OubtYqCYhkS19wa

To install:
1. Download from link below
https://www.dropbox.com/s/h7hq83a89mbvpiw/DNOPBreakpoint.7z
2. Extract to CEDirectory\autorun folder

Quote:
Update 1:
- Fixed debugger not continuing automatically.
- Fixed debugger not skipping by instruction size.
- Combined 'Set' and 'Delete' Option to mimic CE's set/unset breakpoint option behavior.

Update 2:
- Fixed debugger not continuing automatically. (for real, hopefully)

Update 3:
- Added GUI for breakpoint list that are DNOPs.

Update 4:
- Integration with CE's default breakpoint function, so it can be used to disable and remove DNOP breakpoints completely(i.e. from DNOP array, previously only breakpoint is removed but array entry is not).
- Optimized script and removed unnecessary functions and code.
- Added more error case checks.

Update 5:
- Bug fix for CE's inbuilt breakpoint function only removing entry in form but not the real DNOP entry.
- Aesthetic tweaks for satisfying the developer's OCD urges.

Update 6:
- Major update to localize all functions to avoid conflicts between extensions due to similar names, especially commonly used library functions.

Update 7:
- Bug fix for debugger_onBreakpoint which I somehow broke, probably since Update 4.


Credits and Thanks to:
SnedS91
MasterGH
++METHOS
panraven
mgr.inz.Player

_________________


Last edited by predprey on Thu Oct 20, 2016 5:24 am; edited 20 times in total
Back to top
View user's profile Send private message
Stacktrace
Advanced Cheater
Reputation: 1

Joined: 04 Jul 2015
Posts: 98

PostPosted: Thu Jun 02, 2016 12:02 pm    Post subject: Reply with quote

Thank you so much! I very much appreciate your help!
It works perfectly fine (if the fix I added is used)! Smile

By the way, it still doesn't step the debugger but I edited your code into doing that (as of now it just breakpoints it)
http://pastebin.com/KPVLDw03

This is truly amazing, I might be over-reacting but I've wanted something like this for ages, and here it is. I'm so thankful you have absolutely no idea, this will save me a lot of time and I'll finally be able to leave my clipboard alone! Thanks Very Happy Very Happy I wish I could rep you hundreds of times. Haha!
Back to top
View user's profile Send private message
predprey
Master Cheater
Reputation: 15

Joined: 08 Oct 2015
Posts: 370

PostPosted: Thu Jun 02, 2016 12:45 pm    Post subject: Reply with quote

yep...added the continue() instruction to the wrong location. i be sleepy and making lots of unnecessary code and mistakes Laughing
Back to top
View user's profile Send private message
Stacktrace
Advanced Cheater
Reputation: 1

Joined: 04 Jul 2015
Posts: 98

PostPosted: Thu Jun 02, 2016 1:04 pm    Post subject: Reply with quote

predprey wrote:
yep...added the continue() instruction to the wrong location. i be sleepy and making lots of unnecessary code and mistakes Laughing


Haha, I can understand! You did good Smile
To be honest, you did such a great job this should become a normal feature on Cheat Engine.

Yeah, I'm aware I sound extremely hyped over this but being addicted to a game with an integrity checker I can't get pass and I've had to rely on DNopping for ages, this is huge help! It feels just as I'm actually nopping the address because of it only using one click! Amazing, just can't get over how great this is hahaha!
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 75

Joined: 29 Oct 2010
Posts: 3671

PostPosted: Thu Jun 02, 2016 1:09 pm    Post subject: Reply with quote

Stacktrace wrote:
Amazing, just can't get over how great this is hahaha!

Just wait until you move out and get a job and a girlfriend etc..

Just kidding. Very Happy
Back to top
View user's profile Send private message
Stacktrace
Advanced Cheater
Reputation: 1

Joined: 04 Jul 2015
Posts: 98

PostPosted: Thu Jun 02, 2016 1:12 pm    Post subject: Reply with quote

++METHOS wrote:
Stacktrace wrote:
Amazing, just can't get over how great this is hahaha!

Just wait until you move out and get a job and a girlfriend etc..

Just kidding. Very Happy


Haha, yeah. Busy life! I'm glad I'm not there yet so I'll just enjoy my free-time as much as I can.

I'll try my best to get a job next year though as I'm currently 18. Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting -> Lua Extensions 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