Twitch Chat Bridge (Fabric)

Twitch Chat Bridge (Fabric)

110k Downloads

Not receiving messages

iMcFly opened this issue ยท 16 comments

commented

Hi!

I'm able to enable the twitch chat and it shows that it connects, I can send a message to my Twitch chat using the prefix I set up (and have verified that works), but the chat itself does not appear in Minecraft. So I'm effectively able to send messages but not receive them.

commented

See attached. For context; I started up the game, connected to the world on my server, connected to the twitch chat and sent a test message both via the game and via twitch.tv. Then quit the game.
latest.log

commented

Hey, which Minecraft version are you on? And you're on the latest mod version on CurseForge, b0.5.1, right?

commented

Hey! Thanks for the support! Yes, I'm up to date on everything.

I'm running;

  • Minecraft 1.15.1
  • twitchchat-b0.5.1
  • Fabric Loader 0.7.5+build.178-1.15.1
  • fabric-api-0.4.27+build.286-1.15
  • modmenu-1.8.3+build.19
commented

Could you keep the launcher console open while you run your game and send me a copy of the log (it should display any messages you receive and errors the mod runs into).

You can keep the launcher open by going to settings and clicking "Keep the Launcher open while games are running".

commented

Oh excellent! And sorry I didn't even think to send the latest.log.

java version "12" 2019-03-19
Java(TM) SE Runtime Environment (build 12+33)
Java HotSpot(TM) 64-Bit Server VM (build 12+33, mixed mode, sharing)

commented

I'm gonna be honest, I have no clue why your client is not receiving any messages. Could you try using this build and doing the same you just did on your last message?

commented

Getting the same behaviour with the new build. So weird. The only thing that I can think of is that I'm on a Mac; I figure that shouldn't make any difference with it being Java but not sure if it's expecting any Windows-dependencies of some sort? (Not a software developer so no idea - shot in the dark).

commented

Yeah, it's the same build, just added a little more console output when it receives messages, could you send me a log of that?

It should work on macOS, I develop the mod on a Mac so I don't thinking that's a problem. BTW, which Java version are you on?

commented

Ok, I can't recreate your environment because Java 12 is no longer supported, could you upgrade to Java 13?

commented

Sure!

Now on java version "13.0.2" 2020-01-14
Java(TM) SE Runtime Environment (build 13.0.2+8)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)

Rebooted after installation. Issue persists. Here's the latest.log

commented

I've noticed you have some other mods, I don't think my mod does something specific enough to make it non-compatible with any mods, but it's giving me enough of a headache as is, so, could you rename the mods to something like *.jar.disabled before running the test?

I want you to test this build, it logs a bunch more stuff (sometimes even three times...). But before you send the log file, make sure to remove your oauth key (you can find it by searching for "oauth:" with notepad, there should be three occurrences).

I'd also like you to send me your config.json file in .minecraft/config, make sure to remove your oauth key here as well.

commented

Absolutely! I've done as requested and so now the only mods that are active are the Fabric API, Mod Menu, and your latest build.

Here's the latest.log with the oauth keys removed.

And this is the contents of my config.json file;

{"channel":"AlastairMcFly","username":"AlastairMcFly","oauthKey":"oauth:[redacted]","prefix":":"}

commented

Could you try on another channel? I've tested on your channel and it doesn't work for me either. I'm looking into why it doesn't work, though.

commented

Ha! Catched the bug! When you send messages to channels (which you can do without joining them), Twitch doesn't care about cAsE, but when you want to join a channel (to listen to messages on it), it does care.
I had always tested with my Twitch channel, which for some reason worked fine with case, but yours doesn't.
Anyways, it now works. Gonna clean up the code a bit, push it to git and put it on CurseForge.

commented

Before closing this, could you try using this build? Just to make sure it works before releasing on CurseForge. No need to send logs.

commented

That latest build works! Nice bug catch. Thank you so much!!