SolvedSource Code - RapidFire

Posts 1–15 of 19 · Page 1 of 2
Source Code - RapidFire
Alguém poderia me confirmar se esse código para RapidFire está certo e atualizado ?

Code:
float OgBwepData[1][500];
bool SetWepData2, StoreWepData2;

if( !StoreWepData2 )
	{
		cWeaponMgr* WepMgr = *(cWeaponMgr**)ADDR_WEAPONMGR;
			
		if( WepMgr )
		{
			for( int i = 0; i < WepMgr->WeaponCount; i++ )
			{ 
				cWeaponInfo* Wep = WepMgr->Weapons[i];

				if( Wep ) 
				{	
					OgBwepData[0][i] = Wep->VectorsPerRound;
				} 
			}
		}
		StoreWepData2 = true;
	}

	if( Status )
	{
		if( SetWepData2 )
		{
			cWeaponMgr* WepMgr = *(cWeaponMgr**)ADDR_WEAPONMGR;

			if( WepMgr )
			{
				for( int i = 0; i < WepMgr->WeaponCount; i++ )
				{ 
					cWeaponInfo* Wep = WepMgr->Weapons[i];

					if( Wep ) 
					{	
						Wep->VectorsPerRound = 20;
					} 
				}
			}
			SetWepData2 = false;
		}
	}
	if(!Status)
	{	
		if( !SetWepData2 )
		{
			cWeaponMgr* WepMgr = *(cWeaponMgr**)ADDR_WEAPONMGR;

			if( WepMgr )
			{
				for( int i = 0; i < WepMgr->WeaponCount; i++ )
				{ 
					cWeaponInfo* Wep = WepMgr->Weapons[i];

					if( Wep ) 
					{	
						Wep->VectorsPerRound = OgBwepData[0][i];
					} 
				}
			}
			SetWepData2 = true;
		}
	}
Code:
void RapidFire(bool fire)
{
	cPlayerMgr *pPlayerManager = (cPlayerMgr*) pGameClientShell->GetPlayerManager();
	if ((*(BYTE *) GameStatus == 1))
	{
		if (fire)
		{
			if (GetAsyncKeyState(1) <0)
				pPlayerManager->GetCurrentWeapon()->bArmaAtirando = true;
		}
		else
		if ((*(BYTE *) GameStatus == 5))
			fire = false;

	}
}
Quote Originally Posted by Coder.DiasII View Post
Code:
void RapidFire(bool fire)
{
cPlayerMgr *pPlayerManager = (cPlayerMgr*) pGameClientShell->GetPlayerManager();
if ((*(BYTE *) GameStatus == 1))
{
if (fire)
{
if (GetAsyncKeyState(1) <0)
pPlayerManager->GetCurrentWeapon()->bArmaAtirando = true;
}
else
if ((*(BYTE *) GameStatus == 5))
fire = false;

}
}
1>c:\users\home\downloads\combat arms\bases\base\Rapid.h(53) : warning C4307: '*' : integral constant overflow
1>c:\users\home\downloads\combat arms\bases\base\Rapid.h(53) : error C2227: left of '->GetPlayerManager' must point to class/struct/union/generic type
1> type is 'int'
1>c:\users\home\downloads\combat arms\bases\base\Rapid.h(59) : error C2227: left of '->GetCurrentWeapon' must point to class/struct/union/generic type
1> type is 'int'
1>c:\users\home\downloads\combat arms\bases\base\NoRecoil.h(59) : error C2227: left of '->bArmaAtirando' must point to class/struct/union/generic type
1>Build log was saved at "file://c:\Users\home\Downloads\Combat Arms\Bases\BASE\Release\BuildLog.htm"
1>BASE - 3 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Quote Originally Posted by Megaloco View Post
1>c:\users\home\downloads\combat arms\bases\base\Rapid.h(53) : warning C4307: '*' : integral constant overflow
1>c:\users\home\downloads\combat arms\bases\base\Rapid.h(53) : error C2227: left of '->GetPlayerManager' must point to class/struct/union/generic type
1> type is 'int'
1>c:\users\home\downloads\combat arms\bases\base\Rapid.h(59) : error C2227: left of '->GetCurrentWeapon' must point to class/struct/union/generic type
1> type is 'int'
1>c:\users\home\downloads\combat arms\bases\base\NoRecoil.h(59) : error C2227: left of '->bArmaAtirando' must point to class/struct/union/generic type
1>Build log was saved at "file://c:\Users\home\Downloads\Combat Arms\Bases\BASE\Release\BuildLog.htm"
1>BASE - 3 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
ADD O GameStatus, PlayerStatus e WeaponMgr ou uma class ,esse erro must point to class/struct/union/generic type , é porq eu esta faltando ou endreços ou classes
... G-Zuis ...
Esses Código Do RapidFire Estão Faltando Coisa kk Eu Tenho Ú.ú By: ILoading !!

Quote Originally Posted by Cor1nga View Post
Esses Código Do RapidFire Estão Faltando Coisa kk Eu Tenho Ú.ú By: ILoading !!

nossa vc é foda em me desculpa cara
Quote Originally Posted by Cor1nga View Post
Esses Código Do RapidFire Estão Faltando Coisa kk Eu Tenho Ú.ú By: ILoading !!

Nossa cara, você manja muito, me ensina como se faz ?
Quote Originally Posted by Cor1nga View Post
Esses Código Do RapidFire Estão Faltando Coisa kk Eu Tenho Ú.ú By: ILoading !!

Me desculpa cara, você manja muito!
Quote Originally Posted by Hacker Fail View Post
Nossa Cara, Você Manja Muito, Me Ensina Como Se Faz ?
kkkkkkk....pode fechar o tópico já está resolvido !
K.k Mds Cara Para Que Isso '-'
esses codigos ai ainda tão funfando, tipo o do VecTorsPerRound e do bArmaAtirando?
Eu Utilizo Assim Em Bypass !!

if(rapidfire == 1 && GetAsyncKeyState(VK_LBUTTON)<0) {
Bypass((PBYTE*)RapidFire, "\x90\x90", 2);
} else {
Bypass((PBYTE*)RapidFire, "\x74\x3E", 2);
}
Quote Originally Posted by Cor1nga View Post
Eu Utilizo Assim Em Bypass !!

if(rapidfire == 1 && GetAsyncKeyState(VK_LBUTTON)<0) {
Bypass((PBYTE*)RapidFire, "\x90\x90", 2);
} else {
Bypass((PBYTE*)RapidFire, "\x74\x3E", 2);
}
Vc e a torcida do Corinthians !
Quote Originally Posted by Megaloco View Post
Vc e a torcida do Corinthians !
Você é doente amigo? 07-28-2014
Posts 1–15 of 19 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?