Printable Version of Topic

Click here to view this topic in its original format

Forums - Hard Drop - Tetris Community _ Announcements _ New Shoutbox

Posted by: Blink Jan 16 2011, 11:53 AM

The old shoutbox caused some very serious problems, because it was never intended to automatically refresh new messages. It would redownload all 30 messages every 2 seconds, so when lots of people were viewing it HD would die (you guys saw HD die during TTO streams).

To hopefuly fix that problem I've bought a new shoutbox and Dr. Pete spent some hard hours coding it to have it work with HD's usernames automatically as well as other improvements. Thanks Dr. Pete! This shoutbox doesn't download all the messages every x seconds like the old one did, instead it only downloads new messages every x seconds. Should hopefully lighten a lot of the load on the server.

It hasn't really been tested much, but if you encounter a serious problem post it here and we'll see if something can be done about it.

Thanks again to Dr. Pete for the help, and to xlro for coding the IRC bot to allow IRC users to still chat on it.

Posted by: dkorn725 Jan 16 2011, 03:56 PM

Thanks Blink and Dr. Pete for working so hard on this. I think it might take some time getting used to it but I like it thanks,Drew

Posted by: Anonymous Jan 16 2011, 04:54 PM

thansk duddes

Posted by: xlro Jan 16 2011, 05:42 PM

Thumbs Up.png for no real retransfers of full data every second anymore. The solution now looks definitely more reasonable, albeit still taxing on the system. It's also good to have more or less complete control now over the script, implementing the new irc bot interface with pete was a joy, since it was actually not much work at all, and no silly reverse engineering. (here's where the control part comes in)

I would also reconsider raising the refresh again to 3-4 seconds, it really looks pretty much as seemless (everybody saying something else is focusing too hard on trying to notice smth that is not really there and forgets how normal converstations flow on a chat) - and just by the wonders of math cuts your troubles in half instantly. The refresh rate still matters alot here since this system does not implement pseudo push in ajax afterall (waiting out the connection duration as long as possible, etc.), but only checks for new sb data, so the responses are small (mainly just a http header), but still there every x seconds and can add up.

Posted by: Paul676 Jan 16 2011, 06:35 PM

It autoscrolls you down when anyone says anything. Annoying if you're reading up the past messages. Also, where's the chat history button?

Also, is there any way to make it so that the newest messages are at the top rather than at the bottom? If there isn't, is there any chance of relocating the shoutbox so that if you wanna say something you don't have to scroll down halfway down the page?

Posted by: Paradox Jan 16 2011, 07:36 PM

QUOTE(Paul676 @ Jan 16 2011, 06:35 PM) *

Also, is there any way to make it so that the newest messages are at the top rather than at the bottom? If there isn't, is there any chance of relocating the shoutbox so that if you wanna say something you don't have to scroll down halfway down the page?


I'm very sorry that you have to move your fingers. I won't stand for this!

Posted by: Maii04 Jan 16 2011, 07:42 PM

Looking good ;D

Posted by: caffeine Jan 16 2011, 08:11 PM

QUOTE(Paul676 @ Jan 16 2011, 12:35 PM) *

Also, is there any way to make it so that the newest messages are at the top rather than at the bottom?

It might just be me, but I prefer newest messages on the bottom. It just makes more sense.

Posted by: Ukrainian4Life Jan 16 2011, 08:21 PM

I love the new shoutbox! Grin.png

Posted by: chopin Jan 16 2011, 08:40 PM

Dude, stop hogging black for yourself

Posted by: Paradox Jan 16 2011, 08:49 PM

Donation = Custom color ~~~~~

Posted by: Maii04 Jan 16 2011, 09:09 PM

Custom color sounds good
I want purple or royal green
And I can't copy paste the shoutbox --> not cool

Posted by: Paradox Jan 16 2011, 09:13 PM

QUOTE
And I can't copy paste the shoutbox --> not cool


ctrl+c = copy
ctrl+v= paste

did you try that yet?

right click works fine for me and so do the hotkeys

Posted by: Blink Jan 16 2011, 09:45 PM

the emotes:

':)' => 'happy.png',
':D' => 'lol.png',
'=D' => 'lol.png',
':O' => 'surprise.png',
':p' => 'razz.png',
':(' => 'sad.png',
'=(' => 'sad.png',
';)' => 'wink.png',
':|' => 'neutral.png',
'=|' => 'neutral.png',
'(blush)' => 'blush.png',
':{' => 'confuse.png',
'B)' => 'cool.png',
':*(' => 'cry.png',
'T_T' => 'cry.png',
'=*(' => 'cry.png',
'8|' => 'eek.png',
'(evil)' => 'evil.png',
'(puke)' => 'puke.png',
':*' => 'kiss.png',
'(angry)' => 'mad.png',
'(angel)' => 'angel.png',
'<3' => 'heart.png',
'</3' => 'broken-heart.png');

