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)
- [BUG] The output for our current game includes stats from a previous world/game HOT 2
- [BUG] Ping shows player's pos instead of ping's target HOT 2
- [BUG] no messages to discord channel (System.Net.WebException: Error: NameResolutionFailure) HOT 3
- Pass @'s to discord in a way that can be used to trigger discord tags HOT 6
- Override the default username HOT 1
- Multiple servers/world name HOT 2
- [BUG] Ashlands Patch Compatibility HOT 1
- Add option to display current player count with player join/leave message HOT 2
- [BUG] TimeOnline doesn't seem to be reported?
- Interaction with ServerCharacters and stats
- Display Join Code (for crossplay) along with IP when server is started. HOT 2
- [BUG] Join/Leave notification doesn't work correctly HOT 2
- Variable timestamp HOT 1
- Option to have different webhook for each message HOT 2
- Allow math with variables HOT 3
- [BUG] If %VAR1% is used, the variable names are printed out instead of the values HOT 7
- [BUG] %NUM_PLAYERS% is inaccurate HOT 2
- Don't send active player messages when there are no active players
- [BUG] World save/server off/player join/leave messages are not sending correctly HOT 2
- Editing records.db for adjusting recorded statistics? 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 valheim-discordconnector.