Closed Rhodizzle closed 9 years ago
What does debug mode print anything at all?
Can I get a list of the mods you are running and the exact version of forge?
Debug mode doesn't seem to print anything regarding chat not being forwarded.
Here's the modlist: http://www.technicpack.net/modpack/antivanilla2.628815/mods.
It's a kitchen sink mod :)
Does debug mode output to console or a log file? Also, forge 10.13.3.1384.
It depends on how your server is configured. If you have a custom log4j it might end up somewhere else. Otherwise on a plain forge server it would appear in the main log.
Ah, found the debug logs in the FML logs. Give me a few minutes to get my client reconnected and test it again...
So, when I chat on the forge server, I get nothing whatsoever in the purpleIRC chat logs.
If I chat in the IRC Channel directly, I get this on the Forge Server:
[20:11:00] [listenerPool0-thread804/DEBUG] [PurpleIRC/PurpleIRC]: [DEBUG] Message caught
If I chat in the 1.8 server, I get this in the forge server:
[20:13:16] [listenerPool0-thread828/DEBUG] [PurpleIRC/PurpleIRC]: [DEBUG] Message caught
I'll need to add some additional debug messages to see where it is failing.
Ok. Drop me a note here when you want me to test with a new version. Noob question: is there an easy way to build from source off of your git repository? I have version 15 installed which is the latest on curse, but the debug says there is a version 17 when it does the update checks. Does the update check git or another source?
The update checker currently checks http://h.cnaude.org:8081/job/PurpleIRC-forge/ Build 18 has the extra debugging. Building from source is not quite simple. I can probably add the instructions to the readme.
Ah ok, I'll bookmark the Jenkins link. I don't have any need to build from source, just couldn't find the .jars other than on curse.
Is there an easy way for me to fire up a server with all the mods you use? Then I can test it myself.
I wouldn't call it easy. If you install Technic and log in then put this full url in the search bar "http://www.technicpack.net/modpack/antivanilla2.628815" it will find our AntiVanilla2 modpack. Once you install that, you can copy the mods and configs from the technic directory over to the forge server that you have. As a reminder, we're running Forge 10.13.3.1384. Remove CustomMainMenu and ResourceLoader as they are client only mods (don't need to worry about configs, just the jar in the mods folder.)
Just got the -18 test up and running, no change. The DEBUG logs aren't firing at all with normal chat and I also noticed that the /irc send TEXT command doesn't work from the console. I know absolutely zero about mod development for forge, but my programming background makes it feel like there is an issue with the hook into forge chat, probably caused by another mod. I'll try running the server with purpleIRC only and see if there are still issues as well.
Definitely a mod conflict, just not sure how to figure out which one is causing it. On a clean server it works great.
It's likely just any mod that may be handling chat events. Which of your mods have chat related functions?
I'm going through them now.
The only one that appears blatantly chat related was emotes. Removing that didn't fix it. I'll have to wait until i have time to do it one by one, meh.
Did build 18 print out an debug messages like "[onServerChat]" in the logs? It should print that as soon as it catches a chat event.
There was nothing. It was triggering on inbound events from IRC and joins/disconnects, but no chat caused any debug logs. I'm working through removing AsieLib and it's dependencies, it was talking about chat in the log.
Hah! Asielib 0.3.10 conflicts. Once I removed that it started working correctly...
Relevant: https://github.com/asiekierka/AsieLib/tree/1.7/src/main/java/pl/asie/lib/chat
There is a specific handler in there for EiraIRC. I wonder if you'll need to ask them to build one for Purple or if it's something that you can address on your end...
I'm testing to see if the disable chat tweaks option in AsieLib fixes it...
Next build should have a fix for this.
Ok. Setting enableChatTweaks=false in asielib.cfg also resolves it as a workaround.
Grabbing build 19, will test with enableChatTweaks set to true.
i'll post back tomorrow :)
Make sure to also set "ignore-chat-cancel: true" in your config.yml. Build 20 will require that to be true for the workaround to work.
With AsieLib's chat mods set to true, I've started up with ignore-chat-cancel set to both true and false on build 20 and it doesn't pass chat. Disabling AsieLib's chat mods is still the only way to get it to work. Did I misunderstand what to expect in build 20?
Now that I know what mod is causing the problem I'll test it on my side and get this worked out. do you happen to have the debug output from the startup?
I'll see what I can grab later.
On Thu, May 14, 2015 at 8:12 AM, Chris notifications@github.com wrote:
Now that I know what mod is causing the problem I'll test it on my side and get this worked out. do you happen to have the debug output from the startup?
— Reply to this email directly or view it on GitHub https://github.com/cnaude/PurpleIRC-forge/issues/1#issuecomment-102048050 .
I tested the latest build with AsiesLib and it works correctly. When you have a moment please load build 21 and enable debug mode. Also double check that ignore-chat-cancel is set to true in your config.yml.
Nice, now it's working!
On Thu, May 14, 2015 at 7:35 PM, Chris notifications@github.com wrote:
I tested the latest build with AsiesLib and it works correctly. When you have a moment please load build 21 and enable debug mode. Also double check that ignore-chat-cancel is set to true in your config.yml.
— Reply to this email directly or view it on GitHub https://github.com/cnaude/PurpleIRC-forge/issues/1#issuecomment-102217567 .
Solved in build 21: http://h.cnaude.org:8081/job/PurpleIRC-forge/21/
Hi cnaude, I'm using this mod on a custom forge server to link chat together with my 1.8 spigot server. The 1.8 mod is working flawlessly, however the forge version is not sending regular chat to IRC. Player joins/leaves go through and players can use /irc send X to send messages to IRC, but their default chat isn't getting relayed. I have no errors anywhere to give you, even trying to put it into debug mode.
Anything else I can do to help?