Closed Technoblazed closed 8 years ago
i'll check that
in OnClientPutInServer
(shavit-core) could you replace this whole section and try again?
From this:
char[] sIP = new char[32];
GetClientIP(client, sIP, 32);
char[] sCountry = new char[45];
GeoipCountry(sIP, sCountry, 45);
if(strlen(sCountry) == 0)
{
strcopy(sCountry, 45, "Local Area Network");
}
To this:
char[] sIP = new char[32];
GetClientIP(client, sIP, 32);
char[] sCountry = "Local Area Network";
Also remove the
Works fine with the replacement and removal
Try now, with this fix.
Server crashes
this is in no way related to shavit-chat then i think you'll have to apply this workaround and file a bug for the geoip extension until it's solved. it's not related to my plugin, sorry
Just to let you know, I got a response, Sourcemod versions 5919 and a few others have a GeoIP.dat of 0 bytes. So if anyone else experiences the issue, they should get the .dat from a previous version.
Sourcemod Version: Latest 1.8 Stack Trace: https://crash.limetech.org/3pbitisifean
Upon player connect with shavit-chat enabled, the server seems to crash. Other than the stack trace there are no other logs, any ideas?