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 


CAN SOMEONE HELP? values changing..

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
respas
How do I cheat?
Reputation: 0

Joined: 10 Aug 2011
Posts: 6

PostPosted: Wed Aug 10, 2011 4:49 pm    Post subject: CAN SOMEONE HELP? values changing.. Reply with quote

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! Smile
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Aug 10, 2011 5:17 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
gaming04
Expert Cheater
Reputation: 0

Joined: 06 Dec 2010
Posts: 189

PostPosted: Wed Aug 10, 2011 5:51 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
respas
How do I cheat?
Reputation: 0

Joined: 10 Aug 2011
Posts: 6

PostPosted: Wed Aug 10, 2011 7:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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