GM Script: chatglove - a floating game chat - version 1.6.16

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
Post Reply
User avatar
dwilhelmi
Posts: 173
Joined: Tue Apr 06, 2010 10:05 am
Gender: Male

GM Script: chatglove - a floating game chat - version 1.6.16

Post by dwilhelmi »

chatglove - a floating game chat by Foxglove! (naming by rabbiton)(maintained by dwilhelmi)
Original thread - viewtopic.php?t=104594

What does it do?
It detaches the chat log and chat input controls from the page and allows you to drag the chat frame around the game page. It also makes your chat warm and fuzzy!

Where do I get it?
Install the greasemonkey script from here: http://userscripts.org/scripts/show/92257

User Guide
chatglove User Guide

Changes in version 1.6.16:
- Corrected for Firefox 5.0

[spoiler=Change log]Changes in version 1.6.15:
- Corrected a bug that was causing detached chat window to always post chats in public, ignoring team only checkbox

Changes in version 1.6.14:
- Another minor change to correct the new version notification (for real this time)

Changes in version 1.6.13:
- Minor change to correct the new version notification

Changes in version 1.6.12:
- Updated to better support name changes on the screen (Bork, Bork, Bork!)

Changes in version 1.6.11:
- Make "Game Chat [x]" link go to first game with unread chat, instead of the My Games page
- Made "Reset chatglove" option a little more clear, and added a confirm before execution
- Added Chrome support

Changes in version 1.6.10:
- Corrected to be included on both http and https
- Corrected compatibility bug with BOB's full chat option
- Added "Ignore game chat" feature

Changes in version 1.6.9:
- Housekeeping for hosting switch
- Changed the version checking mechanism

Changes in version 1.6.7:
- Fixed to work with site updates
- Changed to be hosted by dwilhelmi

Changes in version 1.6.3:
- Fixed 'Mark All Chat as Read' bug
- Fixed bug that didn't allow users to enter chat in games in which they weren't playing
- ADDED FEATURE: in chatglove options users now can set the "chatsniff" interval to search for new game chat every page load, every 1 minute, or every 5 minutes

Changes in version 1.6.2:
- Fixed bug that caused the Game Chat count to reset periodically to show all games as having new chat
- Added "Reset chatglove" position option to menu (only shows when you're looking at a game page)

Changes in version 1.6.0:
- Added chatsniffer functionality to detect new game chat (this option can be disabled from the chatglove Options menu)
- Fixed bug that caused page to jump to top of the chatglove when entering a game in detached mode

Changes in version 1.0.3:
- Added option in the left menu to specify behavior of the self/team checkbox: original or persistent

Changes in version 1.0.2:
- Added option in the left menu to specify initial positioning of the chatglove: original or detached[/spoiler]

How do I use this?
  • Click the "detach chat" link located to the upper-right of the game chat log
  • Resize the window by clicking and dragging the bottom-right corner
  • Reposition the window by clicking and dragging the header bar
  • PROFIT!
  • (Click the "restore" link to return the chat log to its previous page position)

Detach link:

Image

chatglove in action!:

[bigimg]http://i118.photobucket.com/albums/o118/foxglovve/cg2-1.jpg[/bigimg]

chatsniffer from the My Games page:

Image

Multitudinous menu options:

Image
Last edited by dwilhelmi on Thu Jun 23, 2011 2:30 pm, edited 10 times in total.
User avatar
dwilhelmi
Posts: 173
Joined: Tue Apr 06, 2010 10:05 am
Gender: Male

Re: GM Script: chatglove - a floating game chat - v 1.6.7

Post by dwilhelmi »

Go easy on me guys, I have never worked on a greasemonkey script before.

All props go to Foxy for all the fantastic work on this script! Even the fix for this update was written by her! I just hope I can keep up going forward :).
Last edited by dwilhelmi on Wed Dec 08, 2010 11:43 am, edited 1 time in total.
Foxglove
Posts: 1308
Joined: Sun Dec 16, 2007 1:05 pm

Re: GM Script: chatglove - a floating game chat - v 1.6.7

Post by Foxglove »

Awesome, thank you so much for taking this on. :)
wisemanpsemc
Posts: 1362
Joined: Thu Dec 31, 2009 8:59 pm

Re: GM Script: chatglove - a floating game chat - v 1.6.7

Post by wisemanpsemc »

yay, thanks for fixing it and taking the project on
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: GM Script: chatglove - a floating game chat - v 1.6.7

Post by sherkaner »

dwilhelmi wrote:Go easy on me guys, I have never worked on a script before.

All props go to Foxy for all the fantastic work on this script! Even the fix for this update was written by her! I just hope I can keep up going forward :).


