(07-19-2019 - 05:11 PM)RoyaleSprx Wrote:Quote:Code:///////Code optimized by sxsxmods////////////
bool HideIps = false;
void IP(int isSelected)
{
if (HideIps == false)
{
HideIps= false;
char IPs[50], IPs2[50], IPs3[50], IPs4[50];
for (int i = 0; i < 34; i++)
{
int Handle[13];
NETWORK_HANDLE_FROM_PLAYER(isSelected, &Handle[0], 13);
char *RealName = NETWORK_GET_GAMERTAG_FROM_HANDLE(&Handle[0]);
char* name1 = GET_PLAYER_NAME(isSelected);
char *ipName = ReadBytes(0x40025C80 + (i * 136), 100);
if (!strcmp(RealName, ipName))
{
int ip = *(int *)(0x40025CC8 + (i * 0x88));
int p1 = (ip & 0xff000000) >> 24;
int p2 = (ip & 0x00ff0000) >> 16;
int p3 = (ip & 0x0000ff00) >> 8;
int p4 = (ip & 0x000000ff) >> 0;
int internal_ip = *(int *)(0x40025CA8 + (i * 0x88));
int p5 = (internal_ip & 0xff000000) >> 24;
int p6 = (internal_ip & 0x00ff0000) >> 16;
int p7 = (internal_ip & 0x0000ff00) >> 8;
int p8 = (internal_ip & 0x000000ff) >> 0;
char *Region = ReadBytes(0x40025c96 + (i * 0x88), 100);
int port = *(int*)(0x40025ccd + (i * 0x88));
int p9 = (port & 0xff000000) >> 24;
int p10 = (port & 0x00ff0000) >> 16;
int portToShow = (p9 << 8) | p10;
snprintf(IPs, sizeof(IPs), "\n\n\n\n\n\n\n\n\n\n\n\n\nIP Adress : %i.%i.%i.%i", p1, p2, p3, p4);
snprintf(IPs2, sizeof(IPs2), "\n\n\n\n\n\n\n\n\n\n\n\n\n\nPS3 IP : %i.%i.%i.%i", p5, p6, p7, p8);
sprintf(IPs3, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nPort : %i", portToShow);
sprintf(IPs4, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nRegion : %s", Region);
if (strstr(IPs, "255.255.255.255") == NULL && strstr(IPs, "0.0.0.0") == NULL)
{
InfoText(IPs, optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//MAIN IP
InfoText(IPs2, optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//PS3 IP
InfoText(IPs3, optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//PORT
InfoText(IPs4, optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//COUNTRY
}
}
}
}
else
{
HideIps = true;
drawText("\n\n\n\n\n\n\n\n\n\n\n\n\nIP Adress: Hidden", optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//MAIN IP
drawText("\n\n\n\n\n\n\n\n\n\n\n\n\n\nPS3 IP: Hidden", optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//PS3 IP
drawText("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nPort: Hidden", optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//PORT
drawText("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nRegion: Hidden", optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//COUNTRY
}
}
lol
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
(07-19-2019 - 06:41 PM)NoNameV2345 Wrote:(07-19-2019 - 05:11 PM)RoyaleSprx Wrote:Quote:Code:///////Code optimized by sxsxmods////////////
bool HideIps = false;
void IP(int isSelected)
{
if (HideIps == false)
{
HideIps= false;
char IPs[50], IPs2[50], IPs3[50], IPs4[50];
for (int i = 0; i < 34; i++)
{
int Handle[13];
NETWORK_HANDLE_FROM_PLAYER(isSelected, &Handle[0], 13);
char *RealName = NETWORK_GET_GAMERTAG_FROM_HANDLE(&Handle[0]);
char* name1 = GET_PLAYER_NAME(isSelected);
char *ipName = ReadBytes(0x40025C80 + (i * 136), 100);
if (!strcmp(RealName, ipName))
{
int ip = *(int *)(0x40025CC8 + (i * 0x88));
int p1 = (ip & 0xff000000) >> 24;
int p2 = (ip & 0x00ff0000) >> 16;
int p3 = (ip & 0x0000ff00) >> 8;
int p4 = (ip & 0x000000ff) >> 0;
int internal_ip = *(int *)(0x40025CA8 + (i * 0x88));
int p5 = (internal_ip & 0xff000000) >> 24;
int p6 = (internal_ip & 0x00ff0000) >> 16;
int p7 = (internal_ip & 0x0000ff00) >> 8;
int p8 = (internal_ip & 0x000000ff) >> 0;
char *Region = ReadBytes(0x40025c96 + (i * 0x88), 100);
int port = *(int*)(0x40025ccd + (i * 0x88));
int p9 = (port & 0xff000000) >> 24;
int p10 = (port & 0x00ff0000) >> 16;
int portToShow = (p9 << 8) | p10;
snprintf(IPs, sizeof(IPs), "\n\n\n\n\n\n\n\n\n\n\n\n\nIP Adress : %i.%i.%i.%i", p1, p2, p3, p4);
snprintf(IPs2, sizeof(IPs2), "\n\n\n\n\n\n\n\n\n\n\n\n\n\nPS3 IP : %i.%i.%i.%i", p5, p6, p7, p8);
sprintf(IPs3, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nPort : %i", portToShow);
sprintf(IPs4, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nRegion : %s", Region);
if (strstr(IPs, "255.255.255.255") == NULL && strstr(IPs, "0.0.0.0") == NULL)
{
InfoText(IPs, optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//MAIN IP
InfoText(IPs2, optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//PS3 IP
InfoText(IPs3, optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//PORT
InfoText(IPs4, optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//COUNTRY
}
}
}
}
else
{
HideIps = true;
drawText("\n\n\n\n\n\n\n\n\n\n\n\n\nIP Adress: Hidden", optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//MAIN IP
drawText("\n\n\n\n\n\n\n\n\n\n\n\n\n\nPS3 IP: Hidden", optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//PS3 IP
drawText("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nPort: Hidden", optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//PORT
drawText("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nRegion: Hidden", optionsFont, InfoTextX, 0.123, 0.38f, 0.38f, 255, 255, 255, 255, false);//COUNTRY
}
}
lol
whats up bro?
Users browsing: 2 Guest(s)