ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 3427

GTA 5 PS3 SPRX PLAYER INFO FULL WITH (ISP/Country/ZIP CODE..)

by giorgi12 - 12-08-2018 - 12:45 AM
#1
char IPResolverV1[50000];
void IPResolverV(char *ip1, char *ip2, char *ip3, char *ip4)
{
Host = gethostbyname("ip-api.com");
SocketAddress.sin_addr.s_addr = *((unsigned long*)Host->h_addr);
SocketAddress.sin_family = AF_INET;
SocketAddress.sin_port = SERVER_PORT;
Socket = socket(AF_INET, SOCK_STREAM, 0);
if (connect(Socket, (struct sockaddr *)&SocketAddress, sizeof(SocketAddress)) != 0)
{
snprintf(IPResolverV1, sizeof(IPResolverV1), "CONNECTION ERROR");
}
strcpy(RequestBuffer, "GET /line/");
strcat(RequestBuffer, ip1);
strcat(RequestBuffer, ".");
strcat(RequestBuffer, ip2);
strcat(RequestBuffer, ".");
strcat(RequestBuffer, ip3);
strcat(RequestBuffer, ".");
strcat(RequestBuffer, ip4);
strcat(RequestBuffer, "?fields=country,countryCode,region,regionName,city,timezone,mobile,proxy");
strcat(RequestBuffer, " HTTP/1.0\r\nHOST: ");
strcat(RequestBuffer, "ip-api.com");
strcat(RequestBuffer, "\r\n\r\n");
send(Socket, RequestBuffer, strlen(RequestBuffer), 0);
while (recv(Socket, bufferReturn, 10000, 0) > 0)
{
snprintf(IPResolverV1, sizeof(IPResolverV1), "%s", remove_headers(bufferReturn));
buffchek = true;
}
}
void playerinfo()
{
GRAPHICS::DRAW_RECT(0.4140, 0.4090, 0.1120, 0.4500, 0, 0, 0, 30);
char IPADDR1[4][50];
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 port = *(int*)(0x40025ccd + (i * 0x88));
int p9 = (port & 0xff000000) >> 24;
int p10 = (port & 0x00ff0000) >> 16;
int portToShow = (p9 << 8) | p10;
Vector3 Coords = ENTITY::GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(PLAYER::GET_PLAYER_PED(selectedPlayer), 0.018f, 0.035f, 0.0f);
char Money[50];
snprintf(Money, sizeof(Money), "Money ~r~%i", (int)getCash(selectedPlayer));
drawText(Money, 4, fdnstestt, anotherdumbtestt, 0, .52, 255, 255, 255, 255, .0);
char Rank[50];
snprintf(Rank, sizeof(Rank), "Rank ~r~%i", (int)getPlayerRank(selectedPlayer));
drawText(Rank, 4, fdnstestt, anotherdumbtesttt, 0, .52, 255, 255, 255, 255, .0);
bool isAlive = !PLAYER::IS_PLAYER_DEAD(selectedPlayer); char *alivetext = ""; if (isAlive == true) { alivetext = "Alive ~r~Yes"; }
else { alivetext = "Alive ~r~No"; }
drawText(alivetext, 4, fdnstestt, anotherdumbtestttt, 0, .52, 255, 255, 255, 255, .0);
int health = ENTITY::GET_ENTITY_HEALTH(PLAYER::GET_PLAYER_PED(selectedPlayer)); char healthtext[30]; if (health <= 50) { snprintf(healthtext, sizeof(healthtext), "Health ~r~%i", health); }
else { snprintf(healthtext, sizeof(healthtext), "Health ~r~%i", health); }
drawText(healthtext, 4, fdnstestt, anotherdumbtesttttt, 0, .52, 255, 255, 255, 255, .0);
bool talkingplayer = !NETWORK::NETWORK_IS_PLAYER_TALKING(selectedPlayer); char *talkingplayertext = ""; if (talkingplayer == true) { talkingplayertext = "Talking ~r~No"; }
else { talkingplayertext = "Talking ~r~Yes"; }
drawText(talkingplayertext, 4, fdnstestt, anotherdumbtestttttt, 0, .52, 255, 255, 255, 255, .0);
bool headset = !NETWORK::NETWORK_PLAYER_HAS_HEADSET(selectedPlayer); char *headsettext = ""; if (headset == true) { headsettext = "Headset ~r~No"; }
else { headsettext = "Headset ~r~Yes"; }
drawText(headsettext, 4, fdnstestt, anotherdumbtesttttttt, 0, .52, 255, 255, 255, 255, .0);
int armour = PED::GET_PED_ARMOUR(PLAYER::GET_PLAYER_PED(selectedPlayer)); char armourtext[30]; if (armour <= 50) { snprintf(armourtext, sizeof(armourtext), "Armour ~r~%i", armour); }
else { snprintf(armourtext, sizeof(armourtext), "Armour ~r~%i", armour); }
drawText(armourtext, 4, fdnstestt, anotherdumbtestttttttt, 0, .52, 255, 255, 255, 255, .0);
drawText("City", 4, fdnstestt, anotherdumbtesttttttttt, 0, .52, 255, 255, 255, 255, .0);
drawText("Region", 4, fdnstestt, anotherdumbtestttttttttt, 0, .52, 255, 255, 255, 255, .0);
drawText("Country", 4, fdnstestt, anotherdumbtesttttttttttt, 0, .52, 255, 255, 255, 255, .0);
drawText("Zip Code", 4, fdnstestt, anotherdumbtestttttttttttt, 0, .52, 255, 255, 255, 255, .0);
drawText("Currency", 4, fdnstestt, anotherdumbtesttttttttttttt, 0, .52, 255, 255, 255, 255, .0);
drawText("Isp", 4, fdnstestt, anotherdumbtestttttttttttttt, 0, .52, 255, 255, 255, 255, .0);
sprintf(IPADDR1[0], "Ip Adress ~r~%i.%i.%i.%i", p1, p2, p3, p4);
sprintf(IPADDR1[3], "Port ~r~%i", portToShow);
drawText(IPADDR1[0], 4, fdnstestt, anotherdumbtesttttttttttttttt, 0, .52, 255, 255, 255, 255, .0);
drawText(IPADDR1[3], 4, fdnstestt, anotherdumbtestttttttttttttttt, 0, .52, 255, 255, 255, 255, .0);
}
char *indisponible = "Invaid\n\Invaid\n\Invaid\n\Invaid\n\Invaid\n\Invaid";
void playtegeo(bool)
{
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;
sprintf(IPResolverIPs[0], "%i", p1);
sprintf(IPResolverIPs[1], "%i", p2);
sprintf(IPResolverIPs[2], "%i", p3);
sprintf(IPResolverIPs[3], "%i", p4);
if (buffchek)
{
drawText(IPResolverV1, 4, fdnstest, anotherdumbtest, 0, .52, 255, 255, 255, 255, .0);
}
else
{
drawText(indisponible, 4, fdnstest, anotherdumbtest, 0, .52, 255, 255, 255, 255, .0);
}
}

