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 


Support required with a simple script

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

Joined: 17 Sep 2013
Posts: 11

PostPosted: Sun Feb 26, 2017 7:22 am    Post subject: Support required with a simple script Reply with quote

Greetings.

I want to write what seems, to me at least, a fairly simple script. However I find the tutorials on the site are way too complex, technical and extensive. This will seem like an excuse but I've tried reading them many times but it still feels like reading Chinese.

In any case, I don't want to derail from the topic at hand. I wanna write a simple script that, when enabled, just copies the value from a static address into many others. And that's it. Single execution; no fanciness.

I tried playing with what I now but I just can't get to copy from address bar to address foo.

What I tried:
Code:
mov [20xxxxxx],[20yyyyyy]
mov [20xxxxxx], 20yyyyyy
mov  20xxxxxx ,[20yyyyyy]


What should I do?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Feb 26, 2017 8:10 am    Post subject: Reply with quote

Code:
{$lua}
[ENABLE]
local value = readInteger("source")
writeInteger("destination1", value)
writeInteger("destination2", value)
writeInteger("destination3", value)
[DISABLE]
Back to top
View user's profile Send private message
LalzDS
Newbie cheater
Reputation: 0

Joined: 17 Sep 2013
Posts: 11

PostPosted: Sat Mar 04, 2017 8:13 pm    Post subject: Reply with quote

Zanzer wrote:
Code:
{$lua}
[ENABLE]
local value = readInteger("source")
writeInteger("destination1", value)
writeInteger("destination2", value)
writeInteger("destination3", value)
[DISABLE]


Exactly what I wanted. You have my most deepest thanks.
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