Need help with client error bypass
I need help with bypassing client error 28_3.
i have backup the original reload values for each gun
I think the answer lies here


but i'm not too sure, can someone help?
@derh.acker
@~FALLEN~
@giniyat101
i have backup the original reload values for each gun
Code:
#include <Windows.h>
#define WeaponPointer 0xCB9984
#define WeaponReload 0xC38
void run();
struct wBackup
{
float reload;
};
wBackup wProp[746];
BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpReserved)
{
switch(fdwReason)
{
case 1:
run();
break;
}
}
void run()
{
DWORD cshell=(DWORD)(GetModuleHandle("CShell.dll"));
int i = 0;
if(cshell!=0)
{
DWORD pWeapons = *(DWORD*)(cshell + WeaponPointer);
if(pWeapons!=NULL)
{
int maxWeapons = *(int*)(pWeapons-8);
while(i<maxWeapons)
{
DWORD pWeapon = *(DWORD*)(pWeapons + (i*4));
if(pWeapon!=0)
{
*(float*)(pWeapon+WeaponReload) = 100.0f;
}
i++;
}
}
}
}


but i'm not too sure, can someone help?
@derh.acker
@~FALLEN~
@giniyat101