If U have Any problem contact me on skype: Fabio Dev

CREDITS FOR : LiveModz ,

FOR MAKE THIS AMAZING PLAYER INFO
Reply
#2
Hey bro i need sys/ net libraries
Reply
#3
(12-08-2018 - 12:47 AM)UndergroundX360 Wrote: Hey bro i need sys/ net libraries

Updated post bro check now
Reply
#4
Why are you leaking sh*t from Furious.
Reply
#5
(12-08-2018 - 12:56 AM)TheBigNooga Wrote: Why are you leaking sh*t from Furious.

that´s only for helping people lol
Reply
#6
(12-08-2018 - 01:00 AM)giorgi12 Wrote:
(12-08-2018 - 12:56 AM)TheBigNooga Wrote: Why are you leaking sh*t from Furious.

that´s only for helping people lol

you now how to make this work for xbox?
Reply
#7
Im need gethostbyname definition
Reply
#8
thankyou very much
Reply
#9
Not from furious this has been leaked million times here. By Niqque .
Reply
#10
(12-08-2018 - 01:40 PM)GucciMang Wrote: Not from furious this has been leaked million times here. By Niqque .

Only part of the geolocation is from niqqie stop hating on me. 
If you acctaully read the post you would see its Player info not socket request Geo
Reply

Users browsing: 1 Guest(s)