Closed avi312singh closed 3 years ago
Hi,
This package is used for games which impliment the Source Dedicated Server Rcon Protocol only, this package would not work for your needs.
Also, you cannot make a standard FETCH request to a game server, since game servers run on UDP/TCP packets. You will need to find another package with can accept their different Rcon protocol and message types. You can find how we did it in https://github.com/EnriqCG/rcon-srcds/blob/master/src/rcon.ts
This package, alongside srcds-rcon, both can only communicate with the Valve Rcon protocol. That would be why you're probably seeing this error.
Thanks for letting me know - so this package won't suit me? Should I try adapting this package to match the docs I sent earlier on their confluence pagee... or shduld iI try and find a npm nodule that works with chiv?
It's hard to say which one would suit best. Try to look into it a bit, it's not hard to understand but it definitely isn't trivial.
I don't see packages either straight away that work with Chiv.
You know of any other way to get steam IDs from a dedicated (chiv) server ? That's all I'm trying to do haha
No idea, I only know the rcon protocol.
I will try and look into extending this package for chivalry's custom rcon protocol implementation - thanks
I am running a dedicated chiv server but cannot seem to use this to authenticate into the server. Here is the server ip: 79.98.25.135 Time out error: Otherwise there is documentation here about the rcon protocol that should be working but not sure how to make a request to access this information using a standard fetch or axios request.. Made a SO post: https://stackoverflow.com/questions/68008587/steam-api-fetch-steam-ids-using-player-names