| View previous topic :: View next topic |
| Author |
Message |
silentus How do I cheat?
Reputation: 0
Joined: 07 Feb 2013 Posts: 9
|
Posted: Sun Mar 24, 2013 10:12 am Post subject: Could someone split the memory into 10 parts for me ? |
|
|
Hi !
I have no idea how to do this, im making a simple memory scanner in VB.NET to automatically search for a value of 8 Ball Pool guideline lenght and then change it, i already made it work but its searching very very long, how can i obtain a effect like cheat engine that it scans whole memory in just 10 seconds ?
Could someone split me 0x0 to 0x7FFFFFFF to 10 parts ? I have no idea how to do this, only how to split it into 2 parts D:
I will show you a example of what i mean on number "10"
First loop scans addresses 0-5
Second loop scans addresses 6-10
And both loops scan at same time, so its really faster.Could someone do the same with 0x0 to 0x7FFFFFFF 10 times for me ? Im pretty sure it would be a lot faster.
|
|
| Back to top |
|
 |
mdockz Cheater
Reputation: 0
Joined: 24 Feb 2013 Posts: 41
|
Posted: Sun Mar 24, 2013 10:31 am Post subject: |
|
|
well if you can do it like that.
Why not just make 10 loops?
0-1
1-2
2-3
...
..
.
9-10
|
|
| Back to top |
|
 |
TsTg Master Cheater
Reputation: 5
Joined: 12 Dec 2012 Posts: 340 Location: Somewhere....
|
Posted: Sun Mar 24, 2013 10:36 am Post subject: |
|
|
| You can try creating multiple scanners, each of them scans a certain area, AND EACH SCANNER IS ON IT'S OWN THREAD, this way the threads all working in parallel and at the same time, better than just one scanner that handles all the area.
|
|
| Back to top |
|
 |
silentus How do I cheat?
Reputation: 0
Joined: 07 Feb 2013 Posts: 9
|
Posted: Sun Mar 24, 2013 11:00 am Post subject: |
|
|
Yes i want to use 10 loops (scanners) that are working in BackgroundWorkers, but i need someone to help me "cutting" this memory I have no idea how to cut it to 10 groups,
|
|
| Back to top |
|
 |
mdockz Cheater
Reputation: 0
Joined: 24 Feb 2013 Posts: 41
|
Posted: Sun Mar 24, 2013 11:51 am Post subject: |
|
|
what do you mean. its simple math lol.
make one scanner go from 0x0040000 to 0x005FFFFF
then the next from 0x00600000 to 0x007FFFFF all the way until you get to 0x07FFFFFF
|
|
| Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Sun Mar 24, 2013 12:25 pm Post subject: |
|
|
If you use ReadProcessMemory to read your target's memory, increase the address where to look by 0x1000 (the minimum size of a memory page) each time ReadProcessMemory returns false (=error=there is no memory to read there).
You may think "Ok there is no memory at 0x12345000, but there might be something at 0x12345010", but the answer is no. Windows always allocates memory pages on addresses that are multiples of 0x1000 and with sizes that are multiples of 0x1000.
It is possible to change that behavior via a setting in the exe, but I've never seen a program use it.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25832 Location: The netherlands
|
Posted: Sun Mar 24, 2013 12:30 pm Post subject: |
|
|
VirtualQueryEx to find the memory regions to scan and then split that up into pieces
_________________
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 |
|
 |
|