Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Terrarium RTC Chat in Beta!
 

Terrarium RTC Chat in Beta!

Alrighty, this is pretty ghetto style programming, but I have a beta version of Terrarium RTC Chat available. For now, it is available through standard Messenger, but I plan on integrating it with Terrarium more closely and allowing for chat rooms and other neat little things. It'll still be over IM, even with the chat rooms.

Mini-FAQ:
Q. How do you get on?
A. Add TerrariumChat@Games4dotnet.com to your Messenger account

Q. How do you receive messages?
A. Simply open a chat session with TerrariumChat

Q. How do you shut it off?
A. Close that Chat Session. TerrariumChat will not open sessions, it will only use open sessions.

Q. Who can see your chat?
A. Everyone that has an open session.

Q. Who gets access to your messenger contact information?
A. Only the TerrariumChat bot gets access. Other users can't see you and you can't see them.

Q. Are there any commands?
A. Not for now. Eventually you'll be able to set a name and get stats on whether or not users are connected.

Q. Anti-Spam?
A. Yes, there are some limits that aren't being enforced right now. 5 messages in two minutes will get you a ban, but I'm not turning it on unless there are problems.

Enjoy it guys. Terrarium is all about you, the community, so let's kick it up a notch.
MigrationUser 1  Monday, July 12, 2004 8:12 AM
Added a single command

command:users

Has to be typed exactly as above, and it will tell you how many users are on. Remember that you HAVE to have a conversation open with the bot to receive messages. If you don't have an open conversation (and that means sending it at least one message or so every now and then to keep it open), then you won't receive messages. If the bot is very active it should be able to keep open all of the conversations with traffic, but MSN is kind of strange.  I"ll add a command that allows the bot to make a conversation with you if one doesn't exist to ensure you get the messages. That won't be until later in the week probably.
MigrationUser 1  Monday, July 12, 2004 8:40 AM
Several additional commands that will get added once the bot fails and has to be rebooted.

command:silence
command:online
command:ignorestatus
command:intrusive
command:ignorestatusintrusive

silence - moves you to a state where you receive no messages
online - moves you to the current state where you receive messages if in online status (not away, or BRB or any of those) and a conversation is open.
ignorestatus - moves you to a state where you receive messages as long as you are not offline and there is a conversation open.
intrusive - starts a conversation with you if one isn't started. You must be in online mode.
ignorestatusintrusive - this will start a conversation with you irregardless of your state

The basic issue right now is that conversations time out. MSN Messenger makes this transparent to the user. Adding states that you can enter that allow the bot to make better decisions about the level of information you want to receive allows it to be more effective than I would allow it to be if the states didn't exists. For instance, I don't mind opening a conversation or contacting you in an away or other type of status, as long as you ask for it, but I would never have the bot do that by default.
MigrationUser 1  Monday, July 12, 2004 9:33 AM
Very cool, you may want to use a different command syntax.  The colon followed by certain characters turns it into a emoticon with MSN IM.  For example ":0" and ":s".
MigrationUser 1  Monday, July 12, 2004 2:47 PM
Yeah, I fixed it up.  There is a welcome message upon opening a conversation with the bot that points to a help message command that can be used to get additional help. I replaced the command syntax since it appears MSN Messenger does munge various glyphs into various other glyphs to *Normalize* multiple smiley syntaxes into one smiley.

Should have the first version of the Terrarium Chat Client as well, a fully customized client featuring the Terrarium metal skins that plugs into the P2P protocol removing the need for a centralized server. Just play with the people on your buddy list!
MigrationUser 1  Monday, July 12, 2004 8:03 PM

You can use google to search for other answers

Custom Search

More Threads

• Plugin frame work
• function help.
• Is there a standart control for "File, Edit, view, ..."?
• Impact of running 32-bit Windows Application in 64 bit machine.
• How did they achieve the Windows XP Look?
• Where can I get TaskVision's Sql script?
• DIfficulty with Running Server on Local Machine
• more information
• ??record video stream??
• Terrarium .net 2.0 Problem