!!! Pomoć oko GEOIPa !!!

Započeo uinatsvima_
3. Jul 2018. Zaključano
638
pregleda
6
postova
GamerOfTheYT
5
OG Legend
3. Jul 2018.
Problem(error/warning): Ništa
Dio skripte:
forward GetPlayerCountry(index, response_code, data[]);
public GetPlayerCountry(index, response_code, data[])
{
    new buffer;
    if(response_code == 200)
    {
        new str, city, country, ippp, pName;
        GetPlayerName(index, pName, sizeof(pName));
        GetPlayerIp(index, ippp, 24);
        format(buffer, sizeof(buffer), "%s", data);
        strmid(str, buffer, 4, strlen(buffer)); // Cutting the 'OK' response...
        strmid(city, str, strfind(str, ";", true) + 1, strfind(str, ";", true) + 3); // Getting City
        strmid(country, str, strfind(str, ";", true) + 4, strlen(buffer)); // Getting Country
        format(str, 256, "[ CONNECT ] - Ime igrača %s Zemlja - "CRVENA"%s", pName , country);
        SendAdminMessage(0xFFFF80C8, str);
    }
    else
    {
        new str, pName;
        GetPlayerName(index, pName, sizeof(pName));
        #if defined ALWAYS_RESPONSE
        new IP;
        GetPlayerIp(index, IP, sizeof(IP));
        format(str, sizeof(str),"api.ipinfodb.com/v3/ip-country/?key="APIKEY"&ip=%s", IP);
        HTTP(index, HTTP_GET, str, "", "GetPlayerCountry");
        #else // Normal message, without country
        format(str, 120, "%s {FAFAFA}je usao na server.", pName);
        AdminGameMaster(GetPlayerColor(index), str);
        #endif
    }
}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike

Znači, da objasnim, problem je u tome što kad uđem na server (hostovan na hostingu), prikazuje mi Connect da sam se konektovao ali netačne informacije šalje:

Pošalje mi Ime igrača da je tačno, ID: random neki id bubne 66, 76, 71, Zemlja - i kad se treba pojavit zemlja tu ništa ne piše
Dole ip adressa radi ali Zemlja i ID NE
GamerOfTheYT
5
OG Legend
4. Jul 2018.
BUMP, prošlo 24h...
NenaD22
3
Hustler
4. Jul 2018.
Mrsko mi da nagadjam , posalji mi pwn fajl i pawno da pregledam sve.

Ne brini neam pametnija posla nego da cuvam tudje modove i skripte , dosta mi mog posla  😎
David||BM
5
Made Man
🔥2
5. Jul 2018.
imas na mom fbu Skorpija Bratt u folderu sistemi za objaviti imas geo ip i tacan je skroz 😄
bc-cod2
3
Hustler
5. Jul 2018.
http://forum.sa-mp.com/showthread.php?t=605326

API key?

http://forum.sa-mp.com/showthread.php?t=296171
http://forum.sa-mp.com/showthread.php?t=436115
GamerOfTheYT
5
OG Legend
5. Jul 2018.
buLLeT_ wrote on July 5, 2018, 6:09 pm:
http://forum.sa-mp.com/showthread.php?t=605326

API key?

http://forum.sa-mp.com/showthread.php?t=296171
http://forum.sa-mp.com/showthread.php?t=436115

Imam APIKEY
@Skorpija Vidjet ću hvala 😄

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha