It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
moonshineshadow: I'll check if the number of conversations is the problem. I have so many that gog keeps kicking the older ones off my list since the limit is 200 :D
avatar
adaliabooks: Thanks :)
If it is just the timings off (which I suspect is most likely) then I can probably sort it by just throwing a few longer delays when required.
As you've got the max number of conversations if that is the issue then we should soon find out ;)
So when I set the sort order to "last active", it works fine. But when I refresh the page, it goes back to the default sort order.
When switching between the settings, it always seems to sort correctly, but as soon as I re-visit the chat or refresh the chat page, it goes back to the default sorting, no matter what option is chosen.

There are some weird bug things shown in the console...

XrayWrapper denied access to property parse (reason: object is not safely Xrayable). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported. jquery.min.js:4:0

Error: [ng:areq] Argument 'scope' is required
http://errors.angularjs.org/1.4.3/ng/areq?p0=scope&p1=required
83bd19a-8e7d91b.js:6:381
high rated
avatar
moonshineshadow: So when I set the sort order to "last active", it works fine. But when I refresh the page, it goes back to the default sort order.
When switching between the settings, it always seems to sort correctly, but as soon as I re-visit the chat or refresh the chat page, it goes back to the default sorting, no matter what option is chosen.

There are some weird bug things shown in the console...

XrayWrapper denied access to property parse (reason: object is not safely Xrayable). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported. jquery.min.js:4:0

Error: [ng:areq] Argument 'scope' is required
http://errors.angularjs.org/1.4.3/ng/areq?p0=scope&p1=required
83bd19a-8e7d91b.js:6:381
Ok, thanks moon.

Same problem as mrkgnao it seems. I'll try putting an extra delay in to see if that helps.

How quickly does the side panel with the list of conversations in load for you? It might even be that I need to remove the timeout that is there...

Not sure what the second one is (I thought it was just a GoG error, but I've checked it out and it is the script), but I'm looking into it now.

I think it's unrelated anyway.
high rated
avatar
adaliabooks: No problem, I have accidentally sent many a message with it so I understand.
The irony is that now I've disabled it I keep forgetting and pressing enter to send and nothing happens XD

Last active should indeed be the last people you've spoken too in order, but I can see that there are some problems with it still.

Unfortunately as everything is done by passing events and messages back and forth if you do things too quickly it does have a tendency to fail sometimes... I'll look into it and see if there's anything more I can do to stop it.
avatar
adaliabooks: A quick play around isn't showing up any errors... what browser are you on Treasure?

How common are the errors? If it's just an odd occurrence it might be alright to leave it, but if it's every time it'll definitely need sorted.
To answer your questions:

I played around some more, and the "user Y still there after having clicked user X" bug appears about 2 out of 5 times -this time I clicked around all over the place, just to be certain, not that I actually sent any messages before (I was just playing around)... It might happen with a particular user once, but after a while it might not repeat but this bug occurs every time I click on the username on the top of the contact list when sorted by "Recently active". Case in point: My last session was with moonshineshadow ; the first time I click it just doesn't show anything on top, nor username nor join date and not a pic, and after clicking some other usernames and returning to clikc again the 1st one, the other username remains on top and that one's shown instead of the one just clicked. I attached pics in case that helps (I can't really show the fact I had just clicked moon's entry though...) Tl;dr: I clikc the 1st time, see nothing -later clikc after clicking on another user user, and see the other user instead

As for my browser, I'm using Chrome, and have Adalia Fundamentals installed via Tampermonkey, in case that helps.
Attachments:
Post edited January 19, 2016 by Treasure
high rated
avatar
Treasure: To answer your questions:

I played around some more, and the "user Y still there after having clicked user X" bug appears about 2 out of 5 times -this time I clicked around all over the place, just to be certain, not that I actually sent any messages before (I was just playing around)... It might happen with a particular user once, but after a while it might not repeat but this bug occurs every time I click on the username on the top of the contact list when sorted by "Recently active". Case in point: My last session was with moonshineshadow ; the first time I click it just doesn't show anything on top, nor username nor join date and not a pic, and after clicking some other usernames and returning to clikc again the 1st one, the other username remains on top and that one's shown instead of the one just clicked. I attached pics in case that helps (I can't really show the fact I had just clicked moon's entry though...) As for my browser, I'm using Chrome, and have Adalia Fundamentals installed via Tampermonkey, in case that helps.
Thanks Treasure :)

Sounds like there may be a specific error with certain users then or with the top conversation. I'll click through all the names in my list and see what happens XD
avatar
adaliabooks: How quickly does the side panel with the list of conversations in load for you? It might even be that I need to remove the timeout that is there...
It takes a few seconds, to load the side panel, but it is still faster than the loading of the actual chat :D

But what I noticed: When I load the chat, I see that the option for the sorting is "default" and after a few seconds (when the side panel appears) it changes to "Last active".

So, since I just read the error Treasure is describing. I clicked around in my tons of conversations and normally the name and join date appears fine, but for some people it never appears and in fact stays on the same data as the conversation before. Regardless of how often I click on that conversation and regardless of how long ago that chat was or what sorting order I use.
So I'd guess it is tied to certain users (no clue for the reason but that is how it appears to me). Tell me if you need names of the users where this happens.
Post edited January 19, 2016 by moonshineshadow
high rated
avatar
moonshineshadow: It takes a few seconds, to load the side panel, but it is still faster than the loading of the actual chat :D

