25.05.2015, 12:43
Hello,
From along time it's doing that "Kicking (IP) because they didn't logon to the game." and it's freezing the server and nobody can logon. I read a lot topics for that. I thought it's from infinite loops. I didn't find anything. I read also it could be from OnPlayerConnect. I already have no clue from it comes.
the top lines of OnPlayerConnect:
From along time it's doing that "Kicking (IP) because they didn't logon to the game." and it's freezing the server and nobody can logon. I read a lot topics for that. I thought it's from infinite loops. I didn't find anything. I read also it could be from OnPlayerConnect. I already have no clue from it comes.
the top lines of OnPlayerConnect:
PHP Code:
public OnPlayerConnect(playerid)
{
// TextdrawLines
TextDrawShowForPlayer(playerid, TextDrawMain1);
TextDrawShowForPlayer(playerid, TextDrawMain2);
// Site
TextDrawShowForPlayer(playerid, site);
// Login Timer
KillTimer(logintimerf);
// Get host IP
GetPlayerHost(playerid);
// Join Camera
SetTimerEx("JoinCamera", 100, 0, "d", playerid);
// Sound
PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.0);
new string[256], string2[1337], pName[MAX_PLAYER_NAME];
// Drift Points
LoadTextDraws(playerid);
Drifting[playerid][CurrentPoints] = 0;
Drifting[playerid][DriftBonus] = 1;
Drifting[playerid][DriftMode] = false;
Drifting[playerid][FixMode] = false;
TimerInfo[playerid][AngleTimer] = SetTimerEx("AngleUpdate", 200, true, "i", playerid);