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 


Aobscan help

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

Joined: 09 Mar 2012
Posts: 15

PostPosted: Fri Mar 09, 2012 7:41 pm    Post subject: Aobscan help Reply with quote

I do this:
AOBScan(4f,ce,2f,02)

But I get an error saying:

[string "AOBScan(4f,ce,2f,02)..."]:1: malformed number near '4f'

I'm a noob help please Crying or Very sad No matter how I try to aob scan I get this error.

I just want to scan either an exe file or plugin container for this aob.

Also after scanning it I want it to change it.

I want to make a trainer for that aob but I tried and idk how.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Fri Mar 09, 2012 8:21 pm    Post subject: Reply with quote

Use a string instead:

Code:
AOBScan( "4F CE 2F 02" );


If you want to use the number values either use them in their decimal form, or use 0x to note they are hex, like this:

Code:
AOBScan( 0x4F, 0xCE, 0x2F, 0x02 );

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
FHStudios
Newbie cheater
Reputation: 0

Joined: 09 Mar 2012
Posts: 15

PostPosted: Fri Mar 09, 2012 8:26 pm    Post subject: Reply with quote

Wiccaan wrote:
Use a string instead:

Code:
AOBScan( "4F CE 2F 02" );


If you want to use the number values either use them in their decimal form, or use 0x to note they are hex, like this:

Code:
AOBScan( 0x4F, 0xCE, 0x2F, 0x02 );


Thanks that helped a lot. Now I just need to figure out how to change them :3
Back to top
View user's profile Send private message
FHStudios
Newbie cheater
Reputation: 0

Joined: 09 Mar 2012
Posts: 15

PostPosted: Sun Mar 11, 2012 5:28 pm    Post subject: Reply with quote

Can someone help me with the code to change the aob x.x
I can't find any code that tells it to change the aob.. I'm so noobish help me x.x
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Sun Mar 11, 2012 5:38 pm    Post subject: Reply with quote

rawr153 wrote:
Can someone help me with the code to change the aob x.x
I can't find any code that tells it to change the aob.. I'm so noobish help me x.x


What are you trying to do?

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
FHStudios
Newbie cheater
Reputation: 0

Joined: 09 Mar 2012
Posts: 15

PostPosted: Sun Mar 11, 2012 5:54 pm    Post subject: Reply with quote

Wiccaan wrote:
rawr153 wrote:
Can someone help me with the code to change the aob x.x
I can't find any code that tells it to change the aob.. I'm so noobish help me x.x


What are you trying to do?


Simply trying to change the aob 4f ce 2f 02 to 4f 02 02 02, trying to make a trainer.
Back to top
View user's profile Send private message
Freiza
Grandmaster Cheater
Reputation: 22

Joined: 28 Jun 2010
Posts: 662

PostPosted: Mon Mar 12, 2012 6:25 pm    Post subject: Reply with quote

Code:
stringlist=AOBScan( "4f ce 2f 02" );
firststring = strings_getString(stringlist, 0); 
autoAssemble(firststring..":\n"..
"db 4f 02 02 02");

_________________
Back to top
View user's profile Send private message Send e-mail
tcho67
How do I cheat?
Reputation: 0

Joined: 23 Mar 2012
Posts: 7

PostPosted: Wed Mar 28, 2012 8:49 am    Post subject: Reply with quote

Freiza wrote:
Code:
stringlist=AOBScan( "4f ce 2f 02" );
firststring = strings_getString(stringlist, 0); 
autoAssemble(firststring..":\n"..
"db 4f 02 02 02");


I thank you adapt the code for me so it gives this example:
stringlist AOBScan = ("CD DC DC DC DC DC DC 3F");
= firststring strings_getString (stringlist, 0);
self-assembles (firststring.. ": \ n" ..
"db 9A 99 99 99 99 99 E9 3F");
So it gives me one of his chechbox:
CECheckbox1Enter function (sender)
stringlist AOBScan = ("A3 6E 01 2F BC May 52 3F");
= firststring strings_getString (stringlist, 0);
self-assembles (firststring.. ": \ n" ..
"db 00 00 00 00 00 00 00 00");
end
I record and I test it but when I walked my 2 times but otherwise the code like this:

CECheckbox1Enter function (sender)
stringlist AOBScan = ("A3 6E 01 2F BC May 52 3F");
= firststring strings_getString (stringlist, 0);
self-assembles (firststring.. ": \ n" ..
"db 00 00 00 00 00 00 00 00");
end

CECheckbox2Enter function (sender)
stringlist AOBScan = ("CD DC DC DC DC DC DC 3F");
= firststring strings_getString (stringlist, 0);
self-assembles (firststring.. ": \ n" ..
"db 9A 99 99 99 99 99 E9 3F");
end

I record the trainer and when I want to hang opens nothing happens helped me
Back to top
View user's profile Send private message
Freiza
Grandmaster Cheater
Reputation: 22

Joined: 28 Jun 2010
Posts: 662

PostPosted: Wed Mar 28, 2012 4:21 pm    Post subject: Reply with quote

What is this?
Code:
= firststring strings_getString (stringlist, 0);


I think it should be.
Code:
firststring = strings_getString (stringlist, 0);



And
self-assembles should be autoAssemble.

And this code won't do anything meaningful.
Code:
CECheckbox1Enter function (sender)
stringlist AOBScan = ("A3 6E 01 2F BC May 52 3F");
= firststring strings_getString (stringlist, 0);
self-assembles (firststring.. ": \ n" ..
"db 00 00 00 00 00 00 00 00");
end


Btw, Which game are you trying to hack? Please give us more info. And why are you not using my code that I gave it to you.

_________________
Back to top
View user's profile Send private message Send e-mail
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Wed Mar 28, 2012 4:25 pm    Post subject: Reply with quote

tip when making a trainer: Never start with .EXE's. First make .CT's with the trainercode
_________________
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
Freiza
Grandmaster Cheater
Reputation: 22

Joined: 28 Jun 2010
Posts: 662

PostPosted: Wed Mar 28, 2012 4:39 pm    Post subject: Reply with quote

I don't understand why he is writing his code in Little Endian style.
_________________
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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