gamendegamer321 / Lethal-Admin

Mod for lethal company adding some administrative functionality like persisting bans and more!
MIT License
3 stars 3 forks source link

[Bug] Kicks/Bans affecting the wrong players #24

Closed DeCat4 closed 2 weeks ago

DeCat4 commented 1 month ago

the host of the server i often play on needs to kick cheaters and sometimes it ends up affecting someone else entirely, when i'm kicked it says the host disconnected

gamendegamer321 commented 1 month ago

When kicking there is a check for both the username and steam ID of the user being kicked. Only the players matching both will be kicked and disconnected. The kicking is, in the end, still done by the game itself. So, I'm a bit confused how this even happens.

Would it be possible to get a clip of this happening, or the steam ID and username of the cheater and the person actually being kicked (including the generated log(s) in the Settings & Logs tab)?

And if I'm not mistaken, in the base game when you get kicked you also get the message that the host disconnected, I don't add a custom message so it shows the same.

DeCat4 commented 1 month ago

i'll try to get a clip next time this happens but i was looking at the host's stream, they banned someone then i got disconnected but i was able to rejoin, it could've just been a coincidence but idk

gamendegamer321 commented 2 weeks ago

I'll close the issue now, if you encounter it again feel free to reopen it.