The segfault message points to this function:
PHP Code:
BOOL __cdecl BG_IsWeaponValid(int a1, int a2)
{
bool v2; // bl
bool v3; // cl
int v4; // eax
BOOL result; // eax
v2 = a2 >= 0 && a2 <= bg_iNumWeapons;
v3 = 0;
if ( (*(_DWORD *)(a1 + 4 * (a2 >> 5) + 1348) >> (a2 & 0x1F)) & 1 )
v3 = v2;
v4 = bg_weaponDefs[a2];
if ( *(_DWORD *)(v4 + 132) || a2 == *(char *)(a1 + 1365) || a2 == *(char *)(a1 + 1366) || a2 == *(_DWORD *)(v4 + 876) )
result = v3;
else
result = 0;
return result;
}
The address 80ebf71 points to:
PHP Code:
if ( *(_DWORD *)(v4 + 132) || a2 == *(char *)(a1 + 1365) || a2 == *(char *)(a1 + 1366) || a2 == *(_DWORD *)(v4 + 876) )
Are you running any mods? On what kind of specifications does your server run?