Closed ITz-Viks closed 1 year ago
This error is only sent from the server when you request data, so isn't available upon construction or connection. I could send a ping on Connect, but I don't see the point in this.
Player Credentials are only sent when you request data, hence this behaviour
That's true. It'd be very rare to naturally encounter this issue, I just wanted to let this be known.
Creating a RustSocket object with the correct server ip and port and wrong steamid and/or player_token will still successfully connect and create a RustSocket object but attempting to run socket commands such as get_info will result in a not_found error. The issue is that this is not caught by the on_failure specified in socket.connect()
Error:
Note that C:\Users\Vik\OneDrive\rustplus is the directory of my project and not the lib(it is located in a venv)