Moderator: Tech Team
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.
nebsmith wrote:I know that - the problem is that using " mark all chat as read" doesn't clear the chat.
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.
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?
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.
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.
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?
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.
Dako wrote:You cab have problems if you use both http:// and https://. They keep info separately.
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)
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.
agentcom wrote: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.
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.
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.
Users browsing this forum: No registered users