Results 1 to 10 of 10
  1. #1
    luizimloko's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    fs:[0]
    Posts
    1,879
    Reputation
    136
    Thanks
    10,137
    My Mood
    Yeehaw

    Weapon Manager class

    Code:
    #define ADDR_WEAPONMANAGER		0x019BF9E4
    Code:
    typedef float vec[ 9 ];
    
    class CWeapon
    {
    public:
    	BYTE WeaponIndex; //0x0000 
    char _0x0001[1];
    	BYTE WeaponClass; //0x0002 
    char _0x0003[6];
    	char WeaponName[28]; //0x0009 
    char _0x0025[2151];
    	vec PertubMin; //0x088C 
    char _0x08B0[324];
    	vec PerturbMax; //0x09F4 
    char _0x0A18[324];
    	float Range; //0x0B5C 
    char _0x0B60[12];
    	float AmmoDamage; //0x0B6C 
    char _0x0B70[1256];
    	float ReloadAnimRatio; //0x1058 
    	float ChangeWeaponAnimRatio; //0x105C 
    char _0x1060[696];
    	vec DetailPerturbShot; //0x1318 
    char _0x133C[324];
    	vec DetailReactPitchShot; //0x1480 
    char _0x14A4[324];
    	vec DetailReactYawShot; //0x15E8 
    char _0x160C[9536];
    	vec BulletPosOffset; //0x3B4C 
    char _0x3B70[444];
    	vec ShotReactPitch; //0x3D2C 
    char _0x3D50[1104];
    	vec CrossHairRatioPerRealSize; //0x41A0 
    
    	static CWeapon *GetWeaponByIndex( int i, DWORD WeaponManager )
    	{
    		return *( CWeapon ** ) ( WeaponManager + ( 4 * i ) );
    	}
    };//Size=0x41A4
    Code:
    void WINAPI weaponFunctions( DWORD CShell )
    {
    	DWORD WeaponManager = *( DWORD * ) ( CShell + ADDR_WEAPONMANAGER );
    
    	for( int i = 0; i <= 1757; i++ )
    	{
    		CWeapon *pWeapon = pWeapon->GetWeaponByIndex( i, WeaponManager );
    
    		if( pWeapon != 0 )
    		{
    			for( int y = 0; y < 9; y++ )
    			{
    				//No recoil
    				pWeapon->ShotReactPitch[ y ] = 0.0f;
    				pWeapon->DetailReactPitchShot[ y ] = 0.0f;
    				pWeapon->DetailReactYawShot[ y ] = 0.0f;
    				//No spread
    				pWeapon->BulletPosOffset[ y ] = 0.0f;
    				pWeapon->PertubMin[ y ] = 0.0f;
    				pWeapon->PerturbMax[ y ] = 0.0f;
    				pWeapon->BulletPosOffset[ y ] = 0.0f;
    				pWeapon->DetailPerturbShot[ y ] = 0.0f;
    				pWeapon->ShotReactPitch[ y ] = 0.0f;
    			}
    
    			//No grenade damage
    			if( pWeapon->WeaponClass == 6 )
    				pWeapon->AmmoDamage = 0.0f;
    		}
    	}
    }

  2. #2
    MULLERCFBR's Avatar
    Join Date
    Apr 2015
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    Luiz eu estou começando a aprender c++, e tenho uma dúvida, o que significa valor f? (O que é o F) Tipo: pWeapon->BulletPosOffset[ y ] = 0.0f;

  3. #3
    luizimloko's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    fs:[0]
    Posts
    1,879
    Reputation
    136
    Thanks
    10,137
    My Mood
    Yeehaw
    Quote Originally Posted by MULLERCFBR View Post
    Luiz eu estou começando a aprender c++, e tenho uma dúvida, o que significa valor f? (O que é o F) Tipo: pWeapon->BulletPosOffset[ y ] = 0.0f;
    F é valores do tipo float, igual L ( Long ), unsigned ( U ).

    Code:
    unsigned int i = 1U;
    long int i = 1L;
    unsigned long int i = 1UL;


    curiosidade:
    valores float consegue ser lido com precisão até a 6° casa após a vírgula, já tipo double consegue-se ler com precisão até a 15° casa após a vírgula.
    Last edited by luizimloko; 08-17-2016 at 07:25 PM.

  4. The Following 2 Users Say Thank You to luizimloko For This Useful Post:

    -Vinicius (08-17-2016),.CroWley (09-07-2016)

  5. #4
    OneCa's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    83
    Reputation
    10
    Thanks
    1
    como corrigir desconectado do servidor ?

  6. #5
    sxsw19xx's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    sir lui, can i ask for updated sigs? so i can update the class in the future. ty

  7. #6
    luizimloko's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    fs:[0]
    Posts
    1,879
    Reputation
    136
    Thanks
    10,137
    My Mood
    Yeehaw
    Quote Originally Posted by sxsw19xx View Post
    sir lui, can i ask for updated sigs? so i can update the class in the future. ty
    find it in the CShell.dll, all is in there.

  8. #7
    Rullez's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Vancouver, Canada
    Posts
    4,071
    Reputation
    316
    Thanks
    26,129
    My Mood
    Bored
    Quote Originally Posted by luizimloko View Post


    find it in the CShell.dll, all is in there.
    Além de dar os gringos querem que arreganha !! kkkkk






  9. The Following User Says Thank You to Rullez For This Useful Post:

    luizimloko (08-20-2016)

  10. #8
    Erorr_'s Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    47
    Reputation
    10
    Thanks
    17
    103786D2 |. 57 |PUSH EDI
    103786D3 |. E8 7E4C5000 |CALL CShell.1087D356
    103786D8 |. 8B0D E4F99B11 |MOV ECX,DWORD PTR DS:[119BF9E4]
    103786DE |. 83C4 0C |ADD ESP,0C


    for


    103786D8 |. 8B0D E4F99B11 |MOV ECX,DWORD PTR DS:[019BF9E4]

    Certo isso? '-' Montei a Source está dando erro no CF..

    Oque não entendi foi o:

    vec DetailReactPitchShot; //0x1480 <- Aqui eu sei certinho aonde você está pegando!
    char _0x14A4[324]; // <- Aqui aonde não entendi..
    Last edited by Erorr_; 08-21-2016 at 10:02 AM.

  11. #9
    anotherprogrammer's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    30
    Reputation
    10
    Thanks
    0
    How do you reverse classes such as Weapon Manager? im not having any luck with ReClass

  12. #10
    jvione's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    Alguém aqui tem o address atualizado do wallhack?
    Meu último foi #define WallHack 0xB7BB1C e não funciona há tempos já

Similar Threads

  1. [Source Code] [Visual] Nano Character Manager [Class, Change, Pattern, Data]
    By I2espect in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 6
    Last Post: 01-21-2014, 07:36 AM
  2. [Release] Weapon Pointer Classes
    By Ryuesi in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 20
    Last Post: 04-15-2012, 01:09 PM
  3. [Source Code] Crossfire Weapon & Misc Class(SourceCode)
    By tasya89 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 23
    Last Post: 04-21-2011, 09:41 PM
  4. best weapon - all classes
    By /b/oss in forum Alliance of Valiant Arms (AVA) Discussions
    Replies: 5
    Last Post: 04-21-2011, 08:41 PM
  5. [question] Weapon created classes backup?
    By misshoneybee in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 0
    Last Post: 10-12-2010, 03:51 PM