What's wrong with my code?

Posts 19 of 9 · Page 1 of 1
What's wrong with my code?
Code:
DWORD CShell = (DWORD)GetModuleHandleA(EncCShell);
DWORD pWallMgr = *(DWORD*)(CShell + WallMgr);

if(stw) //Shoot through wall
	if(pWallMgr)
	{
		Beep(520,100);
		for(int i = 0; i < 64; i++) //not sure
			if((pWallMgr + *(DWORD*)(i*TextureType)) != NULL)
			{
				*(bool*)(pWallMgr + *(DWORD*)(i*TextureType) + ShootThroughWall1) = true; //"EdgeShotEnabled"
				*(bool*)(pWallMgr + *(DWORD*)(i*TextureType) + ShootThroughWall2) = true; //"WallShotEnabled"
				*(bool*)(pWallMgr + *(DWORD*)(i*TextureType) + ShootThroughWall3) = true; //"PerfectWallShotEnabled"
			}
	}
It results in a crash.
for(int i = 0; i < 999; i++)

and witch addy you are using for TextureType and ShootThroughWall1/2/3 ?
Quote Originally Posted by Viscara View Post
This is CFPH btw.
#define WallMgr 0x0
#define TextureType 0x574
#define ShootThroughWall1 0x568
#define ShootThroughWall2 0x56C
#define ShootThroughWall3 0x570
WallMgr for CFPH is:
Code:
0xE6607C
Good luck
Quote Originally Posted by Ryuzaki2 View Post
WallMgr for CFPH is:
Code:
0xE6607C
it still crashes once i turn it on
Solved. Finally got it . This was a very tricky feature to make work. Although I still have to learn bypass Client Error.

@ryuzaki..
Thanks for the addy btw . Can I borrow your addy logger? (I just can't make the xtrap bypass method work)
Quote Originally Posted by Viscara View Post
Solved. Finally got it . This was a very tricky feature to make work. Although I still have to learn bypass Client Error.

@ryuzaki..
Thanks for the addy btw . Can I borrow your addy logger? (I just can't make the xtrap bypass method work)
Old xtrap bypass method still working fine here.. Just used UTAN's Addylogger 'coz that addylogger still accurate.

BTW, Just used another working injector for using old xtrap bypasser, 'coz some injector will not work, and inject it manually through login and CFPH will automatically exit to desktop on it's own.
@Viscara
You should of posted how you fixed it just incase someone has the same issue.
Saves people starting new threads.
It's very simple actually.
*(bool*)(pWallMgr + *(DWORD*)(i*TextureType) + ShootThroughWall1) = stw;
*(bool*)(pWallMgr + *(DWORD*)(i*TextureType) + ShootThroughWall2) = stw;
*(bool*)(pWallMgr + *(DWORD*)(i*TextureType) + ShootThroughWall3) = stw;

Simple code reusage.
Posts 19 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?