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.

Moderators: Global Moderators, Tech Team

Forum rules
Please read the Community Guidelines before posting.

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

Postby Lancelot du Lac on Tue Jul 10, 2012 3:07 pm

Hello,

I have a little problem with the application. At home I have no problem. However when I use it at work, no notification appears.
I reinstalled the application, reinstalled firefox but nothing!

Someone has an idea?
User avatar
Captain Lancelot du Lac
 
Posts: 234
Joined: Thu Sep 30, 2010 9:14 am
Medals: 62
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (3) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (4) Trench Warfare Achievement (3) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (3) Beta Map Achievement (1) Ratings Achievement (4) Tournament Achievement (6) Clan Achievement (11)

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

Postby agentcom on Tue Jul 10, 2012 3:47 pm

chapcrap wrote:
nebsmith wrote:I know that - the problem is that using " mark all chat as read" doesn't clear the chat.

I've had issues with chat coming back, but not exactly what you're describing. Usually if chat comes back as new when it isn't, it's just a temporary issue.


This problem, the one chap describes, seems to be getting worse for me. I'll let pages load completely and 10 minutes later it will say that there's 10 games with new chat. It's getting kind of old going to a game and seeing my last snapshot being the last thing in chat.
User avatar
Major agentcom
 
Posts: 3719
Joined: Tue Nov 09, 2010 8:50 pm
Medals: 70
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (4)
Trench Warfare Achievement (2) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (13) General Achievement (7) Clan Achievement (8)
General Contribution (2)

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

Postby sherkaner on Tue Jul 10, 2012 4:06 pm

Hmm, I just had a look at the code. Could it be that you have multiple games open at the same time a lot? I can see how things could go wrong there.


For the maintainer: I'm thinking things could go wrong when you have 2 (or more) games open, and the older game updates the _gameChatLinesKey, which overwrites the newer information from the other game. Doesn't explain everything, but it looks like it could go wrong there. saveChatLineCount should first read out the value, update it and then write it again, that should solve it.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

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

Postby Leehar on Wed Jul 11, 2012 6:19 am

Just a mention that dwilhelmi is going to be taking a break from CC for a while, so I'm not sure if he'll be available to maintain the script currently?
Image
show
User avatar
Brigadier Leehar
Head Clan Director
Head Clan Director
 
Posts: 5963
Joined: Fri Mar 06, 2009 12:12 pm
Location: Graduation Ceremony
Medals: 125
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Freestyle Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (2) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (4) Beta Map Achievement (1) Battle Royale Achievement (1) Ratings Achievement (4) Tournament Achievement (31)
General Achievement (21) Clan Achievement (13) Training Achievement (7) Challenge Achievement (1) General Contribution (8)

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

Postby sherkaner on Wed Jul 11, 2012 12:00 pm

Leehar wrote:Just a mention that dwilhelmi is going to be taking a break from CC for a while, so I'm not sure if he'll be available to maintain the script currently?


I didn't know about that break, I guess we'll have to see who picks it up.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

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

Postby agentcom on Wed Jul 11, 2012 7:13 pm

sherkaner wrote:Hmm, I just had a look at the code. Could it be that you have multiple games open at the same time a lot? I can see how things could go wrong there.


For the maintainer: I'm thinking things could go wrong when you have 2 (or more) games open, and the older game updates the _gameChatLinesKey, which overwrites the newer information from the other game. Doesn't explain everything, but it looks like it could go wrong there. saveChatLineCount should first read out the value, update it and then write it again, that should solve it.


Sometimes. But other times, I feel like I just have 1 single window open. I cycle through all the games with chat, allowing enough time (I think) for the page to load completely. It is worse when I cycle through faster rather than slower. And I will try to recreate this problem with only 1 open game window.
User avatar
Major agentcom
 
Posts: 3719
Joined: Tue Nov 09, 2010 8:50 pm
Medals: 70
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (4)
Trench Warfare Achievement (2) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (13) General Achievement (7) Clan Achievement (8)
General Contribution (2)

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

