AttorneyOnlineVidya / tsuserver3

An Attorney Online server.
GNU Affero General Public License v3.0
2 stars 7 forks source link

Adds reason support for kicks and bans to the server. #20

Closed Iamgoofball closed 6 years ago

Iamgoofball commented 6 years ago

attorney_online_remake_2018-10-17_16-18-36 attorney_online_remake_2018-10-17_16-20-08

If a client is on 2.6.0: They'll get the above popup with a reason.

If a client is below that: They'll get a popup saying they were kicked/banned and that's that.

oldmud0 commented 6 years ago

What happens if one OK button is clicked before the other?

Iamgoofball commented 6 years ago

You have to click them in order of disconnect then the actual reason prompt. It doesn't let you cheat.

oldmud0 commented 6 years ago

So both dialogs are modal with a specific order of modality? I'd rather just have one dialog, thank you very much.

Iamgoofball commented 6 years ago

I agree and I tried that, the issue was that the client registers that it's disconnected before it processes the sent kk/kb messages. I need to dig into some of the networking stuff.