View previous topic :: View next topic |
Author |
Message |
WhiteFury How do I cheat? Reputation: 0
Joined: 31 Mar 2014 Posts: 4 Location: Lonely Island
|
Posted: Mon Mar 31, 2014 6:37 am Post subject: Im new here + a little question. |
|
|
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 |
|
|
Gniarf Grandmaster Cheater Supreme Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Mon Mar 31, 2014 11:03 am Post subject: Re: Im new here + a little question. |
|
|
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 |
|
|
WhiteFury How do I cheat? Reputation: 0
Joined: 31 Mar 2014 Posts: 4 Location: Lonely Island
|
Posted: Mon Mar 31, 2014 1:49 pm Post subject: Re: Im new here + a little question. |
|
|
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 |
|
|
Gniarf Grandmaster Cheater Supreme Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Mon Mar 31, 2014 2:55 pm Post subject: |
|
|
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 |
|
|
WhiteFury How do I cheat? Reputation: 0
Joined: 31 Mar 2014 Posts: 4 Location: Lonely Island
|
|
Back to top |
|
|
Gniarf Grandmaster Cheater Supreme Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Tue Apr 01, 2014 7:37 am Post subject: |
|
|
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 |
|
|
WhiteFury How do I cheat? Reputation: 0
Joined: 31 Mar 2014 Posts: 4 Location: Lonely Island
|
Posted: Tue Apr 01, 2014 8:11 am Post subject: |
|
|
cool what wrong have i done here
(look at the attached picture)
Description: |
|
Filesize: |
60.82 KB |
Viewed: |
10859 Time(s) |
|
_________________
Started from the bottom now im here -_-
(Im not worth to have an avatar ;((( ) |
|
Back to top |
|
|
Gniarf Grandmaster Cheater Supreme Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Tue Apr 01, 2014 8:24 am Post subject: |
|
|
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 |
|
|
WhiteFury How do I cheat? Reputation: 0
Joined: 31 Mar 2014 Posts: 4 Location: Lonely Island
|
Posted: Tue Apr 01, 2014 2:25 pm Post subject: |
|
|
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 |
|
|
Gniarf Grandmaster Cheater Supreme Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Tue Apr 01, 2014 9:36 pm Post subject: |
|
|
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.
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 |
|
|
|