Code Monkey home page Code Monkey logo

Comments (8)

nwesterhausen avatar nwesterhausen commented on August 21, 2024 1

I think I need to add return statements in EventWatcher.cs to stop it once it reaches an outcome

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on August 21, 2024 1

You may want to regenerate your Webhook since it was inside the config you posted.

I believe I've fixed the issue and will include it in the next release. Attached is a build including the fix if you want to try it out now (only change being the Event duplicate message fix)

DiscordConnector.zip

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on August 21, 2024

Yeah its definitely sending two messages. One with and one without coordinates. Probably an issue in the logic determining how to send it.

from valheim-discordconnector.

maxfield-allison avatar maxfield-allison commented on August 21, 2024

Thanks for your time and attention on these issues. really working well for our server. especially since I'll be going public in a week or two and removing the password.

from valheim-discordconnector.

CruxCraft avatar CruxCraft commented on August 21, 2024

This isn't just when fancy messages are enabled. All of our event POS toggles are set to false, but the POS is still being sent with one of the messages. I am deleting them as I see them so that base locations aren't revealed as much...

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on August 21, 2024

Do you know which event message is sending it? -- Meaning Start/Pause/Resume/Stop

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on August 21, 2024

Actually I think I see the logic issue I didn't.

All the event message sections (in dev, and the .zip above) have the following:

                if (!Plugin.StaticConfig.EventStopPosEnabled)
                {
                    DiscordApi.SendMessage(message);
                    return;
                }

Which if POS is disabled sends the message and stops executing code for that method. That exists for all start/stop/pause/resume.

I will release this patch now

from valheim-discordconnector.

CruxCraft avatar CruxCraft commented on August 21, 2024

Do you know which event message is sending it? -- Meaning Start/Pause/Resume/Stop

I might have gotten this to you a little late, but I don't at the moment as I deleted them. It looked very similar to the first person in this thread, so I am assuming it is the second event start message. I will test out 1.4.4 later today, but I'll assume it's fixed there =] Thanks for the update

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.