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 


How to change a value to another by each keypress?

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

Joined: 25 Aug 2018
Posts: 2

PostPosted: Fri Oct 19, 2018 8:44 am    Post subject: How to change a value to another by each keypress? Reply with quote

I stored some values in a list.r there some methods to change the value at a particular address to the next one by each keypress.
I've got a script for this from my frd.... But idk how to use it, it's a little strange.
My frd is not going to tell me how it works.......

Code:

{
In order to active this script,use another script(createthread) to active the "MostHandsomeMe" Label:
e.g.:
[enable]
createthread(MostHandsomeMe)
{&lua}
Print('LetsLoveMyBF!!!!!He's Lovely in his SWAT gear') //Talented Poping up :))))))
[disable]
createthread(MostHandsomeMe)
{&lua}
Print('LetsLoveMyBF!!!!!He's Lovely in his SWAT gear') //Talented Poping up :))))))
;;
beyond this, u can hook the "MostHandsomeMe” label with any api of ur game, like code injection does, but not recommended
If 'createthread' cuz ur game to crash, try to change ur registers.
}

alloc(adrtochange,250)
alloc(IDList,$666)
alloc(MostHandsomeMe,$233)
IDList:
dd 4,#123,#321,#132
//#ID1,#ID2,#IDn Separated by a delicate comma. Dont delete initial "4", this number is used as an "index".ID cant be 2 successive 0, if needed, change the "HowSexyIAm" part urself.
adrtochange:
//here put the address ,at which you want to change the value.

[ENABlE]
label(ILoveMyBFVelyMuch)
label(HowSexyIAm)

MostHandsomeMe:
push esi
push rdx
push rax
push rbx

mov esi,[IDList]
lea rax,[adrtochange]
mov rbx,rax
mov rdx,IDList

mov eax,[rdx+esi]
mov [rbx],eax
add dword ptr [rdx],4

HowSexyIAm:
mov rax,[rdx+esi]
test rax,rax
jne ILoveMyBFVelyMuch
mov dword ptr [rdx],4

ILoveMyBFVelyMuch:
pop rbx
pop rax
pop rdx
pop esi
ret // if use createthread, its needed.
[DISABLE]
//if u like, add "dealloc(XXX)" here.
{&lua}
Print('LetsLoveMyBF!!!!!He's Lovely in his SWAT gear') //Talented Poping up :))))))


Does he mean that, i must create another script filled with his code to active the main code???Is his code right?idk about coding at all....And what is the lua part for?Can I delete it?Seems it's about his boyfrd....:

Code:

[enable]
createthread(MostHandsomeMe)
{&lua}
Print('LetsLoveMyBF!!!!!He's Lovely in his SWAT gear') //Talented Poping up :))))))
[disable]
createthread(MostHandsomeMe)
{&lua}
Print('LetsLoveMyBF!!!!!He's Lovely in his SWAT gear') //Talented Poping up :))))))
"
[/code]
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 Discussions 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