Author Topic: MSN protocol  (Read 34840 times)

0 Members and 1 Guest are viewing this topic.

Offline leecher

MSN protocol
« on: 02 05 2015, 14:20:43 »
Hi,

Just wanted to mention that I did a few things to fix login and messaging in MSN protocol. Of course it's still alpha (so better don't use it in your production clients yet), but for me it works, if anyone wants to test or improve it, feel free to do so:

http://svn.miranda-ng.org/miranda-ng/branches/msnp24/

I'm not really familiar with the MSN protocol, but I do know something about the architecture of the Skype protocol, that's why I also created a library to login to Skype network: https://github.com/msndevs/skylogin
For MSN network login, it shouldn't be necessarily needed  and for plain Skype accounts, you could link your Skype account with a MSN account and then it would also work. The plugin does support login with plain Skype username/pass as well with the help of skylogin, but currently contact list fetching for Skype users is not implemented yet (may need to carry over that from skypeweb), but messaging itself also works.

Just thought I should announce that so that other devs that may also want to work on reviving MSN don't do the same work twice but instead coordinate with me.

Reagards
 

Offline Beck Yang

  • Newbie
  • *
  • Posts: 4
Re: MSN protocol
« Reply #1 on: 11 05 2015, 10:29:31 »
Hi, leecher
Can you merge the change to trunk? So the development build will include your change.
I can help on the testing. Thank you.
 

Offline watcher

Re: MSN protocol
« Reply #2 on: 14 05 2015, 18:03:12 »
leecher, crash on login:

Sorry but you are not allowed to view spoiler contents.



And one more thing - this login (even with crash) was on Microsoft account linked with Skype account, on my old MSN account i get connection error, here's the netlog.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline leecher

Re: MSN protocol
« Reply #3 on: 14 05 2015, 18:53:38 »
Hi,

NULL pointer dereference should be fixed. Regarding old MSN-Account I'm a bit clueless, because my Account is also linked with Skype and when creating a new MSN account, it autmatically gets added a live:* Skype companion user on first login in Skype, so not sure on how to test "classic" MSN accounts...
As I believe there is no other Messenger Application besides Skype officially supported by M$ now, maybe unlinked accounts don't even work anymore (because as I said, Skype adds a Skype-Companion user to it, when you login in Skpye client with it the first time).
 

Offline watcher

Re: MSN protocol
« Reply #4 on: 14 05 2015, 18:55:08 »
With revision 13593 my linked account finally logged in and i could see some of my latest Skype  conversations and chat rooms.

Post Merge: 14 05 2015, 18:55:52
maybe unlinked accounts don't even work anymore

I have the same feeling.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline White-Tiger

  • Developer
  • *****
  • Posts: 182
  • Country: 00
  • SendSS maintainer
Re: MSN protocol
« Reply #5 on: 15 05 2015, 11:12:41 »
I've also got a crash on login
Sorry but you are not allowed to view spoiler contents.

 

Offline Saldavon

  • Newbie
  • *
  • Posts: 6
  • Country: de
  • Miranda VI: Version Info
Re: MSN protocol
« Reply #6 on: 16 05 2015, 08:37:15 »
With revision 13593 my linked account finally logged in and i could see some of my latest Skype  conversations and chat rooms.

Post Merge: 14 05 2015, 18:55:52
I have the same feeling.

Hi,

my MSN Account is not linked with Skype. When I want to use Skype, I have to create an account first...

 MSN.dll v.0.12.1.1 [16 May 2015 2:04:12] - MSN protocol  I use right now and it shows me online.
 

Offline watcher

Re: MSN protocol
« Reply #7 on: 16 05 2015, 08:46:55 »
my MSN Account is not linked with Skype. When I want to use Skype, I have to create an account first...

 MSN.dll v.0.12.1.1 [16 May 2015 2:04:12] - MSN protocol  I use right now and it shows me online.

These are great news if it works without linking to Skype.
Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline Dimsok

  • Sr. Member
  • ****
  • Posts: 282
  • Country: ru
  • Miranda VI: Version Info
Re: MSN protocol
« Reply #8 on: 16 05 2015, 10:00:31 »
Salvadon, which server do you use? Doesn't work for me
 

Offline leecher

Re: MSN protocol
« Reply #9 on: 16 05 2015, 13:27:22 »
Those of you who cannot login may have a problem with these stupid security measures employed by Microsoft, if i.e. your IP address is from a different country than in your last login.
You can try to manually go to

https://login.live.com/oauth20_authorize.srf?client_id=00000000480BC46C&scope=service%3A%3Askype.com%3A%3AMBI_SSL&response_type=token&redirect_uri=https%3A%2F%2Flogin.live.com%2Foauth20_desktop.srf&state=999&locale=de

and try to sign in with your account info. If you are presented a screen that says this may be an unauthorized connectio nttempt, you have to enter your e-mail address you signed up with and then receive a security code that you need to enter to unblock your account. If you did that successfully, further connection attempts (also with Miranda) may succeed.
 

Offline watcher

Пожалуйста, внимательно прочтите правила постинга перед тем, как открыть новую тему.
Please read forum rules.
 

Offline Saldavon

  • Newbie
  • *
  • Posts: 6
  • Country: de
  • Miranda VI: Version Info
Re: MSN protocol
« Reply #11 on: 16 05 2015, 19:02:37 »
Salvadon, which server do you use? Doesn't work for me


I did not change anything since I got the plugin today in the morning.

s.gateway.messenger.live.com 1863
geo.gateway.messenger.live.com 80

I also have another old MSN Account. Used that account in the past (the last time 1 year ago)...
It is something like a fake account. Also not linked, also working.
 

Offline Dimsok

  • Sr. Member
  • ****
  • Posts: 282
  • Country: ru
  • Miranda VI: Version Info
Re: MSN protocol
« Reply #12 on: 16 05 2015, 23:54:07 »
Did change to your server and go online seems. No should to way when my only one msn active contact will be only to try if it really works
 

Offline Dimsok

  • Sr. Member
  • ****
  • Posts: 282
  • Country: ru
  • Miranda VI: Version Info
Re: MSN protocol
« Reply #13 on: 17 05 2015, 00:00:35 »
Very unstable connection. Pretty soon disconnect
 

Offline leecher

Re: MSN protocol
« Reply #14 on: 17 05 2015, 07:08:08 »
Disconnects can be caused either by spurious XFR from Server (Cannot really reproduce, as they seem to occur rarely for me) or by errors. Need to check Netlib log, please enable logging and send me the part of the log where disconnect occurs.