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 


Could someone split the memory into 10 parts for me ?

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

Joined: 07 Feb 2013
Posts: 9

PostPosted: Sun Mar 24, 2013 10:12 am    Post subject: Could someone split the memory into 10 parts for me ? Reply with quote

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 ? Very Happy Im pretty sure it would be a lot faster.
Back to top
View user's profile Send private message
mdockz
Cheater
Reputation: 0

Joined: 24 Feb 2013
Posts: 41

PostPosted: Sun Mar 24, 2013 10:31 am    Post subject: Reply with quote

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
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Sun Mar 24, 2013 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
silentus
How do I cheat?
Reputation: 0

Joined: 07 Feb 2013
Posts: 9

PostPosted: Sun Mar 24, 2013 11:00 am    Post subject: Reply with quote

Yes i want to use 10 loops (scanners) that are working in BackgroundWorkers, but i need someone to help me "cutting" this memory Very Happy I have no idea how to cut it to 10 groups,
Back to top
View user's profile Send private message
mdockz
Cheater
Reputation: 0

Joined: 24 Feb 2013
Posts: 41

PostPosted: Sun Mar 24, 2013 11:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Sun Mar 24, 2013 12:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Mar 24, 2013 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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