Author Topic: Steam protocol  (Read 112771 times)

0 Members and 1 Guest are viewing this topic.

Offline Robyer

  • Hero Member
  • *****
  • Posts: 1082
  • Country: cz
  • Karma: 60
    • Robyer.cz website
  • Version Info
Re: Steam protocol
« Reply #240 on: 28 05 2015, 07:48:07 »
Vulpix, I still have the offline messages (and few other things) in my TODO list, but I won't do any promises on time now. But if it will take "too long" (few weeks?), then feel free to remind me again :D
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Vulpix

  • Beta Tester
  • *****
  • Posts: 618
  • Country: 00
  • Karma: 15
Re: Steam protocol
« Reply #241 on: 28 05 2015, 08:24:07 »
Hehe, yeah. Thanks though!

On a related note though - message sequencing is off when you send a message, close the window and receive a reply. Not sure if it's related to your PC's clock being ahead/behind, but basically the reproduction scenario is simple:

You: Good night *close the chat window*

Them: Yep, good night!

 *you get blinking tray notification that you have a new message, so you open it and:*

Them: Yep, good night!
You: Good night


=> their messages are placed in front of yours, even in history log. The timestamps are just in front of whatever it is you said to them before you closed the chat window.

When you keep the chat window open, this doesn't occur, messages are properly chronologically. This happens all the time and causes log to be sliiiightly confusing.
 

Offline Robyer

  • Hero Member
  • *****
  • Posts: 1082
  • Country: cz
  • Karma: 60
    • Robyer.cz website
  • Version Info
Re: Steam protocol
« Reply #242 on: 28 05 2015, 09:10:17 »
Vulpix, so timestamp for sent message is before the received message? Sent message probably uses local time, received server time. I can fix this if that's the problem. But your description seems bit confusing for me.
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Vulpix

  • Beta Tester
  • *****
  • Posts: 618
  • Country: 00
  • Karma: 15
Re: Steam protocol
« Reply #243 on: 28 05 2015, 09:19:21 »
I'll try to re-describe it...

Assume two people (A,B) are chatting and they both post a sequence of numbers each with 1 second delay.

A: 1
A: 2
A: 3
B: 4
B: 5
B: 6

this is what it looks like in message history and in  the chat window, if you leave it open during the entire conversation.

Now the situation I'm describing:

A:1
A:2
A:3

*at this point, A closes the chat window*

B sends its messages. A gets the "new messages" notification in tray, so he clicks it and the chat window opens, and in it:

B:4
B:5
B:6
A:1
A:2
A:3

as well as in the history itself (when you open chat history).

A's clock is slightly fast in comparison to UTC, (say 5 seconds).

Does that make sense now? I think it's exactly the issue you have in mind.
 

Offline Vulpix

  • Beta Tester
  • *****
  • Posts: 618
  • Country: 00
  • Karma: 15
Re: Steam protocol
« Reply #244 on: 28 05 2015, 13:46:17 »
Something is wrong with Steam now.

When I message my friend, he complains that he sees a lot of empty messages from me.

Demonstration below:

Spoiler
3:34 PM - Vulpix: for the past I dunno how many weeks
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix: I don't know why they always have to do this in the morning, at like 6am x3
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:34 PM - Vulpix:
3:35 PM - Test: There seems to be a problem with your chat program
3:34 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Test: It keeps sending empty messages
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:
3:35 PM - Vulpix:

Will share netlog with robyer if required.
 

Offline Robyer

  • Hero Member
  • *****
  • Posts: 1082
  • Country: cz
  • Karma: 60
    • Robyer.cz website
  • Version Info
Re: Steam protocol
« Reply #245 on: 28 05 2015, 15:11:42 »
Vulpix, that's weird, I don't see any problem with my configuration. Netlog would be good.
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Der Jude

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: Steam protocol
« Reply #246 on: 09 06 2015, 23:42:54 »
My steam token expired, upon relogging a window tittled steam guard popped up, i went to pick up new code from my mailbox, copy-pasted it however the steam-guard window showed again, new code arrived at mail. Tried to paste it as well but it still didn't accept it, in result i've got 6 emails from steam with same code and can't do anything with the plugin.
 

Offline Robyer

  • Hero Member
  • *****
  • Posts: 1082
  • Country: cz
  • Karma: 60
    • Robyer.cz website
  • Version Info