Postby dwilhelmi on Thu Jul 12, 2012 3:18 pm

sherkaner wrote:Hmm, I just had a look at the code. Could it be that you have multiple games open at the same time a lot? I can see how things could go wrong there.


For the maintainer: I'm thinking things could go wrong when you have 2 (or more) games open, and the older game updates the _gameChatLinesKey, which overwrites the newer information from the other game. Doesn't explain everything, but it looks like it could go wrong there. saveChatLineCount should first read out the value, update it and then write it again, that should solve it.


Yes, I recall that being a known issue from before I took over the script. However, that is not the only cause. I also see this from time to time, and not when having multiple tabs open.

Leehar wrote:Just a mention that dwilhelmi is going to be taking a break from CC for a while, so I'm not sure if he'll be available to maintain the script currently?

Yes, I am retiring for an indeterminate amount of time. If anybody is interested in taking over support for chatglove, feel free to shoot me a PM.
User avatar
Brigadier dwilhelmi
 
Posts: 161
Joined: Tue Apr 06, 2010 10:05 am
Medals: 37
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Manual Troops Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (3) Trench Warfare Achievement (1)
Teammate Achievement (1) Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) General Achievement (3)
Clan Achievement (9) General Contribution (1)

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

Postby agentcom on Sat Jul 14, 2012 4:06 pm

I just checked chat in all my games. There was no new chat. I only had one window open. I started browsing through the forum. When I was done I had 11 new chat. I started clicking through them. Only 1 was actually new chat. Every other one of them, I was the last to comment in. What is even more annoying, is that while I'm clicking through, I will watch the little blue number. It decreases by 1 when I get to the new page, but I will actually see it go up by 1 or 2 every once in a while, while I'm reading the chat (usually my own) and waiting for the page to load. Therefore, to get through the 11 supposedly new chat messages and read the single actual new chat message, I probably had to click that thing 20 or 30 times. That is really a pain in the ass.
User avatar
Major agentcom
 
Posts: 3719
Joined: Tue Nov 09, 2010 8:50 pm
Medals: 70
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (4)
Trench Warfare Achievement (2) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (13) General Achievement (7) Clan Achievement (8)
General Contribution (2)

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

Postby chapcrap on Sun Jul 15, 2012 3:01 am

agentcom wrote:I just checked chat in all my games. There was no new chat. I only had one window open. I started browsing through the forum. When I was done I had 11 new chat. I started clicking through them. Only 1 was actually new chat. Every other one of them, I was the last to comment in. What is even more annoying, is that while I'm clicking through, I will watch the little blue number. It decreases by 1 when I get to the new page, but I will actually see it go up by 1 or 2 every once in a while, while I'm reading the chat (usually my own) and waiting for the page to load. Therefore, to get through the 11 supposedly new chat messages and read the single actual new chat message, I probably had to click that thing 20 or 30 times. That is really a pain in the ass.

Maybe try to reload it... I haven't had these problems in quite a while.
Image
User avatar
Major chapcrap
Tournament Director
Tournament Director
 
Posts: 9576
Joined: Sun Feb 03, 2008 12:46 am
Location: Kansas City
Medals: 167
Standard Achievement (4) Doubles Achievement (4) Triples Achievement (3) Quadruples Achievement (4) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (3) Polymorphic Achievement (1) Nuclear Spoils Achievement (3)
Fog of War Achievement (4) Trench Warfare Achievement (3) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (3)
Cross-Map Achievement (4) Beta Map Achievement (1) Battle Royale Achievement (1) Ratings Achievement (4) Tournament Achievement (31)
General Achievement (16) Clan Achievement (16) Training Achievement (6) Challenge Achievement (1) Tournament Contribution (34)

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

Postby Dako on Sun Jul 15, 2012 6:15 am

You cab have problems if you use both http:// and https://. They keep info separately.
Image
User avatar
Brigadier Dako
 
