Author Topic: Steam protocol  (Read 187962 times)

0 Members and 1 Guest are viewing this topic.

Offline Ratha

Re: Steam protocol
« Reply #525 on: 12 06 2018, 20:14:46 »
Just a quick heads up that there may be some major changes coming to the client and web-based Steam chat in the next couple of weeks or months: https://steamcommunity.com/updates/chatupdate

Not sure how or if this is going to affect Miranda, but anyone who relies on the current version of chat in Miranda to do Steam chat with may need to be prepared for a possible disruption if/when they deploy the update to everyone.
 

Offline unsane

Re: Steam protocol
« Reply #526 on: 13 06 2018, 18:35:17 »
Hmm, i suppose it shouldn't affects Miranda. Of course if they not disable old api  :)
Si no estas con nosotros, estas contra nosotros.
 

Offline Vulpix

Re: Steam protocol
« Reply #527 on: 13 06 2018, 18:47:06 »
I actually thought of this too. If it does break the API, I do use steam in Miranda a lot so that would be very sad :p
 

Offline Scrappy

  • Newbie
  • *
  • Posts: 10
  • Country: nl
Re: Steam protocol
« Reply #528 on: 20 06 2018, 08:50:57 »
...well i can not connect anymore with steam chat, is there a sollution on the way or is this the end (yet another protocol dead ?  :'( )...
« Last Edit: 20 06 2018, 08:55:28 by Scrappy »
 

Offline Ratha

Re: Steam protocol
« Reply #529 on: 20 06 2018, 09:38:46 »
When you say you're unable to connect, what does that mean? Does that mean you try and theres an error, whats the error? Does that mean you try and nothing happens, does that mean you try but that the mobile authenticator does not pop up asking you for a token? Did you check to see if you can login via Steam friends? Did you check the web chat to see if it was working? You'll have to provide a bit more information, especially things like your Version Info report and a Netlog of you trying to connect in order to get the best help.

Im having no trouble connecting using Miranda 0.95.8.19890 (Couple months old developer build.) However it does seem like Steam has had some connectivity issues according to the graph here: https://steamstat.us/ and https://twitter.com/SteamStatus

If you're able to connect via the webchat https://steamcommunity.com/chat/ then you might want to try quitting Miranda, waiting 15 minutes and then launching and trying to reconnect again.

If you're using mobile auth and attempting to connect but not getting a popup asking you for your authenticator code, then you might try:
- Close Miranda, make a backup of your profile.
- Install / Run Miranda's Database Editor++ plugin.
- Find the Settings > Steam_[Username] category.
- Search for and open the "TokenSecret" entry.
- Clear the 32 digit number in the entry, hit okay, close the editor.
- Restart Miranda and attempt to reconnect.
 

Offline Scrappy

  • Newbie
  • *
  • Posts: 10
  • Country: nl
Re: Steam protocol
« Reply #530 on: 20 06 2018, 15:16:11 »
Sorry but you are not allowed to view spoiler contents.


it just doesn't connect, no popups, no error msg, nothing. I dit had an update of the steam software and the original steam chat software works.

i will try the option of clearing the tokensecret entry.....

Well that did the trick, its working again THX !!!  :THUMBS UP: :DRINK:

Bud why did it reset ?? Was that something Steam did ??
« Last Edit: 20 06 2018, 15:28:52 by Scrappy »
 

Offline Ratha

Re: Steam protocol
« Reply #531 on: 20 06 2018, 16:14:23 »
Couldnt tell you what causes it to break, only that sometimes it does. Happens once every couple of months for me. My guess is that Steam forces the authentication token to expire occasionally but Miranda does not know how to interpret the login error, so it just keeps trying without realizing it needs to ask the user to re-authenticate for a new token.

Would be nice if there were an option to force reauthentication / clear the token without having to use the editor as currently thats the only way I know of to fix the issue where you just cant login, short of creating a new Miranda profile anyway. Would also be great if Miranda reported login errors with notification windows to more easily diagnose whats going on instead of just watching it try to connect and then having it stop. But thats probably quite a bit of additional work especially given how few developers there are to work on the project as is. We're probably just lucky that it stays working as well as it does, as I cant even imagine having to go back to using the Steam client again, Miranda is just so much more useful and usable.
 

Offline Goraf

Re: Steam protocol
« Reply #532 on: 20 06 2018, 17:30:10 »
Ratha, if you think of something as simple as just a button in options which will clear token entry in database then it should be fairly easy to implement. And feel free to spam issue tracker with every enhancement you can think of. Even if noone will be able to implement them in the near future, is much easier to track them there.
 

Offline Ratha

Re: Steam protocol
« Reply #533 on: 20 07 2018, 01:38:25 »
This may or may not be relevant in the future:

https://steamcommunity.com/gid/103582791433918461#announcements/detail/1671283521940805450

"The Steam Beta Client has been updated with the following changes:
New Steam Chat
Changed Steam Chat to load from a new dedicated domain. NOTE: This will reset many Chat UI settings to their defaults, such as open chat windows, chat room member list collapsing, and voice settings. This is a one-time reset when you update."
 

Offline Ratha

Re: Steam protocol
« Reply #534 on: 25 07 2018, 23:35:53 »
EDIT: Steam patched the 'offline/invisible mode overrides other clients bug' Here "Fixed invisible mode being set per client so you can have one client that is always in invisible mode regardless of the state of other connected clients."

Steam has published the new chat client to the main branch. So far here are my observations with regard to how it interacts (buggily) with Miranda, and a few tips for anyone who is having problems:

Buggy Behavior with New Steam Client: (How New Steam Client settings affect Miranda)
- If your status in the Steam client is set to Offline (via right click System Tray icon) you will appear Offline to all your friends even if Miranda says you are Online.
- If your status in the Steam client is set to Invisible (via Friends List) you will appear Offline even if Miranda says you are Online.

Ideally, Miranda will probably need to be updated so that it reports as online to the webchat protocol again and overrides the Steam client's Offline and Invisible setting (assuming thats possible.)

Temporary Workaround:
Launching "Steam.exe -nochatui -nofriendsui" will revert the friends list update and allow you to properly set yourself as offline on the Steam client while showing up as Online/Mobile in Miranda.
NOTE: To fix "away" status: Launch Steam with these settings, log into Friends, change your status to online (twice), and then log back out again. Then you need to log off and back in with Miranda.

Old Steam Client Behavior: (Same as -nochatui -nofriendsui)
- Steam client set to offline, Miranda set to Online: You appear as Online/Web to your friends. Setting Online in the Steam client overrides Miranda and allows game info to be displayed. (Desired behavior.)

New Steam Client Behavior: (Steam Client Info Only)
- If you set yourself to Offline, you will receive popup notifications, chat windows, and sounds through Steam. (Steam treats this mode like Online, except it shows you as Offline, even when you're not.)
- If you set yourself to Invisible, you will not receive popup notifications, chat windows, or sounds, unless you have a Steam chat window open with the person who is sending the message. (Steam treats this mode as 'quiet mode' + offline.)

The new Steam chat does not appear to have a proper offline mode. This might be a bug / oversight with the Steam client however. 'Offline' mode behaves identically to Online mode (Showing popups, chat windows, and sounds) except that you appear offline. (Invisible mode behaves closer to the old Offline mode.) The only way to access the fake 'Offline' mode is through the System Tray, but because the new Steam client still has you connected to Friends even when in 'Offline' mode, thats likely why it overrides Miranda's settings.

Sorry but you are not allowed to view spoiler contents.
« Last Edit: 27 07 2018, 17:05:35 by Ratha »
 

Offline Smiling Spectre

  • Jr. Member
  • **
  • Posts: 66
  • Country: 00
Re: Steam protocol
« Reply #535 on: 17 08 2018, 22:39:22 »
Hello.

All last time (last half-year at least) Steam protocol have two mostly harmless but annoying errors:

1. Time to time protocol "silently" goes offline. It appears online, and I see my contacts as it was on moment of disconnect (but not see any change in status, obviously), but if I try to send any message to anyone, I receive "You are not logged in" error. Disconnect/connect usually solve this error.

2. If network disappears during work of Steam plugin (going to hybernation is most common case for me), plugin reacts as if all my contacts disappeared. I got a ton of message pop-ups "ignir deleted from your contacts", "ivanov deleted from your contacts", and so on, until I lost everyone (all 100+ men). Again, if I am exit Miranda (as I have no patience to click thru 100+ popups) and start it again, plugin returns all contacts back - and I _had_ to click all this 100+ popups, only this time they said "ignir returned to your contacts", etc. *sigh*.

Case is not restricted to hybernation, of course. True network problems - Steam Summer sale recently, for example - ends the same.

Also, after Steam update client, and Miranda updated base format, another unexpected problem appeared (I dunno if base only is responsible, or Steam side too):

3.1. If I synch my "mobile" Miranda base with "fixed" one. (It happens mostly if I forgot to bring up USB-stick and had to work with fixed copy for some time).

3.2. And if I talked in Steam with someone during this period.

3.3. Then after I login into Steam with new, combined mobile database, all messages that was made during "fixed" period (that was added to DB) will be pulled again from Steam, giving me DB with all Steam messages duplicated.

Also, I have no idea how to fix results of error #3. There is no more way to fix duplicate errors as old base could, right?
« Last Edit: 17 08 2018, 22:40:58 by Smiling Spectre »
 

Offline Vulpix

Re: Steam protocol
« Reply #536 on: 17 08 2018, 22:49:14 »
Yeah I feel you. I sometimes get that "disappeared from your contact list" "is back in your contact list" thing as well and it really sucks. The steam plugin could use some updates like.. support for invisible mode and such! :D I think best approach might be to create a ticket on github for each issue you have separately, with as many details as possible (but only related to the issue / feature request).
 

Offline Ratha

Re: Steam protocol
« Reply #537 on: 17 08 2018, 23:03:33 »
The Steam outages a couple of days ago resulted in me 'losing' my entire Steam contact list about 5 times, which meant 120 clicks to acknowledge removed and then another 120 clicks to acknowledge that they were 'back in my contact list' over the course of the day. Was a bit troublesome, but thankfully didnt seem to cause any major issues that I was aware of.

Having the notification that a user has been removed from your list is very handy to know when someone has removed you, so it'd be a bit problematic to have that feature removed, however we probably could use a 'dismiss all similar prompts' option / okay to all function. Or maybe even just a smart detection of when the steam friends servers are offline and not responding to avoid that problem in the future. It seems a little strange that just because it cant query the server that it would report friends as removed. Makes me wonder if Steam itself was incorrectly reporting no contacts for the account instead of some other kind of error. Better handling of that would certainly be handy, but reproducing the server state that caused the 'mass removal' might be tricky.
 

Offline Smiling Spectre

  • Jr. Member
  • **
  • Posts: 66
  • Country: 00
Re: Steam protocol
« Reply #538 on: 22 04 2019, 06:41:59 »
After some Miranda updates (in last week) Steam plugin stopped to work.

It simply not connects. I see attempt to connect, then logout with pop-up window "Status error".

(I don't have log, and I forgot how to enable it, sorry :(
 

Offline ghazan

Re: Steam protocol
« Reply #539 on: 24 04 2019, 14:45:26 »
Smiling Spectre,
try to login via the browser, maybe it will say smth
as for me, the protocol itself works ok