Jump to content

Looks Like RPCs Have Reached Their Limits


Philip.
  • Fixed

I was playing around with some server RPCs and found out that the built-in ones have a limit of 63. There are exactly 64 valid RPC codes (0-63). But the game starts from 1 and the last RPC has the code 64!
 

Since they are stored in an unordered table, depending on the systems order, there will always be at least one truble maker who will throw the "Error encoding lua RPC code" into the console.


Steps to Reproduce

Try to send RPC with a code higher than 63 to the server. See that it reaches the limit and throws an "Error encoding lua RPC code" error.

Also notice that the game uses the invalid code 64 for it's last RPC.




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...