GithubHelp home page GithubHelp logo

Comments (17)

magicus avatar magicus commented on July 23, 2024

Hm. I'm not sure how or when this happens. Is this if you have NPC dialogue overlay active, and the multi-line extraction enabled?

from artemis.

magicus avatar magicus commented on July 23, 2024

Nothing should really "resend" chat.

from artemis.

kristofbolyai avatar kristofbolyai commented on July 23, 2024

Yes, didn't test it while disabled.

from artemis.

magicus avatar magicus commented on July 23, 2024

So you mean that the +1 soul points are sent twice? What's triggering the "resend"?

from artemis.

kristofbolyai avatar kristofbolyai commented on July 23, 2024

Not twice, they are basically sent again when a npc dialogue is sent.

from artemis.

magicus avatar magicus commented on July 23, 2024

Was that the last message before the NPC dialog started?

I try to locate the last sent message by searching for the message text, stripped of formatting, to be able to detect if new messages arrive. This is inherently a bit hit-and-miss, where I could potentially misidentify messages. I can't really figure out how that would happen in this case, though...

from artemis.

kristofbolyai avatar kristofbolyai commented on July 23, 2024

https://paste.ee/p/n6G7C

from artemis.

magicus avatar magicus commented on July 23, 2024

Thanks for the log. Seems there are many issues I need to address there. Tracking a quest with a book seems to trigger the same "screen" like behavior, for instance.

from artemis.

magicus avatar magicus commented on July 23, 2024

Also, some NPC dialogues seems to be not matched.

from artemis.

kristofbolyai avatar kristofbolyai commented on July 23, 2024

It seems to be caused by NPC dialogue without "shift to continue". At least all of those types of NPC dialogue is broken.

from artemis.

magicus avatar magicus commented on July 23, 2024

Where can I find such dialogues? Is it like the initial quest where the caravan driver starts shouting at me?

from artemis.

kristofbolyai avatar kristofbolyai commented on July 23, 2024

Yeah, or the corrupted village iirc.

from artemis.

P0keDev avatar P0keDev commented on July 23, 2024

It seems to be caused by NPC dialogue without "shift to continue". At least all of those types of NPC dialogue is broken.

does this type of dialogue trigger the same chat replacement feature as normal dialogue? i recall it not doing so but maybe i'm wrong

from artemis.

magicus avatar magicus commented on July 23, 2024

I did not think it did. I just thought these NPCs called out like normal chat messages. I'll have to look into it.

from artemis.

magicus avatar magicus commented on July 23, 2024

I've done some tests and analysis on this.

  1. Tracking a quest does not cause "screens". I was worried this might be the case since old-style Wynncraft tracking continuously printed the tracking info to the chat. But that was skipped when they introduced scoreboard tracking. So the quest book tracking was just a red herring.

  2. I was worried this was a bug in the ChatManager. But it's not, at least not what I think right now. It's more of a problem due to Wynncraft, that maybe ChatManager can help handling. It seems that with some NPC dialogs, like the one in Time Valley in the log, the entire chat history is repeated by Wynncraft, but not as a screen -- this we could have detected and handled easily, but line by line. This causes the "+1 soul point" message to actually be sent multiple times.

If my analysis is correct, then we have a huge problem to solve this. We'd need to assume that at any point in time, a chat message is the start of a "non-screen" redraw of the entire chat history. So we need to check it with the history, and if it matches, we hide it -- or rather, keep it aside, until we can confirm that all the following chat messages are indeed a repetition. Otherwise it might be like, e.g. a user chatting the same message (like "lol") several times, and then we should send it on as a normal, new chat message.

I sincerely hope this is not the case, but it sure looks like it from the logs... :-(

I need to get a character to the time valley quest to verify this myself. I'm not sure I have a class that is allowed to do the quest, but has not done it. So that might be a problem. Have you seen this elsewhere? I'm pretty sure Kings Recruit does not do this, but I can check.

from artemis.

magicus avatar magicus commented on July 23, 2024

Good news and bad news.

The bad news is, my suspicion were correct. This is actually how brain-dead Wynncraft does things.

The good news is, this happens in King's Recruit as well, so it is easy to reproduce.

from artemis.

magicus avatar magicus commented on July 23, 2024

I believe this is fixed now

from artemis.

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.