spikeydragoon / Cross-Ark-Chat

Provides the ability to cross chat between all your Ark Survival Evolved Servers including discord support.
MIT License
67 stars 25 forks source link

Player counter not working.. #13

Closed vastofficial closed 6 years ago

vastofficial commented 6 years ago

image

spikeydragoon commented 6 years ago

I would try restarting the bot if still having a problem it could be steam not pulling info. Things to check would be does the bot console say patch every so often thats it updating the channel description. If you dont see that then its either stopped or its not getting info from steam.

vastofficial commented 6 years ago

I will be testing that and will close the issue if I deem it resolved. I have experienced this on several versions of the bot. Why does it hang up after a while?

spikeydragoon commented 6 years ago

It used to be due to all the null errors due to me forgetting to add the null check when the server doesnt reply with any information. That has been fixed in 3.5 the second thing is rcon the lib im using is suppose to have a good auto re connect on rcon but its sounding like it isnt working like it should so i been looking into writing the code myself instead of using the lib or at least changing whats needed.

Personally i haven't ran into these problems as my bot has been running for a few months without stopping once(Note my bot is on same server as the ark servers) so it makes it harder for me to see the cause of it but just guessing it is probably it not reconnecting to rcon causing the code to just stop.

I been thinking about just having the bot restart chat if it closes out until i can narrow down whats causing it for some people.

vastofficial commented 6 years ago

That would be cool if it restarts. My only issue is that it should check what it already posted in Discord and what is new so that I don't miss out on messages when it restarts.

I am also running the bot on my own server, where the ark servers are located. It works fine sometimes for a long periods of time but sometimes after a restart it does not.

spikeydragoon commented 6 years ago

Is that after a manual restart or running the restartchat or reboot command?

vastofficial commented 6 years ago

That is after manual restart, basically closing and reopening the window. I didn't even know there was a reboot command. What is the command exactly?

spikeydragoon commented 6 years ago

reboot :P but to see all commands you have permissions for just run d!help just make sure you set up the discord role name file or when you run help you wont see any commands.

spikeydragoon commented 6 years ago

Well looks like its just steam db checked mine and numbers are way off so i will be swapping the system back over to rcon to prevent this from happening again.

Add to to-do list. https://github.com/spikeydragoon/Cross-Ark-Chat/projects/1

Side note not sure if this is just a one time steam thing but overall just better to swap it to rcon.

vastofficial commented 6 years ago

Thank you, that should fix it! Do you have a Discord Server? I wanna keep in touch because I will be making a video on the bot or even offer hosting for it with your blessing!

spikeydragoon commented 6 years ago

Yeah thought you was on there at one point but here is link. https://discord.gg/HAk4BmN

vastofficial commented 6 years ago

Thx, yeah deleted some servers..