[REP++] Players getting 'server closed the connection'
#10

Quote:
Originally Posted by Vince
Посмотреть сообщение
Infinite loops often cause this. They may not always manifest themselves in regular for or while loops. Toggling spectating off within OnPlayerSpawn can cause this. Using CancelSelectTextDraw within OnPlayerClickTextDraw can also cause this. And perhaps there are more of such flaws.
Hello Vince,

I read one of your old replies to another guy who had the same problem like me. I removed TogglePlayerSpectating from onplayerspawn and problem still continues.

I also have , at onplayerspawn ofcourse, the next things that may be suspicious:

"SetCameraBehindPlayer(playerid);"
"ResetPlayerWeapons(playerid);"
"SetPlayerWeather(playerid, 1);"
"SyncPlayerTime(playerid);"
"ResetPlayerWeapons(playerid);"
"GivePlayerWeapons(playerid);"


Suddenly all players got ackslimit warning in server log then they got [part] x disconnected. What can cause this ? Can you tell me another causes or what to search ? Can you give me your contact id please?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)