ig: IGNORE lobby protocol extension

ig: IGNORE lobby protocol extension

For the discussion of infrastructure improvements and changes.

Moderator: Moderators

Post Reply
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

ig: IGNORE lobby protocol extension

Post by gajop »

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.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: ig: IGNORE lobby protocol extension

Post by PicassoCT »

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
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: ig: IGNORE lobby protocol extension

Post by abma »

PicassoCT wrote:Proud member of the "Our Main shall be sylent and clean"-Initiative
the initiative was/is "Our #newbies shall be silent and clean" ;)
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: ig: IGNORE lobby protocol extension

Post by gajop »

You're probably not being serious, but anything harder than filtering messages that contain "Mr. Icasso" is a research topic :)
Post Reply

Return to “Infrastructure Development”