02.01.2012, 14:45
When my server reaches a "high" (relative) player count (40 or higher) it starts bugging. With bugging I mean that nothing seems to be working the way it should anymore, not even the samp callbacks:
(1) Most admin commands don't work anymore (ban, kick, mute, slap, ... - maybe sscanf?)
(2) Players can connect without actually registering, so they can just skip the register dialog whilest this is script-wise impossible
(3) The OnPlayerText callback always returns 1, even when I force it to return 0, this causes all the otherwise private chats to be visible (admin chat, channel chat, ...)
(4) Players getting stuck when they connect, ...
The list goes on and on and frankly I'm baffled. The server uses A LOT of enums, I can't see how this is a problem though. Has anyone else had this problem before?
I'm not a newcomer when it comes to writing pawn code, all my plugins and includes are up-to date and in most cases I know pretty damn well what I'm doing so please don't make any stupid suggestions.
100++ rep for the person who solves the problem
(1) Most admin commands don't work anymore (ban, kick, mute, slap, ... - maybe sscanf?)
(2) Players can connect without actually registering, so they can just skip the register dialog whilest this is script-wise impossible
(3) The OnPlayerText callback always returns 1, even when I force it to return 0, this causes all the otherwise private chats to be visible (admin chat, channel chat, ...)
(4) Players getting stuck when they connect, ...
The list goes on and on and frankly I'm baffled. The server uses A LOT of enums, I can't see how this is a problem though. Has anyone else had this problem before?
I'm not a newcomer when it comes to writing pawn code, all my plugins and includes are up-to date and in most cases I know pretty damn well what I'm doing so please don't make any stupid suggestions.
100++ rep for the person who solves the problem