CoolSome Others CF Classes

Posts 1–14 of 14 · Page 1 of 1
Some Others CF Classes
Falling Damage:

Code:
class PlayerFallInfo
{
public:
	float unknow0;
	float FallingDamage;
};
Shoot Trought Walls (i know, that isent much Usefull now).;

Code:
class MapWallInfo
{
public:
	char Jump01[1384];
	DWORD WallOff01;
	DWORD WallOff02;
	DWORD WallOff03;
        float unknow01;
	INT   TextureType;
};
How use ?

PlayerFallInfo:

Code:
DWORD dwCShell = (DWORD)GetModuleHandleA( "CShell.dll" );

PlayerFallInfo  *pPlayerFall = *(PlayerFallInfo **) ( ( dwCShell + FallMgr ) );

if( ValidPointer( pPlayerFall) )
{
      pPlayerFall->FallingDamage = 0.0f;
}
MapWallInfo:

Code:
DWORD dwCShell = (DWORD)GetModuleHandleA( "CShell.dll" );
DWORD dwWallMgr   = *(DWORD *)( dwCShell + Pointer );
MapWallInfo     *pSTW        = *(MapWallInfo  **)   ( ( dwCShell + Pointer  ) );

if( ValidPointer( pSTW ) )
{
	if( dwWallMgr != NULL )
		return;

	for(int w = 0; w < 99; w++)
	{
		*(bool*)( dwWallMgr /*you can use pSTW in dwWallMgr*/ + ( w * pSTW->TextureType ) + pSTW->WallOff01 ) = 1;
		*(bool*)( dwWallMgr /*you can use pSTW in dwWallMgr*/ + ( w * pSTW->TextureType ) + pSTW->WallOff02 ) = 1;
		*(bool*)( dwWallMgr /*you can use pSTW in dwWallMgr*/ + ( w * pSTW->TextureType ) + pSTW->WallOff03 ) = 1;
	}
}
ValidPointer Function:

Code:
bool ValidPointer(void* p)
{ 
	return !IsBadReadPtr(p, 4) && p;
}
You can Find Address for FallMgr searching String: DamagePerMeter in CShell.dll.
You can Find Address for WallMgr searching String: WallShotEnabled in CShell.dll.

Credits:

@gellin
@microsoft..
Me ?
Thanks My Bitch
1. Where's my credits?
2. Gellin doesn't hack crossfire.
3. Don't use IsBadReadPtr.
4. You need a better naming convention.
5. You're doing stw wrong, big time.
@~FALLEN~ Credits for you for ? you don't maked nothing in that.

I Get ValidPointer Function from Gellin Base when i hacking CA, idk who maked original function.
Quote Originally Posted by XarutoUsoCrack2 View Post
@~FALLEN~ Credits for you for ? you don't maked nothing in that.

I Get ValidPointer Function from Gellin Base when i hacking CA, idk who maked original function.
I posted shoot through walls years ago... Want me to link you to the thread?

Don't use it.. it's shit. Go look at what IsBadReadPtr does.. Gellin and I still make fun of that function to this day.
Quote Originally Posted by kmanev073 View Post
and brimir is laway
i know .
@XarutoUsoCrack2
why not using this?
Code:
MappWallInfo* wall(int i)
{
	return (MapWallInfo*)((DWORD)Pointer + (i * multiplier);
}

and then just loop through the shit and do it like that:
wall(i)->WallOff01 = true;
didnt test it but it should work lolz
and the class MappWallInfo should be a struct for this ...
Quote Originally Posted by XarutoUsoCrack View Post
Sorry guys, i really forget to Post credits for Person that created STW, but is much old this source, i really dunno who create this shit, please, reply saying who made that.

Ok thanks @giniyat101.
@~FALLEN~ Yea, this function really are a shit, IsBadReadPtr function (Windows)
bitch please

Quote Originally Posted by MSDN
Important This function is obsolete and should not be used. Despite its name, it does not guarantee that the pointer is valid or that the memory pointed to is safe to use. For more information, see Remarks on this page.
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us