I'd like to propose the addition of the ignore system to the lobby protocol.
Ignoring a user will make sure the client doesn't get any additional messages from the client, that is, no RING and SAY* commands. The client will still get information regarding the ignored user's status changes, new battles and similar.
This patch adds the ignore system functionality to the uberserver: https://github.com/gajop/uberserver-1/c ... 80d622c7ba
Minimal client implementation would involve sending IGNORE userName and UNIGNORE userName commands, probably bound to /ignore userName and /unignore userName irc-like commands.
Addition commands and functionality can be seen as outlined in these commands:
Legend:
>>> (from client)
<<< (from server)
1. Ignore list support (compat flag ig):
>>> IGNORE userName [{reason}]
Description: Tells the server to add the user to the client's ignore list. Doing this will prevent any SAID*, SAYPRIVATE and RING commands to be received from the ignored user.
<<< IGNORE userName [{reason}]
Description: Tells the client that the user has been ignored.
>>> UNIGNORE userName
Description: Tells the server to remove the user from the client's ignore list.
<<< UNIGNORE userName
Description: Tells the client that the user has been unignored.
>>> IGNORELIST
Description: Requests the client's ignore list from the server.
<<< IGNORELISTBEGIN
Description: Sent by the server when sending the requested ignore list to the client.
Response: 0 or more IGNORELIST commands and finally a IGNORELISTEND command.
<<< IGNORELIST userName [{reason}]
Description: Multiple commands of this kind may be sent after a IGNORELISTBEGIN command (or none, if the ignore list is empty).
<<< IGNORELISTEND
Description: Sent to a client who previously requested the ignore list, after a series of IGNORELIST commands.
ig: IGNORE lobby protocol extension
Moderator: Moderators
Re: ig: IGNORE lobby protocol extension
I have this annoyang guy.. lets call him P.. no thats to obvious - Mr. Icasso- yes thats better, who insists on ignore inheritance- so that any conversation sparked by a asshat is ignored too..
Proud member of the "Our Main shall be sylent and clean"-Initiative
Proud member of the "Our Main shall be sylent and clean"-Initiative
Re: ig: IGNORE lobby protocol extension
the initiative was/is "Our #newbies shall be silent and clean"PicassoCT wrote:Proud member of the "Our Main shall be sylent and clean"-Initiative
Re: ig: IGNORE lobby protocol extension
You're probably not being serious, but anything harder than filtering messages that contain "Mr. Icasso" is a research topic :)