| View previous topic :: View next topic |
| Author |
Message |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Mon Apr 14, 2008 6:33 pm Post subject: Final Question ~ Pointers |
|
|
How do I to use a pointer in C++, and change its value?
Also, I need a GGCRC bypass, right?
So is it possible to make it a dynamic pointer just like mouse fly? If so, how do I accomplish it? |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Mon Apr 14, 2008 7:18 pm Post subject: |
|
|
I'm guessing you mean how to deal with pointers in games rather than the actual concept of pointers in C++
ReadProcessMemory, get the value residing in the address you just read from.
Add the offset to it, repeat if necessary if there's multiple levels.
Profit. |
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Mon Apr 14, 2008 7:24 pm Post subject: |
|
|
Yea...Do u mind explaining a bit more? Or posting some code?
Also, do I need GGCRC BYpass?
P.S. You guessed the use. |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Mon Apr 14, 2008 8:06 pm Post subject: |
|
|
Using pointers in games is fun. There are so many thinks you can do. As slovach stated you can use ReadProcessMemory to get the value. But whats fun is, most people use WriteProcessMemory. But you don't need it. Just bring in a pointer. Assign an address and dereference the pointer. Then you don't need to make all those calls to kernel32.dll. _________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Mon Apr 14, 2008 8:25 pm Post subject: |
|
|
| SO what do I do exactly? |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Tue Apr 15, 2008 3:54 am Post subject: |
|
|
Check out my tutorial here for dealing with altering memory based on pointers instead of using WriteProcessMemory. Mind you this tutorial is for use with an injected DLL:
http://www.extalia.com/forums/viewtopic.php?f=60&t=2795 _________________
- Retired. |
|
| Back to top |
|
 |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Tue Apr 15, 2008 7:27 am Post subject: |
|
|
Omg, nice tutorial wiccan, im sure ive seen this before, but i got hella lot of the introduktion! i dont belive, that i actually understand some of that stuff O.o, as a difference to the French language, this actually makes sence...
Last edited by Anden100 on Tue Apr 15, 2008 9:03 am; edited 1 time in total |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Tue Apr 15, 2008 8:58 am Post subject: |
|
|
Yea, people try to explain and make it seem complicated, but it's really easy. _________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Tue Apr 15, 2008 10:29 am Post subject: |
|
|
Could you give me an example of a pointer that would work in ms?
I already know how too hook to the process and such, I just need some code that I can modify/use for my own puropse..
So can you please post an example code that I can modify? It would help me a lot. |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Tue Apr 15, 2008 4:39 pm Post subject: |
|
|
| kitterz wrote: | Could you give me an example of a pointer that would work in ms?
I already know how too hook to the process and such, I just need some code that I can modify/use for my own purpose
So can you please post an example code that I can modify? It would help me a lot. |
Lol. Seriously, just look at Wiccaan's code and edit that. Change address being pointed to. And change value being assigned. I.e. point to address that holds HP. Assign a value of 10,000. (MS has a lot of HP if I remember) _________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
|