-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
where is run.sh or how do you build this? #5
Comments
Hello, I need to update readme indeed. Instead of using single docker image (as I was doing that in the past) I changed recently this repository to use docker compose. Could you run ./run.sh on normal linux and ./run.pi.sh if you are using raspbian? |
Hello @shoter |
@iTKerry I am glad to hear that! :) Currently I want to accomplish some changes by myself but there is an repository that is going to host Admin Port C# client which is going to be used by this repo. It has some tasks which require some attention. For example usage of ILogger is very scarce and it's hard to analyze errors and behavior of AdminPortClient. If it could have more logs then it would be perfect. I only put some logigng last time when I was debugging weird behavior on docker tests. My future plan is to bring this repo in par with OpenTTDAdminPort repo. I have few objectives I want to accomplish:
I am going to create issues from few of those items though. |
Been having a go at trying to get this version to work, since the last version doesn't seem to work anymore on the latest server versions. ;( All I keep getting is this...
|
I updated documentation on how to run bot. @Tintinfan Are u using I also checked on my raspberry pi and bot builds fine. |
@shoter Aha! I was on the feature/portClientNew branch. Just moved to master now and re-checked. It has built and run. Thanks for updated docs. Docker-compose looking to be preforming better too. |
@shoter Do you use JGRs Patchpack? I have an issue where chat messages from the server to discord are delayed by up to 5 minutes, or don't get sent to Discord at all. It works fine from Discord to the server and also works fine for the vanilla version of OpenTTD. |
We use vanilla OpenTTD with some NewGRF - nothing special. Usually when I see big delay I just restart the bot. I am working on new version and I planned new features for future so I hope that experience is going to get better and better. Could you also try to send some rcon commands through this bot? Create channel just for you and bot and:
For example you could use
and it should return list of clients. |
Hey, Thanks for the reply and all your help. I had setup the admin_channel and passing commands like !pause and !clients also take a long time to respond. Everything works perfect with vanilla OpenTTD however. To be honest, I feel it is an issue with JGR patchpack - given it was working fine with versions prior to v0.41.1 which broke his multiplayer. How does the bot work with server admin port? |
It works like this:
(I took some source code from my upcoming new admin port client library, however currently OpenttdDiscord bot works in the same way as AdminPortClient was based on OpenttdDiscord). It is weird that admin port behaves in such a way for JGRP. Do not know what to say though :. I am going to investigate that - I updated my bot to be up2date with master branch. I did not notice that my own bot is outdated. |
I updated my own bot and it seems very responsive. |
Very responsive with JGRP? |
I only tested with Vanilla. |
The readme.md states "run build.sh to build docker image" but there is no build.sh at least for the bot / docker image.
I tried docker-compose and it outputs this:
=> CANCELED [openttddiscord_bot internal] load metadata for mcr.microsoft.com/dotnet/core/runtime:3.1 0.0s
=> CANCELED [openttddiscord_bot internal] load metadata for mcr.microsoft.com/dotnet/core/sdk:3.1 0.0s
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to parse stage name ":latest": invalid reference format
The text was updated successfully, but these errors were encountered: