View previous topic :: View next topic |
Author |
Message |
respas How do I cheat?
Reputation: 0
Joined: 10 Aug 2011 Posts: 6
|
Posted: Wed Aug 10, 2011 4:49 pm Post subject: CAN SOMEONE HELP? values changing.. |
|
|
Hi all! I am new at cheatengine and i dont find the way, to change value automaticaly... I need something like this: "if value >60, then value=50". It is possible with cheatengine? How can i do this? Maybe someone know? Thank you!
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25778 Location: The netherlands
|
Posted: Wed Aug 10, 2011 5:17 pm Post subject: |
|
|
there are two ways
In the code that accesses the value do a code injection and in there do a cmp with the value and the number to check against. Ask if you need help
Or
A lua script in a timer that every now and then gets the value, checks it, and then writes.
Ask in the lua section about that.
_________________
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 |
|
 |
gaming04 Expert Cheater
Reputation: 0
Joined: 06 Dec 2010 Posts: 189
|
Posted: Wed Aug 10, 2011 5:51 pm Post subject: |
|
|
Auto Assembly Skeleton for the procedure you asked...
Code: |
newmem:
push eax
mov eax,[0000abcd] //address here
cmp eax,(int)60 //compare value with...
jl originalcode
mov ecx,(int)50 //change value to...
originalcode:
pop eax
...
|
Obviously, you will have to learn either ASM or LUA for what you want.
|
|
Back to top |
|
 |
respas How do I cheat?
Reputation: 0
Joined: 10 Aug 2011 Posts: 6
|
Posted: Wed Aug 10, 2011 7:15 pm Post subject: |
|
|
Dark Byte wrote: | there are two ways
In the code that accesses the value do a code injection and in there do a cmp with the value and the number to check against. Ask if you need help
Or
A lua script in a timer that every now and then gets the value, checks it, and then writes.
Ask in the lua section about that. |
Hi. Thanks for reply, and sorry for many post in different threats with same post... I am not programmer and i dont know what means LUA, cmp and... but i think i can understand what i have to do, if u can write me better understandable.. Sorry about my english, its not good too :/ Can you help me to do that trick? I need this value checking and changing not one time, but every half of minute.. or every second.. how you said, i have to do something with timer.. Thank you..
|
|
Back to top |
|
 |
|