HOME WORLD FORUMS WIKI VIDEOS
9541 members and stacking!
     Welcome guest, please login or sign up

2 Pages V  1 2 >  
Reply to this topicStart new topic
> New Shoutbox
Blink
post Jan 16 2011, 11:53 AM
Post #1


Tetris God
Group Icon
Posts: 3,006
Joined: 24-June 09



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.
User is offlinePM
Go to the top of the page
+Quote Post
dkorn725
post Jan 16 2011, 03:56 PM
Post #2


Tetris Apprentice
Group Icon
Posts: 170
Joined: 2-January 11



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


--------------------
Drew- Sprint-45.11; 2.2616 PPS
User is offlinePM
Go to the top of the page
+Quote Post
Anonymous
post Jan 16 2011, 04:54 PM
Post #3


Tetris Professional
Group Icon
Posts: 595
Joined: 29-June 09



thansk duddes


--------------------
My awesome downstacking guide, last updated (Jan 29, 2013): Downstacker's Guide to the Galaxy
Tired of the same old Tetris games? Read my idea for a revamped Tetris game! The Next Evolution of Tetris
User is offlinePM
Go to the top of the page
+Quote Post
xlro
post Jan 16 2011, 05:42 PM
Post #4


Tetris Expert
Group Icon
Posts: 456
Joined: 5-August 09



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.


--------------------
User is offlinePM
Go to the top of the page
+Quote Post
Paul676
post Jan 16 2011, 06:35 PM
Post #5


Tetris Grand Master
Group Icon
Posts: 2,491
Joined: 22-July 09



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?


--------------------
User is offlinePM
Go to the top of the page
+Quote Post
Paradox
post Jan 16 2011, 07:36 PM
Post #6


Tetris Grand Master
Group Icon
Posts: 1,841
Joined: 2-November 10



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!


--------------------
IPB Image
User is offlinePM
Go to the top of the page
+Quote Post
Maii04
post Jan 16 2011, 07:42 PM
Post #7


Tetris Professional
Group Icon
Posts: 833
Joined: 20-June 10



Looking good ;D
User is offlinePM
Go to the top of the page
+Quote Post
caffeine
post Jan 16 2011, 08:11 PM
Post #8


Tetris Grand Master
Group Icon
Posts: 1,752
Joined: 27-June 09



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.
User is offlinePM
Go to the top of the page
+Quote Post
Ukrainian4Life
post Jan 16 2011, 08:21 PM
Post #9


Tetris Expert
Group Icon
Posts: 312
Joined: 25-September 10



I love the new shoutbox! Grin.png


--------------------
"I am dreaming less and sleeping more, but I'll sell my soul for the dream you stole." - Armor for Sleep
User is offlinePM
Go to the top of the page
+Quote Post
post Jan 16 2011, 08:40 PM
Post #10




Posts: 0
Joined: --



Dude, stop hogging black for yourself
User is offlinePM
Go to the top of the page
+Quote Post
Paradox
post Jan 16 2011, 08:49 PM
Post #11


Tetris Grand Master
Group Icon
Posts: 1,841
Joined: 2-November 10



Donation = Custom color ~~~~~


--------------------
IPB Image
User is offlinePM
Go to the top of the page
+Quote Post
Maii04
post Jan 16 2011, 09:09 PM
Post #12


Tetris Professional
Group Icon
Posts: 833
Joined: 20-June 10



Custom color sounds good
I want purple or royal green
And I can't copy paste the shoutbox --> not cool
User is offlinePM
Go to the top of the page
+Quote Post
Paradox
post Jan 16 2011, 09:13 PM
Post #13


Tetris Grand Master
Group Icon
Posts: 1,841
Joined: 2-November 10



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


--------------------
IPB Image
User is offlinePM
Go to the top of the page
+Quote Post
Blink
post Jan 16 2011, 09:45 PM
Post #14


Tetris God
Group Icon
Posts: 3,006
Joined: 24-June 09



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.
User is offlinePM
Go to the top of the page
+Quote Post
xlro
post Jan 16 2011, 10:28 PM
Post #15


Tetris Expert
Group Icon
Posts: 456
Joined: 5-August 09



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


--------------------
User is offlinePM
Go to the top of the page
+Quote Post

2 Pages V  1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

©2009-2019 Hard Drop Community & Forum
harddrop.com is not sponsored or endorsed by The Tetris Company or its subsidiaries.