5zig-reborn / The-5zig-Mod

All-in-one modification for Minecraft 1.8.9-1.15.2
https://5zigreborn.eu
GNU General Public License v3.0
109 stars 12 forks source link

Chat message filter not working for multiline chat messages? #106

Closed 5zig-reborn-bot closed 4 years ago

5zig-reborn-bot commented 4 years ago

Submitter: dukioooo I play on hypixel and I'm trying to make a chat filter to get afk notifications for when I get invited into a party.

Here's hypixel chat message when you get invited:

&r&7PLAYER &r&ehas invited you to join their party!
&r&eYou have &r&c60 &r&eseconds to accept. &r&6Click here to join!&r&9
&r&9&m-----------------------------&r

In game preview: https://i.imgur.com/9wRu88A.png

This is the filters I've tryed (using copy to 2nd chat option, with and without server specified): *has invited you to join their party!* *you have 60 seconds* *Click here to join!*

None of these work which is really strange. I don't have any issue with any other chat filter... I guess the possible issue here is that the message is multiline?

dukio commented 4 years ago

If you need more info tag me here or discord: dukio#7683

EDIT: Forgot to include version, latest 1.8.9: 5zig-Reborn-1.8.9-3.14.0

roccodev commented 4 years ago

Thanks for the detailed report and a way to contact you. Can you send the list of other installed mods, if any?

dukio commented 4 years ago

Thanks for the detailed report and a way to contact you. Can you send the list of other installed mods, if any?

[1.8.9] BlockOverlay-v2.1.jar [1.8.9] Sidebar Mod Revamp.jar 5zig-Reborn-1.8.9-3.14.0.jar Autotip-3.0.1 [1.8-1.2.2].jar ctjs-1.2.2-1.8.9.jar LunatriusCore-1.8.9-1.1.2.32-universal.jar Motion Blur-2.0 (1.8.9).jar OptiFine_1.8.9_HD_U_L5.jar Patcher-1.2 (1.8.9).jar Schematica-1.8.9-1.7.7.143-universal.jar Scrollable Tooltips-1.2 (1.8.9).jar SkyblockAddons-1.5.2-beta.1-for-MC-1.8.9.jar Skypixel-0.0.6.jar

EDIT: I tried keeping only 5zig mod but it still doesn't work for me... so it doesn't seem like it's caused by another mod

dukio commented 4 years ago

Was anyone able to replicate this?

U5B commented 4 years ago

This is actually a single chat message spanned over multiple lines. However, I don't understand why it doesn't get detected. Maybe \n messes things up?

Another thing to note is that the dashes are included in the message.

roccodev commented 4 years ago

Can you attach a copy of your .minecraft/logs/latest.log file? There might be a parsing error you don't see.