Improved Beastmode

Posts 115 of 22 · Page 1 of 2
Improved Beastmode
Ive got these classes->
Code:
class pMain;
class Info;
class pMain
{
public:
	Info* goToInfoClass; //0000
};

class Info
{
public:
	char unknown0[8];
	__int32 Unknown1; //0008
	__int32 iCurrentHealth; //000C
	char unknown2[4];
	__int32 iMaxHealth; //0014
        char unknown3[4];
	WepInfo* goToWepInfo;//001C
	Something* goToSomething; //0020
	char unknown4[348];
	float fStamina; //0180
	char unknown5[8];
	__int32 iWeaponSlotInUse; //018C
	float fCameraSomething; //0190
	float fCameraSomething2; //0194
	float fCameraSomething3; //0198
	char unknown6[32];
	Stats* goToStats; //01BC
};
And when i try to do this->
Code:
switch(hack13)
{
	case 0:
	if(hack13 = 0)
		{
		}
	break;
	case 1:
	if(hack13 ==1)
		{
			*(long*)0x378228C4 = 4;
			if(pMain->goToInfoClass->iCurrentHealth == 0)
				*(long*)0x378228C4 = 2;

		}
	break;
}
i get->
Code:
error C2059: syntax error : '->'
and when i put my mouse over the red line, it says->
Code:
Expression must have a bool type (or be convertible to bool)
What am i doing wrong 0.o???
I have also tried the other method listed in the post, to the same result, and the method GodHack2 posted later isnt useful to me as i dont have the classes fully rebuilt
hmm did u try commenting Areas to see if it stops?
Quote Originally Posted by topblast View Post
hmm did u try commenting Areas to see if it stops?
Did you try looking at the code at all before posting random crap ?
The error is quite obvious...
c+p all day woot woot.
Quote Originally Posted by Synns View Post
c+p all day woot woot.
Switch is definitely is needed along with if.
I took a shit yesterday. When I looked in the toilet it looked similar to this.
Quote Originally Posted by mmbob View Post
I took a shit yesterday. When I looked in the toilet it looked similar to this.
O_o...........Thanks for sharing..
Class, completely off.
I doubt you have the pointer to the class.
Easy C++ Fix
Lol @ bob
Quote Originally Posted by fvestrgenrl View Post
Ive got these classes->
Code:
class pMain;
class Info;
class pMain
{
public:
	Info* goToInfoClass; //0000
};

class Info
{
public:
	char unknown0[8];
	__int32 Unknown1; //0008
	__int32 iCurrentHealth; //000C
	char unknown2[4];
	__int32 iMaxHealth; //0014
        char unknown3[4];
	WepInfo* goToWepInfo;//001C
	Something* goToSomething; //0020
	char unknown4[348];
	float fStamina; //0180
	char unknown5[8];
	__int32 iWeaponSlotInUse; //018C
	float fCameraSomething; //0190
	float fCameraSomething2; //0194
	float fCameraSomething3; //0198
	char unknown6[32];
	Stats* goToStats; //01BC
};
And when i try to do this->
Code:
switch(hack13)
{
	case 0:
	if(hack13 = 0)
		{
		}
	break;
	case 1:
	if(hack13 ==1)
		{
			*(long*)0x378228C4 = 4;
			if(pMain->goToInfoClass->iCurrentHealth == 0)
				*(long*)0x378228C4 = 2;

		}
	break;
}
i get->
Code:
error C2059: syntax error : '->'
and when i put my mouse over the red line, it says->
Code:
Expression must have a bool type (or be convertible to bool)
What am i doing wrong 0.o???
I have also tried the other method listed in the post, to the same result, and the method GodHack2 posted later isnt useful to me as i dont have the classes fully rebuilt
Why are you doing this in the first place?

Code:
	*(long*)0x378228C4 = 4;
			if(pMain->goToInfoClass->iCurrentHealth == 0)
				*(long*)0x378228C4 = 2;
Quote Originally Posted by freedompeace View Post
Why are you doing this in the first place?

Code:
	*(long*)0x378228C4 = 4;
			if(pMain->goToInfoClass->iCurrentHealth == 0)
				*(long*)0x378228C4 = 2;
My questions are :

Code:
1. Why the if statements if you already have the switch ?

2. Why are you setting something equal to zero :
	if(hack13 = 0)

3. Seriously, what the fuck is the whole point of this  VVVV
 	case 0:
	if(hack13 = 0)
		{
		}
	break;
Quote Originally Posted by Crash View Post
My questions are :

Code:
1. Why the if statements if you already have the switch ?

2. Why are you setting something equal to zero :
	if(hack13 = 0)

3. Seriously, what the fuck is the whole point of this  VVVV
 	case 0:
	if(hack13 = 0)
		{
		}
	break;


IDK I stared at the code.. but I think he is trying to improve beastmode? /
Quote Originally Posted by Crash View Post
My questions are :

Code:
1. Why the if statements if you already have the switch ?

2. Why are you setting something equal to zero :
	if(hack13 = 0)

3. Seriously, what the fuck is the whole point of this  VVVV
 	case 0:
	if(hack13 = 0)
		{
		}
	break;
The OP C&P Stephens post..
Quote Originally Posted by Crash View Post
My questions are :

Code:
1. Why the if statements if you already have the switch ?

2. Why are you setting something equal to zero :
	if(hack13 = 0)

3. Seriously, what the fuck is the whole point of this  VVVV
 	case 0:
	if(hack13 = 0)
		{
		}
	break;
I just now noticed the case & if

Quote Originally Posted by Synns View Post
I just now noticed the case & if

Well they are checking if the health is 0 / dead. but if you doing that why not just use if else. why implement if else into a switch statement?


Code:
if(beast) {
    if(pMain->goToInfoClass->iHp == 0) {
        *(long*)0x378228C4 = 2;
    } else {
        *(long*)0x378228C4 = 4;
    }
}
Quote Originally Posted by Nubzgetkillz View Post
Well they are checking if the health is 0 / dead. but if you doing that why not just use if else. why implement if else into a switch statement?


Code:
if(beast) {
    if(pMain->goToInfoClass->iHp == 0) {
        *(long*)0x378228C4 = 2;
    } else {
        *(long*)0x378228C4 = 4;
    }
}
Who knows. UnknownCoder said he did it because he was in a rush, then OP asked why it didn't work.
Posts 115 of 22 · Page 1 of 2

Post a Reply

Tags for this Thread

None

Need help?