kyngs / LibreLogin

Open-source, multiplatform, and highly customizable authentication plugin with outstanding features and API.
Mozilla Public License 2.0
165 stars 53 forks source link

Implement Sonar antibot support #205

Closed overkidding closed 7 months ago

overkidding commented 7 months ago

[08:43:38 ERROR] [LibreLogin]: The uuid field was not found in the PendingConnection class, please report this to the developer. And attach the class summary below. [08:43:38 ERROR] [LibreLogin]: -- BEGIN CLASS SUMMARY -- [08:43:38 ERROR] [LibreLogin]: Class: xyz.jonesdev.sonar.bungee.fallback.FallbackInitialHandler [08:43:38 ERROR] [LibreLogin]: net.md_5.bungee.netty.ChannelWrapper: channelWrapper [08:43:38 ERROR] [LibreLogin]: net.md_5.bungee.BungeeCord: bungee [08:43:38 ERROR] [LibreLogin]: xyz.jonesdev.sonar.bungee.fallback.FallbackUserWrapper: user [08:43:38 ERROR] [LibreLogin]: xyz.jonesdev.sonar.api.fallback.protocol.ProtocolVersion: protocolVersion [08:43:38 ERROR] [LibreLogin]: boolean: receivedLoginPacket [08:43:38 ERROR] [LibreLogin]: boolean: receivedStatusPacket [08:43:38 ERROR] [LibreLogin]: xyz.jonesdev.sonar.api.fallback.Fallback: FALLBACK [08:43:38 ERROR] [LibreLogin]: java.util.Map: CACHED_KICK_PACKETS [08:43:38 ERROR] [LibreLogin]: -- END CLASS SUMMARY --

kyngs commented 7 months ago

Sanely formatted log:

[08:43:38 ERROR] [LibreLogin]: The uuid field was not found in the PendingConnection class, please report this to the developer. And attach the class summary below. 
[08:43:38 ERROR] [LibreLogin]: -- BEGIN CLASS SUMMARY -- 
[08:43:38 ERROR] [LibreLogin]: Class: xyz.jonesdev.sonar.bungee.fallback.FallbackInitialHandler 
[08:43:38 ERROR] [LibreLogin]: net.md_5.bungee.netty.ChannelWrapper: channelWrapper 
[08:43:38 ERROR] [LibreLogin]: net.md_5.bungee.BungeeCord: bungee 
[08:43:38 ERROR] [LibreLogin]: xyz.jonesdev.sonar.bungee.fallback.FallbackUserWrapper: user 
[08:43:38 ERROR] [LibreLogin]: xyz.jonesdev.sonar.api.fallback.protocol.ProtocolVersion: protocolVersion 
[08:43:38 ERROR] [LibreLogin]: boolean: receivedLoginPacket 
[08:43:38 ERROR] [LibreLogin]: boolean: receivedStatusPacket 
[08:43:38 ERROR] [LibreLogin]: xyz.jonesdev.sonar.api.fallback.Fallback: FALLBACK 
[08:43:38 ERROR] [LibreLogin]: java.util.Map: CACHED_KICK_PACKETS 
[08:43:38 ERROR] [LibreLogin]: -- END CLASS SUMMARY --
kyngs commented 7 months ago

Honestly, this would be better if it were handled on Sonar's side, but if anyone wants to implement this, I'll accept a PR.

overkidding commented 7 months ago

Sonar developer replied to my issue and said that he will fix ASAP

overkidding commented 7 months ago

Patched by #164