Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.

Author Topic:  New old feature: Dynamic chat channels  (Read 26953 times)

0 Members and 0 Guests are viewing this topic.

_people_

« on: 07, December 2011, 03:14:23 »
This feature has existed for quite a while. But for a long time it has been broken. A small typo prevented it from working properly. This system essentially revolutionizes Daimonin chat.

Currently (up to 0.10.5-g), we have a few static chat channels. Shout, say, etc. With the new system, we can create much more flexible channels at runtime. So if a MM wants to hold a raid, they can ask a VOL or GM to create a new channel for them. Then discussion pertaining to that raid can stay in that channel.

Each channel has a name and a shortcut (and a colour, but that's irrelevant). The name can be "General" or whatever. The shortcut can be "g" or something that makes life easier for people chatting in that channel.

So now we can have separate channels for general chat, quests, auctions, etc. This can also support clan chat. "-scytheswingers Argh, I hate those searats!" (I remain neutral in regards to clans atm, that was just an example)

We can also have laxly-moderated channels, like "adult" or whatever. Most rules still apply here, although this will likely require discussion among the VOL/GM team. But since players can enter and leave any channel they want at any time, this is generally not needed.

Various channels can also have required levels. For example, "newbs" or whatever can have no requirement, whereas "110club" will probably require level 110.

Every channel must be made by a VOL or GM, however. They should also ensure that topics stick to their appropriate channels (i.e. a discussion about the existence of a divine being in RL should stay in general or another off-topic channel).

Mutes still apply to channels. A player can either be muted from individual channels (i.e. someone who spams "selling linen dress for 50g!!!" may get muted from auction for a while) or from all channels.

To use a channel, you can use the "-" prefix for your chat. It is a shortcut for "/channel ". /channel works too, but it takes longer to type. ;)

-general Hey everyone!
-auction selling KAotW, 3m
-g Hey everyone! (shortcut notation)
-g: picks his nose. (results in "[General: _person_ picks his nose.]", note the colon after the g)

This feature still has a few bugs. A few of the commands appear to not be enabled (probably more typos). I will fix this before putting the feature on Main.

Okay, scratch that last statement. The system appears functional, but poorly-documented. I'll work on that, I guess...
« Last Edit: 07, December 2011, 03:23:08 by _people_ »
-- _people_ :)

smacky

« Reply #1 on: 07, December 2011, 14:28:16 »
Good job on the bugfixes _people_. But don't even think about adding channels to main yet as this area (broadcast buffers) is exactly where the sockbuf bug is. I'm closing in on it (seems there are numerous small bugs in the sockbuf stuff too).

Another specific channel bug, and I don't remember the details, is when players add multiple new channels beginning with the same letter(s) (ie, aardvark and aaarghh). Or maybe it was that although it differentiates two channels by capitalisation (ie, mychannel and Mychannel are two channels), when searching the list it is case insensitive so will add someone who has joined Mychannel to mychannel instead because that is the first one it finds. Something like that.

EDIT: It is possible, maybe even likely, that players will sometimes get map update problems (lines of black squares, your own avatar shown trice, ie, the same as the group-related sockbuf bug). If you do, please post here 'cos it's interesting if it's confirmed. But it will do no gameplay harm, just annoying.
« Last Edit: 07, December 2011, 18:59:30 by smacky »

_people_

« Reply #2 on: 08, December 2011, 02:30:38 »
Okay, I have found a bug involving similarly-named channels (person, personal, personality). I'll fix that and look for some more.
-- _people_ :)

Killest_is_awesome

« Reply #3 on: 08, December 2011, 14:08:12 »
doesn't 'g' stand for /grid

clobber

« Reply #4 on: 08, December 2011, 23:48:27 »
No. /grid stands for /grid.
Posted by Clobber

Collector Of Burnt out torches, 0 and Counting.

,-.  ___ ,-.
 \/ .   .  \ / 
