Closed Kruoth closed 4 years ago
I couldn't tell you, I'm going to need more information than that.
i filled in config.json with my servers IP and port number and ran serverstatus exe and each time the bot in chat says the server offline when the server is running
Ark uses the ICMP protocol this isn't supported by ServerStatus
This seems to be the case. I used this library and I just did some testing and can confirm it does not work with Ark servers, whereas I was to see the port open with nmap. I may look into this in the future, but for now I'm going to consider this case closed.
anvie's Port Scanner library is limited to TCP only.
It's working like a charm for me for months already.... have 2 ARK servers running and using discord bot to notify me when server is up or down...
Interesting. I tested a few public Ark servers yesterday and it showed both of them as being down. I'll reopen the case. I haven't had much time lately to look into this, but if anyone wants to open a PR feel free.
What port did you use?
I'm using the RCON ports, others don't seem to work properly...
I would not recommend using the RCON port. The Ark server might detect strange activities and could even block the IP.
i got it working using the rcon port is there anyway to increase how offen it checks like every 30secs or so?
It pings the servers every 5 seconds. I may add this as a configuration option later.
cace1d40 seems to work okay for steam games including Ark, used github.com/kidoman/go-steam.
i am trying to get your bot to work with on ark server i play on but it says the servers are offline i put the correct ip and port number