I have a correctly formatted python version of my code that I’m currently trying to port over to Java and utilize for a robotics organization as a component to our team’s livestreaming setup. The python version can be found here. The bot handled some commands sent by users with the prefix of and exclamation point (!). However, the transition from Python to Java is a bit bumpy. The first roadblock I’ve run into is :tmi.twitch.tv NOTICE * :Improperly formatted auth. I have considered mixing and matching the ordering of messages sent to tmi.twitch.tv to check if it’s an ordering issue, but the methodology is essentially the same between Python and Java.
TWITCHCOMM is a Socket connection to irc.twitch.tv on port 6667, with keep alive set to true. The Main class is my runner class, which controls most of the data read in from a .properties file which can be edited by the user and saved to static variables that I can access from other classes without the requirement of these variables to be synchronized as they are primarily read-only anyways.
I had forgotten to add this, but even after adding this to each command being sent out the response retrieved was still :tmi.twitch.tv NOTICE * :Improperly formatted auth. Thanks for catching that possible issue!
I am running in the same issue here, except I am in a C++ project. To verify that I was not crazy, I event tried to create another standalon cmd line app that would just use winsocks to connect to the IRC chat and it worked, only using standard ansii strings. In our project we use some internal string class that are using ansii strings, but we always ge the “tmi.twitch.tv NOTICE * :Improperly formatted auth”. When I look at our strings in debug, I do not see the DOM anywhere (or maybe am I not looking the right way). This is kinda driving me nut…