(___O___)
 /  \      /   )
 ( ||       || )
  000     000
Woof, Woof!

Quote from: Longir
I use caution, fear is a distraction

_people_

« Reply #5 on: 09, December 2011, 00:14:22 »
'g' stands for many words. Gross. Garrulous. Gastric. Geographic. Graceful.

But in the case of Daimonin's channel system, it stands for General. I thought that it was made obvious by my examples. Regardless, why would one of the default channels be about grids? That sounds SO boring. It belongs in General, though.
-- _people_ :)

_people_

« Reply #6 on: 18, December 2011, 19:24:16 »
/describe has now been moved here.

Syntax:

/channel auction$
/channel general$

Notice you simply add a $ to the end of the channel name. Although, is the $ included on most keyboards? That could be an issue.
-- _people_ :)

clobber

« Reply #7 on: 18, December 2011, 22:15:03 »
It's the shift+4 on UK.
Posted by Clobber

Collector Of Burnt out torches, 0 and Counting.

,-.  ___ ,-.
 \/ .   .  \ / 
(___O___)
 /  \      /   )
 ( ||       || )
  000     000
Woof, Woof!

Quote from: Longir
I use caution, fear is a distraction

smacky

« Reply #8 on: 19, December 2011, 01:24:08 »
I'm sure the dollar sign is on every keyboard.

angry

« Reply #9 on: 24, December 2011, 16:04:01 »


sorry to bump this thread, but I couldnt resist hehe
My Scottish Clan Motto:
Per Ardua Ad Alta - Through Difficulties to the Heights
My Translation: When the going gets tough head for the hills!

_people_

« Reply #10 on: 16, January 2012, 06:51:23 »
This feature is now on Main.

Three quick tips:

In the client's settings, Communication tab, change the channel format to indented. Much easier to read.

Use "/help /channel" to get the full channel documentation.

Use "/channel ?" every once in a while to see if any new channels have been created that you might want to join.
-- _people_ :)

smacky

« Reply #11 on: 16, January 2012, 12:32:51 »
Great job!

Once this has established itself and any teething problems have been ironed out I think we should remove the ANNOUNCE_CHANNELS define (and code as it is commented out anyway) and the USE_CHANNELS define (and therefore any #else code). 'Cos channels will then be the Daimonin way, no need to keep the old stuff. For 10.6 I'll then remove USE_CHANNELS from the client too. Mais oui?

Also, whoever does next interim, please merge in 6655, 6660, and 6670.

smacky

« Reply #12 on: 16, January 2012, 13:40:44 »
In the client's settings, Communication tab, change the channel format to indented. Much easier to read.

Is there any reason for prefixed? IMO it looks rubbish, just makes everything harder to read. Also the 10.6 indentation does a better job of indenting than channel format does (and you can set the level of indentation and it works on all forms of chat, not just channels). So for 10.6 I propose removing the channel format option entirely.

Anich

« Reply #13 on: 16, January 2012, 13:47:01 »
I second that notion. Remove the option, keep it simple and indented.
Code: [Select]
[General:Anich] Prefix makes a mess
[General:Anich] out of channels.
As opposed to
Code: [Select]
[General:Anich] Prefix makes a mess
   out of channels.
Some of you may remember me in-game as Stcrisis.

smacky

« Reply #14 on: 16, January 2012, 19:54:19 »
r6677 does this and various other improvements and fixes to 0.10.6's handling of channels.

Tags:
 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1080 Views
Last post 21, May 2007, 04:09:17
by namto
0 Replies
3303 Views
Last post 29, August 2010, 11:23:17
by smacky
26 Replies
11956 Views
Last post 09, June 2011, 18:40:27
by petarkiller
3 Replies
1424 Views
Last post 31, May 2011, 17:37:06
by Killest_is_awesome
4 Replies
566 Views
Last post 03, November 2022, 13:41:29
by Shroud