RealIP icon indicating copy to clipboard operation
RealIP copied to clipboard

Update the IP on publishing PreLoginEvent. (Bug Fix)

Open Rollczi opened this issue 4 years ago • 2 comments

Linked bug: https://github.com/games647/FastLogin/pull/639

Rollczi avatar Oct 29 '21 00:10 Rollczi

Apologies, what's the purpose of this? You seem to have re-introduced an event which was previously causing issues due to not having the correct hostname data. I understand your approach might've been to have player#setIP called for the player to have the correct IP but AFAIK that's already handled on handshake and the handleHandshake is returned anyway if true is passed and the event spits out the erroneous data, which doesn't seem like an absolute fix for this. I need to do some debugging on my end with Velocity to figure out why sometimes the hostname passed is incorrect only for PreLoginEvent - I'll get back to you on this.

DylanKeir avatar Oct 29 '21 00:10 DylanKeir

okey

Rollczi avatar Oct 29 '21 01:10 Rollczi