| View previous topic :: View next topic |
| Author |
Message |
rantenor How do I cheat?
Reputation: 0
Joined: 10 Oct 2012 Posts: 2 Location: sdfd
|
Posted: Wed Oct 10, 2012 7:15 am Post subject: help with pointer in C++ |
|
|
Hi Folks,
I have this static memory address. Using CE, CE finds the value pointed by the address. However using my C++ code, it returns zero. Weird because I have multiple addresses that I read and they return values fine. Only this one address I cannot read.
this address should point to another address. I tried all the datatypes. I have other multilevel pointers and I can read them all in my code. But why this one, I can't.
Please help. Does it have something to a memory region that cannot be read. However, why CE can read it? Have anyone experienced it?
Any help will be appreciated much _________________
Thanks |
|
| Back to top |
|
 |
Obitio Advanced Cheater
Reputation: 0
Joined: 09 Apr 2012 Posts: 68 Location: null
|
Posted: Thu Oct 11, 2012 4:07 pm Post subject: |
|
|
Post the working Cheat Engine Pointer & your c++ code you used here.I'll see if I can help you. _________________
Gamer |
|
| Back to top |
|
 |
rantenor How do I cheat?
Reputation: 0
Joined: 10 Oct 2012 Posts: 2 Location: sdfd
|
Posted: Fri Oct 12, 2012 6:03 am Post subject: |
|
|
| sasue11 wrote: | | Post the working Cheat Engine Pointer & your c++ code you used here.I'll see if I can help you. |
| Code: |
f (GetKeyState(VK_F12) < 0) // Turn On
{
DWORD WH_StartA = *(DWORD*)0x107BF90;
fprintf(stdout, "WAll hack addressA %X \n", WH_StartA)
DWORD WH_StartB = WH_StartA + 0x40814;
for(tempPtr = WH_StartB; tempPtr<= WH_StartB + 0x40000; tempPtr++)
{
*(DWORD*)tempPtr = 0;
}
|
WH_StartA returns 0. It should return 0x03****20. When I use CE without GameGuard(GG), it reads the desired value . Please note that I am at the same process as the game and GG is running when I inject this dll. Can GG locks this portion of memory for reading. This is like a stationary memory that game does not need to access from time to time so I think the GG can change protect it? Hope I'm wrong. Please help _________________
Thanks |
|
| Back to top |
|
 |
Obitio Advanced Cheater
Reputation: 0
Joined: 09 Apr 2012 Posts: 68 Location: null
|
Posted: Mon Oct 15, 2012 5:07 pm Post subject: |
|
|
| rantenor wrote: | | sasue11 wrote: | | Post the working Cheat Engine Pointer & your c++ code you used here.I'll see if I can help you. |
| Code: |
f (GetKeyState(VK_F12) < 0) // Turn On
{
DWORD WH_StartA = *(DWORD*)0x107BF90;
fprintf(stdout, "WAll hack addressA %X \n", WH_StartA)
DWORD WH_StartB = WH_StartA + 0x40814;
for(tempPtr = WH_StartB; tempPtr<= WH_StartB + 0x40000; tempPtr++)
{
*(DWORD*)tempPtr = 0;
}
|
WH_StartA returns 0. It should return 0x03****20. When I use CE without GameGuard(GG), it reads the desired value . Please note that I am at the same process as the game and GG is running when I inject this dll. Can GG locks this portion of memory for reading. This is like a stationary memory that game does not need to access from time to time so I think the GG can change protect it? Hope I'm wrong. Please help |
hmm...well try injecting without GG and see if it works.I don't think the cause is GG so also check and make sure the pointer is valid at the time you inject it.And are you sure 107BF90 is the correct addy?Cause the game I play has any addies within the range of about 06000000-19000000 change everytime I restart.
EDIT:
Make sure you put in the pointer correctly.That might also be the cause of the error. _________________
Gamer |
|
| Back to top |
|
 |
|