Question about opcodes with many addresses.

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
wne01
What is cheating?
What is cheating?
Posts: 2
Joined: Thu Jun 16, 2022 12:08 pm
Reputation: 0

Question about opcodes with many addresses.

Post by wne01 »

Hello.
I did already finish the tutorial including the shared instruction one.
I tried noping an instruction but it seems it stops the game working.
So I checked how many addresses this instruction accesses, there were about 200 addresses.
Structure dissect for 200 addresses seems too many.
What do I do if I specifically want only one address to be nopped from those 200 addresses?
Or any better way to solve this?

User avatar
LeFiXER
LeFixer
LeFixer
Posts: 489
Joined: Wed Mar 24, 2021 9:35 am
Reputation: 251

Re: Question about opcodes with many addresses.

Post by LeFiXER »

You need to check for commonalities between the shared addresses.

wne01
What is cheating?
What is cheating?
Posts: 2
Joined: Thu Jun 16, 2022 12:08 pm
Reputation: 0

Re: Question about opcodes with many addresses.

Post by wne01 »

I check for commonalities. But it seems it's quite hard to find the uncommon address. And there are 200 addresses.

GreenHouse
Expert Cheater
Expert Cheater
Posts: 852
Joined: Fri Oct 12, 2018 10:25 pm
Reputation: 896

Re: Question about opcodes with many addresses.

Post by GreenHouse »

If it's something like a value for the Player and it's changing an offset, you could take the base of it and check if something accesses it, and use the instruction that only accesses what you want. Then mov it into an alloc and go back to the shared one and do a compare with the alloc.

Otherwise, you could look for commonalities in 5 of those with yours, if you find something then make a script with a couple of compares with that, that jump to the original code, then check what gets to the second compare. If you check the second compare while playing for a bit, and only yours got through then you should be fine.

Or you could also ignore that function and go to its call (Break&Trace), and see if you can get to one that is only executed with what you want. Then nop that call if it doesn't need anything to be returned.

User avatar
SunBeam
Administration
Administration
Posts: 4932
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 4630

Re: Question about opcodes with many addresses.

Post by SunBeam »

I recommend also properly checking those commonalities. People usually find a byte or integer that is 0 for player and 1 for enemy and decide on the spot that it will work like that. They don't debug the offset to see if/how the Engine is using that byte or integer, which often leads to "not working for me" :)

Post Reply

Who is online

Users browsing this forum: No registered users