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 make script with copy/paste bytes in memory view.?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
hondafrik
Advanced Cheater
Reputation: 0

Joined: 15 Jan 2014
Posts: 60
Location: Croatia

PostPosted: Sun Feb 09, 2014 11:48 am    Post subject: how to make script with copy/paste bytes in memory view.? Reply with quote

How to make script with Aob code and then copy/paste bytes in memory viewer ,where all bytes (after AOB code) is not same after game is refreshed? (and address too)
Below is picture who show you what i want but dont know how to do it.



mem copy paste.jpg
 Description:
 Filesize:  192.32 KB
 Viewed:  13574 Time(s)

mem copy paste.jpg


Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Sun Feb 09, 2014 3:04 pm    Post subject: Reply with quote

Just do:
writeInteger(Address + 4, readInteger(Address));

Address = red line address.

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Feb 09, 2014 3:42 pm    Post subject: Reply with quote

Aa script:
Code:

Aobscan(bla,11 22 33 44)
bla+1234:
readmem(bla+1230)

_________________
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
hondafrik
Advanced Cheater
Reputation: 0

Joined: 15 Jan 2014
Posts: 60
Location: Croatia

PostPosted: Mon Feb 10, 2014 3:19 am    Post subject: Reply with quote

@DaSpamer
bro your code in lua say me error,see picture below

@Dark Byte

sir your code in AA freeze my game,but i think i do something wrong but please explain me what i do wrong.thx
Code:
aobscan(aob1,69 00 00 00 24 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF 01 00 00 00)
aob1+1C:    ---how i read this number will tell CE to skip the first 28 bytes of the AOB , so that it won't touch the wrong bytes.  (28 in hex is 1C)
readmem(aob1+1230) ---but i dont understand this number,he is freeze my game,or this number must skip some bytes too?


EDIT:btw bytes its not same after i refresh game and address too.



error.jpg
 Description:
 Filesize:  84.85 KB
 Viewed:  13496 Time(s)

error.jpg


Back to top
View user's profile Send private message
AltairPL
Newbie cheater
Reputation: 2

Joined: 25 Jan 2014
Posts: 24

PostPosted: Mon Feb 10, 2014 3:46 am    Post subject: Reply with quote

in your first post example, aobscan will find address 0B968628
source address is 0B968658 so offset from "aob" address is 0x30
destination address is 0B96865C so offset from "aob" address is 0x34
so your AA code would look like:
Code:
aobscan(aob1,69 00 00 00 24 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF 01 00 00 00)

aob1+34:                          // at target address...
readmem(aob1+30,4)        // ...write 4 bytes taken from source address (since DB didn't use ",4", it's probably not needed in your case)


error in lua pops up because the address you inputted is in invalid format, valid would be 0x0BAF6F10 or getAddress('0BAF6F10')
but even in valid format it would not work after restarting application, since you're not using aobscan


Last edited by AltairPL on Mon Feb 10, 2014 9:56 am; edited 1 time in total
Back to top
View user's profile Send private message
hondafrik
Advanced Cheater
Reputation: 0

Joined: 15 Jan 2014
Posts: 60
Location: Croatia

PostPosted: Mon Feb 10, 2014 5:56 am    Post subject: Reply with quote

@AltairPL thank you very much, its work! and i am figured for other bytes Smile
Back to top
View user's profile Send private message
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Mon Feb 10, 2014 8:45 am    Post subject: Help Reply with quote

What is AOB?
please answer

_________________
Back to top
View user's profile Send private message
dharthoorn
Advanced Cheater
Reputation: 1

Joined: 27 Nov 2008
Posts: 84

PostPosted: Mon Feb 10, 2014 9:01 am    Post subject: Reply with quote

Array of Bytes
_________________
"If you could reason with religious people there would be no religious people" - House Md. (My Personal Life Coach)
Back to top
View user's profile Send private message
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Mon Feb 10, 2014 9:07 am    Post subject: Thanks Reply with quote

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