Author |
Topic: Chatroom Feature Request (Read 3439 times) |
|
Sconibulus
Forum Guru
Arimaa player #4633
Gender:
Posts: 116
|
|
Chatroom Feature Request
« on: Mar 30th, 2010, 6:28pm » |
Quote Modify
|
I tend to be a very bad person about the chatroom, mostly because I multitab. To help me actually pay attention to what's going on, would it be at all possible to have some sort of notification when someone says something? I'm not looking for a pop-up or anything, or even a noise, because those could easily be annoying to people who are better at paying attention than me, maybe just a change in the tab name if there's been a change since the last time you had the tab open? I think mibbit and several other systems do that, so it hopefully isn't too hard to implement. Sorry for bothering you, and feel free to answer no. : () )
|
|
IP Logged |
|
|
|
The_Jeh
Forum Guru
Arimaa player #634
Gender:
Posts: 460
|
|
Re: Chatroom Feature Request
« Reply #1 on: Mar 30th, 2010, 6:54pm » |
Quote Modify
|
You can go to "Options" and change sounds to "all," whereupon you'll have a sound with each new message.
|
« Last Edit: Mar 30th, 2010, 6:54pm by The_Jeh » |
IP Logged |
|
|
|
Sconibulus
Forum Guru
Arimaa player #4633
Gender:
Posts: 116
|
|
Re: Chatroom Feature Request
« Reply #2 on: Mar 31st, 2010, 7:06pm » |
Quote Modify
|
I did not know about this feature, but I've tried it over the last day or two and it seems insufficient to distract me, if it's even making noise at all, which I can't be sure about.
|
|
IP Logged |
|
|
|
leo
Forum Guru
Gender:
Posts: 278
|
|
Re: Chatroom Feature Request
« Reply #3 on: May 26th, 2010, 5:32pm » |
Quote Modify
|
I don't quite remember the cross-platform/browser incompatibilities we ran into with sounds when developing the chat. With the system we settled for in the end, the chatroom remained silent on some linux combinations IIRC. It might be time for a revamping of the chatroom code now that most browsers tend to get better at respecting the standards. Does anybody have bug reports or more feature requests that we could implement in a new version?
|
« Last Edit: May 26th, 2010, 5:32pm by leo » |
IP Logged |
|
|
|
Fritzlein
Forum Guru
Arimaa player #706
Gender:
Posts: 5928
|
|
Re: Chatroom Feature Request
« Reply #4 on: May 26th, 2010, 7:29pm » |
Quote Modify
|
The chat doesn't ding for me in Chrome, but I have gotten used to it. I hope folks don't think I'm rude when I tab away during a conversation lull and don't see their comments right away.
|
|
IP Logged |
|
|
|
Janzert
Forum Guru
Arimaa player #247
Gender:
Posts: 1016
|
|
Re: Chatroom Feature Request
« Reply #5 on: May 27th, 2010, 10:21am » |
Quote Modify
|
Since helping with the current chatroom code I found soundmanager* that should take care of most all cross browser compatibility problems for playing sound in a browser. I don't seem to have the files for the chatroom around anymore but from what I remember it should be fairly easy to change it to use soundmanager. Janzert * The link is actually to the just recently released soundmanager2 that should work even without flash on browsers that support html5 audio(), for example the ipad.
|
|
IP Logged |
|
|
|
leo
Forum Guru
Gender:
Posts: 278
|
|
Re: Chatroom Feature Request
« Reply #6 on: May 27th, 2010, 9:20pm » |
Quote Modify
|
@Fritzlein: Which platform are you on? The sound works for me in Chrome on Vista. @Janzert: That sound manager sounds great! On the other hand it's frightening that we need more and more bloated code for every single step in js to work everywhere. If you need the chat files I have the version just before the transfer to the Arimaa server with all the improvements you made, but I don't know if anything was modified after it. On one hand quick hacks would be useful, on the other hand I'm tempted to code a version 2 with a cleaner user interface and a more efficient server side code (the archive management and retrieval in particular needs serious care).
|
|
IP Logged |
|
|
|
Fritzlein
Forum Guru
Arimaa player #706
Gender:
Posts: 5928
|
|
Re: Chatroom Feature Request
« Reply #7 on: May 27th, 2010, 9:38pm » |
Quote Modify
|
on May 27th, 2010, 9:20pm, leo wrote:@Fritzlein: Which platform are you on? The sound works for me in Chrome on Vista. |
| Windows 7 Home Premium
|
|
IP Logged |
|
|
|
Janzert
Forum Guru
Arimaa player #247
Gender:
Posts: 1016
|
|
Re: Chatroom Feature Request
« Reply #8 on: May 27th, 2010, 10:04pm » |
Quote Modify
|
on May 27th, 2010, 9:20pm, leo wrote: On one hand quick hacks would be useful, on the other hand I'm tempted to code a version 2 with a cleaner user interface and a more efficient server side code (the archive management and retrieval in particular needs serious care). |
| Yeah, if you're going to do a major rewrite soon. I would certainly just wait for that rather than adding more patching up to the current one. I keep getting the urge to write one using websockets (and maybe node.js on the server), but realistically I don't expect sockets to have high enough adoption for another year or two. Janzert
|
|
IP Logged |
|
|
|
leo
Forum Guru
Gender:
Posts: 278
|
|
Re: Chatroom Feature Request
« Reply #9 on: May 28th, 2010, 12:42pm » |
Quote Modify
|
@Fritzlein: Thanks. I'll search the web for clues why it won't work on W7. @Janzert: Websockets are the way to go to stop wasting http requests. I'd suggest we take the time to thoroughly discuss everything for the next version of the chatroom so we get the most off the least work - in particular, I'd hate to juggle with cross-browser tricks again, it's against my ideal of clean coding
|
|
IP Logged |
|
|
|
megajester
Forum Guru
Istanbul, Turkey
Gender:
Posts: 710
|
|
Re: Chatroom Feature Request
« Reply #10 on: Jun 8th, 2010, 5:24am » |
Quote Modify
|
I thought I would suggest this here since it's somewhat related... How difficult would it be to implement something like AjaxIM to the bottom of the gameroom? We would still keep the chatroom as a public forum, but this could be good as added functionality. I think at some point we've all wished we could IM a player...
|
|
IP Logged |
|
|
|
Arimabuff
Forum Guru
Arimaa player #2764
Gender:
Posts: 589
|
|
Re: Chatroom Feature Request
« Reply #11 on: Jun 8th, 2010, 9:33am » |
Quote Modify
|
I just hope it'll still be compatible with my old xp.
|
|
IP Logged |
|
|
|
leo
Forum Guru
Gender:
Posts: 278
|
|
Re: Chatroom Feature Request
« Reply #12 on: Jun 8th, 2010, 12:31pm » |
Quote Modify
|
@megajester: Alternatively there could be a system similar to the game invitation popup, only for IM? But I don't know how the Gameroom works. @Arimabuff: The problem is not XP, but IE6 which, if I recall correctly, you're still using. It only takes five minutes to upgrade to IE8 or better yet Firefox or Chrome, and you'll see the web as it is really Web developers are progressively dropping support for old browsers that have already wasted millions of man-hours of extra work.
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Chatroom Feature Request
« Reply #13 on: Jun 12th, 2010, 10:25am » |
Quote Modify
|
on May 27th, 2010, 9:20pm, leo wrote: That sound manager sounds great! On the other hand it's frightening that we need more and more bloated code for every single step in js to work everywhere. |
| I've used it in the JavaScript version of the game client. It's not too bad. Definitely saves a lot of work in detecting the browsers to make audio work. Even though the HTML5 audio tag is implemented in browsers like FireFox and Chrome, the codecs they support aren't the same. So we'll still need to use such libraries for a few years. Quote: If you need the chat files I have the version just before the transfer to the Arimaa server with all the improvements you made, but I don't know if anything was modified after it. |
| Yes, I did make some small changes to the file; I can send you the current version if you want.
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Chatroom Feature Request
« Reply #14 on: Jun 12th, 2010, 10:48am » |
Quote Modify
|
on Jun 8th, 2010, 5:24am, megajester wrote:I thought I would suggest this here since it's somewhat related... How difficult would it be to implement something like AjaxIM to the bottom of the gameroom? We would still keep the chatroom as a public forum, but this could be good as added functionality. I think at some point we've all wished we could IM a player... |
| Thanks for the link. I'll check it out.
|
|
IP Logged |
|
|
|
|