Re: Steam protocol
« Reply #247 on: 10 06 2015, 04:48:30 »
Der Jude, are you using stable or development version of plugin? In stable it's broken.
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Corak

  • Jr. Member
  • **
  • Posts: 93
  • Country: ru
  • Karma: 8
  • IDDQD
    • Corak's Software Incorporated
  • Jabber ID
  • Version Info
Re: Steam protocol
« Reply #248 on: 10 06 2015, 22:35:34 »
Got strange errors with connection to steam, no users are added to contact list:

http://pastebin.com/xwxkqsSf

http://files.leraux.ru/Corak/Temp/Miranda/Error/netlog_steam_connect.txt

Always ending with:
(00FB9910:2156) Connection closed internal
(00FB9910:4294967295) Connection closed


Retrying:
(00FA1FC0:2396) Data received
{
   "pollid": 0,
   "sectimeout": 30,
   "error": "Timeout"
}
 

Offline Robyer

  • Hero Member
  • *****
  • Posts: 1082
  • Country: cz
  • Karma: 60
    • Robyer.cz website
  • Version Info
Re:Steam protocol
« Reply #249 on: 11 06 2015, 05:18:31 »
Corak, log looks okay.

Look at Your steam settings in Miranda, specifically what "Group" (or "Default group") is set there. Then try to create the group manually in your contact list.
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Vulpix

  • Beta Tester
  • *****
  • Posts: 618
  • Country: 00
  • Karma: 15
Re: Steam protocol
« Reply #250 on: 12 06 2015, 00:08:46 »
Not sure if it was confirmed beforehand or not but hey, re-authorizing now works! My token expired, steam protocol asked me to input a new one, I got it in an e-mail, put it in, and voila, I'm now logged in again! Good job!
 

Offline Vulpix

  • Beta Tester
  • *****
  • Posts: 618
  • Country: 00
  • Karma: 15
Re: Steam protocol
« Reply #251 on: 12 06 2015, 11:30:13 »
Steam just started behaving very strangely. Actually I think tox and steam together do this somehow. It happened 2x on steam and 1x on tox already.

I sent a longer message to a friend on Tox
Then I switched contact to talk to a friend on Steam (both via miranda)

And miranda then started sending the TOX MESSAGE to my STEAM FRIEND! D: With every message.

I only saw it because I was also connected from the official steam client at the same time - none of those messages with the ping were visible in miranda.

Message to my tox contact:

Spoiler
Vulpix, 12.6.2015 13:23:18:
  1    <1 ms    <1 ms    <1 ms  FortressTL-WDR3600.lan [192.168.0.254]
  2     *        *        *     Request timed out.
  3    10 ms     8 ms     6 ms  static-84-242-127-1.net.upcbroadband.cz [84.242.127.1]
  4    12 ms    12 ms    12 ms  cz-prg01a-ra4-vla2109.net.upc.cz [84.116.221.37]
  5    11 ms    11 ms    12 ms  84-116-130-230.aorta.net [84.116.130.230]
  6    12 ms    12 ms    11 ms  cz-prg01a-ra1-ge-0-0-0-v50.aorta.net [213.46.172.18]
  7    12 ms    12 ms    15 ms  prag-bb1-link.telia.net [213.155.137.18]
  8    50 ms    25 ms    25 ms  ffm-bb1-link.telia.net [213.155.131.216]
  9    23 ms    26 ms    23 ms  ffm-b10-link.telia.net [62.115.137.219]
 10     *        *        *     Request timed out.
 11     *        *        *     Request timed out.
 12     *        *        *     Request timed out.
 13     *        *        *     Request timed out.
 14     *        *        *     Request timed out.
 15     *        *        *     Request timed out.
 16     *        *        *     Request timed out.
 17     *        *        *     Request timed out.
 18     *        *        *     Request timed out.
 19     *        *        *     Request timed out.
 20     *        *        *     Request timed out.
 21     *        *        *     Request timed out.
 22     *        *        *     Request timed out.
 23     *        *        *     Request timed out.
 24     *        *        *     Request timed out.
 25     *      414 ms     *     185.31.17.193
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28     *        *        *     Request timed out.
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.

Next, chat with my steam contact (copied from steam client since in miranda it looked normal!)

