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 


scan and replace aob

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

Joined: 29 Jul 2020
Posts: 34

PostPosted: Wed Jul 29, 2020 3:49 am    Post subject: scan and replace aob Reply with quote

hello...
i need someone to help me ,i tired about that

first i want make a cheat table

Search for aspd 1

Quote:
F0 ?? ?? ?? 00 00 80 3F


Search for aspd 2
Quote:
F0 ?? ?? ?? 00 00 FF 3F


i want to scan and replace aspd1 to aspd but when i active the script there some error [ not responding ] then the script do not want to active

script
Code:
[ENABLE]
Aobscan(_aob1, F0 ?? ?? ?? 00 00 80 3F)
Aobscan(_aob2, F0 ?? ?? ?? 00 00 FF 3F)

alloc(newmem,64)
createthread(newmem)

newmem:
mov esi,_aob2
mov edi,_aob1
mov ecx,#8
rep movsb

ret



[DISABLE


help me master to solve it
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3320

PostPosted: Wed Jul 29, 2020 9:46 am    Post subject: Reply with quote

What are you trying to achieve?
There are far better ways to copy stuff.
Check the wiki on readmem()
Back to top
View user's profile Send private message
vil33
Cheater
Reputation: 0

Joined: 29 Jul 2020
Posts: 34

PostPosted: Wed Jul 29, 2020 8:22 pm    Post subject: Reply with quote

Csimbi wrote:
What are you trying to achieve?
There are far better ways to copy stuff.
Check the wiki on readmem()


can you teach me or can you explain to me master?
this is my first time to make cheat table Confused
Back to top
View user's profile Send private message
Betcha
Expert Cheater
Reputation: 4

Joined: 13 Aug 2015
Posts: 232
Location: Somewhere In Space

PostPosted: Thu Jul 30, 2020 3:14 am    Post subject: Re: scan and replace aob Reply with quote

vil33 wrote:
i want to scan and replace aspd1 to aspd

Code:
[ENABLE]
Aobscan(_aob1, F0 ?? ?? ?? 00 00 80 3F)
registersymbol(_aob1)
_aob1:
  db F0 ?? ?? ?? 00 00 FF 3F

[DISABLE]
_aob1:
  db F0 ?? ?? ?? 00 00 80 3F
unregistersymbol(_aob1)
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3320

PostPosted: Thu Jul 30, 2020 4:19 am    Post subject: Reply with quote

Using the code in the first post:
Code:

[ENABLE]
Aobscan(_aob1, F0 ?? ?? ?? 00 00 80 3F)
Aobscan(_aob2, F0 ?? ?? ?? 00 00 FF 3F)

_aob1:
readmem(_aob2,8)

[DISABLE]

This will crash in case there are instructions there that use offsets relative to the instruction itself (EIP or RIP).
I.e. jmp, call, etc.
Work around those (do not just copy).
The ones you have here seems to be okay.

Mind you, this code does not save the original code (neither did your original).
That is something you'd want to do so you can disable it correctly.
That would be another readmem from a location where you backed it up to.
Back to top
View user's profile Send private message
vil33
Cheater
Reputation: 0

Joined: 29 Jul 2020
Posts: 34

PostPosted: Mon Aug 03, 2020 12:25 am    Post subject: Re: scan and replace aob Reply with quote

Betcha wrote:
vil33 wrote:
i want to scan and replace aspd1 to aspd

Code:
[ENABLE]
Aobscan(_aob1, F0 ?? ?? ?? 00 00 80 3F)
registersymbol(_aob1)
_aob1:
  db F0 ?? ?? ?? 00 00 FF 3F

[DISABLE]
_aob1:
  db F0 ?? ?? ?? 00 00 80 3F
unregistersymbol(_aob1)

It work master, but aob was change its different address.
How do we change the address what we want [specific address]

ADDADRES.PNG

When i try fill _aob1 at "Add Address Manually"
The Adress what show is different
240 = wrong adress
128 = correct adrres

CE.PNG

F0 ?? ?? ?? 00 00 80 3F

Code:
0F0BAA00 = F0 / 240
0F0BAA06 = 80 / 128


LISTADDRESS.PNG

i want change 80 to FF, help me master i tired about that Sad
is there another way to automatically run? when i active the script automatic change the address without "add address manually"[/img]



ADDADRESS.png
 Description:
 Filesize:  15.95 KB
 Viewed:  4399 Time(s)

ADDADRESS.png



CE.png
 Description:
 Filesize:  25.69 KB
 Viewed:  4399 Time(s)

CE.png



LISTADRESS.png
 Description:
 Filesize:  5.01 KB
 Viewed:  4399 Time(s)

LISTADRESS.png


Back to top
View user's profile Send private message
Betcha
Expert Cheater
Reputation: 4

Joined: 13 Aug 2015
Posts: 232
Location: Somewhere In Space

PostPosted: Wed Aug 05, 2020 1:45 am    Post subject: Re: scan and replace aob Reply with quote

You can drag your value inside the script and lock it whenever your script is active.



Code:
[ENABLE]
Aobscan(_aob1, F0 ?? ?? ?? 00 00 80 3F)
registersymbol(_aob1)
_aob1:
  db F0 ?? ?? ?? 00 00 FF 3F

[DISABLE]
_aob1:
  db F0 ?? ?? ?? 00 00 80 3F
unregistersymbol(_aob1)

And i don't understand why don't you just make aob script for your value?
Back to top
View user's profile Send private message
vil33
Cheater
Reputation: 0

Joined: 29 Jul 2020
Posts: 34

PostPosted: Wed Aug 05, 2020 2:10 am    Post subject: Re: scan and replace aob Reply with quote

Betcha wrote:
You can drag your value inside the script and lock it whenever your script is active.



Code:
[ENABLE]
Aobscan(_aob1, F0 ?? ?? ?? 00 00 80 3F)
registersymbol(_aob1)
_aob1:
  db F0 ?? ?? ?? 00 00 FF 3F

[DISABLE]
_aob1:
  db F0 ?? ?? ?? 00 00 80 3F
unregistersymbol(_aob1)

And i don't understand why don't you just make aob script for your value?

it's okay master? coz the adress dynamic ,keep changing
i'm so sorry master i never know ,before you teach me

thank you so much master ,you are very helpfull Very Happy
Back to top
View user's profile Send private message
Betcha
Expert Cheater
Reputation: 4

Joined: 13 Aug 2015
Posts: 232
Location: Somewhere In Space

PostPosted: Wed Aug 05, 2020 3:29 am    Post subject: Re: scan and replace aob Reply with quote

Make AOB script so you can do whatever with your value.
Back to top
View user's profile Send private message
vil33
Cheater
Reputation: 0

Joined: 29 Jul 2020
Posts: 34

PostPosted: Wed Aug 05, 2020 8:28 pm    Post subject: Re: scan and replace aob Reply with quote

Betcha wrote:
Make AOB script so you can do whatever with your value.

ok master, in case when i re login game the script no identify value, how identify the value master? or i must "add adress manually"?
Back to top
View user's profile Send private message
Betcha
Expert Cheater
Reputation: 4

Joined: 13 Aug 2015
Posts: 232
Location: Somewhere In Space

PostPosted: Thu Aug 06, 2020 1:11 am    Post subject: Re: scan and replace aob Reply with quote

vil33 wrote:
when i re login game the script no identify value, how identify the value master? or i must "add adress manually"?

It's pretty messy way to do it, but it answers your question:
Look what he does with his value in the video and repeat steps.
https://youtu.be/lN4FlZlEfb4?t=60 + https://youtu.be/5GQ6nOi9oQ0?t=198

Cheat Engine tutorial playlists:
Cheat The Game
Stephen Chapman
Back to top
View user's profile Send private message
vil33
Cheater
Reputation: 0

Joined: 29 Jul 2020
Posts: 34

PostPosted: Thu Aug 06, 2020 6:43 am    Post subject: Re: scan and replace aob Reply with quote

Betcha wrote:
vil33 wrote:
when i re login game the script no identify value, how identify the value master? or i must "add adress manually"?

It's pretty messy way to do it, but it answers your question:
Look what he does with his value in the video and repeat steps.

Cheat Engine tutorial playlists:

it's work for me master,my problem has solved because you
thank you for you time master ,sorry for disturbing your time
have a nice day Smile
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