To make it in color was kind of tricky. Sometimes when you clear the screen, "ghosts" of past things you drew will come back up.
Printable View
To make it in color was kind of tricky. Sometimes when you clear the screen, "ghosts" of past things you drew will come back up.
If you want client side disconnecting from a client, just send a message, and program the clients to respond to that message by disconnecting.
Send message: "Kick" down sub-channel 1
On Receive:
Sub-Channel = 1
Message = "Kick"
Then Player:Disconnect
The problem with that is that I have already distributed the program and I cannot edit it.
Well that is why you would want a system to force an upgrade.
I guess you will need to close your chat and relaunch it with your new client
Messages for disconnecting are silly and very easy to "hack"-just filter using some packet sniffer.
Disconnect on the server side ALWAYS works. Its also crap to use GUID or any other client side stuff to block from multiple connections. Why dont you code it on the server side? If the usernames are unique, where is the problem?
Connection enters... Server adds its name
Connection leaves....server deletes its name
If connection wants to enter AND name already exist, disconnect.
You can use List object for that, array..its easy.