QuestionMemory Hack base Using Classes Help I Don't Get It

Posts 1–11 of 11 · Page 1 of 1
Memory Hack base Using Classes Help I Don't Get It
Hi dudes,
I finished my first base but it is fuc**n long work to find all the addys so i need to use classes. I thonk that if I use classes i don't need addys right ?
And i tried Brimir's tut but i don't get it. So what should i do?

in the .h file
Code:
class _BasicPlayerInfo 
{
public:
	float MovementDuckWalkRate; 	
};


and


in the .cpp file
Code:
DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll" );
_BasicPlayerInfo  * BasicPlayerInfo = *(_BasicPlayerInfo ** )(cshell + 0xA021F8);
if(BasicPlayerInfo) 
{
		BasicPlayerInfo->MovementDuckWalkRate = 1.0f; //crouch speed
}


BTW @Brimir in your tut for classes you have written "Door map buggen" what is this ?
Quote Originally Posted by kmanev073 View Post
Hi dudes,
I finished my first base but it is fuc**n long work to find all the addys so i need to use classes. I thonk that if I use classes i don't need addys right ?
And i tried Brimir's tut but i don't get it. So what should i do?

in the .h file
Code:
class _BasicPlayerInfo 
{
public:
	float MovementDuckWalkRate; 	
};


and


in the .cpp file
Code:
DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll" );
_BasicPlayerInfo  * BasicPlayerInfo = *(_BasicPlayerInfo ** )(cshell + 0xA021F8);
if(BasicPlayerInfo) 
{
		BasicPlayerInfo->MovementDuckWalkRate = 1.0f; //crouch speed
}


BTW @Brimir in your tut for classes you have written "Door map buggen" what is this ?
Whaha, door map buggen is netherlands xd
Quote Originally Posted by Swag View Post
Whaha, door map buggen is netherlands xd
haha (a)

That was dutch :P

Quote Originally Posted by kmanev073 View Post
then what it means and tell me how to make the base with classes ?
Make a class, point the class address from crossfire to that class. Done.
then what it means and tell me how to make the base with classes ?
hey i might try this class idea... looks good.

would this work:
Code:
class _WeaponClass
{
    public:
        float ReloadAnimRatio;
}

void hack()
{
    //All the loading CShell stuff here
    _BasicPlayerInfo  * BasicPlayerInfo = *(_BasicPlayerInfo ** )(cshell + 0xA68F80);
    _WeaponClass->ReloadAnimRatio = 100.0f;
}
Quote Originally Posted by _corn_ View Post
hey i might try this class idea... looks good.

would this work:
Code:
class _WeaponClass
{
    public:
        float ReloadAnimRatio;
}

void hack()
{
    //All the loading CShell stuff here
    _BasicPlayerInfo  * BasicPlayerInfo = *(_BasicPlayerInfo ** )(cshell + 0xA68F80);
    _WeaponClass->ReloadAnimRatio = 100.0f;
}
Read this:

Quote Originally Posted by Brimir View Post
haha (a)

That was dutch :P



Make a class, point the class address from crossfire to that class. Done.

THe BasicPlayerInfo is correct, but you copyed that from my code :P haha.
@Brimir yes i copied it from your code but i cant understand where to do this in the cpp file or h ? the class is in the h . where should be the pointer ?
BTW
is Door map bugger something for the radar ? or idk google translate says that buggen is ... gay and map is map and door is door
With that you can walk through some walls :P

But, then you need to learn C++ or C# or any other language where they use this.
i know C# but i dont know c++ well ok thanks for the info
c++ and C# are similar..... shouldn't be too hard to learn c++ if you know c#
acctually yes thier logic is very simmilar but the syntax is not. But everything like arrays, loops and functions are same
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?