Comments (6)
Will add some tests for this in the next rc build.
from dishorde.
Installed 2.0.0.rc3 about 2 hrs ago. So far so good, haven't noticed any dupes. However I have noticed that the delay on sending from Discord to game is worse. Pretty much every message I send now gets "buffered" and requires me to send another to kick it through. Killing and restarting Dishorde sorts it out.
from dishorde.
Can you grab any logs with debug-mode turned on when the "buffering" issue happens?
Edit: Logs were sent to me via Discord, here's the highlight:
This would link this problem with #118, meaning both issues may have the same root cause.
from dishorde.
Have yet to encounter any more of the buffering issue, but I did manage to catch a message not going through at all. I will look into the current logs/detection accordingly.
We could possibly add a message for this. I.e. a temporary, self-deleting message that says something like "Could not send your message to the server".
from dishorde.
Still happening for us. I have disable-non-player-chatmsgs set false so that we get an echo back. That's helpful as it shows us pretty quickly whether the message went through. If it doesn't, we can send a dummy line through to "flush the buffer" as it were.
Interestingly, I just tried capturing some more debug data, first time on 2.0.0. I have the three 3 debug options set true but it's not generating a log file, so that's something to look at.
I did notice that the debug info coming up on the console doesn't include any timestamps nor indication on what it's processing. Perhaps you could add a trace-discord-message option that produces a report like:
Message received from Discord
Sender: Trevor#1234
Msg length: 24
Msg content: blah blah blah
Delivered to game: success / failure
Not practical to do it for messages coming from game though.
Example of a delayed message (and the very-helpful echo!) from just now: https://i.imgur.com/Im3HvFg.png
from dishorde.
I am having the same issue when the text is over a certain character limit. I would have to do more testing and enable debug mode to see what that limit seems to be. I only have chat messages enabled. It is only when the message is sent from Discord to the game. Other direction works fine with no issues as far as I can tell. As noted by original poster, I follow the message with any other message that is below that character limit and it sends the previous message as well as the 2nd one.
from dishorde.
Related Issues (20)
- [v2.0.0-rc1] hide-prefix not working HOT 2
- [2.0.0.rc3] Messages with quotes get truncated from Discord to Game HOT 3
- REQ - Use nicknames rather than Discord base names when sending messages to game HOT 2
- Config option allow-multiple-instances does not block extra instances of the bot
- "Server connection: undefined"
- Dishorde 2.0.0 echoing weird stuff in its console HOT 2
- message style HOT 1
- Bot ignoring HOT 2
- Time and Version not working. HOT 2
- INFO command posting empty string
- new command HOT 1
- Docker image HOT 1
- Check for message content intent and warn if disabled HOT 1
- X HOT 1
- Update Module Please HOT 4
- Duplicated messages HOT 4
- Server Connection shows "connecting..." but never connects.
- Why do these messages appear?
- Duplicated chat messages in discord when players chat in game HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dishorde.