Spoiler
13:23 - Some: It would be like in the stone age!
But seriously, people would make sure that the internet comes back again :p
13:23 - Vulpix: x3 yeah
13:23 - Vulpix: *     Request timed out.
 24     *        *        *     Request timed out.
 25     *      414 ms     *     185.31.17.193
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28     *        *        *     Request timed out.
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.
13:23 - Vulpix: *     Request timed out.
 24     *        *        *     Request timed out.
 25     *      414 ms     *     185.31.17.193
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28     *        *        *     Request timed out.
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.
13:23 - Vulpix: Everything depends on it :3
13:23 - Vulpix: *     Request timed out.
 24     *        *        *     Request timed out.
 25     *      414 ms     *     185.31.17.193
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28     *        *        *     Request timed out.
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.
13:23 - Vulpix: *     Request timed out.
 24     *        *        *     Request timed out.
 25     *      414 ms     *     185.31.17.193
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28     *        *        *     Request timed out.
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.
13:23 - Vulpix: *     Request timed out.
 24     *        *        *     Request timed out.
 25     *      414 ms     *     185.31.17.193
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28     *        *        *     Request timed out.
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.
13:23 - Vulpix: *     Request timed out.
 24     *        *        *     Request timed out.
 25     *      414 ms     *     185.31.17.193
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28     *        *        *     Request timed out.
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.
13:23 - Vulpix: *     Request timed out.
 24     *        *        *     Request timed out.
 25     *      414 ms     *     185.31.17.193
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28     *        *        *     Request timed out.
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.
13:23 - Vulpix: Wow you just got some random messages didn't you O_o
13:23 - Vulpix: *     Request timed out.
 24     *        *        *     Request timed out.
 25     *      414 ms     *     185.31.17.193
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28     *        *        *     Request timed out.
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.
13:23 - Vulpix: *     Request timed out.
 24     *        *        *     Request timed out.
 25     *      414 ms     *     185.31.17.193
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28     *        *        *     Request timed out.
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.
13:24 - Vulpix: *     Request timed out.
 24     *        *        *     Request timed out.
 25     *      414 ms     *     185.31.17.193
 26     *        *        *     Request timed out.
 27     *        *        *     Request timed out.
 28     *        *        *     Request timed out.
 29     *        *        *     Request timed out.
 30     *        *        *     Request timed out.
13:24 - Vulpix: whoa
13:24 - Vulpix: and again
13:24 - Vulpix: I gotta log off
13:24 - Vulpix: something is messed up.
13:24 - Some: Yup, something broke X3

I have full netlog from this. It's the second time this happened and it is genuinely a problem.

I noticed it happens with long messages that are autosplit, but it might be a coincidence.
« Last Edit: 12 06 2015, 11:48:05 by Vulpix »
 

Offline jjamesville

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Steam protocol
« Reply #252 on: 23 06 2015, 20:48:03 »
Tried the plugin, it connects but doesn't show my contacts. This happens on both a clean install of 32, 64, stable and current releases. When I log in to the Steam client theres an icon by my avatar that says "online using the web".  For some reason the Miranda icon still gives me notifications that someones signed in dispite me not being able to see them on my list.
 

Offline Vulpix

  • Beta Tester
  • *****
  • Posts: 618
  • Country: 00
  • Karma: 15
Re: Steam protocol
« Reply #253 on: 24 06 2015, 09:01:48 »
Tried the plugin, it connects but doesn't show my contacts. This happens on both a clean install of 32, 64, stable and current releases. When I log in to the Steam client theres an icon by my avatar that says "online using the web".  For some reason the Miranda icon still gives me notifications that someones signed in dispite me not being able to see them on my list.

Steam protocol only works in the dev branch as far as I'm aware. You need to use dev version of miranda (which is stable enough though, I've been using nothing else but dev miranda for the past two years or so :p).

@Robyer/unsane,

Would it be possible to do something about token expiration on Tuesdays? When the whole steam is taken down for maintenance, my miranda always expires the token off meaning I have to re-authenticate myself. I mean, it works, but I don't want to have to enter a code every week on Tuesday. Would it be possible to put in some verification that will only remove the token if it detects that steam web api is NOT down? (like this site does: https://steamstat.us/  - it'll show when web api is down).

That way we will keep the token, because if the plugin checks steam web api and sees "aha web api is down", then it will know to keep the secret token instead of removing it from db; but it will still remove it from db if it sees that web api is running and that we are unable to connect - because at that point it will be due to the token being expired.

Thoughts?
 

Offline unsane

  • Developer
  • *****
  • Posts: 155
  • Country: ru
  • Karma: 10
Re: Steam protocol
« Reply #254 on: 24 06 2015, 09:21:20 »
jjamesville, can you make a netlog?
Si no estas con nosotros, estas contra nosotros.