If you have any questions about scripts, please don't hesitate to ask them. And good luck :).
Nicky15
Posts: 923
Joined: Tue Oct 23, 2007 6:15 pm
Location: England

Re: GM Script: chatglove - a floating game chat - v 1.6.7

Post by Nicky15 »

=D> Thanks for taking over ! =D>
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: GM Script: chatglove - a floating game chat - v 1.6.7

Post by Dako »

Hope you learn fast. Good luck :).
Image
User avatar
Denise
Posts: 1376
Joined: Fri Oct 09, 2009 3:43 am

Re: GM Script: chatglove - a floating game chat - v 1.6.7

Post by Denise »

YAY!@!! Thanks for taking this over! =D> It is great to have the floating chat, again!
Image
User avatar
elfish_lad
Posts: 1155
Joined: Sat Jul 18, 2009 7:49 pm

Re: GM Script: chatglove - a floating game chat - v 1.6.7

Post by elfish_lad »

Wow, that was quick! I'm utterly thrilled to have chatglove back!!! Cheers!
User avatar
Incandenza
Posts: 4949
Joined: Thu Oct 19, 2006 5:34 pm
Gender: Male
Location: Playing Eschaton with a bucket of old tennis balls

Re: GM Script: chatglove - a floating game chat - v 1.6.7

Post by Incandenza »

\:D/

Nice one dwil!
THOTA: dingdingdingdingdingdingBOOM

Te Occidere Possunt Sed Te Edere Non Possunt Nefas Est
User avatar
Qyu
Posts: 96
Joined: Wed May 30, 2007 6:51 am
Location: Under my helmet
Contact:

Re: GM Script: chatglove - a floating game chat - v 1.6.9

Post by Qyu »

For me, chatsniffer never display the red message for game with new chat.

I debug this problem, and i found that with the bob option 'Full Log = Yes', the game link has another get value (&full_log=Y), and so, the script who return the game number is misled.

I put off the bob option 'Full Log', but if you could fix this bug.... well, christmas will come early
Image
User avatar
Ace Rimmer
Posts: 1911
Joined: Mon Dec 01, 2008 1:22 pm
Gender: Male

Re: GM Script: chatglove - a floating game chat - v 1.6.9

Post by Ace Rimmer »

Can you change the script so that it runs on http*://www.conquerclub.com/*? I use the https version of the page and it's a bit of a pain to change the script every time I reinstall it.

Thx
Last edited by Ace Rimmer on Thu Dec 09, 2010 1:41 pm, edited 1 time in total.
User avatar
silverking8
Posts: 9
Joined: Tue Mar 23, 2010 1:01 pm
Location: FL

Re: GM Script: chatglove - a floating game chat - v 1.6.9

Post by silverking8 »

Qyu wrote:For me, chatsniffer never display the red message for game with new chat.

I debug this problem, and i found that with the bob option 'Full Log = Yes', the game link has another get value (&full_log=Y), and so, the script who return the game number is misled.

I put off the bob option 'Full Log', but if you could fix this bug.... well, christmas will come early


I had the same problem with no red messages. As for firefox, I went into manage scripts and moved chatglove script to the top(above BOB), which fixed it for me. I think a new update came out after i did that too, so he and Foxy might have fixed that bug as well.
Image
User avatar
Ace Rimmer
Posts: 1911
Joined: Mon Dec 01, 2008 1:22 pm
Gender: Male

Re: GM Script: chatglove - a floating game chat - v 1.6.9

Post by Ace Rimmer »

Request for enhancement (haven't gone into the code very much to know if this is even possible). I'd like to exclude games or classes of games from being watched. I don't care if there's new chat in a game I'm eliminated from if it's not a team game, and odds are by the time I'm eliminated the game is lost anyway. I'd love to not get updates when someone writes in a game I don't care about anymore.

Jake
User avatar
dwilhelmi
Posts: 173
Joined: Tue Apr 06, 2010 10:05 am
Gender: Male

Re: GM Script: chatglove - a floating game chat - v 1.6.10

Post by dwilhelmi »

Qyu wrote:For me, chatsniffer never display the red message for game with new chat.

I debug this problem, and i found that with the bob option 'Full Log = Yes', the game link has another get value (&full_log=Y), and so, the script who return the game number is misled.

I put off the bob option 'Full Log', but if you could fix this bug.... well, christmas will come early

Merry Christmas

jakewilliams wrote:Can you change the script so that it runs on http*://www.conquerclub.com/*? I use the https version of the page and it's a bit of a pain to change the script every time I reinstall it.

Thx

Pain removed

jakewilliams wrote:Request for enhancement (haven't gone into the code very much to know if this is even possible). I'd like to exclude games or classes of games from being watched. I don't care if there's new chat in a game I'm eliminated from if it's not a team game, and odds are by the time I'm eliminated the game is lost anyway. I'd love to not get updates when someone writes in a game I don't care about anymore.

Jake

Ignore away.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: GM Script: chatglove - a floating game chat - v 1.6.10

Post by Dako »

Can you please make Game Chat [x] link go to the first game with new chat? Or open My Games page and scroll to the 1st game marked with new chat.

Also - what does Reset chatglove does? Can you add an alert or something to notify user that something has been actually resetted?

Great job so far, need to check the code and maybe you are doing even better than I think :).
Image
Foxglove
Posts: 1308
Joined: Sun Dec 16, 2007 1:05 pm

Re: GM Script: chatglove - a floating game chat - v 1.6.10

Post by Foxglove »

Dako wrote:Can you please make Game Chat [x] link go to the first game with new chat? Or open My Games page and scroll to the 1st game marked with new chat.

Also - what does Reset chatglove does? Can you add an alert or something to notify user that something has been actually resetted?


Reset chatglove sets the chat window to the top left of the main CC content area. It was added so that people who (somehow) moved their chat window out of the viewable area of the screen could get it back.

Dako wrote:Great job so far, need to check the code and maybe you are doing even better than I think :).


