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 


Advanced aobscan?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Wed Nov 16, 2016 12:50 pm    Post subject: Advanced aobscan? Reply with quote

I will use an example to better express my question:

1. The user will input a value, such as the integer 1000.

2. Then in the aobscan, I want to use that value (1000) as part of the pattern as in the following picture:


But I am having problem on step 2. Sad



Capture.JPG
 Description:
 Filesize:  18.3 KB
 Viewed:  4258 Time(s)

Capture.JPG



_________________
**************

A simple example is better then ten links. Very Happy
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Nov 16, 2016 12:52 pm    Post subject: Reply with quote

Are you sure that this approach is necessary?
Back to top
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Wed Nov 16, 2016 12:56 pm    Post subject: Reply with quote

++METHOS wrote:
Are you sure that this approach is necessary?


I think it's 90% necessary, I am not 100% sure though.

I just want to know, is this possible?

Edit:
The game that I am trying to hack is football manager, and I am dealing with the array that stores the data of each team. I want the user to specify which team's data to be pulled out from the array. And that's why I want to aobscan this way.

_________________
**************

A simple example is better then ten links. Very Happy


Last edited by Dr.Disrespect on Wed Nov 16, 2016 1:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Nov 16, 2016 1:00 pm    Post subject: Reply with quote

With LUA, I think it should be possible. But, I would be curious to know why you think that it is necessary.

EDIT:
I just saw your edit. If that is the case, why not just provide them all?
Back to top
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Wed Nov 16, 2016 1:02 pm    Post subject: Reply with quote

++METHOS wrote:
With LUA, I think it should be possible. But, I would be curious to know why you think that it is necessary.


I just updated my post above with more information. Smile

_________________
**************

A simple example is better then ten links. Very Happy
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Nov 16, 2016 1:05 pm    Post subject: Reply with quote

Yes, but I still do not understand. Is there s separate array for each team? If so, having all of the data available to the user would be best, so that no input is required on their part. Not only that, but unless you convert the data, you will need to explain to the user which hex values to use for each team and so forth - assuming that I am understanding you even a little.
Back to top
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Wed Nov 16, 2016 1:18 pm    Post subject: Reply with quote

++METHOS wrote:
Yes, but I still do not understand. Is there s separate array for each team? If so, having all of the data available to the user would be best, so that no input is required on their part. Not only that, but unless you convert the data, you will need to explain to the user which hex values to use for each team and so forth - assuming that I am understanding you even a little.


I think you understand me correctly. I have not found the first team (index) in that array (just one array), but I think your suggestion is good, which is having all of the data available to the user.

Anyway, I will try to figure it out. Thanks, ++METHOS. Smile

BTW, is the person in your avatar Messi, from Barcelona? I wanted to ask you a long time ago, LOL.

_________________
**************

A simple example is better then ten links. Very Happy
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Nov 16, 2016 1:24 pm    Post subject: Reply with quote

No.
Back to top
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Wed Nov 16, 2016 1:32 pm    Post subject: Reply with quote

++METHOS wrote:
No.


Thanks.

_________________
**************

A simple example is better then ten links. Very Happy
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Nov 16, 2016 1:38 pm    Post subject: Reply with quote

lol

It's Methos from Highlander.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4702

PostPosted: Wed Nov 16, 2016 2:52 pm    Post subject: Reply with quote

I dunno if you could do that with pure AA, but here's a Lua solution.
Code:
[ENABLE]
{$lua}
local number = 1000  -- don't know how you want the user to input the value
return string.format('aobscanmodule(INJECT,game.exe,8D 52 02 88 01 8D 49 01 %02X %02X)', number & 0xff, number >> 8 & 0xff)
{$asm}
alloc(newmem,$1000)
...

(The 2 wildcards at the end of the signature were removed because they're pointless)

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Nov 16, 2016 5:47 pm    Post subject: Reply with quote

Code:
local number = inputQuery("Team Number", "Enter your team number:", 1000)
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