Hub-client protocol extension: $xKick
Moderator: Moderators
Hub-client protocol extension: $xKick
On the old forums, there was a proposal for $SlientKick - kick which wouldn't display the Hub-security message IIRC. I have another proposal - $xKick - extended kick:
$xKick nickname$tempban time$display in chat$reason|
tempban time would tell how long would tempban last, in minutes
display in chat - should the Hub-security message be displayed (T, F - same as $Search parameters)
reason - reason for kick, would be sent by the hub as PM to the kicked before kick
Suggestions welcome.
$xKick nickname$tempban time$display in chat$reason|
tempban time would tell how long would tempban last, in minutes
display in chat - should the Hub-security message be displayed (T, F - same as $Search parameters)
reason - reason for kick, would be sent by the hub as PM to the kicked before kick
Suggestions welcome.
-
- Posts: 506
- Joined: 2003-01-03 07:33
Re: Hub-client protocol extension: $xKick
[quote="ender"]
[i]tempban time[/i] would tell how long would tempban last, in minutes
Suggestions welcome.[/quote]
Not minutes, times should always be transfered as seconds.
The name $xKick is not informative, $SilentKick is a better name.
I would prefer that we added $Ban and held it seperated from Kick exactly as in IRC, but thats another story.
And ofcourse a $Support must have been exchanged in intial handshake
between client/hub.
I hate the fact that client doesn't get $Kick by the way.
i-guess-i-have-implimented-to-many-irc-things-in-my-previous-life-to-appriciate-the-current-implimentation-of-the-client-hub-protocol-ly'ers ;))
[i]tempban time[/i] would tell how long would tempban last, in minutes
Suggestions welcome.[/quote]
Not minutes, times should always be transfered as seconds.
The name $xKick is not informative, $SilentKick is a better name.
I would prefer that we added $Ban and held it seperated from Kick exactly as in IRC, but thats another story.
And ofcourse a $Support must have been exchanged in intial handshake
between client/hub.
I hate the fact that client doesn't get $Kick by the way.
i-guess-i-have-implimented-to-many-irc-things-in-my-previous-life-to-appriciate-the-current-implimentation-of-the-client-hub-protocol-ly'ers ;))
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.
Re: Hub-client protocol extension: $xKick
... it does! From some hubsofts... I know of one... *s*ivulfusbar wrote:I hate the fact that client doesn't get $Kick by the way.
-
- Posts: 506
- Joined: 2003-01-03 07:33
Re: Hub-client protocol extension: $xKick
I used minutes for the matter of simplicity - it's much easier to type 5 minute ban than 300 second ban, and IMO, a minute is precise enough - I don't see much reason why'd I want to ban somebody for 3 minutes and 17 secondsivulfusbar wrote:Not minutes, times should always be transfered as seconds.
Another thing: I have started writing my own hub software (in Delphi, as if we don't have enough Delphi hub projects ), and I was thinking of implementing the tempban time to reset if the user tries to connect before the time has passed - this way the user can fix his error, and if he's away, he won't get kicked again (and possibly banned for repeated offence) until he does something about it...
I choose xKick to tell that it's an eXtended Kick command...ivulfusbar wrote:The name $xKick is not informative, $SilentKick is a better name.
What if we say that negative tempban time would mean perm ban?ivulfusbar wrote:I would prefer that we added $Ban and held it seperated from Kick exactly as in IRC, but thats another story.
I send $Kick| to clients so I can convince arne to make dc++ stop autoconnecting to the hub if it receives that message. Must get more hubsofts to do the same before I make it a real request in dc++. This is done as ASH also hands out a penalty if one hammers on a tempban. Neither nmdc or dc++ is getting confused by getting a $kick| so there are no reason to make this into some extendedprotocol. Just add it to the hubsoft .
I also beleive that minutes are sufficient.
Why would -3 or -33 mean permban? yuk!
.. and there can never be too many delphi projects... *S*
I also beleive that minutes are sufficient.
Why would -3 or -33 mean permban? yuk!
.. and there can never be too many delphi projects... *S*
Re: Hub-client protocol extension: $xKick
good thinkingender wrote:What if we say that negative tempban time would mean perm ban?
but I'd have to go with fusbar on the seconds thing, the client can easily convert minutes to secs if you need that. maybe, for some obscure reason you want 3 mins and 17 seconds someday.. never limit your options.
about the `display in chat' and `reason' though:
why is this better than having the OP's client send this?
/sed
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
Re: Hub-client protocol extension: $xKick
This way, the hub has to process only 1 message. The display in chat would be used for the <Hub-Security> message, not the op's kick message...Sedulus wrote:about the `display in chat' and `reason' though:
why is this better than having the OP's client send this?
I still prefer minutes, remember that people will use this feature. Who kicks and bans in seconds? Hmm. I want this user to be tempbanned for 1 and a half hour. Lets see.... Oh, I kick him for 5400 units... 90 units is easier to work with!
Sedulus: Because we want some control over kicks. And also, many kicks are better left unseen in mainchat. As an example; Each time i kick on bumfights, there are always like three to five d00ds going 'what's bumfights?' I kick because we don't want crap in the hub, but the kick had the opposite effect as these guys start looking for the very same crap we want to save the hub from... People are free to look for what they want, but I don't want my kickmessage to be the very thing that draws their attention to bad material. A silent kick with a message from the hub would be more appropriate. ..Get the idea?
Sedulus: Because we want some control over kicks. And also, many kicks are better left unseen in mainchat. As an example; Each time i kick on bumfights, there are always like three to five d00ds going 'what's bumfights?' I kick because we don't want crap in the hub, but the kick had the opposite effect as these guys start looking for the very same crap we want to save the hub from... People are free to look for what they want, but I don't want my kickmessage to be the very thing that draws their attention to bad material. A silent kick with a message from the hub would be more appropriate. ..Get the idea?
-
- Posts: 506
- Joined: 2003-01-03 07:33
> Get the idea?
got it :)
> has to be seconds.
2 on 2 now...
time for a poll? :D
got it :)
> has to be seconds.
2 on 2 now...
time for a poll? :D
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
Why ?, i dont see any problems with either minutes or seconds.ivulfusbar wrote:minutes _is_ a bad idea.. has to be seconds.
Its up to the gui in a client to change 1:10:20 into seconds. Seconds will always be the way time should be transfared.
For the newest release of MulTiBoT visit www.cwain.dk
-
- Posts: 506
- Joined: 2003-01-03 07:33
hehe looks like we locked up on a rather unimportant question.. just for the record.. i do think that minutes is the right currency
But it does not really matter.
The only thing that bugs me is that the x is lowercase, struggling against all the other commands in the protocol that are always $<uppercase><lowercase>
but again.. totally unimportant.. let's focus on getting this in motion instead!
But it does not really matter.
The only thing that bugs me is that the x is lowercase, struggling against all the other commands in the protocol that are always $<uppercase><lowercase>
but again.. totally unimportant.. let's focus on getting this in motion instead!
Ok, how about this:
$xKick nick list$ban time$show in chat$reason|
nick list: nicknames, separated by space
ban time: ban time (positive values: ban time in seconds, 0: just disconnect, negative values: permban)
show in chat: T = show kick in the main chat; F = don't show it
reason: kick reason (always sent to the victim before the kick)
$xKick nick list$ban time$show in chat$reason|
nick list: nicknames, separated by space
ban time: ban time (positive values: ban time in seconds, 0: just disconnect, negative values: permban)
show in chat: T = show kick in the main chat; F = don't show it
reason: kick reason (always sent to the victim before the kick)
-
- The Creator Himself
- Posts: 296
- Joined: 2003-01-02 17:15