|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Dec 2007
Hosted on Bacon
16 posts
Gave thanks: 2
Thanked 0 times
|
AJAX Chat
I have a game on my website, and it uses a chat box.
Currently it's made in AJAX, but it refreshes a particular page once every second, and that's just for one player. It's been using a lot of bandwidth lately, and I'm worried about the future when/if my bandwidth runs out. Are there any good alternatives for coding a more efficient chat box? |
|
|
|
|
|
#3 (permalink) |
|
He shoots.. He scores!
Super #1
Joined in Feb 2007
Lives in A room with no windows.
Hosted on SH110
1,368 posts
Gave thanks: 40
Thanked 131 times
|
If you are willing to go through a 3rd party, Meebo has chat widgets you can put on your website called meebome widgets. And they integrate with your meebo account which aggregates all of your IM accounts.. oh and its free.
I use one here..
__________________
SH110
Last edited by puckchaser; January 30th, 2008 at 2:53 PM. |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Dec 2007
Hosted on Bacon
16 posts
Gave thanks: 2
Thanked 0 times
|
Well, the chat system on my website is not for chatting with me, but for the game players to chat with each other :P
Polar Dan: Yeah, I guess that should help. The dilemma here is to choose between performance and resources :P |
|
|
|
|
|
#6 (permalink) |
|
I C U
Super #1
Joined in May 2003
Lives in Tampa, FL
Hosted on Dime9
2,739 posts
Gave thanks: 20
Thanked 28 times
|
maybe you can have it so it only updates when a message is sent? So, like, if no one is talking, then no need to be refreshing.. make sense?
__________________
Nothing will work unless you do. -Maya Angelou
|
|
|
|
|
|
#7 (permalink) |
|
He shoots.. He scores!
Super #1
Joined in Feb 2007
Lives in A room with no windows.
Hosted on SH110
1,368 posts
Gave thanks: 40
Thanked 131 times
|
There is another Meebo alternative.
If you sign up for an account, you also get a 'room' for group chat and you can embed that room on your website. I just did that here... Edit - You dont even need to sign up for an account. You can just create a room and embed it. https://wwwe.meebo.com/rooms/create
__________________
SH110
Last edited by puckchaser; January 30th, 2008 at 3:29 PM. |
|
|
|