View previous topic :: View next topic |
Author |
Message |
Creepz Newbie cheater
Reputation: 0
Joined: 24 Apr 2015 Posts: 18
|
Posted: Sat Apr 25, 2015 12:52 pm Post subject: Is there anyway to make this faster? |
|
|
I followed Rydian's tutorial on Modern Pointers + AOB To Data & I found out how to AA but he didn't mention how to add 2 or more on the same one script.
This is what he gave as an example
Code: | [ENABLE]
aobscan(player, A8 1E ?? 0? 00 00 00 00 00 00 00 00 28 12 ?? ?? 00 00 00 00 8F 00 00 00 56 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00)
label(_player)
registersymbol(_player)
player:
_player:
[DISABLE]
unregistersymbol(_player) |
I experimented & got this with the second value which is player2
Code: | [ENABLE]
aobscan(player, A8 1E ?? 0? 00 00 00 00 00 00 00 00 28 12 ?? ?? 00 00 00 00 8F 00 00 00 56 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00)
label(_player)
registersymbol(_player)
aobscan(player2, A8 1E ?? 0? 00 00 00 00 00 00 00 00 28 12 ?? ?? 00 00 00 00 8F 00 00 00 56 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00)
label(_player2)
registersymbol(_player2)
player:
_player:
player2:
_player2:
[DISABLE]
unregistersymbol(_player)
unregistersymbol(_player2) |
I have about 16 other values that I need to put & I was wondering if there is a way to make it shorter or maybe faster because it takes about 4 minutes to find all 16 other values.
If there is a way to make it faster or shorter please show me & also give me a link or something to where I can get an idea to start on all this. Sometimes it's not really about searching for an answer if you don't know what to ask. Thank you!
|
|
Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
Posted: Sat Apr 25, 2015 1:33 pm Post subject: |
|
|
My eyes are maybe not so good as they once were, but it appears to me that the two scripts aobscans you've shown above are identical. I am a little surprised that they don't both point to the same location.
You might be able to shorten the scan time if you can scope the searches to a module w/ aobscanmodule. Also, combine as many of your scripts that do scans as possible. CE's auto-assembler (I believe) will combine them in such a way as to only search through memory once to find all of them.
Your fastest performing option, of course, will be to reduce the need to do so many scans. To wit, you can try finding suitable code-points to capture or look for structures that contain all your pointers together, etc.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
Back to top |
|
 |
Creepz Newbie cheater
Reputation: 0
Joined: 24 Apr 2015 Posts: 18
|
Posted: Sat Apr 25, 2015 1:40 pm Post subject: |
|
|
justa_dude wrote: | My eyes are maybe not so good as they once were, but it appears to me that the two scripts aobscans you've shown above are identical. I am a little surprised that they don't both point to the same location.
You might be able to shorten the scan time if you can scope the searches to a module w/ aobscanmodule. Also, combine as many of your scripts that do scans as possible. CE's auto-assembler (I believe) will combine them in such a way as to only search through memory once to find all of them.
Your fastest performing option, of course, will be to reduce the need to do so many scans. To wit, you can try finding suitable code-points to capture or look for structures that contain all your pointers together, etc. |
Yes they are identical I was just showing an example of the script.
Not to be mean or anything but I have no clue what you just told me on the 2nd paragraph, I've looked around but don't know where to start learning all this cool stuff & maybe you can point me to the right direction.
I have tried to find the pointers to all of my values but I can't seem to get them or maybe I am doing it wrong.
|
|
Back to top |
|
 |
vng21092 Grandmaster Cheater
Reputation: 15
Joined: 05 Apr 2013 Posts: 644
|
Posted: Sat Apr 25, 2015 1:50 pm Post subject: |
|
|
justa_dude wrote: | Also, combine as many of your scripts that do scans as possible. | Isn't this sort of bad practice? I'm only saying this because that's what I use to do, and then I noticed how hard it was to troubleshoot if just ONE of them didn't work, as the list gets larger it becomes more difficult to pinpoint the one not being found, and if one doesn't work the whole list wouldn't work. Just a thought
|
|
Back to top |
|
 |
Creepz Newbie cheater
Reputation: 0
Joined: 24 Apr 2015 Posts: 18
|
Posted: Sat Apr 25, 2015 1:55 pm Post subject: |
|
|
Right that's what I was thinking but I can maybe add another list with each value on it's own incase something like that happens.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Sat Apr 25, 2015 2:50 pm Post subject: |
|
|
for speed, it's best practice to put all aobscans inside one script as that will cause ce to group them into a single scan.
ce will then only have to scan the memory one time, instead of having to start from the bevinning for every entry
also, just execute the script in the aa window. It will popup an error saying which one failed to be found
_________________
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 |
|
 |
vng21092 Grandmaster Cheater
Reputation: 15
Joined: 05 Apr 2013 Posts: 644
|
Posted: Sat Apr 25, 2015 3:16 pm Post subject: |
|
|
hmm I didn't know that, I should try it, however, if you execute a script in the aa window, is it possible to de-activate it?
|
|
Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
Posted: Sat Apr 25, 2015 3:42 pm Post subject: |
|
|
vng21092 wrote: | hmm I didn't know that, I should try it, however, if you execute a script in the aa window, is it possible to de-activate it? |
If you know it's going to fail, it's not an issue.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
Back to top |
|
 |
Creepz Newbie cheater
Reputation: 0
Joined: 24 Apr 2015 Posts: 18
|
Posted: Sat Apr 25, 2015 3:49 pm Post subject: |
|
|
Dark Byte wrote: | for speed, it's best practice to put all aobscans inside one script as that will cause ce to group them into a single scan.
ce will then only have to scan the memory one time, instead of having to start from the bevinning for every entry
also, just execute the script in the aa window. It will popup an error saying which one failed to be found |
Ok great thanks! Now did I write the second code correct or is there a shorter way to write multiple names on the same script?
Last edited by Creepz on Sat Apr 25, 2015 5:01 pm; edited 1 time in total |
|
Back to top |
|
 |
|