-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disconnect: [USER] overflowed reliable buffer #337
Comments
You're sending a request every think tick, which is why you're exceeding the tick quota. The overflow of the reliable buffer is because you're sending too many net messages. Hopefully you can fix your problem. Slightly unrelated, on line 12 of the lib you are putting "action" into the table, but it does not exist. Also this isn't really the place to ask for help since this is for the development of Starfall. I don't know how the owners feel about asking for help on here but in future try asking for help on the wiremod forum post for Starfall. |
This isn't a call for help,as I know what's wrong, the problem is that starfall don't protect the user by limiting the network, therefore letting the game kick him. But thanks for helping! |
Sorry, I misunderstood. I just tried your code on a server and it exceeds the tick quota but it does not kick me. Not too sure why it is kicking you. |
We are limiting the amount of net messages you can send. Maybe we need to factor in the size of them, as well. That doesn't get checked at the moment... |
@Xandaros, Wonder if GMod has any documentation about how much is too much for net. If we knew what the cap was, then we could just limit it to that? |
I was playing around with a way to make the server control the client entirely by the net lib, and everytime I run it, a few milliseconds later, I'm automatically kicked.
In the console, I can see that I send one request, then recieve one, then send eleven other requests while not recieving them, then I exceed the CPUQuota and get kicked
Here is my main code:
http://pastebin.com/w7vNcF6e
and the lib:
http://pastebin.com/VMW910p7
The text was updated successfully, but these errors were encountered: