Ackslimit..?
#1

Hi, so this is what I receive:
Код:
[warning] client exceeded 'messageholelimit' (1) 192.168.0.5:50347 (3815) Limit: 3000
I released that it has something to do with this: http://pastebin.com/vkagudhW

Any suggestion?
Reply
#2

You have a recursion there. Every time that recursion occurs a new repeating timer is set but the old one isn't killed. Eventually you will have so many timers that they all fire one after the other, which results in an extreme amount of data to send, which results in this problem. You must've noticed a CPU spike as well. Also textdraw does not need to be re-shown when SetString is used.
Reply
#3

Oh, thank you.
I though that I needed to hide & show between. Lmao.
I'll try it out.
Reply
#4

Finally made it work, now I'm just wondering, would it cause lag if I run the timer each 01 millisecond?
Reply
#5

I'll assume you mean 10. And then the answer is: yes, probably. For reference, OnPlayerUpdate is called roughly every 30 milliseconds so this is even faster than that. The blink of an eye is about 300 milliseconds.
Reply
#6

What about 500? a half second.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)