How to use classes

Posts 1–10 of 10 · Page 1 of 1
How to use classes
First you reverse a class:

Code:
class _BasicPlayerInfo {
public:
	float BasicPlayerInfoType; 
	float MovementWalkRate; 
	float MovementDuckWalkRate; 
	float MovementSideMoveRate;  
	float MovementFBRunAnimRate;  
	float MovementLRRunAnimRate; 
	float MovementFBWalkAnimRate; 
	float MovementLRWalkAnimRate; 
	float MovementAccelation;  
	float MovementFriction;
	float JumpTime;
	float JumpVelocity;
	float JumpLandedWaitTime;
	float JumpLandedNoJumpTimeRate;
	float JumpRepeatPenaltyMoveRate; 
	float JumpRepeatPenaltyHeightRate;
	float JumpLandedMovePenaltyTimeRate;
	float JumpLandedMovePenaltyMoveRate;
	float PVPosDefault; //Unknown
	float PVRotationDefault1; //Unknown
	float PVRotationDefault2; //Unknown
	float PVRotationDefault3; //Unknown
	float PVModelFOV1; //Unknown
	float PVModelFOV2; //Unknown
	float PVModelFOV3; //Unknown
	float PVModelAspect; //Unknown
	float PVOnlyMoveFlipTime; //Unknown
	float PVOnlyMoveGap; //Unknown
	float DamagePenaltyTime;
	float DamagePenaltyMoveRate;
	float C4PlantTime;
	float C4DefuseTime;
	float MaxCanDefuseDistance;
	float CharacterHiddenAlpha;
	float CharacterHiddenWalkAlpha;
	float CharacterHiddenRunAlpha;
	float MovementHiddenRate;
	DWORD CrossHairColor;
	float CrossHairRedChangeRate;
	float CrossHairGreenChangeRate;
	float CrossHairBlueChangeRate;
};
Make every thing public so you can change it!

Find the class pointer:

Code:
0x9FF160
Load cshell:
Code:
DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll" );
Make that class "point to " our class:

Code:
_BasicPlayerInfo  * BasicPlayerInfo = *(_BasicPlayerInfo ** )(cshell + 0x9FF160);
Do your hacks like you change a normal class:
Code:
if(BasicPlayerInfo) {
		BasicPlayerInfo->MovementHiddenRate = 300.0f; //Ghost visabilety
		BasicPlayerInfo->CharacterHiddenAlpha = 300.0f; //Ghost visabilety 
		BasicPlayerInfo->CharacterHiddenRunAlpha = 300.0f; //Ghost visabilety
		BasicPlayerInfo->CharacterHiddenWalkAlpha = 300.0f; //Ghost visabilety
		BasicPlayerInfo->MovementFriction = 20000.0f; //Speed hack 
		BasicPlayerInfo->MovementAccelation = 6000.0f; //Speed hack
		BasicPlayerInfo->MovementWalkRate = 6000.0f; //Speed hack
		BasicPlayerInfo->MovementDuckWalkRate = 1.0f; //crouch speed
		//BasicPlayerInfo->MovementSideMoveRate = 50.0f; //Door map buggen
	}
Done
OMFG! This tut is one of the best! Thanks Brimir!

Can you use this for memory hacking?
omg three releases the same hour lolz
and MovmentHiddenRate is not for see ghost..
Quote Originally Posted by giniyat101 View Post
omg three releases the same hour lolz
and MovmentHiddenRate is not for see ghost..
yea there are only 3 offsets for see ghost i think
It is for mem hacks.

MovmentHiddenRate is indeed alway's full
Nice Info... Tnx buddy!!!
Make Videos....
nice one man, tut's will help us all alot!
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us