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 


Im new here + a little question.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
WhiteFury
How do I cheat?
Reputation: 0

Joined: 31 Mar 2014
Posts: 4
Location: Lonely Island

PostPosted: Mon Mar 31, 2014 6:37 am    Post subject: Im new here + a little question. Reply with quote

Hi guys im completely new at this forum,let me introduct myself.
My name is Vilius i use WhiteFury as my nickname,got it cuz im like White and... oh ok nvm..
Well lately i've been messing around with auto assemble what i use it for is making a cheat table,for example making it skan and replace code.
This is the template im using right now:

[ENABLE]

AoBscan(_GiveANamePlease,00 00 00 00)
label(GiveANamePlease)
registersymbol(GiveANamePlease)
_GiveANamePlease:
GiveANamePlease:
db 00 00 00 00

[DISABLE]

GiveANamePlease:
db 00 00 00 00

My problem is,that this template only scans and grabs the FIRST result.
Can anyone help me how to remake it so it grabs ALL the values and replaces em?

Sorry for my poor english,regards.

- Fury

_________________
Started from the bottom now im here -_-
(Im not worth to have an avatar ;((( )
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Mon Mar 31, 2014 11:03 am    Post subject: Re: Im new here + a little question. Reply with quote

WhiteFury wrote:
Can anyone help me how to remake it so it grabs ALL the values and replaces em?
In auto assembler, let's says that it's impossible (you'd need to rewrite the aobscan function in assembly and make the game scan itself).

In lua script, it's there: http://forum.cheatengine.org/viewtopic.php?p=5524847

_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
WhiteFury
How do I cheat?
Reputation: 0

Joined: 31 Mar 2014
Posts: 4
Location: Lonely Island

PostPosted: Mon Mar 31, 2014 1:49 pm    Post subject: Re: Im new here + a little question. Reply with quote

I dont really get it,im very new
_________________
Started from the bottom now im here -_-
(Im not worth to have an avatar ;((( )
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Mon Mar 31, 2014 2:55 pm    Post subject: Reply with quote

Please be more specific, what did you not understand?
_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
WhiteFury
How do I cheat?
Reputation: 0

Joined: 31 Mar 2014
Posts: 4
Location: Lonely Island

PostPosted: Tue Apr 01, 2014 6:31 am    Post subject: Reply with quote

Gniarf wrote:
Please be more specific, what did you not understand?

Im used to auto assembler Smile
Where do i use (put) this thing in? (thats what she said)
(Sorry for my stupidity in hacking Razz)

_________________
Started from the bottom now im here -_-
(Im not worth to have an avatar ;((( )
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Tue Apr 01, 2014 7:37 am    Post subject: Reply with quote

lua scripts are to be pasted in the cheat table's lua script (main menu->table->show cheat table lua script) for regular use, or in the lua engine (memory view->tools->lua engine) for debugging/testing purposes.

For mgr.inz.Player's aobswap you'll want to put the function in the cheat table's lua script (don't forget to execute it) and then create an auto assembler script that will call the lua function for the convenience of having a togglable entry in your cheat table.

Example AA script to call a lua function:
Code:
[enable]
luacall(AOBSwap('00 01 01 02 FE FF 02 01 00', '00 01 01 02 AA BB 02 01 00'))

[disable]


Notes on the "local aobs = AOBScan(aobIn, '+W*X-C', 1, '4')" line:
This scanner is configured to scan for data/variables (because of '+W*X-C') instead of code (it would be '+X') and will only return AOBs that are found at an address that ends with 0, 4, 8, or C = is a multiple of 4 (because of the ", 1, '4'" part, remove it to get all matches).

For more information, consult main.lua in your cheat engine directory (it has 3 matches for "AOBScan", look for the 3rd).

_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
WhiteFury
How do I cheat?
Reputation: 0

Joined: 31 Mar 2014
Posts: 4
Location: Lonely Island

PostPosted: Tue Apr 01, 2014 8:11 am    Post subject: Reply with quote

cool Smile what wrong have i done here
(look at the attached picture)



7RYtn.png
 Description:
something gone wrong :P
 Filesize:  60.82 KB
 Viewed:  10859 Time(s)

7RYtn.png



_________________
Started from the bottom now im here -_-
(Im not worth to have an avatar ;((( )
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Tue Apr 01, 2014 8:24 am    Post subject: Reply with quote

Either you have not pasted mgr.inz.Player's code in the cheat table's lua script (from "function AOBSwap" to the end) or you have not pressed the "execute" button.
_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
WhiteFury
How do I cheat?
Reputation: 0

Joined: 31 Mar 2014
Posts: 4
Location: Lonely Island

PostPosted: Tue Apr 01, 2014 2:25 pm    Post subject: Reply with quote

Gniarf wrote:
Either you have not pasted mgr.inz.Player's code in the cheat table's lua script (from "function AOBSwap" to the end) or you have not pressed the "execute" button.

I copied the lua script replaced aobin and aobout with codes.
but it says error

_________________
Started from the bottom now im here -_-
(Im not worth to have an avatar ;((( )
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Tue Apr 01, 2014 9:36 pm    Post subject: Reply with quote

WhiteFury wrote:
I [...] replaced aobin and aobout with codes.
You shouldn't. The only place where you have to modify stuff is on this line:
Code:
luacall(AOBSwap('00 01 01 02 FE FF 02 01 00', '00 01 01 02 AA BB 02 01 00'))
Where you'll want to replace "00 01 01 02 FE FF 02 01 00" (what's looked for) and "00 01 01 02 AA BB 02 01 00" (what it's replaced with).


On second thought: fuck it, take the table below, see what should be pasted where, and what should or shouldn't be modified, it'll be faster.



test.CT
 Description:

Download
 Filename:  test.CT
 Filesize:  1.22 KB
 Downloaded:  610 Time(s)


_________________
DO NOT PM me if you want help on making/fixing/using a hack.
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