Comments (2)
I feel convinced that say and whisper leave one client and go to other clients in range when they are sent. These never seem to be visible to a dedicated server, and when running on the client-hosted server, I can only see the say and whisper messages from the host.
I have tried hooking into both the OnNewChat and the RPC methods in the Chat class. When running on the client, what the player says and whispers does go through the OnNewChat method. But on a dedicated server there is nothing. I'm pretty sure the says and whispers are simply routed by the server between clients that are close to one another.
It may be possible to do some complicated patching and connect the OnNewChat to send a message to the server for all types of messages that this app could listen for but, for me, this isn't a priority to dig into -- so if someone wanted to dig more into this and find out how to make it work, please do 😄
from valheim-discordconnector.
The best work around I have found for this is to use a mod like BetterChat which makes normal chat turn into shouts & then players have to type /say to do normal chats as before (it removes the map pings, but requires all players to have it installed client side so this isn't a server-side fix). It is working great for our needs though, as it makes communication easier across the server as well... wish there was a toggle instead of needing to type /say or /shout for every message
As normal convos sort of seem like they are intended to be local anyway and not broadcast, this might be the better route than trying to figure out chat & whispers. idk.
from valheim-discordconnector.
Related Issues (20)
- ignore a specific user for the leader board stat messages
- ArgumentOutOfRangeException HOT 2
- Issue Inquiry Discord Connector HOT 4
- Welcome Message | Issue? HOT 2
- Capture and display SteamID and IP? HOT 6
- Enhancement Request - Quests & Marketplace events leaderboard
- Chat Shout | Potential Issue HOT 9
- Leaderboard Data Update | Issue HOT 1
- Update configuration documentation
- Toggle for Extra Logging HOT 1
- More specific death messages HOT 1
- more easy to look in discord channel with debug
- Server Start/Stop notifications when player leaves or joins HOT 2
- valheim update 0.216.9
- Make a way to display local IP when server start HOT 4
- [BUG] records.db isn't getting populated from records.db.log HOT 1
- [BUG] Player join/leave notifications no longer working HOT 1
- [Feature Request] A notification for when bosses are killed...
- Inquiry on web exception log HOT 1
- [BUG] TWO IPs displaying with webhook on discord instead of ONE HOT 2
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 valheim-discordconnector.