Posts: 3942
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia
Medals: 115
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Freestyle Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (3) Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (3) Battle Royale Achievement (1) Ratings Achievement (3) Tournament Achievement (13) General Achievement (24)
Clan Achievement (20) General Contribution (20)

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

Postby agentcom on Sun Jul 15, 2012 3:16 pm

Dako wrote:You cab have problems if you use both http:// and https://. They keep info separately.


I have never intentionally tried to use either. My browser bar (FF) doesn't even include the http(s):// I never noticed that until just now actually.

Just tried reinstalling: I had to hit the button 62 times to get through 48 games because of CG bringing things back to life. Only 1 window open, I didn't use back or navigate anywhere else. I waited until the page was loaded to move on.
User avatar
Major agentcom
 
Posts: 3719
Joined: Tue Nov 09, 2010 8:50 pm
Medals: 70
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (4)
Trench Warfare Achievement (2) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (13) General Achievement (7) Clan Achievement (8)
General Contribution (2)

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

Postby Leehar on Sun Jul 15, 2012 3:40 pm

I know it's happened every now and then, but it really shouldn't happen that many times (62?) (that it says you have chat when you don't)
Image
show
User avatar
Brigadier Leehar
Head Clan Director
Head Clan Director
 
Posts: 5963
Joined: Fri Mar 06, 2009 12:12 pm
Location: Graduation Ceremony
Medals: 125
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Freestyle Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (2) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (4) Beta Map Achievement (1) Battle Royale Achievement (1) Ratings Achievement (4) Tournament Achievement (31)
General Achievement (21) Clan Achievement (13) Training Achievement (7) Challenge Achievement (1) General Contribution (8)

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

Postby agentcom on Sun Jul 15, 2012 4:14 pm

Leehar wrote:I know it's happened every now and then, but it really shouldn't happen that many times (62?) (that it says you have chat when you don't)


Well I had just reinstalled, so it brought up my 48 active games because all had chat in them. But as I was clicking through those 48, I had 14 of them "come back to life" after I had passed them, resulting in a total of 62 clicks to clear what should have been 48 chats to read. I see I have 4 Game Chat now (fresh login, only 1 window open). I'll go through those and let you know how many of them should have been cleared by my initial clicking through that I was talking about last time.

[edit: back to report results]

OK, so when I went through those 4 messages (only one window open, I copied this stuff to notepad):

11296282 - repeat
11306221 - repeat
11356396 - new chat
11363334 - repeat
11036738 - new chat popped up while reviewing
User avatar
Major agentcom
 
Posts: 3719
Joined: Tue Nov 09, 2010 8:50 pm
Medals: 70
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (4)
Trench Warfare Achievement (2) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (13) General Achievement (7) Clan Achievement (8)
General Contribution (2)

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

Postby agentcom on Mon Jul 16, 2012 9:51 pm

I have no idea if it will help, but Game 11363329 is a frequent offender (at least today). I've had this one pop up with "new chat" multiple times every time I log in. It's particularly annoying because I just asked my teammates a question that needs to get answered before my turn, so I keep getting excited when it pops up with "new chat." Does any of this extra information help? As time permits, I can probably make posts like the one immediately above this if there's any way that will help resolve this problem.

Finally, what is CG querying to determine whether there is new chat? Is there a chance whatever server it's "talking to" is reporting back ALL chat entries including opponent's chat?
User avatar
Major agentcom
 
Posts: 3719
Joined: Tue Nov 09, 2010 8:50 pm
Medals: 70
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (4)
Trench Warfare Achievement (2) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (13) General Achievement (7) Clan Achievement (8)
General Contribution (2)

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

Postby sherkaner on Tue Jul 17, 2012 7:31 am

CG actually loads the page (with you as a user), and checks whether the id of the last chat equals the one it remembers as the last chat you've seen. So it shouldn't notice opponent's chat.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users and 1 guest

Login