Bug: + symbols break URL links.

Posted by: xlro Jan 16 2011, 10:28 PM

btw, I also added smily reverse lookup for those couple hours ago on the irc relay. So the text isn't full of strange image file names. Smile.png

Posted by: coolmaninsano Jan 16 2011, 10:40 PM

R.I.P.
IPB Image

Posted by: DAS44 Jan 17 2011, 12:18 AM

QUOTE(Maii04 @ Jan 16 2011, 04:09 PM) *

Custom color sounds good
I want purple or royal green
And I can't copy paste the shoutbox --> not cool

(IRC) atf4:12Big ****ing deal
(IRC) atf4:12ikr
Maii044:12its ok
Maii044:12im still 48
Maii044:12
Maii044:13damn these crappy emotes
crzy2424:13i thought maii sub 45ed a couple of months ago
Maii044:13sayoonara
(IRC) atf4:13I'm probably gonna get 45.01
Pikiwedia4:14Great progress aaron
myndzi4:15Men with erectile dysfunction can be more confident in their ability to be ready with Cialis for daily use!
crzy2424:15delayed ejaculation
Pikiwedia4:16Hey crzy you're too young to know that

you cant?

Posted by: Maii04 Jan 17 2011, 01:01 AM

*twitch*
i cant

Posted by: Blink Jan 17 2011, 04:07 AM

Some known issues, although not sure if/when they will be fixed:

*FIXED*
1) sometimes shoutbox stops updating messages, refresh and it updates again.
*FIXED*
2) "+" or "&" symbol in url links breaks the link
*Workaround temporary fix*
3) can't shout after fully closing browser and then reloading HD, but works again after you refresh or visit any part of the website and then come back to main page.
*FIXED*
4) Japanese characters broke the shoutbox

Posted by: Sisu Jun 14 2011, 03:39 PM

more emotes:

/1 => IPB Image
/2 => IPB Image
/3 => IPB Image
/4 => IPB Image
/5 => IPB Image
/6 => IPB Image
/7 => IPB Image
/8 => IPB Image
/9 => IPB Image

Yay Onion Club!

Posted by: coolmaninsano Nov 29 2011, 12:12 AM

New emotes!

/0 : IPB Image
/1 : IPB Image
/2 : IPB Image
/3 : IPB Image
/4 : IPB Image
/5 : IPB Image
/6 : IPB Image
/7 : IPB Image
/8 : IPB Image
/9 : IPB Image

Posted by: XaeL Nov 29 2011, 12:13 AM

number 9 doesnt make any sense nor does it follow the first 8

Posted by: Sisu Apr 22 2013, 09:27 PM

QUOTE(Blink @ Oct 28 2010, 05:29 PM) *

+ You can talk about anything on the shoutbox, non Tetris related stuff is fine, but no rape/sex/pedophile talk (i know you guys are doing it jokingly but everyone can see it when they visit HD and it makes the entire community look bad).

+ No racial insults

+ No attacking other members

+ No flooding the shoutbox, spamming it with random characters, or spamming too many emoticons.

+ No links to nudity or inappropriate/viruses/graphic things

IPB Image /0
IPB Image /1
IPB Image /2
IPB Image /3
IPB Image /4
IPB Image /5
IPB Image /6
IPB Image /7
IPB Image /8
IPB Image /9
IPB Image :)
IPB Image :D
IPB Image =D
IPB Image :O
IPB Image :P
IPB Image :(
IPB Image =(
IPB Image ;)
IPB Image :|
IPB Image =|
IPB Image :{
IPB Image B)
IPB Image :*(
IPB Image T_T
IPB Image =*(
IPB Image 8|
IPB Image :*
IPB Image :x
IPB Image (blush)
IPB Image (evil)
IPB Image (puke)
IPB Image (angry)
IPB Image (angel)
IPB Image <3
IPB Image </3

QUOTE
!help
Bold: [your text] produces your text
Italics: {your text} produces your text
Links: Just enter a url
Profile: Click on a user's name to view profile

censored on shoutbox:
fuck fck shit whore asshole dumbass bitch bish cunt dick pussy

http://harddrop.com/forums/index.php?showtopic=3544

http://harddrop.com/forums/index.php?s=&showtopic=3074&view=findpost&p=51562 Mirror: http://userscripts-mirror.org/scripts/show/113211

*reposting for clarity*

http://tinyurl.com/hdsbguide

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)