He's doing great! :D
Chuuuuck
Posts: 1298
Joined: Thu May 31, 2007 11:09 am

Re: GM Script: chatglove - a floating game chat - v 1.6.10

Post by Chuuuuck »

WOW Dustin, you are amazing. Only had it 1 day and already added a great new feature to ignore certain games. That is awesome because I always have 1 or 2 pesky games that have irritated me.
User avatar
dwilhelmi
Posts: 173
Joined: Tue Apr 06, 2010 10:05 am
Gender: Male

Re: GM Script: chatglove - a floating game chat - v 1.6.10

Post by dwilhelmi »

Thanks for the compliments guys. I am having a lot of fun doing this so far. Turns out this scripting thing is awesome!

Dako, I will look into your suggestions.
User avatar
Eyestone
Posts: 280
Joined: Thu Mar 16, 2006 10:45 am
Gender: Male
Location: Trondheim - Norway

Re: GM Script: chatglove - a floating game chat - v 1.6.10

Post by Eyestone »

Love the ignore-update! =D>

Now, can you make my laptop screen bigger so I can take fully advantage of the floating chat? 8-)
User avatar
dwilhelmi
Posts: 173
Joined: Tue Apr 06, 2010 10:05 am
Gender: Male

Re: GM Script: chatglove - a floating game chat - v 1.6.10

Post by dwilhelmi »

Eyestone wrote:Love the ignore-update! =D>

Now, can you make my laptop screen bigger so I can take fully advantage of the floating chat? 8-)


Unfortunately, that is a feature that is a bit out of my skill level...

Dako?
User avatar
Eyestone
Posts: 280
Joined: Thu Mar 16, 2006 10:45 am
Gender: Male
Location: Trondheim - Norway

Re: GM Script: chatglove - a floating game chat - v 1.6.10

Post by Eyestone »

I was only joking. Not much extra space on my 12,1" screen ;) I can barely see all of the largest maps without scrolling. Thank God for clickies :lol:
User avatar
Bruceswar
Posts: 9713
Joined: Sun Dec 23, 2007 12:36 am
Location: Cow Pastures

Re: GM Script: chatglove - a floating game chat - v 1.6.10

Post by Bruceswar »

Thanks to fox for the great script. Also thanks for the fix and taking it over.
Highest Rank: 26 Highest Score: 3480
Image
User avatar
dwilhelmi
Posts: 173
Joined: Tue Apr 06, 2010 10:05 am
Gender: Male

Re: GM Script: chatglove - a floating game chat - v 1.6.10

Post by dwilhelmi »

Dako wrote:Can you please make Game Chat [x] link go to the first game with new chat? Or open My Games page and scroll to the 1st game marked with new chat.

Also - what does Reset chatglove does? Can you add an alert or something to notify user that something has been actually resetted?

Great job so far, need to check the code and maybe you are doing even better than I think :).

I have an update ready to go that will make the Game Chat [x] link go to the first game with a new chat. It will also change "Reset chatglove" to "Reset chat position", and give a confirm box when you click on it saying "This will reset the position of the floating chat window. Continue?".

Any other bugs or enhancement requests that anybody has? I would rather batch them up so that I don't keep spamming people with updates.
User avatar
dwilhelmi
Posts: 173
Joined: Tue Apr 06, 2010 10:05 am
Gender: Male

Re: GM Script: chatglove - a floating game chat - version 1.

Post by dwilhelmi »

New version posted, including the changes mentioned above, and Chrome support as well.
Post Reply

Return to “Tool Archives”