Moderator: Tech Team

Maybe that's because when you use the back arrow it isn't actually refreshing the My Games page.nebsmith wrote:That's not the problem.
The problem is with clearing chat I have looked at. I tend to check through all my games using the back arrow on the browser and then entering the next game so i can work down the list without a lot of scrolling, doing it this way doesn't clear the "new chat" as read.

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.nebsmith wrote:I know that - the problem is that using " mark all chat as read" doesn't clear the chat.
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.chapcrap wrote: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.nebsmith wrote:I know that - the problem is that using " mark all chat as read" doesn't clear the chat.
I didn't know about that break, I guess we'll have to see who picks it up.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?
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.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.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 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.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?
Maybe try to reload it... I haven't had these problems in quite a while.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.

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.Dako wrote:You cab have problems if you use both http:// and https://. They keep info separately.
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.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)
OK, so how long should it take to record that I've "seen" the chat when I am looking at the game? Seems like this should take a millisecond.sherkaner wrote: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.
I don't think that's the problem, scripts execute on dom ready (which is when the page becomes visible, but doesn't wait for images to be loaded) and they should only take maybe 0.2 seconds. If you have BOB and the log is huge of a game, it can be longer though. But you would be blocked anyway. So normally it should have saved the correct information.agentcom wrote:OK, so how long should it take to record that I've "seen" the chat when I am looking at the game? Seems like this should take a millisecond.sherkaner wrote: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.
I wait until my browser tells me that it has loaded the page and then a second or two longer. That is, most (all?) browsers have an icon that they display while a page is loading. There is also a "stop loading" button that will be available during this period. I wait until the loading icon goes away and the stop loading icon turns into a refresh icon. I would think that the script would have completed whatever it needs to do by then or shortly after.