But what I noticed: When I load the chat, I see that the option for the sorting is "default" and after a few seconds (when the side panel appears) it changes to "Last active".
About the same as me then..

Yeah, it should do that. I had to tie the sort order option to the iframe loading otherwise the messages fired too soon and nothing happened. Clearly something along those lines is still happening...
avatar
moonshineshadow: So, since I just read the error Treasure is describing. I clicked around in my tons of conversations and normally the name and join date appears fine, but for some people it never appears and in fact stays on the same data as the conversation before. Regardless of how often I click on that conversation and regardless of how long ago that chat was or what sorting order I use.
So I'd guess it is tied to certain users (no clue for the reason but that is how it appears to me). Tell me if you need names of the users where this happens.
Ah. Could be. Probably a general problem with their ID. Yeah, if you can list their names that would be great and I'll see what the problem could be.

Edit: I think I know what the issue is.. moon, do you have your settings set to block people searching for you? The search fails on your name, and it does if I search for you from the friends page too.
Post edited January 19, 2016 by adaliabooks
high rated
avatar
adaliabooks: Ah. Could be. Probably a general problem with their ID. Yeah, if you can list their names that would be great and I'll see what the problem could be.
I sent you a list with the names in chat :D

But perhaps you should ask this guy since he is one of the persons where it is not working:
Johny.
:P

avatar
adaliabooks: Edit: I think I know what the issue is.. moon, do you have your settings set to block people searching for you? The search fails on your name, and it does if I search for you from the friends page too.
Yeah, that might be the problem.
Post edited January 19, 2016 by moonshineshadow
high rated
avatar
moonshineshadow: I sent you a list with the names in chat :D

But perhaps you should ask this guy since he is one of the persons where it is not working:
Johny.
:P

Hmm... I thought I had set it that people can not search for me, but when I go to my settings, the box is unchecked, so people should be able to search for me. Strange.
Well I can't find you (or any of the others on your list) using the search from the friends page (and as that's what I'm using to fetch that info that explains it partly) so presumably it is set that way but the box isn't showing right for you...
And if it's not I think it's a GoG bug rather than a script bug.
avatar
adaliabooks: Well I can't find you (or any of the others on your list) using the search from the friends page (and as that's what I'm using to fetch that info that explains it partly) so presumably it is set that way but the box isn't showing right for you...
And if it's not I think it's a GoG bug rather than a script bug.
Yeah you are right. The gog setting is just confusing...
Post edited January 19, 2016 by moonshineshadow
high rated
I think I may have solved the other bug (hopefully) I'd left a setting in that defaulted the sort order, which if it happened after the message was sent would mean the proper value was overwritten. Hopefully that might fix it.


As for the other one I can probably do the avatar and the name for people who are blocked, but will have to just set the registered date to: Unknown or irretrievable due to privacy settings or something..
Working on a fix now.
high rated
Right, pushed an update with some bug fixes.

I've fixed the names not showing properly, though I can't add the registered date.

I hope I've fixed the sort order not sticking, but give it a try and let me know what happens.
avatar
adaliabooks: Right, pushed an update with some bug fixes.

I've fixed the names not showing properly, though I can't add the registered date.

I hope I've fixed the sort order not sticking, but give it a try and let me know what happens.
Yep sort order seems to work now :-)
And names and avatar of people with the privacy setting are shown.

So since you can not retrieve the registered date from this friends stuff, I am wondering if there is a possibility to receive it from somewhere else. I mean it is shown in the forum so it must be somewhere or not?
high rated
avatar
adaliabooks: Right, pushed an update with some bug fixes.

I've fixed the names not showing properly, though I can't add the registered date.

I hope I've fixed the sort order not sticking, but give it a try and let me know what happens.
I just updated -- WOO-HOO!

From the brief looking around I did, "Room Sort By" has a bit of a delay to switch to "Last Active", even though that's my preference in AF.
Also, if I tick one of the filters, it takes quite a while before it allows me to untick it.

Other than that, I haven't noticed anything - so, what are we testing?
high rated
avatar
moonshineshadow: Yep sort order seems to work now :-)
And names and avatar of people with the privacy setting are shown.

So since you can not retrieve the registered date from this friends stuff, I am wondering if there is a possibility to receive it from somewhere else. I mean it is shown in the forum so it must be somewhere or not?
The problem is mainly that the their are two account ids, a GoG one and a Galaxy one. The AJAX call used on the forums uses the GoG ID, but there is no easy way to get that from the chat page as it uses the Galaxy ID...
avatar
moonshineshadow: So since you can not retrieve the registered date from this friends stuff, I am wondering if there is a possibility to receive it from somewhere else. I mean it is shown in the forum so it must be somewhere or not?
avatar
adaliabooks: The problem is mainly that the their are two account ids, a GoG one and a Galaxy one. The AJAX call used on the forums uses the GoG ID, but there is no easy way to get that from the chat page as it uses the Galaxy ID...
Ah ok :-)

I am wondering if that is also the reason for the problem with the people who had a name change to something with an _. That just one ID gets updated or something.
Post edited January 19, 2016 by moonshineshadow