-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bots: Replace chat upload to lobby with simple info logging (#12741)
Commentary: - Drawback: bot chat history will no longer be readily available to moderators. That was useful when deciding "he-said-she-said" style disputes. - Benefits: fixes potential infinite loop that would crash the bot & simplifies. Fix details: - Any warn/error message is sent as a chat message. Any chat message in turn is sent to the lobby. If there is an error sending a message to the lobby, it can yield an error message, which in turn triggers a chat message, which in turn yields another upload to the lobby thereby starting an infinite cycle. If we do not send messages up to the lobby, then this is no longer a problem. Future plans: - Overall, ideally we can invest efforts in "network relay" rather than bot hosts, and remove all of the headless-game code entirely.
- Loading branch information
1 parent
1aa85c6
commit dcda979
Showing
5 changed files
with
5 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 0 additions & 62 deletions
62
.../game-core/src/main/java/games/strategy/engine/framework/startup/mc/ServerChatUpload.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters