HelpScope Hack = Send Error Report =/

Posts 1–9 of 9 · Page 1 of 1
Scope Hack = Send Error Report =/
Code:
#define RightClickAttributes 0xAF0
#define ZoomAttributes       0xAF4
bool ZoomHack = (true);
int MaxLevelOfZooms = 2;
DWORD rWeapon = *(DWORD*)(pWeaponMgr+(4*i));
	if(ZoomHack)
	{
		for(int y=0; y<1500; y++)
		{
		if ((OHKWEAPONS) && (Rifle || MG || Pistol || ShotGun || SMG ))
                            {
                                                         *(float*)(rWeapon + RightClickAttributes      ) = 2.0f;
                                                          *(float*)(rWeapon + ZoomAttributes            ) = 8.0f;
							  *(float*)(rWeapon + (0x3918         +   0 * 4)) = 2.5f; 
							  *(float*)(rWeapon + (ZoomAttributes +   1 * 4)) = 2.0f; 
							  *(int*  )(rWeapon + (0x3940         +  10 * 4)) = 2.0f; 
							  *(float*)(rWeapon + (0x3944         +  11 * 4)) = 500.0f; 
							  *(float*)(rWeapon + (0x3948         +  12 * 4)) = 500.0f; 

			    }
	         }
	}
why ?
Quote Originally Posted by sobasoba13 View Post
Code:
#define RightClickAttributes 0xAF0
#define ZoomAttributes       0xAF4
bool ZoomHack = (true);
int MaxLevelOfZooms = 2;
DWORD rWeapon = *(DWORD*)(pWeaponMgr+(4*i));
    if(ZoomHack)
    {
        for(int y=0; y<1500; y++)
        {
        if ((OHKWEAPONS) && (Rifle || MG || Pistol || ShotGun || SMG ))
                            {
                                                         *(float*)(rWeapon + RightClickAttributes      ) = 2.0f;
                                                          *(float*)(rWeapon + ZoomAttributes            ) = 8.0f;
                              *(float*)(rWeapon + (0x3918         +   0 * 4)) = 2.5f; 
                              *(float*)(rWeapon + (ZoomAttributes +   1 * 4)) = 2.0f; 
                              *(int*  )(rWeapon + (0x3940         +  10 * 4)) = 2.0f; 
                              *(float*)(rWeapon + (0x3944         +  11 * 4)) = 500.0f; 
                              *(float*)(rWeapon + (0x3948         +  12 * 4)) = 500.0f; 

                }
             }
    }
why ?
Code:
#define RightClickAttributes 0xAF0
#define ZoomAttributes       0xAF4
bool ZoomHack = (true);
int MaxLevelOfZooms = 2;
DWORD rWeapon = *(DWORD*)(pWeaponMgr+(4*i));
    if(ZoomHack)
    {
        for(int y=0; y<1500; y++)
        {
        if ((OHKWEAPONS) && (Rifle || MG || Pistol || ShotGun || SMG ))
                            {
                                                         *(float*)(rWeapon + RightClickAttributes      ) = 2.0f;
                                                          *(float*)(rWeapon + ZoomAttributes            ) = 8.0f;
                              *(float*)(rWeapon + (0x3918         +   0 * 4)) = 2.5f; 
                              *(float*)(rWeapon + (ZoomAttributes +   1 * 4)) = 2.0f; 
                              *(int*  )(rWeapon + (
Code:
0x3940         +  10 * 4)) = 2.0f; 
                              *(float*)(rWeapon + (0x3940         +  11 * 4)) = 500.0f; 
                              *(float*)(rWeapon + (0x3940         +  12 * 4)) = 500.0f; 

                }
             }
    }
Quote Originally Posted by rabir007 View Post


Code:
#define RightClickAttributes 0xAF0
#define ZoomAttributes       0xAF4
bool ZoomHack = (true);
int MaxLevelOfZooms = 2;
DWORD rWeapon = *(DWORD*)(pWeaponMgr+(4*i));
    if(ZoomHack)
    {
        for(int y=0; y<1500; y++)
        {
        if ((OHKWEAPONS) && (Rifle || MG || Pistol || ShotGun || SMG ))
                            {
                                                         *(float*)(rWeapon + RightClickAttributes      ) = 2.0f;
                                                          *(float*)(rWeapon + ZoomAttributes            ) = 8.0f;
                              *(float*)(rWeapon + (0x3918         +   0 * 4)) = 2.5f; 
                              *(float*)(rWeapon + (ZoomAttributes +   1 * 4)) = 2.0f; 
                              *(int*  )(rWeapon + (
Code:
0x3940         +  10 * 4)) = 2.0f; 
                              *(float*)(rWeapon + (0x3940         +  11 * 4)) = 500.0f; 
                              *(float*)(rWeapon + (0x3940         +  12 * 4)) = 500.0f; 

                }
             }
    }
i will try
@rabir007
i tried to change the [500.0f, 500.0f]
it's the speed of the scope ,,, i mean the time between change from non scope to scope !!!!
Quote Originally Posted by sobasoba13 View Post
i will try
Second Fix:
Code:
*(float*)(rWeapon + RightClickAttributes      ) = 2.0f;
*(float*)(rWeapon + ZoomAttributes            ) = 8.0f;
*(float*)(rWeapon + (0x3918         +   0 * 4)) = 2.5f; 
*(float*)(rWeapon + (0x3918 +   1 * 4)) = 2.0f; 
*(int*  )(rWeapon + (0x3918         +  10 * 4)) = 2.0f; 
*(float*)(rWeapon + (0x3918         +  11 * 4)) = 500.0f; 
*(float*)(rWeapon + (0x3918         +  12 * 4)) = 500.0f;
If dont work, use 0x3940
Quote Originally Posted by I2espect View Post
@rabir007
i tried to change the [500.0f, 500.0f]
it's the speed of the scope ,,, i mean the time between change from non scope to scope !!!!
Didn't knew, thanks for the info...
But at the moment, i do not work on crossfire hacks... And i don't really planning anymore...
I'm just here on MPGh to help the coders where i can...

third Fix:
Code:
*(int*)(rWeapon + RightClickAttributes      ) = 2;
*(int*)(rWeapon + ZoomAttributes            ) = 8;
*(float*)(rWeapon + (0x3918         +   0 * 4)) = 2.5f; 
*(float*)(rWeapon + (0x3918 +   1 * 4)) = 2.0f; 
*(int*  )(rWeapon + (0x3918         +  10 * 4)) = 2; 
*(float*)(rWeapon + (0x3918         +  11 * 4)) = 500.0f; 
*(float*)(rWeapon + (0x3918         +  12 * 4)) = 500.0f;
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us