Gamemode starts "hanging", ackslimit problems?
#1

Ahoy friends

I published my latest work Last Bed Standing and its working fine.
But problem is: After some time or after connecting i get some client exceeded 'ackslimit' limit 10000 bla bla.
I raised the limit up to 10000 but still having this problems.

When i encounter this problems nothing works on the server, the players do not receive money or anything else.
I also get "messageholelimit" errors

Whats the problem?

Link to my gamemode

http://pastebin.com/16cKHfUe
Reply
#2

Raising the ackslimit is never the solution. Frankly I don't understand why that option is even there. The default (3000 or something) should be MORE than sufficient. If you get these messages a lot it means you're sending way too much data to a player in too short a time span. The problem usually arises from an infinite loop in the code. Known causes are toggling spectating off within OnPlayerSpawn (because doing so will call OnPlayerSpawn again which sets the loop in motion). Another cause is using CancelSelectTextDraw inside OnPlayerClickTextDraw, for the same reason. Neither seem to be in use here so what the culprit actually is remains shrouded in mystery. You'll have to look into whatever you added last.
Reply
#3

Hmm thanks, unfortunately i really dont know what the problem is.

This happened right now:

Code:
[17:53:50] Number of vehicle models: 144
[17:53:50] Player 0 reports client version: 0.3.7
[17:53:50] Player 1 reports client version: 0.3.7
[17:53:50] Player 2 reports client version: 0.3.7
[17:56:03] [kill] Knogle killed Horst_Josef Shotgun
[17:56:04] Distance to closest bed: 1.679114, Index: 1
[17:57:41] [death] Horst_Josef died 54
[17:57:57] [death] Horst_Josef died 54
[17:58:25] Distance to closest bed: 4.402647, Index: 2
[17:59:41] [death] Horst_Josef died 54
[18:00:28] 0 spent 25000 to purchase weapon 31
[18:00:33] 0 spent 15500 to purchase weapon 27
[18:00:36] 0 spent 25000 to purchase weapon 34
[18:00:43] 0 spent 5000 to purchase weapon 28
[18:00:44] 0 spent 5000 to purchase weapon 28
[18:01:48] [warning] client exceeded 'ackslimit' 89.0.xx.xx:64020 (3981) Limit: 3000/sec
[18:01:58] [part] Horst_Josef has left the server (2:0)
[18:02:00] [warning] client exceeded 'ackslimit' 89.0.xx.xx:51250 (3123) Limit: 3000/sec
[18:02:10] [part] G3rry_Kin9 has left the server (1:0)
[18:02:10] [chat] [Knogle]: t
[18:02:37] [part] Knogle has left the server (0:1)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)