olijeffers0n / rustplus

Rust+ API Wrapper Written in Python for the Game: Rust
https://rplus.ollieee.xyz/
MIT License
102 stars 28 forks source link

Fix type conversion issues in BaseRustSocket constructor #60

Closed neverabsolute closed 7 months ago

neverabsolute commented 8 months ago

If you create the RustSocket object with the steamid and playertoken args as strings, it successfully constructs, but in most cases will cause a very hard to diagnose error or will just fail to connect.

This PR fixes that by requiring the user to pass in an int or int-like object.