Giter Club home page Giter Club logo

Comments (2)

nwesterhausen avatar nwesterhausen commented on June 15, 2024

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.

CruxCraft avatar CruxCraft commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.