| View previous topic :: View next topic |
| Author |
Message |
slippppppppp Grandmaster Cheater
Reputation: 0
Joined: 08 Aug 2006 Posts: 929
|
Posted: Mon Oct 01, 2007 8:30 pm Post subject: [C++] Scan |
|
|
In C++, how do i scan for values in a certain process, set a value for all the addresses found, and freeze them.
Please help me asap
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Mon Oct 01, 2007 10:51 pm Post subject: |
|
|
ReadProcessMemory
WriteProcessMemory
To freeze the value just make a timer that executes the code for WriteProcessMemory.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Tue Oct 02, 2007 2:32 am Post subject: |
|
|
No, first you should read it to see if its changed. No point in constantly writing a value if it doesnt change.
|
|
| Back to top |
|
 |
Cx Master Cheater
Reputation: 0
Joined: 27 Jul 2007 Posts: 367
|
Posted: Tue Oct 02, 2007 7:46 am Post subject: |
|
|
Noz, yeah, that's more efficient, but technically freezing is looping a poke.
_________________
armed with this small butterfly net
i will face the world alone
& never be lonely. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25821 Location: The netherlands
|
Posted: Tue Oct 02, 2007 7:56 am Post subject: |
|
|
Actually, readprocessmemory takes as long as writeprocessmemory
so first checking with readprocessmemory and then writing with writeprocessmemory will take twice the time
_________________
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 |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Tue Oct 02, 2007 3:07 pm Post subject: |
|
|
Well Dark Byte would you care to tell us how you froze values in Cheat Engine?
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
Potatoes Newbie cheater
Reputation: 0
Joined: 25 Sep 2007 Posts: 16
|
Posted: Tue Oct 02, 2007 3:37 pm Post subject: |
|
|
WPM.
_________________
I IS VOID |
|
| Back to top |
|
 |
Cx Master Cheater
Reputation: 0
Joined: 27 Jul 2007 Posts: 367
|
Posted: Tue Oct 02, 2007 5:31 pm Post subject: |
|
|
| Dark Byte wrote: | Actually, readprocessmemory takes as long as writeprocessmemory
so first checking with readprocessmemory and then writing with writeprocessmemory will take twice the time |
Fuck, duh. Slipped my mind.
_________________
armed with this small butterfly net
i will face the world alone
& never be lonely. |
|
| Back to top |
|
 |
TheSorc3r3r I post too much
Reputation: 0
Joined: 06 Sep 2006 Posts: 2404
|
Posted: Wed Oct 03, 2007 4:20 pm Post subject: |
|
|
Inject a DLL, hook the function that changes its value, and make it.. not change the value.
_________________
Don't laugh, I'm still learning photoshop! |
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Wed Oct 03, 2007 4:32 pm Post subject: |
|
|
| TheSorc3r3r wrote: | | Inject a DLL, hook the function that changes its value, and make it.. not change the value. |
Excentric..
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Thu Oct 04, 2007 1:43 am Post subject: |
|
|
| TheSorc3r3r wrote: | | Inject a DLL, hook the function that changes its value, and make it.. not change the value. |
Don't need to hook the function to achieve that effect Could do it by a simple cave to alter the code, or nopping out the instruction. Or if its a simple byte switch or enough bytes to make the change, a simple switch, something like dec to inc.
|
|
| Back to top |
|
 |
TheSorc3r3r I post too much
Reputation: 0
Joined: 06 Sep 2006 Posts: 2404
|
Posted: Thu Oct 04, 2007 5:28 pm Post subject: |
|
|
lol eccentricity FTW!
_________________
Don't laugh, I'm still learning photoshop! |
|
| Back to top |
|
 |
|