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 


Opcodes

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
iampwnage121
Newbie cheater
Reputation: 0

Joined: 19 Mar 2013
Posts: 23
Location: "Downtown"

PostPosted: Tue Mar 19, 2013 4:55 am    Post subject: Opcodes Reply with quote

When checking what adresses an Opcode is there a way to scan the values in it like you would normally?
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Tue Mar 19, 2013 3:07 pm    Post subject: Reply with quote

what ?
_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
iampwnage121
Newbie cheater
Reputation: 0

Joined: 19 Mar 2013
Posts: 23
Location: "Downtown"

PostPosted: Tue Mar 19, 2013 3:23 pm    Post subject: Reply with quote

I found this Opcode that writes to every single ammo value in the game I play, Is there a way to limit the searches based on what that opcode is changing?
Back to top
View user's profile Send private message
SteveAndrew
Master Cheater
Reputation: 30

Joined: 02 Sep 2012
Posts: 323

PostPosted: Tue Mar 19, 2013 6:26 pm    Post subject: Reply with quote

Whats wrong with having infinite ammo for all weapons just by using that one instruction? That usually is desired! lol As long as that opcode is only writing to ammo addresses only, it should be safe to use...

I don't think 'search' is the right word you mean unless I misunderstood you...

You mean you want to filter out writing to certain ammo addresses? So for example only give your self infinite ammo for the rifle or something, and everything else decrease like normally?

_________________
Back to top
View user's profile Send private message
iampwnage121
Newbie cheater
Reputation: 0

Joined: 19 Mar 2013
Posts: 23
Location: "Downtown"

PostPosted: Tue Mar 19, 2013 7:43 pm    Post subject: Reply with quote

Well Actually I literally do mean search, the values for others is server sided. I would just Nop out the Opcode but the game owners caught onto that and made it so the game crashes when Opcodes change. The Opcode is changing some random stuff, I don`t know what they are. Freezing them all crashes the game. Pointer scans don`t work on the ammo. The only way I can think of is watching what the adress modifies.
_______________________________________________________________
EDIT: This value also changes leaderboard values. EX: Cash, Kills, Deaths
I guess you could say i want to filter certain ones out...
Back to top
View user's profile Send private message
SteveAndrew
Master Cheater
Reputation: 30

Joined: 02 Sep 2012
Posts: 323

PostPosted: Tue Mar 19, 2013 8:25 pm    Post subject: Reply with quote

Well does it crash when you touch the memory at all? (aka some sort of CRC / integrity check) or it crashes when you make it stop writing to all the values it writes to? In the second case, that means more than just ammo is passing through there...

You'll have to find some way to tell the difference between ammo addresses that pass through and the ones that make it crash when they don't pass through...

Right click on the instruction/opcode in question and do a "find what addresses this instruction accesses" and try to see your ammo address(s) in there... If the dynamic addresses don't change too often you could just add them to your CT like that and freeze em each time...

Try to find which addresses do actually make it crash and what kind of values are being written to them, the real way would be to analyze the structure(s) and or the stack dumps / possibly even some registers, and spot differences between your real ammo structures and the game's crash me structures... There will likely be some way to tell them apart. Structure dissector is good for this type of thing, I have to do this alot these days as many games are employing using shared addresses which write to many things with the same instruction.

It could be some checks like this

cmp [ebp+someoffset],somevalue
jne NotMyAmmo

cmp [esp+someoffset],somevalue
jne NotMyAmmo

presuming edx is the register that adds your ammo offset to it to write to your ammo / the crash structures

cmp [edx+some_offset_different_than_ammo_offset],somevalue
jne NotMyAmmo

mov eax,63 //99 bullets

NotMyAmmo:
//do normal code
//without changing the register that will end up writing to the dynamic addy
mov [edx+AmmoOffset],eax

You have to add some extra check(s) before setting the value... It's knowing what to check for that can sometimes be tricky...


To check whether it's a CRC check just select the address in memory viewer and use the cheat engine table framework code, then code injection templates of the Auto Assembler, and without changing anything just enable that! (it will just hook it but execute the normal code like normally) if it crashes then it's a CRC check Wink What game is this by the way? if it's a CRC check I could easily bypass it Wink

_________________
Back to top
View user's profile Send private message
iampwnage121
Newbie cheater
Reputation: 0

Joined: 19 Mar 2013
Posts: 23
Location: "Downtown"

PostPosted: Tue Mar 19, 2013 10:29 pm    Post subject: Reply with quote

All I know is, There was a mainstream hack involving OPcodes thus they added in some sort of anti-hacks for changing OPcodes. I refer to that as Anti-Nop (Even though it crashes when changing the OPcodes slightly)

Last edited by iampwnage121 on Thu Mar 21, 2013 10:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
foxfire9
Advanced Cheater
Reputation: 0

Joined: 23 Mar 2012
Posts: 57

PostPosted: Wed Mar 20, 2013 8:56 am    Post subject: Reply with quote

Quote:
When checking what addresses an Opcode is there a way to scan the values in it like you would normally?


I think you need to plainly.

For what I understand you want to find that Opcode on all related address/s to it.

Steve is right I don't think removing all that relates to that Instruction [Opcode] just to focus only one is good. As he said most player want that code for all weapons.
Back to top
View user's profile Send private message
iampwnage121
Newbie cheater
Reputation: 0

Joined: 19 Mar 2013
Posts: 23
Location: "Downtown"

PostPosted: Wed Mar 20, 2013 5:55 pm    Post subject: Reply with quote

I want to use that OPcode to find out all my ammo values and everything. Except when I find out what adresses said OPcode it instantly gets spammed with useless values.

I either want to:
A.) Eliminate those usless values to make finding my ammo easier.
B.) Prevent the game from crashing when I Nop the OPcode.
C.) Get my ammo to change to a high value automatically.

_________________
]})I({[ for an ]})I({[
Back to top
View user's profile Send private message
foxfire9
Advanced Cheater
Reputation: 0

Joined: 23 Mar 2012
Posts: 57

PostPosted: Wed Mar 20, 2013 8:50 pm    Post subject: Reply with quote

Don't use NOP if it crashes. The best thing you can do is to circulate or jump the codes so that the game would not crash.

And FYI that OPcode is already all applied to all your ammo including AI Players. You just need to find a way to apply it only to you.

Here some pointers:
-Find or Google [Geri's Tutorial] Dissecting Data/Structure. Read it
-Try reading other Tutorials about [Code Injection], [Pointer Levels], etc. that relates to your issue

Note: Study on Pointer Levels and Code Injection is at the Cheat Engine Tutorial

Tip: Learn how NOP's work and how many NOP's you need to have no crashes.

You can't put NOP's just like that without understanding it.
Back to top
View user's profile Send private message
iampwnage121
Newbie cheater
Reputation: 0

Joined: 19 Mar 2013
Posts: 23
Location: "Downtown"

PostPosted: Thu Mar 21, 2013 9:53 pm    Post subject: Case closed Reply with quote

I taught myself how to disable it. Thanks for helping though.
----------------------------------------------------------------------
EDIT: I spoke to soon, It worked perfectly the first time but now it crashes 90% of the time, Any idea why? I have repeated the same process over and over to the exact same values. Only seems to work 10% of the time. That is not ideal at all...

_________________
]})I({[ for an ]})I({[
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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