Kicking (IP) because they didn't logon to the game.
#1

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:
PHP Code:
public OnPlayerConnect(playerid)
{
    
// TextdrawLines
    
TextDrawShowForPlayer(playeridTextDrawMain1);
    
TextDrawShowForPlayer(playeridTextDrawMain2);
    
// Site
    
TextDrawShowForPlayer(playeridsite);
    
// Login Timer
    
KillTimer(logintimerf);
    
// Get host IP
    
GetPlayerHost(playerid);
    
// Join Camera
    
SetTimerEx("JoinCamera"1000"d"playerid);
    
// Sound
    
PlayerPlaySound(playerid11850.00.00.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"200true"i"playerid); 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)