Code:
BOOL DETECT_EROS_VPN(INT CLIENT_PLAYER)
{
PCHAR P_NAME = PLAYER::GET_PLAYER_NAME(CLIENT_PLAYER);
INT IP1 = (UINT8)(P_NAME - 0x4C); INT IP2 = (UINT8)(P_NAME - 0x4B);
INT IP3 = (UINT8)(P_NAME - 0x4A); INT IP4 = (UINT8)(P_NAME - 0x49);
if (IP1 == 145 && IP2 == 239 && IP3 == 205 && IP4 == 26) { return true; }
else { return false; }
}
BOOL IP_SPOOF(INT CLIENT_PLAYER)
{
PCHAR P_NAME = PLAYER::GET_PLAYER_NAME(CLIENT_PLAYER);
INT IP1 = (UINT8)(P_NAME - 0x4C); INT IP2 = (UINT8)(P_NAME - 0x4B);
INT IP3 = (UINT8)(P_NAME - 0x4A); INT IP4 = (UINT8)(P_NAME - 0x49);
if (IP1 == 0 && IP2 == 0 && IP3 == 0 && IP4 == 0) { return true; }
else { return false; }
}
BOOL IP_SPOOF_2(INT CLIENT_PLAYER)
{
PCHAR P_NAME = PLAYER::GET_PLAYER_NAME(CLIENT_PLAYER);
INT IP1 = (UINT8)(P_NAME - 0x4C); INT IP2 = (UINT8)(P_NAME - 0x4B);
INT IP3 = (UINT8)(P_NAME - 0x4A); INT IP4 = (UINT8)(P_NAME - 0x49);
if (IP1 == 6 && IP2 == 6 && IP3 == 6 && IP4 == 6) { return true; }
else { return false; }
}
BOOL DETECT_Unlimited_VPN(INT CLIENT_PLAYER)
{
PCHAR P_NAME = PLAYER::GET_PLAYER_NAME(CLIENT_PLAYER);
INT IP1 = (UINT8)(P_NAME - 0x4C); INT IP2 = (UINT8)(P_NAME - 0x4B);
INT IP3 = (UINT8)(P_NAME - 0x4A); INT IP4 = (UINT8)(P_NAME - 0x49);
if (IP1 == 45 && IP2 == 55 && IP3 == 23 && IP4 == 93) { return true; }
else { return false; }
}
BOOL DETECT_SPYProof_VPN(INT CLIENT_PLAYER)
{
PCHAR P_NAME = PLAYER::GET_PLAYER_NAME(CLIENT_PLAYER);
INT IP1 = (UINT8)(P_NAME - 0x4C); INT IP2 = (UINT8)(P_NAME - 0x4B);
INT IP3 = (UINT8)(P_NAME - 0x4A); INT IP4 = (UINT8)(P_NAME - 0x49);
if (IP1 == 51 && IP2 == 255 && IP3 == 36 && IP4 == 192) { return true; }
else { return false; }
}
BOOL DETECT_UltraSurf_VPN(INT CLIENT_PLAYER)
{
PCHAR P_NAME = PLAYER::GET_PLAYER_NAME(CLIENT_PLAYER);
INT IP1 = (UINT8)(P_NAME - 0x4C); INT IP2 = (UINT8)(P_NAME - 0x4B);
INT IP3 = (UINT8)(P_NAME - 0x4A); INT IP4 = (UINT8)(P_NAME - 0x49);
if (IP1 == 66 && IP2 == 160 && IP3 == 201 && IP4 == 37) { return true; }
else { return false; }
}
BOOL DETECT_HIDE_ME_VPN(INT CLIENT_PLAYER)
{
PCHAR P_NAME = PLAYER::GET_PLAYER_NAME(CLIENT_PLAYER);
INT IP1 = (UINT8)(P_NAME - 0x4C); INT IP2 = (UINT8)(P_NAME - 0x4B);
INT IP3 = (UINT8)(P_NAME - 0x4A); INT IP4 = (UINT8)(P_NAME - 0x49);
if (IP1 == 209 && IP2 == 58 && IP3 == 169 && IP4 == 99) { return true; }
else { return false; }
}
/*[VPN REGION]*/
if (DETECT_EROS_VPN(i))strcat(sTemp, "[EROS-VPN]");
if (DETECT_Unlimited_VPN(i))strcat(sTemp, "[Unlimited-VPN]");
if (DETECT_SPYProof_VPN(i))strcat(sTemp, "[SpyProof-VPN]");
if (DETECT_UltraSurf_VPN(i))strcat(sTemp, "[UltraSurf-VPN]");
if (DETECT_HIDE_ME_VPN(i))strcat(sTemp, "[HideMe-VPN]");
This account is currently banned
Ban reason: Leeching and Spamming
Ban reason: Leeching and Spamming