Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Development => Topic started by: leecher on 02 05 2015, 14:20:43

Title: MSN protocol
Post by: leecher 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
Title: Re: MSN protocol
Post by: Beck Yang 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.
Title: Re: MSN protocol
Post by: watcher on 14 05 2015, 18:03:12
leecher, crash on login:

CrashLog
Miranda Crash Report from 14 May 2015 21:00:24. Crash Dumper v.0.0.5.2

Likely cause of the crash plugin: MSN protocol

Exception: Access Violation at address 1900CB9C. Reading from address 00000014.

Stack Trace:
---------------------------------------------------------------
1900CB9C (MSN 19000000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_contact.cpp (38): CMsnProto::MSN_HContactFromEmail
19009F28 (MSN 19000000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_commands.cpp (765): CMsnProto::MSN_ProcessNLN
1900CA96 (MSN 19000000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_commands.cpp (1818): CMsnProto::MSN_HandleCommands
19025C24 (MSN 19000000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_threads.cpp (232): CMsnProto::MSNServerThread
1902694F (MSN 19000000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_threads.cpp (644): CMsnProto::ThreadStub
1000DBFC (mir_core 10000000): e:\sources\miranda_ng_compilation\src\mir_core\src\threads.cpp (154): forkthreadex_r
77E5C556 (MSVCR100 77E00000): (filename not available) (0): endthreadex
77E5C600 (MSVCR100 77E00000): (filename not available) (0): endthreadex
779FEE1C (kernel32 779B0000): (filename not available) (0): BaseThreadInitThunk
778B3A03 (ntdll 77850000): (filename not available) (0): RtlInitializeExceptionChain
778B39D6 (ntdll 77850000): (filename not available) (0): RtlInitializeExceptionChain

CPU: Pentium(R) Dual-Core CPU E6500 @ 2.93GHz [x86 Family 6 Model 23 Stepping 10] [DEP Enabled] [2 CPUs]
Installed RAM: 3072 MBytes
Operating System: Microsoft Windows 7 Ultimate Edition, 32-bit Service Pack 1 (build 7601)
Internet Explorer: 9.11.9600.17801 (build 99600)
Administrator privileges: Yes
OS Languages: (UI | Locale (User/System)) : English/English | Russian/Russian

Miranda NG Version: 0.95.5 alpha build #13592
Build time: 14 May 2015 20:59:12
Profile: E:\Dropbox\Public\AutoCompile\miranda-ng-v0.94.9\Profiles\V\V.dat
Language pack: Russian (RU) [0419]
Service Mode: No

Active Plugins (48):
  Actman.dll v.0.3.0.1 [30 Apr 2015 5:55:02] - Action manager
  AdvaImg.dll v.0.11.0.2 [9 Apr 2015 5:32:04] - Miranda image services
  AIM.dll v.0.11.0.1 [9 May 2015 5:31:48] - AIM protocol
  AVS.dll v.0.95.3.4 [9 May 2015 5:31:26] - Avatar service
  Clist_modern.dll v.0.9.1.3 [14 May 2015 5:35:54] - Modern contact list
  CrashDumper.dll v.0.0.5.2 [9 May 2015 5:50:24] - Crash dumper
  Db_autobackups.dll v.0.0.0.10 [9 May 2015 5:37:58] - Db autobackuper
  DbEditorPP.dll v.3.2.0.2 [9 May 2015 5:50:36] - Database editor++
  Dbx_mmap.dll v.0.95.3.1 [14 May 2015 5:31:40] - Miranda NG mmap database driver
  Dummy.dll v.0.1.0.0 [30 Apr 2015 5:54:40] - Dummy protocol
  Facebook.dll v.0.2.10.8 [9 May 2015 5:48:24] - Facebook RM
  Fingerprint.dll v.0.1.0.0 [30 Apr 2015 5:50:24] - Fingerprint NG
  Flags.dll v.0.1.0.4 [9 May 2015 5:37:40] - Country flags
  FltContacts.dll v.0.7.0.1 [9 May 2015 5:38:00] - Floating contacts
  Folders.dll v.0.2.0.1 [9 May 2015 5:37:58] - Custom profile folders
  GG.dll v.0.11.0.3 [30 Apr 2015 5:31:54] - Gadu-Gadu protocol
  HistoryPP.dll v.1.5.1.5 [15 Apr 2015 19:17:46] - History++
  ICQ.dll v.0.11.3.3 [9 May 2015 5:32:26] - IcqOscarJ protocol
  IEView.dll v.1.5.0.1 [9 May 2015 5:38:58] - IEView
  Import.dll v.0.95.4.2 [9 May 2015 5:31:28] - Import contacts and messages
  IRC.dll v.0.11.0.3 [14 May 2015 5:32:14] - IRC protocol
  Jabber.dll v.0.11.0.4 [14 May 2015 5:33:06] - Jabber protocol
  KeepStatus.dll v.0.9.0.2 [9 May 2015 5:47:46] - Keep status
  MenuEx.dll v.1.3.0.10 [9 May 2015 5:40:00] - Menu item ext
  MirOTR.dll v.0.14.1.16 [9 May 2015 5:50:34] - Miranda OTR
  MRA.dll v.2.1.0.10 [12 May 2015 12:21:34] - Mail.ru Agent
  mRadio.dll v.0.0.2.4 [30 Apr 2015 5:55:14] - mRadio Mod
  MsgPopup.dll v.0.1.2.1 [9 May 2015 5:52:50] - Message popup
  MSN.dll v.0.12.1.1 [14 May 2015 20:58:54] - MSN protocol
  mTextControl.dll v.0.8.0.1 [9 May 2015 5:39:56] - Miranda text control
  MyDetails.dll v.0.0.1.12 [9 May 2015 5:50:44] - My details
  NewsAggregator.dll v.0.1.0.2 [30 Apr 2015 5:49:56] - News aggregator
  NoHistory.dll v.0.2.3.0 [9 May 2015 5:52:34] - NoHistory
  PluginUpdater.dll v.0.1.2.4 [30 Apr 2015 5:48:52] - Plugin updater
  Popup.dll v.2.1.1.10 [9 May 2015 5:47:04] - Popup plus
  QuickMessages.dll v.0.0.4.2 [9 May 2015 5:46:08] - Quick messages
  QuickSearch.dll v.1.4.2.0 [30 Apr 2015 5:55:16] - Quick Search
  SmileyAdd.dll v.0.2.3.18 [9 May 2015 5:47:42] - SmileyAdd
  SpellChecker.dll v.0.2.6.2 [9 May 2015 5:48:30] - Spell checker
  StartupStatus.dll v.0.8.0.47 [9 May 2015 5:47:46] - StartupStatus
  TabSRMM.dll v.3.4.0.10 [9 May 2015 5:32:00] - TabSRMM
  Tipper.dll v.2.1.0.7 [9 May 2015 5:47:52] - Tipper
  TopToolBar.dll v.0.8.0.4 [9 May 2015 5:48:56] - TopToolBar
  Tox.dll v.0.11.0.6 [9 Feb 2015 22:32:34] - Tox protocol
  Watrack.dll v.0.0.6.12 [9 May 2015 5:55:28] - Winamp Track
  Weather.dll v.0.4.0.2 [9 May 2015 5:51:56] - Weather
  WhatsApp.dll v.0.1.2.14 [14 May 2015 5:41:24] - WhatsApp protocol
  Yahoo.dll v.0.11.0.1 [9 May 2015 5:32:14] - Yahoo protocol

Weather ini files:
-------------------------------------------------------------------------------
 Accu-Intl-XML.ini v.0.0.6.0 [6 Mar 2013 9:37:28] - AccuWeather Intl
 gismeteo.ini v.2012.05.03 [1 Jan 2015 16:05:24] - GisMeteo
 msn.ini v.2014-11-08 [11 Jan 2015 13:28:42] - MSN Weather (New Layout)
 weatherxml.ini v.0.0.5.3 2009-07-16 [1 Jan 2015 16:05:24] - WeatherXML
 wundergrnd_intl.ini v.2011/02/13 [1 Jan 2015 16:05:24] - Weather Underground Int'l
 wundergrnd_xml.ini v.2011/02/13 [1 Jan 2015 16:05:24] - Weather Underground XML


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 (http://pastebin.com/8rgz216Z).
Title: Re: MSN protocol
Post by: leecher 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).
Title: Re: MSN protocol
Post by: watcher 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.
Title: Re: MSN protocol
Post by: White-Tiger on 15 05 2015, 11:12:41
I've also got a crash on login
crash.log
Code: [Select]
Miranda Crash Report from 15 May 2015 13:08:53. Crash Dumper v.0.0.5.2

Likely cause of the crash plugin: MSN protocol

Exception: Access Violation at address 14BC5AF8. Reading from address 00000000.

Stack Trace:
---------------------------------------------------------------
14BC5AF8 (MSN 14BA0000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_threads.cpp (220): CMsnProto::MSNServerThread
14BC691B (MSN 14BA0000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_threads.cpp (644): CMsnProto::ThreadStub
1200DBFC (mir_core 12000000): e:\sources\miranda_ng_compilation\src\mir_core\src\threads.cpp (154): forkthreadex_r
65F4C556 (MSVCR100 65EF0000): (filename not available) (0): endthreadex
65F4C600 (MSVCR100 65EF0000): (filename not available) (0): endthreadex
751F7C04 (KERNEL32 751E0000): (filename not available) (0): BaseThreadInitThunk
7727AD1F (ntdll 77220000): (filename not available) (0): RtlInitializeExceptionChain
7727ACEA (ntdll 77220000): (filename not available) (0): RtlInitializeExceptionChain

CPU: AMD FX(tm)-8320 Eight-Core Processor  [AMD64 Family 21 Model 2 Stepping 0] [DEP Enabled] [8 CPUs]
Installed RAM: 16338 MBytes
Operating System: Microsoft Windows 8.1 Professional Edition, 64-bit (build 9600)
Internet Explorer: 9.11.9600.17728 (build 99600)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : English/English | English/English

Miranda NG Version: 0.95.5 alpha build #13598 [running inside WOW64]
Build time: 15 May 2015 5:31:04
Profile: E:\_\Internet\Miranda IM\Profiles\White-Tiger\White-Tiger.dat
Language pack: No language pack installed
Service Mode: No

Active Plugins (38):
  AdvaImg.dll v.0.11.0.2 [8 Apr 2015 5:32:54] - Miranda image services
  AdvancedAutoAway.dll v.0.8.1.1 [6 May 2015 5:37:40] - Advanced Auto Away
  AuthState.dll v.0.0.2.1 [28 Apr 2015 9:37:16] - Authorization state
  AVS.dll v.0.95.3.4 [4 May 2015 9:03:14] - Avatar service
  BASS_interface.dll v.0.0.0.14 [4 May 2015 9:09:36] - BASS interface
  Clist_modern.dll v.0.9.1.3 [14 May 2015 5:35:54] - Modern contact list
  CrashDumper.dll v.0.0.5.2 [4 May 2015 9:07:10] - Crash dumper
  DbEditorPP.dll v.3.2.0.2 [7 May 2015 5:50:36] - Database editor++
  Dbx_mmap.dll v.0.95.3.1 [15 May 2015 5:31:32] - Miranda NG mmap database driver
  Dropbox.dll v.0.12.0.4 [14 May 2015 5:40:58] - Dropbox
  Fingerprint.dll v.0.1.0.0 [22 Apr 2015 5:51:58] - Fingerprint NG
  Folders.dll v.0.2.0.1 [4 May 2015 9:04:40] - Custom profile folders
  GTalkExt.dll v.0.1.1.0 [28 Apr 2015 9:38:56] - GTalk Extension
  HistoryPP.dll v.1.5.1.5 [15 Apr 2015 19:17:46] - History++
  ICQ.dll v.0.11.3.3 [8 May 2015 5:31:58] - IcqOscarJ protocol
  IEView.dll v.1.5.0.1 [15 May 2015 5:37:24] - IEView
  Import.dll v.0.95.4.2 [4 May 2015 9:03:12] - Import contacts and messages
  IRC.dll v.0.11.0.3 [14 May 2015 5:32:14] - IRC protocol
  Jabber.dll v.0.11.0.4 [14 May 2015 5:33:06] - Jabber protocol
  KeepStatus.dll v.0.9.0.2 [6 May 2015 5:37:44] - Keep status
  MenuEx.dll v.1.3.0.10 [4 May 2015 9:04:50] - Menu item ext
  MirOTR.dll v.0.14.1.16 [4 May 2015 9:07:58] - Miranda OTR
  MSN.dll v.0.12.1.1 [15 May 2015 5:32:32] - MSN protocol
  PluginUpdater.dll v.0.1.2.4 [16 Apr 2015 5:36:06] - Plugin updater
  Popup.dll v.2.1.1.10 [15 May 2015 5:37:52] - Popup plus
  QuickSearch.dll v.1.4.2.0 [15 May 2015 5:50:10] - Quick Search
  SeenPlugin.dll v.5.0.5.2 [4 May 2015 9:05:04] - Last seen
  SendSS.dll v.0.8.9.1 [1 May 2015 14:19:52] - Send ScreenShot+
  SimpleAR.dll v.2.0.2.6 [4 May 2015 9:05:06] - Simple auto replier
  SmileyAdd.dll v.0.2.3.18 [6 May 2015 5:37:44] - SmileyAdd
  SpellChecker.dll v.0.2.6.2 [4 May 2015 9:05:58] - Spell checker
  StartupStatus.dll v.0.8.0.47 [6 May 2015 5:37:50] - StartupStatus
  TabSRMM.dll v.3.4.0.10 [6 May 2015 5:31:28] - TabSRMM
  Tipper.dll v.2.1.0.7 [6 May 2015 5:37:52] - Tipper
  TopToolBar.dll v.0.8.0.4 [6 May 2015 5:38:44] - TopToolBar
  UInfoEx.dll v.0.8.5.0 [4 May 2015 9:05:42] - User info ext
  Variables.dll v.0.2.3.10 [4 May 2015 9:05:46] - Variables
  XFire.dll v.0.1.9.0 [12 May 2015 12:24:44] - Xfire protocol

Loaded Modules:
-------------------------------------------------------------------------------
E:\_\Internet\Miranda IM\Miranda32.exe  00400000 - 004BA000 v.0.95.5.13598 [15 May 2015 5:31:04]
C:\Windows\SYSTEM32\ntdll.dll  77220000 - 7738E000 v.6.3.9600.17736 [23 Mar 2015 23:58:58]
C:\Windows\SYSTEM32\KERNEL32.DLL  751E0000 - 75320000 v.6.3.9600.17415 [29 Oct 2014 3:58:23]
C:\Windows\SYSTEM32\KERNELBASE.dll  75670000 - 75747000 v.6.3.9600.17415 [29 Oct 2014 4:03:15]
C:\Windows\SYSTEM32\WS2_32.dll  75750000 - 757A0000 v.6.3.9600.17415 [29 Oct 2014 5:05:15]
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17415_none_a9ed7f470139b3c1\COMCTL32.dll  73670000 - 73876000 v.6.10.9600.17415 [29 Oct 2014 4:03:01]
C:\Windows\SYSTEM32\WINMM.dll  74830000 - 74853000 v.6.3.9600.17415 [29 Oct 2014 5:07:01]
C:\Windows\SYSTEM32\VERSION.dll  74800000 - 74808000 v.6.3.9600.17415 [29 Oct 2014 5:10:54]
C:\Windows\SYSTEM32\UxTheme.dll  72C50000 - 72D3D000 v.6.3.9600.17415 [29 Oct 2014 2:48:28]
C:\Windows\SYSTEM32\SHLWAPI.dll  74F70000 - 74FB5000 v.6.3.9600.17415 [29 Oct 2014 5:10:54]
C:\Windows\SYSTEM32\USER32.dll  75A30000 - 75B83000 v.6.3.9600.17415 [29 Oct 2014 3:04:35]
C:\Windows\SYSTEM32\GDI32.dll  75560000 - 7566E000 v.6.3.9600.17415 [29 Oct 2014 3:10:18]
C:\Windows\SYSTEM32\COMDLG32.dll  74AE0000 - 74B7B000 v.6.3.9600.17415 [29 Oct 2014 3:14:54]
C:\Windows\SYSTEM32\ADVAPI32.dll  74E10000 - 74E8C000 v.6.3.9600.17415 [29 Oct 2014 5:06:13]
C:\Windows\SYSTEM32\SHELL32.dll  75C50000 - 76EFC000 v.6.3.9600.17680 [12 Feb 2015 19:34:06]
C:\Windows\SYSTEM32\ole32.dll  75380000 - 754A8000 v.6.3.9600.17415 [29 Oct 2014 5:10:01]
C:\Windows\SYSTEM32\OLEAUT32.dll  75BB0000 - 75C45000 v.6.3.9600.17560 [19 Dec 2014 10:25:28]
E:\_\Internet\Miranda IM\Zlib.dll  12100000 - 12117000 v.1.2.8.0 [15 May 2015 5:30:40]
E:\_\Internet\Miranda IM\mir_core.dll  12000000 - 12023000 [15 May 2015 5:30:32]
C:\Windows\SYSTEM32\MSVCR100.dll  65EF0000 - 65FAF000 v.10.0.40219.325 [11 Jun 2011 1:58:52]
C:\Windows\SYSTEM32\NSI.dll  754B0000 - 754B7000 v.6.3.9600.17415 [29 Oct 2014 5:05:14]
C:\Windows\SYSTEM32\RPCRT4.dll  74EA0000 - 74F5A000 v.6.3.9600.17415 [29 Oct 2014 3:07:54]
C:\Windows\SYSTEM32\msvcrt.dll  76F00000 - 76FC3000 v.7.0.9600.17415 [29 Oct 2014 5:06:28]
C:\Windows\SYSTEM32\WINMMBASE.dll  74360000 - 74383000 v.6.3.9600.17415 [29 Oct 2014 5:07:01]
C:\Windows\SYSTEM32\combase.dll  76FD0000 - 7714D000 v.6.3.9600.17415 [29 Oct 2014 5:10:01]
C:\Windows\SYSTEM32\sechost.dll  75190000 - 751D1000 v.6.3.9600.17734 [23 Mar 2015 23:45:04]
C:\Windows\SYSTEM32\MSVCP100.dll  65E80000 - 65EE9000 v.10.0.40219.325 [11 Jun 2011 1:58:52]
C:\Windows\SYSTEM32\SspiCli.dll  74A20000 - 74A3E000 v.6.3.9600.17415 [29 Oct 2014 3:06:04]
C:\Windows\SYSTEM32\cfgmgr32.dll  74B80000 - 74BBC000 v.6.3.9600.17415 [29 Oct 2014 5:18:47]
C:\Windows\SYSTEM32\DEVOBJ.dll  742C0000 - 742E1000 v.6.3.9600.17415 [29 Oct 2014 5:18:41]
C:\Windows\SYSTEM32\CRYPTBASE.dll  74A10000 - 74A1A000 v.6.3.9600.17415 [29 Oct 2014 5:05:14]
C:\Windows\SYSTEM32\SHCORE.DLL  74120000 - 741AB000 v.6.3.9600.17666 [23 Jan 2015 7:02:33]
C:\Windows\SYSTEM32\bcryptPrimitives.dll  749B0000 - 74A04000 v.6.3.9600.17415 [29 Oct 2014 5:15:36]
C:\Windows\system32\IMM32.DLL  74FC0000 - 74FE7000 v.6.3.9600.17415 [29 Oct 2014 3:59:49]
C:\Windows\SYSTEM32\MSCTF.dll  757A0000 - 758B2000 v.6.3.9600.17706 [14 Mar 2015 10:13:50]
C:\Program Files (x86)\360\Total Security\safemon\safemon.dll  61C60000 - 61DD9000 v.8.4.0.1330 [2 Apr 2015 15:43:29]
C:\Windows\SYSTEM32\PSAPI.DLL  74E90000 - 74E96000 v.6.3.9600.17415 [29 Oct 2014 5:18:42]
C:\Windows\SYSTEM32\NETAPI32.dll  747B0000 - 747C3000 v.6.3.9600.17415 [29 Oct 2014 5:15:37]
C:\Windows\SYSTEM32\netutils.dll  74330000 - 7433A000 v.6.3.9600.17415 [29 Oct 2014 5:15:39]
C:\Windows\SYSTEM32\srvcli.dll  74310000 - 7432D000 v.6.3.9600.17415 [29 Oct 2014 5:15:36]
C:\Windows\SYSTEM32\wkscli.dll  742F0000 - 74301000 v.6.3.9600.17415 [29 Oct 2014 5:15:32]
C:\Windows\SYSTEM32\profapi.dll  74340000 - 7434F000 v.6.3.9600.17415 [29 Oct 2014 5:05:15]
C:\PROGRA~2\Raptr\ltc_help32-96006.dll  60490000 - 604B1000 v.1.0.0.1 [2 May 2015 2:15:40]
C:\Windows\SYSTEM32\WINTRUST.dll  75520000 - 7555D000 v.6.3.9600.17415 [29 Oct 2014 5:15:37]
C:\Windows\SYSTEM32\CRYPT32.dll  74FF0000 - 75178000 v.6.3.9600.17475 [31 Oct 2014 1:38:56]
C:\Windows\SYSTEM32\MSASN1.dll  75180000 - 7518E000 v.6.3.9600.17415 [29 Oct 2014 5:15:32]
C:\Windows\SYSTEM32\dwmapi.dll  733E0000 - 733FA000 v.6.3.9600.17415 [29 Oct 2014 5:12:03]
C:\Windows\SYSTEM32\kernel.appcore.dll  73D50000 - 73D59000 v.6.3.9600.17415 [29 Oct 2014 5:18:46]
C:\Windows\SYSTEM32\clbcatq.dll  74BC0000 - 74C4D000 v.2001.12.10530.17415 [29 Oct 2014 5:10:01]
C:\Windows\system32\explorerframe.dll  5AAA0000 - 5AD38000 v.6.3.9600.17415 [29 Oct 2014 4:10:10]
C:\Windows\system32\DUser.dll  5AA20000 - 5AA9F000 v.6.3.9600.17415 [29 Oct 2014 2:51:39]
C:\Windows\system32\DUI70.dll  5A8B0000 - 5AA19000 v.6.3.9600.17415 [29 Oct 2014 2:52:31]
E:\_\Internet\Miranda IM\Plugins\CrashDumper.dll  136A0000 - 136B2000 v.0.0.5.2 [4 May 2015 9:07:10]
C:\Windows\SYSTEM32\dbghelp.dll  73F70000 - 740B1000 v.6.3.9600.17415 [29 Oct 2014 2:59:53]
E:\_\Internet\Miranda IM\Plugins\DbEditorPP.dll  13840000 - 1385F000 v.3.2.0.2 [7 May 2015 5:50:36]
E:\_\Internet\Miranda IM\Plugins\Dbx_mmap.dll  13880000 - 13891000 v.0.95.3.1 [15 May 2015 5:31:32]
E:\_\Internet\Miranda IM\Core\stdcrypt.dll  12220000 - 1222C000 v.0.95.5.13598 [15 May 2015 5:31:08]
E:\_\Internet\Miranda IM\Core\stdssl.dll  12300000 - 12307000 v.0.95.5.13598 [15 May 2015 5:31:08]
C:\Windows\SYSTEM32\Secur32.dll  73DF0000 - 73DFA000 v.6.3.9600.17415 [29 Oct 2014 3:06:19]
C:\Windows\SYSTEM32\WSOCK32.dll  733D0000 - 733D8000 v.6.3.9600.17415 [29 Oct 2014 3:59:50]
C:\Windows\SYSTEM32\Msftedit.dll  5A5A0000 - 5A802000 v.6.3.9600.17671 [31 Jan 2015 1:29:14]
C:\Windows\SYSTEM32\MSIMG32.dll  73A80000 - 73A86000 v.6.3.9600.17415 [29 Oct 2014 3:05:50]
E:\_\Internet\Miranda IM\Plugins\AdvaImg.dll  12F60000 - 12FEE000 v.0.11.0.2 [8 Apr 2015 5:32:54]
E:\_\Internet\Miranda IM\Plugins\Clist_modern.dll  13400000 - 13475000 v.0.9.1.3 [14 May 2015 5:35:54]
C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.9600.17415_none_eb870347c2c653e8\gdiplus.dll  5FFE0000 - 60150000 v.6.3.9600.17415 [29 Oct 2014 2:59:34]
E:\_\Internet\Miranda IM\Plugins\AdvancedAutoAway.dll  130A0000 - 130AF000 v.0.8.1.1 [6 May 2015 5:37:40]
E:\_\Internet\Miranda IM\Plugins\AuthState.dll  13160000 - 13167000 v.0.0.2.1 [28 Apr 2015 9:37:16]
E:\_\Internet\Miranda IM\Plugins\AVS.dll  13200000 - 13213000 v.0.95.3.4 [4 May 2015 9:03:14]
E:\_\Internet\Miranda IM\Plugins\BASS_interface.dll  132E0000 - 132E8000 v.0.0.0.14 [4 May 2015 9:09:36]
E:\_\Internet\Miranda IM\Plugins\Dropbox.dll  138E0000 - 138ED000 v.0.12.0.4 [14 May 2015 5:40:58]
E:\_\Internet\Miranda IM\Plugins\Fingerprint.dll  13A20000 - 13A39000 v.0.1.0.0 [22 Apr 2015 5:51:58]
E:\_\Internet\Miranda IM\Plugins\Folders.dll  13C40000 - 13C49000 v.0.2.0.1 [4 May 2015 9:04:40]
E:\_\Internet\Miranda IM\Plugins\GTalkExt.dll  13DA0000 - 13DB0000 v.0.1.1.0 [28 Apr 2015 9:38:56]
E:\_\Internet\Miranda IM\Plugins\HistoryPP.dll  13DC0000 - 13FAF000 v.1.5.1.5 [15 Apr 2015 19:17:46]
C:\Windows\SYSTEM32\winspool.drv  73F00000 - 73F65000 v.6.3.9600.17415 [29 Oct 2014 2:45:16]
C:\Windows\SYSTEM32\RICHED20.DLL  5A510000 - 5A59C000 v.5.31.23.1231 [29 Oct 2014 3:59:09]
C:\Windows\SYSTEM32\USP10.dll  63350000 - 63366000 v.6.3.9600.17415 [29 Oct 2014 4:03:17]
C:\Windows\SYSTEM32\msls31.dll  5A4D0000 - 5A503000 v.3.10.349.0 [29 Oct 2014 4:00:34]
E:\_\Internet\Miranda IM\Plugins\ICQ.dll  142E0000 - 14335000 v.0.11.3.3 [8 May 2015 5:31:58]
E:\_\Internet\Miranda IM\Plugins\IEView.dll  143C0000 - 143DF000 v.1.5.0.1 [15 May 2015 5:37:24]
E:\_\Internet\Miranda IM\Plugins\Import.dll  14420000 - 1442D000 v.0.95.4.2 [4 May 2015 9:03:12]
E:\_\Internet\Miranda IM\Plugins\IRC.dll  14500000 - 1454F000 v.0.11.0.3 [14 May 2015 5:32:14]
E:\_\Internet\Miranda IM\Plugins\Jabber.dll  145A0000 - 14633000 v.0.11.0.4 [14 May 2015 5:33:06]
C:\Windows\SYSTEM32\DNSAPI.dll  73C10000 - 73C8E000 v.6.3.9600.17481 [5 Nov 2014 3:20:42]
E:\_\Internet\Miranda IM\Plugins\KeepStatus.dll  146E0000 - 146F0000 v.0.9.0.2 [6 May 2015 5:37:44]
C:\Windows\SYSTEM32\WININET.dll  74390000 - 74565000 v.11.0.9600.17728 [13 Mar 2015 4:20:28]
C:\Windows\SYSTEM32\IPHLPAPI.DLL  74810000 - 74830000 v.6.3.9600.17415 [29 Oct 2014 5:05:14]
C:\Windows\SYSTEM32\iertutil.dll  74570000 - 747A2000 v.11.0.9600.17728 [13 Mar 2015 5:22:38]
C:\Windows\SYSTEM32\USERENV.dll  747E0000 - 747FB000 v.6.3.9600.17415 [29 Oct 2014 5:15:37]
C:\Windows\SYSTEM32\WINNSI.DLL  74350000 - 74358000 v.6.3.9600.17415 [29 Oct 2014 5:05:14]
E:\_\Internet\Miranda IM\Plugins\MenuEx.dll  147C0000 - 147CE000 v.1.3.0.10 [4 May 2015 9:04:50]
E:\_\Internet\Miranda IM\Plugins\MirOTR.dll  14880000 - 1491A000 v.0.14.1.16 [4 May 2015 9:07:58]
E:\_\Internet\Miranda IM\Plugins\MSN.dll  14BA0000 - 14BE0000 v.0.12.1.1 [15 May 2015 5:32:32]
E:\_\Internet\Miranda IM\Plugins\PluginUpdater.dll  150A0000 - 150B5000 v.0.1.2.4 [16 Apr 2015 5:36:06]
E:\_\Internet\Miranda IM\Plugins\Popup.dll  15100000 - 1513C000 v.2.1.1.10 [15 May 2015 5:37:52]
E:\_\Internet\Miranda IM\Plugins\QuickSearch.dll  151E0000 - 15212000 [15 May 2015 5:50:10]
E:\_\Internet\Miranda IM\Plugins\SeenPlugin.dll  15520000 - 1552F000 v.5.0.5.2 [4 May 2015 9:05:04]
E:\_\Internet\Miranda IM\Plugins\SendSS.dll  052A0000 - 052C8000 [1 May 2015 14:19:52]
E:\_\Internet\Miranda IM\Plugins\SimpleAR.dll  155E0000 - 155E8000 v.2.0.2.6 [4 May 2015 9:05:06]
E:\_\Internet\Miranda IM\Plugins\SmileyAdd.dll  156E0000 - 156FE000 v.0.2.3.18 [6 May 2015 5:37:44]
E:\_\Internet\Miranda IM\Plugins\SpellChecker.dll  157E0000 - 1582E000 v.0.2.6.2 [4 May 2015 9:05:58]
E:\_\Internet\Miranda IM\Plugins\StartupStatus.dll  158E0000 - 158F1000 v.0.8.0.47 [6 May 2015 5:37:50]
E:\_\Internet\Miranda IM\Plugins\TabSRMM.dll  15A40000 - 15ACE000 v.3.4.0.10 [6 May 2015 5:31:28]
E:\_\Internet\Miranda IM\Plugins\Tipper.dll  15B60000 - 15B88000 v.2.1.0.7 [6 May 2015 5:37:52]
E:\_\Internet\Miranda IM\Plugins\TopToolBar.dll  15C40000 - 15C4D000 v.0.8.0.4 [6 May 2015 5:38:44]
E:\_\Internet\Miranda IM\Plugins\UInfoEx.dll  15CE0000 - 15D37000 v.0.8.5.0 [4 May 2015 9:05:42]
E:\_\Internet\Miranda IM\Plugins\Variables.dll  15DC0000 - 15DD9000 v.0.2.3.10 [4 May 2015 9:05:46]
C:\Windows\SYSTEM32\pdh.dll  5D3F0000 - 5D434000 v.6.3.9600.17415 [29 Oct 2014 3:04:39]
E:\_\Internet\Miranda IM\Pcre16.dll  12060000 - 12078000 [15 May 2015 5:40:20]
E:\_\Internet\Miranda IM\Plugins\XFire.dll  5A490000 - 5A4D0000 v.0.1.9.0 [12 May 2015 12:24:44]
E:\_\Internet\Miranda IM\Core\stdurl.dll  12340000 - 12349000 v.0.95.5.13598 [15 May 2015 5:30:46]
E:\_\Internet\Miranda IM\Core\stdauth.dll  12140000 - 12147000 v.0.95.5.13598 [15 May 2015 5:30:40]
E:\_\Internet\Miranda IM\Core\stdfile.dll  12260000 - 12270000 v.0.95.5.13598 [15 May 2015 5:30:38]
E:\_\Internet\Miranda IM\Core\stdhelp.dll  12280000 - 12286000 v.0.95.5.13598 [15 May 2015 5:30:50]
E:\_\Internet\Miranda IM\Core\stdidle.dll  122A0000 - 122A7000 v.0.95.5.13598 [15 May 2015 5:30:54]
C:\Windows\SYSTEM32\WTSAPI32.dll  747D0000 - 747DF000 v.6.3.9600.17415 [29 Oct 2014 5:10:07]
E:\_\Internet\Miranda IM\Core\stduseronline.dll  12380000 - 12386000 v.0.95.5.13598 [15 May 2015 5:30:58]
E:\_\Internet\Miranda IM\Core\stdaway.dll  12180000 - 12189000 v.0.95.5.13598 [15 May 2015 5:31:00]
C:\Windows\SYSTEM32\CRYPTSP.dll  73AD0000 - 73AE9000 v.6.3.9600.17415 [29 Oct 2014 5:15:31]
C:\Windows\system32\rsaenh.dll  738A0000 - 738D0000 v.6.3.9600.17415 [29 Oct 2014 5:15:36]
C:\Windows\SYSTEM32\bcrypt.dll  73880000 - 7389E000 v.6.3.9600.17415 [29 Oct 2014 3:05:46]
C:\Windows\SYSTEM32\oleacc.dll  63300000 - 63350000 v.7.2.9600.17415 [29 Oct 2014 2:58:05]
E:\_\Internet\Miranda IM\plugins\Bass\bass.dll  5A440000 - 5A490000 v.2.4.11.0 [22 Dec 2014 15:54:26]
C:\Windows\SYSTEM32\MSACM32.dll  5A820000 - 5A837000 v.6.3.9600.17415 [29 Oct 2014 5:07:01]
C:\Windows\SYSTEM32\dsound.DLL  61730000 - 617B1000 v.6.3.9600.17415 [29 Oct 2014 3:47:53]
C:\Windows\SYSTEM32\POWRPROF.dll  73630000 - 73670000 v.6.3.9600.17415 [29 Oct 2014 5:18:44]
C:\Windows\System32\MMDevApi.dll  62C70000 - 62CC3000 v.6.3.9600.17415 [29 Oct 2014 5:07:01]
C:\Windows\SYSTEM32\AUDIOSES.DLL  61EB0000 - 61F10000 v.6.3.9600.17415 [29 Oct 2014 5:07:09]
C:\Windows\system32\mswsock.dll  73CD0000 - 73D1B000 v.6.3.9600.17415 [29 Oct 2014 3:06:17]
C:\Windows\System32\rasadhlp.dll  690D0000 - 690D8000 v.6.3.9600.17415 [29 Oct 2014 3:05:32]
C:\Windows\System32\fwpuclnt.dll  69080000 - 690C6000 v.6.3.9600.17485 [10 Nov 2014 3:09:42]
C:\Windows\SYSTEM32\WindowsCodecs.dll  73420000 - 7358B000 v.6.3.9600.17669 [29 Jan 2015 20:34:45]
C:\Windows\system32\napinsp.dll  733B0000 - 733C1000 v.6.3.9600.17415 [29 Oct 2014 3:58:10]
C:\Windows\system32\pnrpnsp.dll  73390000 - 733A6000 v.6.3.9600.17415 [29 Oct 2014 3:04:22]
C:\Windows\system32\NLAapi.dll  731C0000 - 731D4000 v.6.3.9600.17415 [29 Oct 2014 3:01:56]
C:\Windows\System32\winrnr.dll  73380000 - 7338A000 v.6.3.9600.17415 [29 Oct 2014 3:59:49]
C:\Windows\system32\wshbth.dll  731B0000 - 731C0000 v.6.3.9600.17415 [29 Oct 2014 3:00:32]
E:\_\Internet\Miranda IM\Profiles\White-Tiger\XFire\Icons.dll  10000000 - 1080C000 v.1.0.0.13133 [17 Apr 2011 21:57:54]
C:\Windows\SYSTEM32\schannel.dll  69020000 - 6907C000 v.6.3.9600.17728 [13 Mar 2015 4:38:10]
C:\Windows\SYSTEM32\ncrypt.dll  72720000 - 7273F000 v.6.3.9600.17415 [29 Oct 2014 5:15:36]
C:\Windows\SYSTEM32\NTASN1.dll  726F0000 - 72719000 v.6.3.9600.17415 [29 Oct 2014 5:15:37]
C:\Windows\system32\ncryptsslp.dll  69000000 - 69018000 v.6.3.9600.17415 [29 Oct 2014 5:15:36]
Title: Re: MSN protocol
Post by: Saldavon 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.
Title: Re: MSN protocol
Post by: watcher 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.
Title: Re: MSN protocol
Post by: Dimsok on 16 05 2015, 10:00:31
Salvadon, which server do you use? Doesn't work for me
Title: Re: MSN protocol
Post by: leecher 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.
Title: Re: MSN protocol
Post by: watcher on 16 05 2015, 14:14:08
leecher, the link you have given is in German.

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=en

Here it is in English.
Title: Re: MSN protocol
Post by: Saldavon 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.
Title: Re: MSN protocol
Post by: Dimsok 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
Title: Re: MSN protocol
Post by: Dimsok on 17 05 2015, 00:00:35
Very unstable connection. Pretty soon disconnect
Title: Re: MSN protocol
Post by: leecher 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.
Title: Re: MSN protocol
Post by: Dimsok on 17 05 2015, 07:40:38
Some unfamiliar contact have appeard in contact list. I delete them but when i connect again, they apppear again
Title: Re: MSN protocol
Post by: watcher on 17 05 2015, 07:56:32
Dimsok, http://wiki.miranda-ng.org/Network_log
Title: Re: MSN protocol
Post by: Dimsok on 18 05 2015, 21:32:09
Messages sometimes twice, like it was in the first skypeweb
Title: Re: MSN protocol
Post by: leecher on 19 05 2015, 08:23:11
Bug reports without network logs and detailled information are completely useless.
Title: Re: MSN protocol
Post by: Dimsok on 19 05 2015, 10:03:33
Network log needs for unique problems. Dubbing messages i think can't don't repoduce anyone. For example when i mentioned about omegle' bug, Robyer even didn't ask about  log cause that's common problem. The same was about skypeweb dubbing. That one is different?
Title: Re: MSN protocol
Post by: leecher on 19 05 2015, 10:44:10
As long as I cannot reproduce it, I don't have any chance to check. If you have detailled instructions how to reproduce the problem reliably so that I can also see it, I may find out the cause for it. As I'm not affiliated with SkypeWeb developers, I don't know what was causing the problem there. May also depend on plugin configuration? Network log would show if message i.e. gets announced by server twice which is one possibility but not the only one. Log is also needed to find out a way how to identify duplicates, if they are coming from the server (i.e. message id?).
Title: Re: MSN protocol
Post by: watcher on 19 05 2015, 14:19:53
Dimsok, is it hard for you to provide a betwork log that developer asks you for 3  times already?
Title: Re: MSN protocol
Post by: thosrtanner on 19 05 2015, 21:00:30
it's not just dimsok it happens for. the name is the same every time for me and my outlook contacts list is empty according to windows live
Title: Re: MSN protocol
Post by: watcher on 19 05 2015, 21:05:41
thosrtanner, same thing - present network log.
Title: Re: MSN protocol
Post by: thosrtanner on 19 05 2015, 21:11:40
I think this is the relevant bit:

      <Person>
        <id>942e8b9f-0000-0000-0000-000000000000</id>
        <contacts>
          <Contact>
            <id>ce7c196c-0000-0000-0000-000000000000</id>
            <contactState>2</contactState>
            <promotionBitmap>12</promotionBitmap>
            <properties>
              <isHidden>true</isHidden>
              <offlineIMEnabled>false</offlineIMEnabled>
            </properties>
            <sourceId>WL</sourceId>
            <objectId>2260865573092692498</objectId>
            <domainTag>jamie_993@hotmail.com</domainTag>
            <phonesIMEnabled>0</phonesIMEnabled>
            <favoriteOrder>0</favoriteOrder>
            <birthday>0001-01-01T00:00:00Z</birthday>
            <anniversary>0001-01-01T00:00:00</anniversary>
            <hidePresenceAndProfile>false</hidePresenceAndProfile>
            <isBlocked>false</isBlocked>
            <userEditContactId>00000000-0000-0000-0000-000000000000</userEditContactId>
            <puid xsi:nil="true" />
            <autoBuddy>false</autoBuddy>
          </Contact>
        </contacts>
        <firstName>bbppopi</firstName>
        <lastName>hbahbcc</lastName>
        <cid>2260865573092692498</cid>
        <hexCid>1F60354299199212</hexCid>
        <onHideList>true</onHideList>
        <trustLevel>0</trustLevel>
        <userTileUrl>https://byfiles.storage.msn.com/static/42</userTileUrl>
        <isFavorite>false</isFavorite>
        <favoriteOrder>0</favoriteOrder>
        <passportMemberName>jamie_993@hotmail.com</passportMemberName>
        <birthday>0001-01-01T00:00:00</birthday>
        <anniversary>0001-01-01T00:00:00</anniversary>
        <orderedName>bbppopi hbahbcc</orderedName>
        <nameType>0</nameType>
        <relevanceOrder1>715827882</relevanceOrder1>
        <puid>0</puid>
      </Person>

notice the suspicious ID
Title: Re: MSN protocol
Post by: leecher on 19 05 2015, 21:17:53
Address book management currently is a complete mess at Micro$oft.
It seems that Skype contacts can only be managed in Skype client. Contacts added at Outlook.com don't necessarly show up in Skype. There doesn't seem to be a synchronisation between Outlook address book and Skype AB. Adding Skype contacts in outlook.com also doesn't work. Skype directory cannot even be searched on outlook.com.  I found a few complaints at the microsoft product forums about that.
The plugin fetches contact list from 2 sources:
1) The classic SOAP Addressbook store known from previous protocol versions
2) The outlook.com address book that gets queried my the Skype client at outlook.com in order to receive Skype contacts.
Contact list management functions are still just for the "classic" Soap Addressbook store.
Therefore as long as there is no proper contact managment API by Microsoft, we will be stuck with this half-woring implementation that in fact just pulls the Contact list from the server and uses it  :(
Title: Re: MSN protocol
Post by: leecher on 19 05 2015, 21:24:25
thosrtanner: Thanks for your log.. I noticed <contactstate>2</contactstate> whereas normal contact have 0.
As other users also have this problem: Are all contacts you don't want to have contactstate 2? Then I could simply ignore them on sync.
These seem to be the contact states:

ContactState
={deleted:-1,shell:0,meContact:1,pending:2,follower:3,twoWay:4,rolodex:5,nonFriend:6,declined:7,implicitContact
:8,shellContactFanPage:9,enhancedShellContact:10,implicitShellContact:11,invitationShellContact:12}

So this is a pending contact.
What I also noticed is that <onHideList>true</onHideList>. So I guess this is a hidden contact.

I now changed address book sync to i.e. hide hidden ocntacts from contact list, I hope this fixes it for you.
Title: Re: MSN protocol
Post by: thosrtanner on 20 05 2015, 12:12:27
That's great. I upgraded and miranda popped up a 'requests authorisation' query, which i declined and all is lovely
Title: Re: MSN protocol
Post by: Beck Yang on 29 05 2015, 02:37:40
I want to report a problem: After change nickname, the status become offline soon...

I'm using development version 0.95.5, file date is 2015/5/28
NetworkLog
[09:13:45 046C] [MSN] (02DBEB10:1172) Data received
PNG 21 CON 555
UtcTime: 1432862026
Set-Registration: U2lnbmF0dXJlOjI6Mjg6QVFRQUFBRENoMmFYZkpFTXJ3OS9DUE5WTmg2ODtWZXJzaW9uOjY6MToxO0lzc3VlVGltZTo0OjE5OjUyNDczNzA2MDY2OTAzMzcyNjQ7RXAuSWRUeXBlOjc6MToxO0VwLklkOjI6MTg6eWxvbmdnQGhvdG1haWwuY29tO0VwLkVwaWQ6NTozNjplMGEyOWMyZS05NWIyLTQyZWUtOTRmYi0wOTQxZDVlOGMzMTE7RXAuTG9naW5UaW1lOjc6MTowO0VwLkF1dGhUaW1lOjQ6MTk6NTI0NzM3MDYwNTY0ODkzMTAxNDtFcC5BdXRoVHlwZTo3OjI6MTI7RXAuUEhfQ3ZlcjoyOjE6MjtFcC5QSF9GdmVyOjI6MToyOw==
Registration-Token-Expiry: 1432948322
Context: 6FDD8E3808E11B00

<ping-response><wait>43</wait></ping-response>
[09:13:45 046C] [MSN] RECV: PNG 21 CON 555
[09:14:05 12CC] [MSN] (02DBEB10:1172) Data sent
PNG 22 CON 0
[09:14:05 046C] [MSN] (02DBEB10:1172) Data received
PNG 22 CON 555
UtcTime: 1432862046
Set-Registration: U2lnbmF0dXJlOjI6Mjg6QVFRQUFBQ040Q3Zzd0Q2SFcrTDZ5ekI2ZWRldDtWZXJzaW9uOjY6MToxO0lzc3VlVGltZTo0OjE5OjUyNDczNzA2MDY4OTAzMzcyNjQ7RXAuSWRUeXBlOjc6MToxO0VwLklkOjI6MTg6eWxvbmdnQGhvdG1haWwuY29tO0VwLkVwaWQ6NTozNjplMGEyOWMyZS05NWIyLTQyZWUtOTRmYi0wOTQxZDVlOGMzMTE7RXAuTG9naW5UaW1lOjc6MTowO0VwLkF1dGhUaW1lOjQ6MTk6NTI0NzM3MDYwNTY0ODkzMTAxNDtFcC5BdXRoVHlwZTo3OjI6MTI7RXAuUEhfQ3ZlcjoyOjE6MjtFcC5QSF9GdmVyOjI6MToyOw==
Registration-Token-Expiry: 1432948322
Context: 173FC8D376A1261B

<ping-response><wait>48</wait></ping-response>
[09:14:05 046C] [MSN] RECV: PNG 22 CON 555
[09:14:18 0B08] [MSN] (02DBEB10:1172) Data sent
PRP 23 MFN Beck%7E
[09:14:19 0EA0] [MSN_HTTPS] Connection request to ch3302.storage.msn.com:443 (Flags 11)....
[09:14:19 0EA0] [MSN_HTTPS] (02DD4090) Connecting to server ch3302.storage.msn.com:443....
[09:14:19 0EA0] [MSN_HTTPS] (02DD4090) Connecting to ip 204.79.197.213:443 ....
[09:14:19 0EA0] [MSN_HTTPS] (1452) Connected to ch3302.storage.msn.com:443
[09:14:19 0EA0] [MSN_HTTPS] (1452 ch3302.storage.msn.com) Starting SSL negotiation
[09:14:19 0EA0] [MSN_HTTPS] (1452 ch3302.storage.msn.com) SSL negotiation successful
[09:14:19 0EA0] [MSN_HTTPS] (02DD4090:1452) Data sent
POST /storageservice/schematizedstore.asmx HTTP/1.1
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Accept: text/*
Content-Type: text/xml; charset=utf-8
Cache-Control: no-cache
SOAPAction: http://www.msn.com/webservices/storage/2008/UpdateProfile
Accept-Encoding: deflate, gzip
Host: ch3302.storage.msn.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 1596

[09:14:19 0EA0] [MSN_HTTPS] (02DD4090:1452) Data sent
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><soap:Header><StorageApplicationHeader xmlns="http://www.msn.com/webservices/storage/2008"><ApplicationID>Messenger Client 9.0</ApplicationID><Scenario>RoamingIdentityChanged</Scenario></StorageApplicationHeader><StorageUserHeader xmlns="http://www.msn.com/webservices/storage/2008"><Puid>0</Puid><TicketToken>t=EwDwAW+jAAAUVwo8hY/Rg6HvEdmXr19KcNgO+7mAAFmEaT4OzLNYBpGkdpUBw8Nsb53AyLT9j5AvJtMdDQUn5nKwV9ARoKvQh/w1K3SxPpq75B1CCtU62cqP/Ino1JsoSYuIg8cvEYJgANbEfll+LeAmUM2J/9sogC0NkzU67+9IRjRdFKIVmi5Ja5WoPJbNC2QWB3TVqqoFeCnjuYFbA2YAAAjp/Ea5kdsMBEAB+A9iJp/sHZ3pE6Fpar+atUL0BpHgMKbqY+7UN+UN3npWp66/39KDDkBQkmJEHn93vkIZo/EAlCwB+jqqzwyUzzLqKcRmFrxR/SvMU4Go2oxNkkobYLemD8eNbsMVE6osVy7mARK2dDareVNnDZ6xvHI9rx+Nv/KEfJqrBoTeoks1d0tTxjnUYZRb7pkPOfVe9kyjE7qfqXfA3/+Gp2xqNH43+t1oC84hdNV9G2A/l615yTO89HvxJAGKKCj/7ypHrSj6nlRKwIpTk6i/cqvV2EOdBNdQHZJhEJQa8+pMl35UKps+STj9SmOaZP82ewIs3tjj+k5siBpcQZFk1iX3k8l1L+KRdG5o0sd5Z+jPna7Bq74RJoumVZvUz0Dn4N51gw86fkDlq9bA6sdhalVxUz++zAI/2rqmz+cVjaq82y6CAQ==&amp;p=</TicketToken></StorageUserHeader></soap:Header><soap:Body><UpdateProfile xmlns="http://www.msn.com/webservices/storage/2008"><profile><ResourceID>EEF0D4EB1B73848D!120</ResourceID><ExpressionProfile><FreeText>Update</FreeText><DisplayName>Beck~</DisplayName><Flags>0</Flags></ExpressionProfile></profile></UpdateProfile></soap:Body></soap:Envelope>
[09:14:20 046C] SSL connection gracefully closed
[09:14:20 046C] [MSN] Connection closed gracefully
[09:14:20 046C] [MSN] Connection 02DBEB10 [0000046C] was gracefully closed
[09:14:20 046C] [MSN] (02DBEB10:1172) Data sent
OUT 24 CON 0
[09:14:20 12CC] [MSN] Closing keep-alive thread
[09:14:20 046C] [MSN] Thread [0000046C] ending now
[09:14:20 046C] [MSN] Leaving thread 0000046C (1527A723)
[09:14:20 046C] [MSN] Closing connection handle 02DBEB10
[09:14:20 046C] [MSN] (02DBEB10:1172) Connection closed internal
[09:14:20 046C] [MSN] (02DBEB10:4294967295) Connection closed
[09:14:20 0EA0] [MSN_HTTPS] (02DD4090:1452) Data received
HTTP/1.1 200 OK
[09:14:20 0EA0] [MSN_HTTPS] (02DD4090:1452) Data received
Cache-Control: private, max-age=0
Content-Length: 997
Content-Type: text/xml; charset=utf-8
Content-Encoding: gzip
Server: Microsoft-IIS/8.5
P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"
X-MSNSERVER: CH3302____PAP031
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Last-Modified-ISO8601: 2015-05-29T01:14:20Z
X-AsmVersion: UNKNOWN; 19.19.0.0
X-MSEdge-Ref: Ref A: 4C2CC34265FE4431A219F2EB481D485A Ref B: F5314CD55C5DEE5A6D5123B1074D60E1 Ref C: Thu May 28 18:14:21 2015 PST
Date: Fri, 29 May 2015 01:14:21 GMT

[09:14:20 0EA0] [MSN_HTTPS] (02DD4090:1452) Data received
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><AffinityCacheHeader xmlns="http://www.msn.com/webservices/storage/2008"><CacheKey>2p-mo4DRcGn3oOp5PpcqgfZJHs2GWQuGgR9ROe7NgbYkwVMgdz5Tr2jPhF9F5tB2qmJb29V1TjnrmPc20pcjf0zQ</CacheKey></AffinityCacheHeader><StorageUserHeader xmlns="http://www.msn.com/webservices/storage/2008"><Puid>0</Puid><Cid>0</Cid><ApplicationId>0</ApplicationId><DeviceId>0</DeviceId><IsTrustedDevice>false</IsTrustedDevice><IsStrongAuth>false</IsStrongAuth><TicketToken>t=EwDwAW+jAAAUVwo8hY/Rg6HvEdmXr19KcNgO+7mAAFmEaT4OzLNYBpGkdpUBw8Nsb53AyLT9j5AvJtMdDQUn5nKwV9ARoKvQh/w1K3SxPpq75B1CCtU62cqP/Ino1JsoSYuIg8cvEYJgANbEfll+LeAmUM2J/9sogC0NkzU67+9IRjRdFKIVmi5Ja5WoPJbNC2QWB3TVqqoFeCnjuYFbA2YAAAjp/Ea5kdsMBEAB+A9iJp/sHZ3pE6Fpar+atUL0BpHgMKbqY+7UN+UN3npWp66/39KDDkBQkmJEHn93vkIZo/EAlCwB+jqqzwyUzzLqKcRmFrxR/SvMU4Go2oxNkkobYLemD8eNbsMVE6osVy7mARK2dDareVNnDZ6xvHI9rx+Nv/KEfJqrBoTeoks1d0tTxjnUYZRb7pkPOfVe9kyjE7qfqXfA3/+Gp2xqNH43+t1oC84hdNV9G2A/l615yTO89HvxJAGKKCj/7ypHrSj6nlRKwIpTk6i/cqvV2EOdBNdQHZJhEJQa8+pMl35UKps+STj9SmOaZP82ewIs3tjj+k5siBpcQZFk1iX3k8l1L+KRdG5o0sd5Z+jPna7Bq74RJoumVZvUz0Dn4N51gw86fkDlq9bA6sdhalVxUz++zAI/2rqmz+cVjaq82y6CAQ==&amp;p=</TicketToken><IsAdmin>false</IsAdmin><LanguagePreference>0</LanguagePreference><Claims /></StorageUserHeader></soap:Header><soap:Body><UpdateProfileResponse xmlns="http://www.msn.com/webservices/storage/2008" /></soap:Body></soap:Envelope>
[09:14:20 0EA0] [MSN_HTTPS] (02DD4090:1452) Connection closed internal
[09:14:20 0EA0] [MSN_HTTPS] (02DD4090) Connecting to server local-blu-people.directory.live.com:443....
[09:14:21 0EA0] [MSN_HTTPS] (02DD4090) Connecting to ip 65.55.246.20:443 ....
[09:14:21 0EA0] [MSN_HTTPS] (1456) Connected to local-blu-people.directory.live.com:443
[09:14:21 0EA0] [MSN_HTTPS] (1456 local-blu-people.directory.live.com) Starting SSL negotiation
[09:14:21 0EA0] [MSN_HTTPS] (1456 local-blu-people.directory.live.com) SSL negotiation successful
[09:14:21 0EA0] [MSN_HTTPS] (02DD4090:1456) Data sent
POST /abservice/abservice.asmx HTTP/1.1
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Accept: text/*
Content-Type: text/xml; charset=utf-8
Cache-Control: no-cache
SOAPAction: http://www.msn.com/webservices/AddressBook/UpdateDynamicItem
Accept-Encoding: deflate, gzip
Host: local-blu-people.directory.live.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 2379

[09:14:21 0EA0] [MSN_HTTPS] (02DD4090:1456) Data sent
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><soap:Header><ABApplicationHeader xmlns="http://www.msn.com/webservices/AddressBook"><ApplicationId>F6D2794D-501F-443A-ADBE-8F1490FF30FD</ApplicationId><IsMigration>false</IsMigration><PartnerScenario>RoamingIdentityChanged</PartnerScenario><CacheKey>14r2;J9/d0njTZptBWXY1W8if/eyEiXEU9wCxfUJljZ38DVwT6Gj67WPJR/OinU7TKNINaDjZob9JOTgsMi6g+tugUjstOfCQp1Yhs1BQOPAI6Y1qXLMH0Hj6bfds5X3SjZcFlz11as9O+4M9nZwEbdeurRvtoVEMK3iE2likjJ7Ofz8=</CacheKey></ABApplicationHeader><ABAuthHeader xmlns="http://www.msn.com/webservices/AddressBook"><ManagedGroupRequest>false</ManagedGroupRequest><TicketToken>t=EwDoAcBdAAAURnMnP0xNtZi9ugdf902M4Br/7wKAAMikXq0CaKByBwbtwGj2LDPJY6M63YAnqrH++A3KH7AgjJPKgA5GZ/wQ0zZb3Lu9hMn9F8y3tUzq68LLtKLNSYwdm//+hhTBECJIovSwkeIx/QKb9o+ujcQ2RabafA2FjGnNj1s/XDK2SmijlO2TAMjolmuv4JnYLsFPj6zaxuyYA2YAAAje1mc4lTBzFzgB+yDZMqVVCVpXv91wSCyPOd1j2PO7klumw6gOyMXJjnx+gK+EmQ+QAkJKRAVsrwgg1FExEvPEIOiaSc5PjMwvYvFcLUX5lgNv8QaygkPq1DYC9qrKTKdkB878ywayNAdfKp2mm7xHO4hP6RMAGh2QrpihGN0R+AIJ70F2fboJ/olBpceKuXtRoW/SWYBZ0uD6arf2nhTuXurx0zeG8Jpzcc7eJVLIqoa7orD9w/HiBnYpb7qy7IyncEj84uBELYo3XvvksKDMrE3x4c1CZeB9hKAb7zzeLmbGfawmZ1yUDiK65vg8eGj2qFZCb/jv4eWS38iGLHcmhjjheRp93QRRY06KRkdAk3DB2oXsk73GjDexWXd2GXdVpSh63tdf2eW1k6S8DszWY+/O5tU4Gh7mHH2jJsnOUcCgbwE=&amp;p=</TicketToken></ABAuthHeader></soap:Header><soap:Body><UpdateDynamicItem xmlns="http://www.msn.com/webservices/AddressBook"><abId>00000000-0000-0000-0000-000000000000</abId><dynamicItems><DynamicItem xsi:type="PassportDynamicItem"><Type>Passport</Type><PassportName>ylongg@hotmail.com</PassportName><Notifications><NotificationData><StoreService><Info><Handle><Id>0</Id><Type>Profile</Type><ForeignId>MyProfile</ForeignId></Handle><InverseRequired>false</InverseRequired><IsBot>false</IsBot></Info><Changes></Changes><LastChange>0001-01-01T00:00:00</LastChange><Deleted>false</Deleted></StoreService><Status>Exist Access</Status><LastChanged>2015-05-29T01:14:20Z</LastChanged><Gleam>false</Gleam><InstanceId>0</InstanceId></NotificationData></Notifications><Changes>Notifications</Changes></DynamicItem></dynamicItems></UpdateDynamicItem></soap:Body></soap:Envelope>
[09:14:26 0EA0] [MSN_HTTPS] (02DD4090:1456) Data received
HTTP/1.1 200 OK
[09:14:26 0EA0] [MSN_HTTPS] (02DD4090:1456) Data received
Cache-Control: private, max-age=0
Content-Length: 302
Content-Type: text/xml; charset=utf-8
Content-Encoding: deflate
X-MSNSERVER: BLUCDP1031816
X-Content-Type-Options: nosniff
X-AspNet-Version: 4.0.30319
Date: Fri, 29 May 2015 01:14:27 GMT

[09:14:26 0EA0] [MSN_HTTPS] (02DD4090:1456) Data received
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><ServiceHeader xmlns="http://www.msn.com/webservices/AddressBook"><Version>18.11.4251.0429</Version><CacheKeyChanged>false</CacheKeyChanged><SessionId>ABCH.07a64f24-6af5-429a-b31f-db0437410a90</SessionId></ServiceHeader></soap:Header><soap:Body><UpdateDynamicItemResponse xmlns="http://www.msn.com/webservices/AddressBook" /></soap:Body></soap:Envelope>
[09:14:26 0EA0] [MSN_HTTPS] (02DD4090:1456) Data sent
POST /abservice/abservice.asmx HTTP/1.1
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Accept: text/*
Content-Type: text/xml; charset=utf-8
Cache-Control: no-cache
SOAPAction: http://www.msn.com/webservices/AddressBook/UpdateDynamicItem
Accept-Encoding: deflate, gzip
Host: local-blu-people.directory.live.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 2379

[09:14:26 0EA0] [MSN_HTTPS] (02DD4090:1456) Data sent
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><soap:Header><ABApplicationHeader xmlns="http://www.msn.com/webservices/AddressBook"><ApplicationId>F6D2794D-501F-443A-ADBE-8F1490FF30FD</ApplicationId><IsMigration>false</IsMigration><PartnerScenario>RoamingIdentityChanged</PartnerScenario><CacheKey>14r2;J9/d0njTZptBWXY1W8if/eyEiXEU9wCxfUJljZ38DVwT6Gj67WPJR/OinU7TKNINaDjZob9JOTgsMi6g+tugUjstOfCQp1Yhs1BQOPAI6Y1qXLMH0Hj6bfds5X3SjZcFlz11as9O+4M9nZwEbdeurRvtoVEMK3iE2likjJ7Ofz8=</CacheKey></ABApplicationHeader><ABAuthHeader xmlns="http://www.msn.com/webservices/AddressBook"><ManagedGroupRequest>false</ManagedGroupRequest><TicketToken>t=EwDoAcBdAAAURnMnP0xNtZi9ugdf902M4Br/7wKAAMikXq0CaKByBwbtwGj2LDPJY6M63YAnqrH++A3KH7AgjJPKgA5GZ/wQ0zZb3Lu9hMn9F8y3tUzq68LLtKLNSYwdm//+hhTBECJIovSwkeIx/QKb9o+ujcQ2RabafA2FjGnNj1s/XDK2SmijlO2TAMjolmuv4JnYLsFPj6zaxuyYA2YAAAje1mc4lTBzFzgB+yDZMqVVCVpXv91wSCyPOd1j2PO7klumw6gOyMXJjnx+gK+EmQ+QAkJKRAVsrwgg1FExEvPEIOiaSc5PjMwvYvFcLUX5lgNv8QaygkPq1DYC9qrKTKdkB878ywayNAdfKp2mm7xHO4hP6RMAGh2QrpihGN0R+AIJ70F2fboJ/olBpceKuXtRoW/SWYBZ0uD6arf2nhTuXurx0zeG8Jpzcc7eJVLIqoa7orD9w/HiBnYpb7qy7IyncEj84uBELYo3XvvksKDMrE3x4c1CZeB9hKAb7zzeLmbGfawmZ1yUDiK65vg8eGj2qFZCb/jv4eWS38iGLHcmhjjheRp93QRRY06KRkdAk3DB2oXsk73GjDexWXd2GXdVpSh63tdf2eW1k6S8DszWY+/O5tU4Gh7mHH2jJsnOUcCgbwE=&amp;p=</TicketToken></ABAuthHeader></soap:Header><soap:Body><UpdateDynamicItem xmlns="http://www.msn.com/webservices/AddressBook"><abId>00000000-0000-0000-0000-000000000000</abId><dynamicItems><DynamicItem xsi:type="PassportDynamicItem"><Type>Passport</Type><PassportName>ylongg@hotmail.com</PassportName><Notifications><NotificationData><StoreService><Info><Handle><Id>0</Id><Type>Profile</Type><ForeignId>MyProfile</ForeignId></Handle><InverseRequired>false</InverseRequired><IsBot>false</IsBot></Info><Changes></Changes><LastChange>0001-01-01T00:00:00</LastChange><Deleted>false</Deleted></StoreService><Status>Exist Access</Status><LastChanged>2015-05-29T01:14:26Z</LastChanged><Gleam>false</Gleam><InstanceId>0</InstanceId></NotificationData></Notifications><Changes>Notifications</Changes></DynamicItem></dynamicItems></UpdateDynamicItem></soap:Body></soap:Envelope>
[09:14:27 0EA0] [MSN_HTTPS] (02DD4090:1456) Data received
HTTP/1.1 200 OK
[09:14:27 0EA0] [MSN_HTTPS] (02DD4090:1456) Data received
Cache-Control: private, max-age=0
Content-Length: 303
Content-Type: text/xml; charset=utf-8
Content-Encoding: deflate
X-MSNSERVER: BLUCDP1031816
X-Content-Type-Options: nosniff
X-AspNet-Version: 4.0.30319
Date: Fri, 29 May 2015 01:14:27 GMT

[09:14:27 0EA0] [MSN_HTTPS] (02DD4090:1456) Data received
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><ServiceHeader xmlns="http://www.msn.com/webservices/AddressBook"><Version>18.11.4251.0429</Version><CacheKeyChanged>false</CacheKeyChanged><SessionId>ABCH.c663397b-f2d0-473b-ac3a-dfea4af19d72</SessionId></ServiceHeader></soap:Header><soap:Body><UpdateDynamicItemResponse xmlns="http://www.msn.com/webservices/AddressBook" /></soap:Body></soap:Envelope>
Title: Re: MSN protocol
Post by: Tomaso on 30 05 2015, 10:40:14
Thanks for providing this new MSN protocol!

Here's a small bug that I've noticed:
I'm using the StartupStatus plugin, and I've set all protocols to startup in "Away" mode.
Regardless of this setting, MSN starts up in "Online" mode, and I have to manually change the status afterwards.

--

EDIT:
..and the mail counter doesn't work.
It just shows "0" all the time.
Title: Re: MSN protocol
Post by: leecher on 31 05 2015, 09:55:11
Hi,

Thanks for the input.
Beck Yang: I now removed obsolete stuff like setting Nickname which doesn't work anymore in new protocol (you need to do this via the Profile page in browser now)
Tomaso: I now corrected startup to set the desired status.

Regarding mail counter: I never managed to receive a MSGR\HOTMAIL notification which would be required to receive such information. I suspect that pretending to be a Skype client prevents the server to send such notifications. The problem is that I don't even receive such notifications in outlook.com whereas other users seem to get them there (but not on Skype), therefore it's a bit hard for me to test. Maybe M$ will implement it in one of their next Skype versions, then we have a chance to catch such messages too.

Both changes should take effect on next nightly build.
Title: Re: MSN protocol
Post by: Tomaso on 31 05 2015, 10:31:52
Tomaso: I now corrected startup to set the desired status.

Great! :)
Title: Re: MSN protocol
Post by: Tomaso on 03 06 2015, 14:36:38
Both changes should take effect on next nightly build.
I downloaded the latest MSN build right now, and indeed the problem with the startup status is fixed! :)
However, you forgot to change the version number, which is still v0.12.1.1.
This seems to be a problem with a lot of Miranda NG plugins.
Unlike Miranda IM's pages, Miranda NG's download page provides absolutely no information regarding the version numbers of the different plugins..
So, I download a zip file and check the properties of the DLL file..
If the version number is the same, it's only natural to assume that the plugin hasn't been updated.
..but, like with the MSN protocol just now, this isn't always the case.
The lack of version information makes it very hard for people like me, that doesn't use the PluginUpdater, to keep track of the updates!
Title: Re: MSN protocol
Post by: Robyer on 03 06 2015, 19:10:40
Tomaso, that's the problem of not using Plugin Updater with development builds. There are many different changes every day along with new build. Imagine every change will raise the build number - we would run out of numbers soon  :D

You should use Plugin Updater - why not?

Alternative would be watching the tracker (e.g. via RSS channels) for new commits and based on that determine if something was changed / is worth updating. We can't do the proper versioning when we are releasing new builds every day.
Title: Re: MSN protocol
Post by: Tomaso on 03 06 2015, 20:46:59
You should use Plugin Updater - why not?
I just tried it for STABLE builds only, cuz the only development build that I'm currently running is MSN.
It reported new builds for most of my plugins, so I re-downloaded the ones that it listed..
All of them had the same version numbers as the old ones.
Title: Re: MSN protocol
Post by: Robyer on 03 06 2015, 21:48:00
Tomaso, I don't know if I understand you. But to sumarize:

1) You shouldn't mix stable and development versions of core/plugins together.
2) Version numbers doesn't matter at all. Plugin Updater computes and compares the hash of content of file.
Title: Re: MSN protocol
Post by: Tomaso on 04 06 2015, 14:03:10
You shouldn't mix stable and development versions of core/plugins together.
I only use stable builds, but I had to make an exception for MSN, since the stable build doesn't work anymore.
The development build seems to work just fine under v0.95.4. :)

--

Version numbers doesn't matter at all. Plugin Updater computes and compares the hash of content of file.
So why use version numbering then?
Might just as well remove it, to avoid confusion.
Title: Re: MSN protocol
Post by: White-Tiger on 04 06 2015, 14:44:19
generally, version numbers will be increased if there are significant changes. It's often simply forgotten by the executing person...

And "a lot" of current changes to Miranda NG are API changes and other code style changes... Normally you wouldn't see a new "release" if it were a Miranda IM plugin as those changes are mostly internal and don't really change the output.
Ok for API changes you would normally see a new build.. or at least if it's an incompatible change as it is for NG (IM rarely had them)
So when you see a whole bunch of updates, they are mostly caused by an API header change... For example when I change or add a comment to "m_core.h", all plugins will rebuild and thus trigger an update, even though nothing changed. So the version number shouldn't increase ;)


Besides the above, Miranda NG does have some managing issues as well... For my own projects, I'm using an automated version incremental system... every build I compile increases the version/revision (or in case of my Git / SVN hosted projects, every commit does, not "tries")
But since all plugins are hosted in one big fat repository here, such systems don't really work that good... well we could create one, one that only counts commits for a given path / plugin, but that might require us to switch to Git or a Linux based build server^^

So let's just hope we won't forget (or forget less) to increase our version numbers ;)


edit: hmm.. now that I think of it, a "comment" change might cause a rebuild, but shouldn't cause the resulting executable to change... unless the compiler got crazy and goes a different way to do the same thing xD So those updated builds might be limited to API changes that change the way a function is called for example. Which again doesn't really change what the program does, so still no real need to increment the version.
Title: Re: MSN protocol
Post by: Tomaso on 04 06 2015, 15:15:09
Thanks very much for your thorough explanation, White-Tiger! :)

I just hope that some of the plugins that I use will get some fixes that matters soon, because they're really buggy compared to their Miranda IM counterparts.
Of course, I understand that this is because they're built on old source codes, but it should still be possible to get them to work properly.
Title: Re: MSN protocol
Post by: leecher on 04 06 2015, 15:24:12
Hm, I always thought that I should only increase version numbering on Stable builds as those are the ones consumed by the normal end users and it doesn't matter in development tree as there are constant changes in it anyway and these plugins are only considered experimental.
Title: Re: MSN protocol
Post by: Tomaso on 04 06 2015, 20:44:32
New bug:
Avatars doesn't work anymore.
(MSN dev:Jun.04.2015 / MirNG v0.95.4 x64)
Title: Re: MSN protocol
Post by: Wishmaster on 04 06 2015, 21:07:53
1) You shouldn't mix stable and development versions of core/plugins together.

The development build seems to work just fine under v0.95.4. :)

New bug: Avatars doesn't work anymore. (MSN dev:Jun.04.2015 / MirNG v0.95.4 x64)
And appearently they dont work "just fine", do you get it now?  :PUNISH:
Please DO NOT post any "bugs" if you don't update everything to the latest development version.
If you don't, all your "bug reports" will be silently ignored.

You may use for yourself whatever you want, but do not make "bug reports" with incompatible versions.


I knew this would happen because they are incompatible. Didn't tell you because you would know it better what is compatible then the developers anyways...
Title: Re: MSN protocol
Post by: Tomaso on 04 06 2015, 21:30:50
appearently they dont work "just fine", do you get it now?
No need to shout.
I just forgot to add the question mark after "New bug".
Just tried it with MirNG dev.v0.95.5 now, and you're right, avatars DOES work!
I suspected as much myself, that's why I specified in my post which MirNG version I was using.
The reason that I asked was that avatars DID work with the previous MSN dev. + MirNG v0.95.4.
..and I just noticed that they didn't anymore.
No big deal though, as the important functions still work. :)

Didn't tell you because you would know it better what is compatible then the developers anyways...
What gives you that idea?
I don't even know programming.
Title: Re: MSN protocol
Post by: Wishmaster on 04 06 2015, 21:42:55
No need to shout.
Yes, there is.
I just forgot to add the question mark after "New bug".
Sure... sounds logical...  ;D How stupid I didn't see it myself  ;D

  Just tried it with MirNG dev.v0.95.5 now, and you're right, avatars DOES work! I suspected as much myself, that's why I specified in my post which MirNG version I was using. The reason that I asked was that avatars DID work with the previous MSN dev. + MirNG v0.95.4. ..and I just noticed that they didn't anymore. No big deal though, as the important functions still work. :)
Well, just check this before you make a bug report next time, or you'll just get ignored.And no one assures you that all the "important functions" will be compatible.
What gives you that idea? I don't even know programming.
Well, just because Robyer told you and you didn't listen, so you wouldn't believe me as well.
Title: Re: MSN protocol
Post by: Tomaso on 04 06 2015, 22:02:51
because Robyer told you and you didn't listen
I heard him..
That's why I intended to phrase my post as a question.
..but when reading it now, I realize that it just sounds like a bad excuse, so I can see why you don't believe me.
Anyway, I'm just glad that you've all managed to crack M$ new protocol, and I'm looking forward to the next stable release!

I might post a few bugs for some of the other plugins that I'm using instead, because they're all stable versions.
Title: Re: MSN protocol
Post by: Robyer on 05 06 2015, 04:14:35
I might post a few bugs for some of the other plugins that I'm using instead, because they're all stable versions.

Sure, just create a new thread for them, please. BUT first check that they are still present in latest development build. There have been many various fixes already, as usual ;-)
Title: Re: MSN protocol
Post by: delerue on 20 06 2015, 02:13:38
I can't login anymore. I also tried with a clean install but no success. Here's the log:

Code: [Select]
[23:06:14 178C] [MSN_1] PS_SETSTATUS(40073,0)
[23:06:14 13A8] [MSN_1] Starting thread 000013A8 (02734F17)
[23:06:14 13A8] [MSN_1] Thread started: server='s.gateway.messenger.live.com:443', type=0
[23:06:14 13A8] [MSN_1] Connection request to s.gateway.messenger.live.com:443 (Flags 10)....
[23:06:14 13A8] [MSN_1] (05ADBEE0) Connecting to server s.gateway.messenger.live.com:443....
[23:06:14 13A8] [MSN_1] (05ADBEE0) Connecting to ip 157.56.106.210:443 ....
[23:06:15 13A8] [MSN_1] (1048) Connected to s.gateway.messenger.live.com:443
[23:06:15 13A8] [MSN_1] (1048 s.gateway.messenger.live.com) Starting SSL negotiation
[23:06:15 13A8] [MSN_1] (1048 s.gateway.messenger.live.com) SSL negotiation successful
[23:06:15 13A8] [MSN_1] Connected with handle=05ADBEE0
[23:06:15 13A8] [MSN_1] (05ADBEE0:1048) Data sent
CNT 1 CON 116

<connect><ver>2</ver><agent><os>winnt</os><osVer>5.2</osVer><proc>x86</proc><lcid>en-us</lcid></agent></connect>
[23:06:15 13A8] [MSN_1] Entering main recv loop
[23:06:15 13A8] [MSN_1] (05ADBEE0:1048) Data received
XFR 1 CON 204

<xfr><target>BN1MSGR1012904.gateway.messenger.live.com:443</target><flags>S</flags><state>VmVyc2lvbjogMQ0KWGZyQ291bnQ6IDENClhmclNlbnRVVENUaW1lOiA2MzU3MDM2MzAyODk3MjE1MDMNCg==</state><wait>0</wait></xfr>
[23:06:15 13A8] [MSN_1] RECV: XFR 1 CON 204
[23:06:15 13A8] [MSN_1] Switching to notification server 'BN1MSGR1012904.gateway.messenger.live.com:443'...
[23:06:15 0A24] [MSN_1] Starting thread 00000A24 (02734F17)
[23:06:15 13A8] [MSN_1] (05ADBEE0:1048) Data sent
OUT 2 CON 0
[23:06:15 0A24] [MSN_1] Thread started: server='BN1MSGR1012904.gateway.messenger.live.com:443', type=0
[23:06:15 0A24] [MSN_1] Connection request to BN1MSGR1012904.gateway.messenger.live.com:443 (Flags 10)....
[23:06:15 0A24] [MSN_1] (03B073B0) Connecting to server BN1MSGR1012904.gateway.messenger.live.com:443....
[23:06:15 13A8] SSL connection gracefully closed
[23:06:15 13A8] [MSN_1] Connection closed gracefully
[23:06:15 13A8] [MSN_1] Connection 05ADBEE0 [000013A8] was gracefully closed
[23:06:15 13A8] [MSN_1] Thread [000013A8] ending now
[23:06:15 13A8] [MSN_1] Leaving thread 000013A8 (02734F17)
[23:06:15 13A8] [MSN_1] Closing connection handle 05ADBEE0
[23:06:15 13A8] [MSN_1] (05ADBEE0:1048) Connection closed internal
[23:06:15 13A8] [MSN_1] (05ADBEE0:4294967295) Connection closed
[23:06:15 0A24] [MSN_1] (03B073B0) Connecting to ip 134.170.19.173:443 ....
[23:06:16 0A24] [MSN_1] (1140) Connected to BN1MSGR1012904.gateway.messenger.live.com:443
[23:06:16 0A24] [MSN_1] (1140 BN1MSGR1012904.gateway.messenger.live.com) Starting SSL negotiation
[23:06:16 0A24] [MSN_1] (1140 BN1MSGR1012904.gateway.messenger.live.com) SSL negotiation successful
[23:06:16 0A24] [MSN_1] Connected with handle=03B073B0
[23:06:16 0A24] [MSN_1] (03B073B0:1140) Data sent
CNT 2 CON 226

<connect><xfr><state>VmVyc2lvbjogMQ0KWGZyQ291bnQ6IDENClhmclNlbnRVVENUaW1lOiA2MzU3MDM2MzAyODk3MjE1MDMNCg==</state></xfr><ver>2</ver><agent><os>winnt</os><osVer>5.2</osVer><proc>x86</proc><lcid>en-us</lcid></agent></connect>
[23:06:16 0A24] [MSN_1] Entering main recv loop
[23:06:16 0A24] [MSN_1] (03B073B0:1140) Data received
CNT 2 CON 126

<connect-response><ver>2</ver><qostest>false</qostest><nonce>9b432641-12db-29db-aa58-9f9566347e7e</nonce></connect-response>
[23:06:16 0A24] [MSN_1] RECV: CNT 2 CON 126
[23:06:17 0A24] SSL connection gracefully closed
[23:06:19 0A24] SSL connection gracefully closed
[23:06:19 0A24] [MSN_1] (03B073B0:1140) Data sent
OUT 3 CON 0
[23:06:19 0A24] SSL connection gracefully closed
[23:06:19 0A24] [MSN_1] Connection closed gracefully
[23:06:19 0A24] [MSN_1] Connection 03B073B0 [00000A24] was gracefully closed
[23:06:19 0A24] [MSN_1] Thread [00000A24] ending now
[23:06:19 0A24] [MSN_1] Leaving thread 00000A24 (02734F17)
[23:06:19 0A24] [MSN_1] Closing connection handle 03B073B0
[23:06:19 0A24] [MSN_1] (03B073B0:1140) Connection closed internal
[23:06:19 0A24] [MSN_1] (03B073B0:4294967295) Connection closed
Title: Re: MSN protocol
Post by: Dimsok on 20 06 2015, 13:45:51
I can't login anymore
Confirm
Title: Re: MSN protocol
Post by: leecher on 22 06 2015, 09:20:01
Hi,

You need to visit

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=en

once and accept new TOS, then logon should work again.
Title: Re: MSN protocol
Post by: delerue on 22 06 2015, 14:14:19
leecher, it worked flawlessly! Thanks! :)
Title: Re: MSN protocol
Post by: delerue on 24 06 2015, 01:59:22
I'm trying to remove some contacts from my list, but they always come back when I reconnect. I tried to remove only from list, and then from the server; same problem.
Title: Re: MSN protocol
Post by: vultures on 30 06 2015, 05:40:47
Hi,

You need to visit

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=en

once and accept new TOS, then logon should work again.

And after so much time & fuss. Thx for the heads up, since the MS newsletter had no info on this, whatsoever.
Title: Re: MSN protocol
Post by: Ret on 30 06 2015, 20:02:43
First of all let me thank you for your work! I'm using Miranda-NG v0.95.5 alpha build#14447 and MSN 0.12.1.1.

Some days ago I was connecting to MSN just fine but today I have problems logging in. I get the error:
"Unrecognized error 921. The server has closed our connection".
I tried visiting the link you provided but all I get is a blank page. I tried looking for a page to accept those new TOS but could find't it.
Is there anything else I can try to log into MSN again?

Thx!
Title: Re: MSN protocol
Post by: leecher on 01 07 2015, 09:53:37
Hi,

921
    Server too busy

I suggest to try again later, I don't think that there is a way to circumvent busy servers. Maybe there are other MSN login servers that I'm not aware of that can be tried as a backup when main server is too busy?

Regards
Title: Re: MSN protocol
Post by: Ret on 02 07 2015, 22:43:37
Thanks for your response. It seems you were right. I can now connect to MSN (yet it took me more than a day).

I have one more question:
I tried linking my Skype account with MSN account. All I got is Skype contacts showing as offline so I decided to go back using MSN and Skypeweb plugin separately. So I unlinked the accounts.
Now, whenever I tried to connect to Skype and MSN with each plugin they disconnect one another. I cannot have both accounts online.
Any help? Thx!
Title: Re: MSN protocol
Post by: Beck Yang on 03 07 2015, 04:51:46
I cannot login again, this plugin worked yesterday. Look like they did some change again...
Here is the log
Spoiler
[12:43:08 1134] [MSN] PS_SETSTATUS(40072,0)
[12:43:08 11C4] [MSN] Starting thread 000011C4 (15284F17)
[12:43:08 11C4] [MSN] Thread started: server='s.gateway.messenger.live.com:443', type=0
[12:43:08 11C4] [MSN] Connection request to s.gateway.messenger.live.com:443 (Flags 10)....
[12:43:08 11C4] [MSN] (02E41488) Connecting to server s.gateway.messenger.live.com:443....
[12:43:08 11C4] [MSN] (02E41488) Connecting to ip 64.4.45.210:443 ....
[12:43:09 11C4] [MSN] (1208) Connected to s.gateway.messenger.live.com:443
[12:43:09 11C4] [MSN] (1208 s.gateway.messenger.live.com) Starting SSL negotiation
[12:43:09 11C4] [MSN] (1208 s.gateway.messenger.live.com) SSL negotiation successful
[12:43:09 11C4] [MSN] Connected with handle=02E41488
[12:43:09 11C4] [MSN] (02E41488:1208) Data sent
CNT 1 CON 116

<connect><ver>2</ver><agent><os>winnt</os><osVer>5.2</osVer><proc>x86</proc><lcid>en-us</lcid></agent></connect>
[12:43:09 11C4] [MSN] Entering main recv loop
[12:43:09 11C4] [MSN] (02E41488:1208) Data received
XFR 1 CON 204

<xfr><target>BAYMSGR1010602.gateway.messenger.live.com:443</target><flags>S</flags><state>VmVyc2lvbjogMQ0KWGZyQ291bnQ6IDENClhmclNlbnRVVENUaW1lOiA2MzU3MTQ5NTMzNzgwNTI4NTQNCg==</state><wait>0</wait></xfr>
[12:43:09 11C4] [MSN] RECV: XFR 1 CON 204
[12:43:09 11C4] [MSN] Switching to notification server 'BAYMSGR1010602.gateway.messenger.live.com:443'...
[12:43:09 1198] [MSN] Starting thread 00001198 (15284F17)
[12:43:09 1198] [MSN] Thread started: server='BAYMSGR1010602.gateway.messenger.live.com:443', type=0
[12:43:09 1198] [MSN] Connection request to BAYMSGR1010602.gateway.messenger.live.com:443 (Flags 10)....
[12:43:09 11C4] [MSN] (02E41488:1208) Data sent
OUT 2 CON 0
[12:43:09 1198] [MSN] (02E36728) Connecting to server BAYMSGR1010602.gateway.messenger.live.com:443....
[12:43:09 11C4] SSL connection gracefully closed
[12:43:09 11C4] [MSN] Connection closed gracefully
[12:43:09 11C4] [MSN] Connection 02E41488 [000011C4] was gracefully closed
[12:43:09 11C4] [MSN] Thread [000011C4] ending now
[12:43:09 11C4] [MSN] Leaving thread 000011C4 (15284F17)
[12:43:09 11C4] [MSN] Closing connection handle 02E41488
[12:43:09 11C4] [MSN] (02E41488:1208) Connection closed internal
[12:43:09 11C4] [MSN] (02E41488:4294967295) Connection closed
[12:43:09 1198] [MSN] (02E36728) Connecting to ip 65.54.184.51:443 ....
[12:43:09 1198] [MSN] (1156) Connected to BAYMSGR1010602.gateway.messenger.live.com:443
[12:43:09 1198] [MSN] (1156 BAYMSGR1010602.gateway.messenger.live.com) Starting SSL negotiation
[12:43:10 1198] [MSN] (1156 BAYMSGR1010602.gateway.messenger.live.com) SSL negotiation successful
[12:43:10 1198] [MSN] Connected with handle=02E36728
[12:43:10 1198] [MSN] (02E36728:1156) Data sent
CNT 2 CON 226

<connect><xfr><state>VmVyc2lvbjogMQ0KWGZyQ291bnQ6IDENClhmclNlbnRVVENUaW1lOiA2MzU3MTQ5NTMzNzgwNTI4NTQNCg==</state></xfr><ver>2</ver><agent><os>winnt</os><osVer>5.2</osVer><proc>x86</proc><lcid>en-us</lcid></agent></connect>
[12:43:10 1198] [MSN] Entering main recv loop
[12:43:10 1198] [MSN] (02E36728:1156) Data received
CNT 2 CON 126

<connect-response><ver>2</ver><qostest>false</qostest><nonce>1d317bb1-d81c-50e4-23d6-d4430bf59952</nonce></connect-response>
[12:43:10 1198] [MSN] RECV: CNT 2 CON 126
[12:43:10 1198] [MSN_HTTPS] Connection request to login.live.com:443 (Flags 11)....
[12:43:10 1198] [MSN_HTTPS] (02E4EC10) Connecting to server login.live.com:443....
[12:43:10 1198] [MSN_HTTPS] (02E4EC10) Connecting to ip 131.253.61.82:443 ....
[12:43:10 1198] [MSN_HTTPS] (1224) Connected to login.live.com:443
[12:43:10 1198] [MSN_HTTPS] (1224 login.live.com) Starting SSL negotiation
[12:43:11 1198] [MSN_HTTPS] (1224 login.live.com) SSL negotiation successful
[12:43:11 1198] [MSN_HTTPS] (02E4EC10:1224) Data sent
GET /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 HTTP/1.1
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Accept-Encoding: deflate, gzip
Host: login.live.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive

[12:43:11 1198] [MSN_HTTPS] (02E4EC10:1224) Data received
HTTP/1.1 200 OK
[12:43:11 1198] SSL connection gracefully closed
[12:43:11 1198] [MSN_HTTPS] (02E4EC10:1224) Data received
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Content-Encoding: deflate
Expires: Fri, 03d Jul 2015d 04d:41d:19d GMT
Vary: Accept-Encoding
Server: Microsoft-IIS/8.5
P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
Set-Cookie: MSPRequ=lt=1435898539&co=1&id=N; secure= ;path=/;HTTPOnly=;version=1
Set-Cookie: MSPOK=$uuid-20de5796-5b54-43e6-90bd-895b1391aad7; secure= ;path=/;HTTPOnly= ;version=1
X-Frame-Options: deny
PPServer: PPV: 30 H: BAYIDSLGN2C037 V: 0
Date: Fri, 03 Jul 2015 04:42:19 GMT
Connection: close
Content-Length: 2083

[12:43:11 1198] [MSN_HTTPS] (02E4EC10:1224) Data received
<!DOCTYPE html><!-- ServerInfo: BAYIDSLGN2C037 2015.06.16.01.12.00 Live1 Unknown LocVer:0 -->
<!-- PreprocessInfo: BTSA007:RR1BLDA080,  - Version: 16,0,25685,0 -->
<!-- RequestLCID: 1033, Market:EN-US, PrefCountry: US, LangLCID: 1033, LangISO: EN -->
<html dir="ltr" lang="EN-US"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=Edge"/><base href="https://login.live.com/pp1600/"/><script type="text/javascript"></script><noscript><meta http-equiv="Refresh" content="0; URL=https://login.live.com/jsDisabled.srf?mkt=EN-US&lc=1033"/>Microsoft account requires JavaScript to sign in. This web browser either does not support JavaScript, or scripts are being blocked.<br /><br />To find out whether your browser supports JavaScript, or to allow scripts, see the browser's online help.</noscript><title>Sign in to your Microsoft account</title><meta name="PageID" content="i5011"/><meta name="SiteID" content="287688"/><meta name="ReqLC" content="1033"/><meta name="LocLC" content="1033"/><link rel="shortcut icon" href="https://auth.gfx.ms/16.000.25685.00/favicon.ico?v=2" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/><link rel="stylesheet" title="HostCSS" type="text/css" href="https://auth.gfx.ms/16.000.25685.00/HostCSS1033.css"/><style type="text/css"></style><style type="text/css">body{display:none;}</style><script type="text/javascript">if (top != self){try{top.location.replace(self.location.href);}catch (e){}}else{document.write(unescape('%3C%73') + 'tyle type="text/css">body{display:block !important;}</style>');}</script><noscript><style type="text/css">body{display:block !important;}</style></noscript><script type="text/javascript">var g_iSRSFailed=0,g_sSRSSuccess="";function SRSRetry(a,f,b){var e=1,d=unescape('%3Cscript type="text/javascript" src="'),c=unescape('"%3E%3C/script%3E');if(g_sSRSSuccess.indexOf(a)!=-1)return;if(typeof window[a]=="undefined"){g_iSRSFailed=1;b<=e&&document.write(d+f+c)}else g_sSRSSuccess+=a+"|"+b+","}
  var g_dtFirstByte=new Date();var g_objPageMode = null;</script><script type="text/javascript">var ServerData = {f:'https://signup.live.com/signup.aspx?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&bk=1435898539&ru=https://login.live.com/oauth20_authorize.srf%3fclient_id%3d00000000480BC46C%26scope%3dservice%253A%253Askype.com%253A%253AMBI_SSL%26response_type%3dtoken%26redirect_uri%3dhttps%253A%252F%252Flogin.live.com%252Foauth20_desktop.srf%26mkt%3dEN-US%26lc%3d1033%26bk%3d1435898539&uiflavor=host&uaid=70d1f6143a53467daa952be474bc391c&mkt=EN-US&lc=1033',V:'',ac:'https://account.live.com/Agreement/TOU?wreply=https://login.live.com/oauth20_authorize.srf%3fclient_id%3d00000000480BC46C%26scope%3dservice%253A%253Askype.com%253A%253AMBI_SSL%26response_type%3dtoken%26redirect_uri%3dhttps%253A%252F%252Flogin.live.com%252Foauth20_desktop.srf%26bk%3d1435898539%26mkt%3dEN-US%26lc%3d1033&uiflavor=host&mkt=EN-US&lc=1033',aS:"You can use a Microsoft account to access services like <b>Hotmail</b>, <b>Xbox Live</b>, and <b>Windows Phone</b>. If you have a Windows Live ID, you already have a Microsoft account. To learn more, visit http://go.microsoft.com/fwlink/?LinkID=254486.",Af:"&copy;2015 Microsoft",H:false,urlPost:'https://login.live.com/ppsecure/post.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&bk=1435898539&uaid=70d1f6143a53467daa952be474bc391c',Ay:false,aw:'70d1f6143a53467daa952be474bc391c',I:'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&bk=1435898539',sErrTxt:'',J:1,oPost:{},a6:'https://auth.gfx.ms/16.000.25685.00/AppCentipede/AppCentipede_Microsoft.png',urlSwitch:'',L:'',q:true,O:'Passport',sFTTag:'<input type="hidden" name="PPFT" id="i0327" value="DKj!lM1aQeZ3BIPxuWJZT26EK*IOPgYYBiJHm0mORZ7ieJCjrLb0QoQPiYmRWuPS0pe7ZeZL2FwC1krE32mtjWMT56Vv2BFZRXfB50pyPNWXil0Gmzwe3s1IjdEivLwHB8IrjMEe3uTk0wYDsKa2Rt14FyDNSXaU9teIPY8$"/>',html:[],str:[],P:'https://login.live.com/cookiesDisabled.srf?mkt=EN-US&lc=1033',b:true,Q:true,A:false,c:39,Aa:'https://account.live.com/Agreement/Privacy?wreply=https://login.live.com/oauth20_authorize.srf%3fclient_id%3d00000000480BC46C%26scope%3dservice%253A%253Askype.com%253A%253AMBI_SSL%26response_type%3dtoken%26redirect_uri%3dhttps%253A%252F%252Flogin.live.com%252Foauth20_desktop.srf%26bk%3d1435898539%26mkt%3dEN-US%26lc%3d1033&uiflavor=host&mkt=EN-US&lc=1033',u:'',oClientAppProperties:{DisplayName:'Skype'},d:'',B:'',e:'https://account.live.com/ResetPassword.aspx?wreply=https://login.live.com/oauth20_authorize.srf%3fclient_id%3d00000000480BC46C%26scope%3dservice%253A%253Askype.com%253A%253AMBI_SSL%26response_type%3dtoken%26redirect_uri%3dhttps%253A%252F%252Flogin.live.com%252Foauth20_desktop.srf%26bk%3d1435898539&id=287688&uiflavor=host&uaid=70d1f6143a53467daa952be474bc391c&mkt=EN-US&lc=1033&bk=1435898539'};</script><script type="text/javascript" src="https://auth.gfx.ms/16.000.25685.00/LoginHost_Core1033.js"></script><script type="text/javascript">SRSRetry("__Login_Host", "https://auth.gfx.ms/16.000.25685.00/LoginHost_Core1033.js", 1);</script><script type="text/javascript">SRSRetry("__Login_Host", "https://auth.gfx.ms/16.000.25685.00/LoginHost_Core1033.js", 2);</script></head>
<body uiFlavor="host" onload="evt_LoginHost_onload(event);">
</body></html>
[12:43:11 1198] [MSN_HTTPS] (02E4EC10:1224) Connection closed internal
[12:43:11 1198] [MSN_HTTPS] (02E4EC10) Connecting to server login.live.com:443....
[12:43:11 1198] [MSN_HTTPS] (02E4EC10) Connecting to ip 131.253.61.82:443 ....
[12:43:11 1198] [MSN_HTTPS] (1224) Connected to login.live.com:443
[12:43:11 1198] [MSN_HTTPS] (1224 login.live.com) Starting SSL negotiation
[12:43:12 1198] [MSN_HTTPS] (1224 login.live.com) SSL negotiation successful
[12:43:12 1198] [MSN_HTTPS] (02E4EC10:1224) Data sent
POST /ppsecure/post.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&bk=1435898539&uaid=70d1f6143a53467daa952be474bc391c HTTP/1.1
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Cookie: MSPRequ=lt=1435898539&co=1&id=N; MSPOK=$uuid-20de5796-5b54-43e6-90bd-895b1391aad7
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: deflate, gzip
Host: login.live.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 226

[12:43:12 1198] [MSN_HTTPS] (02E4EC10:1224) Data sent
PPFT=DKj%21lM1aQeZ3BIPxuWJZT26EK%2AIOPgYYBiJHm0mORZ7ieJCjrLb0QoQPiYmRWuPS0pe7ZeZL2FwC1krE32mtjWMT56Vv2BFZRXfB50pyPNWXil0Gmzwe3s1IjdEivLwHB8IrjMEe3uTk0wYDsKa2Rt14FyDNSXaU9teIPY8%24&login=______%40hotmail.com&passwd=______
[12:43:12 1198] [MSN_HTTPS] (02E4EC10:1224) Data received
HTTP/1.1 200 OK
[12:43:12 1198] SSL connection gracefully closed
[12:43:12 1198] [MSN_HTTPS] (02E4EC10:1224) Data received
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Content-Encoding: deflate
Expires: Fri, 03d Jul 2015d 04d:41d:20d GMT
Vary: Accept-Encoding
Server: Microsoft-IIS/8.5
P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
Set-Cookie: MSPOK= ; expires=Thu, 30-Oct-1980 16:00:00 GMT;domain=login.live.com;path=/;HTTPOnly= ;version=1
Set-Cookie: PPAuth=Cl7LENOmU3jBo!!HAkm8YW7KYys9w7d6oA4Dyc20QkONDdrRADVqO714KpbdU70FFG4!eRk79zZvEcMkbUTLLo*5Jc5L590r0b6Md1JWCOBhH!SiPfT8IzDGPtzMpKDFd8w62mdZQfKadsq1FF0A6tYV3omxdV63LfJnFmwGi72ZeBMLo45Glfa5R3n9QZNhz0ZRcX9Nox50xiJn4hCz9PIIMw6JF4FpiKtTBnXTKFjCVhsZDGbOh6nELOiIg*plBobXUfaCDJ5h7mF8jrfSIpQvtHwvSG7OCLfMYkK6PCxRsRruA8iDcELVL9lyAFXhBQ$$; domain=login.live.com;secure= ;path=/;HTTPOnly= ;version=1
Set-Cookie: PPLState=1; domain=.live.com;path=/;version=1
Set-Cookie: MSPShared= ; HTTPOnly= ; domain=login.live.com;path=/;Expires=Thu, 30-Oct-1980 16:00:00 GMT
Set-Cookie: MSPPre=______@hotmail.com|eef0d4eb1b73848d||;domain=login.live.com;path=/;Expires=Wed, 30-Dec-2037 16:00:00 GMT;secure=
Set-Cookie: MSPCID=eef0d4eb1b73848d; HTTPOnly= ; domain=login.live.com;path=/;Expires=Wed, 30-Dec-2037 16:00:00 GMT;secure=
Set-Cookie: WLOpt=credtype=1&act=[1];domain=login.live.com;path=/;Expires=Wed, 30-Dec-2037 16:00:00 GMT
Set-Cookie: pres=; expires=Thu, 30-Oct-1980 16:00:00 GMT;domain=.live.com;path=/;version=1
Set-Cookie: LOpt=1; domain=login.live.com;path=/;version=1
Set-Cookie: MSPVis=$38936;domain=login.live.com;path=/
Set-Cookie: MSPBack=1435898539; domain=login.live.com;path=/;version=1
PPServer: PPV: 30 H: BAYIDSLGN2G024 V: 0
Date: Fri, 03 Jul 2015 04:42:19 GMT
Connection: close
Content-Length: 1024

[12:43:12 1198] [MSN_HTTPS] (02E4EC10:1224) Data received
<html><head><noscript>JavaScript required to sign in<meta http-equiv="Refresh" content="0; URL=https://login.live.com/jsDisabled.srf?mkt=EN-US&lc=1033"/></noscript><title>Continue</title><script type="text/javascript">function OnBack(){}function OnNext(){}function DoSubmit(){var subt=false;if(!subt){subt=true;document.fmHF.submit();}}</script></head><body onload="javascript:DoSubmit();"><form name="fmHF" id="fmHF" action="https://account.live.com/tou/accrue?ru=https://login.live.com/oauth20_authorize.srf%3flc%3d1033%26client_id%3d00000000480BC46C%26scope%3dservice%253A%253Askype.com%253A%253AMBI_SSL%26response_type%3dtoken%26redirect_uri%3dhttps%253A%252F%252Flogin.live.com%252Foauth20_desktop.srf%26uaid%3d70d1f6143a53467daa952be474bc391c%26mkt%3dEN-US%26scft%3dDN2gK25z6xF*ygTLMoUB2m8lIciCq4F4ULGA1WB8M5LgaRWYakD1plkhdpWBgkE0Ks73m66IOmBmzqZwItkaSh0FOpW2jZ9ofD6aWmXMrK7SUM9VZJt7WUmKYPHTiq6z!qGnp0tdpAmPA04Khw%2524%2524&mkt=EN-US&uiflavor=host&id=287688" method="post" target="_top"><input type="hidden" name="ipt" id="ipt" value="DH9vRkoIPClJP!QWzYMTK1wMXw*4nTGuePoSl71*fg7K5AolafKm1WscI0z!AT3Q6RaVG7TryJWmWAiPPR7J4h9FhIBFHsRr97jSU3TI58yD*Mn5pe*Ejs5CyutRC61*OOmvcP7VlHbYgsnZL!wrwXJCSk4cmCkb*he7DvVlzStJuKPrQVQXTAkQu43UdgO6o1JK30cTmbZvk1jE1CL3nzGHThn7!oO!2GFBxLn8RIK06tTyDvuuyuhVJ9jx7Ay3WzpEOmMOQYIt77t7ujE6lZw64qfIDdMAz8ZnCAtliTxUyb8bM5!sa5S5FTLcNzs7XSkCo4SYb0eoO!fPV82jWmCOyQTyksrBFXymLuAqI3Qy8u1D7Yc6TKcw5mg021RPAmxyP9*RRKz5ipIkIQ$$"></form></body></html>
[12:43:12 1198] [MSN_HTTPS] (02E4EC10:1224) Connection closed internal
[12:43:12 1198] [MSN] (02E36728:1156) Data sent
OUT 3 CON 0
[12:43:12 1198] SSL connection gracefully closed
[12:43:12 1198] [MSN] Connection closed gracefully
[12:43:12 1198] [MSN] Connection 02E36728 [00001198] was gracefully closed
[12:43:12 1198] [MSN] Thread [00001198] ending now
[12:43:12 1198] [MSN] Leaving thread 00001198 (15284F17)
[12:43:12 1198] [MSN] Closing connection handle 02E36728
[12:43:12 1198] [MSN] (02E36728:1156) Connection closed internal
[12:43:12 1198] [MSN] (02E36728:4294967295) Connection closed
Title: Re: MSN protocol
Post by: leecher on 03 07 2015, 07:37:34
I cannot login again, this plugin worked yesterday. Look like they did some change again...
Ok, visit URL above. I now changed login code so that a browser window opens up if there is no 302 redirect but a 200 reply to login, so that users don't need to read the URL in this forum where to login manually but get redirected to the correct URL in their browser by the plugin.

I tried with your account and opening the browser seems to work. Now please change your password  ;)
Title: Re: MSN protocol
Post by: Beck Yang on 03 07 2015, 12:14:36
I just change my password. Thank you.
Title: Re: MSN protocol
Post by: Schumi on 06 07 2015, 06:24:42
Hi. I have 2-step auth in my account.
I open leecher's url in browser, change account password, generate new application password.
But each time on try login, I see open url in my browser some long url:

https://login.live.com/oauth20_desktop.srf?lc=1049#access_token=.....&token_type=bearer&expires_in=86400&scope=service::skype.com::MBI_SSL&refresh_token=....&user_id=fee546a772385a13 - 302
Next redirect: https://login.live.com/oauth20_desktop.srf?lc=1049 - 200
And see empty page in web browser.

UPD: I use dev build x64. Today update miranda again before trying.
Title: Re: MSN protocol
Post by: leecher on 06 07 2015, 08:13:13
Hi. I have 2-step auth in my account.
What is this?
Title: Re: MSN protocol
Post by: Schumi on 06 07 2015, 11:04:49
May be incorrect say - Two-step verification
https://account.live.com/proofs/Manage?mkt=en-US
https://c4.staticflickr.com/4/3888/19456928192_f50454a199_o.png
Title: Re: MSN protocol
Post by: leecher on 06 07 2015, 17:02:25
Why don't you just turn this off for you MSN account? Seems to be pretty annoying and it's not supported by the plugin.
Title: Re: MSN protocol
Post by: White-Tiger on 06 07 2015, 18:55:18
Schumi, so... your app password seems to almost log you in? I thought those works just like your normal password^^ No real difference... (nor need to have the app to support it)

leecher, you didn't just recommend to turn a security feature off, did you? It's weird enough that you've never heard of it...
Today, 2-step auth is very common, Google started to use that, and other services followed. Such as battle.net and now even Microsoft... It's mainly used for its high security benefit.
You might even call Steam Guard a 2-step auth, even though it's not using an authenticator, nor required for all kinds of login.

Though, adding 2-step auth would be the best to do, those "application passwords" should work as well... So how about enabling it and try to use an app password so you could maybe "fix" it... Would be enough for now :P
Title: Re: MSN protocol
Post by: Schumi on 07 07 2015, 07:00:36
No real difference
Not sure.
How it can be? You try login with app password, server see it (2 step verif. enable), redirect to another page, send sms to your phone, on this page you need to confirm code, and only after this redirect, where url contain access token / refresh token...
Title: Re: MSN protocol
Post by: leecher on 10 08 2015, 00:40:05
Hi,

I consider 2-step auth for an instant messenger where you usually want your tasks being automated a bit ridiculous.
i.e. think about using keepstatus plugin, when you drop off the network and it tries to log you in again, you may be stuck with a manual login screen if your auth token expired in the meantime.

Nevertheless I implemented an embedded Internet Explorer window now to resolve login conflicts. As soon as automatic login fails, the plugin opens a window with an embeded Internet Explorer instance (like Skype client does) which allows you to do a manual login. This also should help people when Microsoft Security measures are requiring you to confirm your login due to a login country change, to accept new TOS or other things that already bugged some users.
Hopefully it works.
Title: Re: MSN protocol
Post by: Schumi on 10 08 2015, 06:52:09
leecher, people enable 2-step auth not for  instant messenger, but for whole account. It makes sense.
Try your last update - work.
Only find one issue (think problem on my side). First time I see login screen and need to enter not only password, but also capture. With capture I can't login, always get incorrect password/capture.
Then I open IE, open live id page, login. Back to Miranda, again try login. This time I see only password box without capture and can login correct.
Also what I find: do not work ctrl+v/shift+ins in password box, but can show context menu. Think ms server bug.

Thanks for the good job.
Title: Re: MSN protocol
Post by: leecher on 10 08 2015, 13:56:32
Hi,

I personally would use a seperate account just for instant messaging if there is valuable data connected to my account that needs to be protected via 2-step auth.

Is there a way to force a captcha so that I can try this? I guess this may be due to the fact that the plugin tries to be nice and log you in automatically on the website which works fine with user+pass, but not if there is a captcha present. I never had a captcha auth yet, so I don't know how to debug this.

I now fixed the keyboard input issues so that copy and paste should be possible. Bugfix will be available in next nighly build.
Title: Re: MSN protocol
Post by: Schumi on 10 08 2015, 15:40:05
I have only one idea: much attempts to login.
Title: Re: MSN protocol
Post by: Schumi on 11 08 2015, 17:16:17
Something broken. Update 2h ago Miranda and now can not login.
See MSN login form (empty),  after ~ 2 seconds form disappear. After some time -again see from, again disapper...
Title: Re: MSN protocol
Post by: Schumi on 11 08 2015, 17:21:48
Oh, find understood why.
Try open in IE and login.
See url https://login.live.com/ppsecure/post.srf?lc=1033&bk=xxxx&uaid=xxxx&pid=0:
https://farm1.staticflickr.com/394/20497971691_a364b85b23_o.png

After success login by web, try again login by Miranda - fail.
Title: Re: MSN protocol
Post by: leecher on 11 08 2015, 17:44:49
The login form popping up and disappearing is normal and expected behaviour in case login tokens expired requiring a relogin via web but there are still working login cookies in web browser that automatically cause a redirect to oauth success page causing the login window to close again as auth is completed.
However it seems that some other tokens expired and are not refreshed correctly maybe causing MSN to stay disconnected. What does the Netlib log say?

To be able to login again, you can try to delete MSN-loginsite Cookies in Internet Explorer.
Title: Re: MSN protocol
Post by: Schumi on 14 08 2015, 07:01:50
https://cloud.mail.ru/public/4Rhd/aHK7ECr1t
Net log here: (archive password I sent to your icq).
Title: Re: MSN protocol
Post by: Schumi on 14 08 2015, 07:03:08
Oh, again see ("You need to use a security code to verify your identity. How would you like to receive your code?")
Сurious, that I mark "I sign in frequently on this device. Don't ask me for a code.", but anyway see this page again.
Title: Re: MSN protocol
Post by: Mikalair on 15 10 2015, 11:10:46
Crash on opening 2-factor auth window

Code: [Select]
     6dc86033()    Нет данных
     [Указанные ниже фреймы могут быть неверны и (или) отсутствовать]   
     user32.dll!_UserCallWinProcCheckWow@32()    Нет данных
>    MSN.dll!IEEmbedSink::DocumentComplete(IDispatch * __formal=0x08e0f7f4, tagVARIANT * url=0x07cd2084)Строка 98    C++
     mshtml.dll!CWebOCEvents::DocumentComplete()    Нет данных
     mshtml.dll!CMarkup::OnLoadStatusDone()    Нет данных
     mshtml.dll!CMarkup::OnLoadStatus()    Нет данных
     mshtml.dll!CProgSink::DoUpdate()    Нет данных
     mshtml.dll!CProgSink::OnMethodCall(unsigned long)    Нет данных
     mshtml.dll!GlobalWndOnMethodCall()    Нет данных
     mshtml.dll!GlobalWndProc()    Нет данных
     user32.dll!__InternalCallWinProc@20()    Нет данных
     user32.dll!_UserCallWinProcCheckWow@32()    Нет данных
     user32.dll!_DispatchMessageWorker@8()    Нет данных
     user32.dll!_DispatchMessageW@4()    Нет данных
     MSN.dll!CMsnProto::msn_IEAuthThread(void * pParam=0x0900f09c)Строка 849    C++
     mir_core.mir!forkthreadex_r(void * arg=0x0900efcc)Строка 154    C++
Title: Re: MSN protocol
Post by: Corak on 23 10 2015, 14:39:50
Cannot connect now to MSN. Message:
"Passport Authorization Failed. Check the ticket or caller parameters."

Code: [Select]
[17:36:57 0564] [MSN_1_HTTPS] (012D3A40:1724) Data received
HTTP/1.1 400 Bad Request

[17:36:57 0564] [MSN_1_HTTPS] (012D3A40:1724) Data received
Cache-Control: no-cache
Content-Length: 229
Content-Type: application/xml
Content-Encoding: deflate
X-MSNSERVER: BLUCDP2031228
X-Content-Type-Options: nosniff
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 3.0
Set-Cookie: ASP.NET_SessionId=dhvb2ohl51ocx3hkbklruao0; path=/; secure; HttpOnly
Date: Fri, 23 Oct 2015 14:36:34 GMT


[17:36:57 0564] [MSN_1_HTTPS] (012D3A40:1724) Data received
<?xml version="1.0"?>
<ReturnedPeopleResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www
.w3.org/2001/XMLSchema-instance">
  <error>
    <code>PassportAuthFail</code>
    <message>Passport Authorization Failed. Check the ticket or caller parameters.</messag
e>
    <errorType>client</errorType>
    <extendedInfo />
  </error>
</ReturnedPeopleResponse>

[17:38:23 0B88] [MSN_1_HTTPS] (012D3A40:1724) Connection closed internal
[17:38:23 0B88] [MSN_1_HTTPS] (012D3A40:4294967295) Connection closed
Title: Re: MSN protocol
Post by: leecher on 04 11 2015, 07:56:10
Auth error should hopefully be fixed now in current build, sorry for the inconvenience.
Technical details: Tokens are refreshed correctly, but for contact list fetching, an auth Cookie (WLSSC) is required which cannot be refreshed therefore requiring a complete relogin after it expired.
Title: Re: MSN protocol
Post by: Corak on 06 11 2015, 08:07:29
Todays nighly build (Yesterday's commit) of MSN plugin is broken (not connecting) - please fix it. Restored to yesterday's nigthly build - all perfect.

Loops on
[10:25:54 1A28] [MSN_1] (013FDA68:1884) Data sent
CNT 1 CON 116

<connect><ver>2</ver><agent><os>winnt</os><osVer>5.2</osVer><proc>x86</proc><lcid>en-us</lcid></agent></connect>
Title: Re: MSN protocol
Post by: Wishmaster on 06 11 2015, 10:28:17
Sorry, my fault :( leecher fixed it
Title: Re: MSN protocol
Post by: Corak on 11 11 2015, 09:23:14
Got new crash on MSN when lost connection. On "msn_mime.cpp (184): MimeHeaders::readFromBuffer"

http://trac.miranda-ng.org/ticket/1087


msn_mime.cpp (184): MimeHeaders::readFromBuffer
Code: [Select]
Likely cause of the crash plugin: MSN protocol

Exception: Access Violation at address 16152982. Reading from address 00000000.

Stack Trace:
---------------------------------------------------------------
16152982 (MSN 16140000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_mime.cpp (184): MimeHeaders::readFromBuffer
16159A32 (MSN 16140000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_commands.cpp (1034): CMsnProto::MSN_HandleCommands
1614558B (MSN 16140000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_threads.cpp (255): CMsnProto::MSNServerThread
16144E1C (MSN 16140000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_threads.cpp (679): CMsnProto::ThreadStub
1224C536 (mir_core 12240000): e:\sources\miranda_ng_compilation\src\mir_core\src\threads.cpp (154): forkthreadex_r
78AFC556 (MSVCR100 78AA0000): (filename not available) (0): endthreadex
78AFC600 (MSVCR100 78AA0000): (filename not available) (0): endthreadex
7C80B729 (kernel32 7C800000): (filename not available) (0): GetModuleFileNameA
Title: Re: MSN protocol
Post by: Wishmaster on 11 11 2015, 12:45:56
It should be fixed.
Title: Re: MSN protocol
Post by: andng on 17 03 2016, 11:02:50
MSN: After few successful login attempts with latest development version it stopped working. Can't log in anymore. Here is the log:
Title: Re: MSN protocol
Post by: leecher on 17 03 2016, 12:34:57
Seems like skypewebexperience.live.com died.
You can try if it helps to add this entry to your windows\system32\drivers\etc\hosts file:

23.97.130.30 skypewebexperience.live.com

(didn't test, though, but the service is still available on the IP at least)
Title: Re: MSN protocol
Post by: andng on 17 03 2016, 18:45:43
23.97.130.30 skypewebexperience.live.com

didn't help... Attaching the corresponding log
Title: Re: MSN protocol
Post by: leecher on 17 03 2016, 21:13:56
Hi,

Seems that they changed logon method so that web-based logon works differently..
Any volunteer to debug that javascript-mess from outlook.com? ;)

In the meantime, use Skylogin (https://github.com/msndevs/skylogin) fallback.
Compiled it for 32bit here: http://dose.0wnz.at/Skype/skylogin_32.zip
I don't have a 64bit machine/compiler, so for 64bit you need to compile it yourself.
Put the DLL into the plugin-folder and it should work again.

Skylogin needs OpenSSL installed (LIBEAY32.DLL).

Regards
Title: Re: MSN protocol
Post by: andng on 18 03 2016, 09:17:57
Now it works - thanks a lot for quick help!

Sorry - no java experience at all... :)
Title: Re: MSN protocol
Post by: billf on 20 04 2016, 13:11:06
So is MSN protocol dev build broken for now without SkyLogin? In the log it seems to get past the live.com login and then:

[6:59:59 1A80] [MSN] Sending Handshake to Login Server 91.190.216.17..
[7:00:21 1A80] [MSN] Connection refused..
[7:00:21 1A80] [MSN] Sending Handshake to Login Server 91.190.218.40..
[7:00:42 1A80] [MSN] Connection refused..
[7:00:42 1A80] [MSN] Login Failed..
[7:00:42 1A80] [MSN] (0000000003DC1E58:1356) Data sent
OUT 2 CON 0

Connection settings:

Direct: s.gateway.messenger.live.com
Gateway: geo.gateway.messenger.live.com
msn.dll v 0.12.11

edit: I tried the TOS link from earlier in the thread but that didn't do anything different afterwards. I already made sure the login worked with live.com manually.
edit2: I have the skypeweb protocol working but just wanted to see if I could get the MSN protocol to work with my live.com login instead of a skype user.

I'm not keen on posting the entire netlog in case I miss editing out my credentials or what-have-you.
Title: Re: MSN protocol
Post by: leecher on 20 04 2016, 15:00:32
Seems like Login server cannot be reached from your site?
May be a connectivity-Problem, login code is using direct socket connections, so no Proxy or netlib support, maybe you got blocked by a firewall or something?
Title: Re: MSN protocol
Post by: Per Hansson on 05 03 2017, 12:50:24
In the meantime, use Skylogin (https://github.com/msndevs/skylogin) fallback.
Compiled it for 32bit here: http://dose.0wnz.at/Skype/skylogin_32.zip
I don't have a 64bit machine/compiler, so for 64bit you need to compile it yourself.
Put the DLL into the plugin-folder and it should work again.

Skylogin needs OpenSSL installed (LIBEAY32.DLL).

Regards
Hi, new version released on Github...
Could you compile it or give some details about what's needed to compile it?
Title: Re: MSN protocol
Post by: leecher on 05 03 2017, 13:05:07
I already committed the changes into the Miranda NG repository before I even updated the github repo for the login library ;)
https://github.com/miranda-ng/miranda-ng/commit/d057552cc40769f6ba988a9c7a55957dea2e7e2a

Btw.: External DLL isn't needed anymore for quite some time now, because library code was linked into MSN.dll (due to the fact that the other web-based login mechanism which was in MSN.dll earlier died).
Title: Re: MSN protocol
Post by: yvesson on 02 07 2017, 09:24:56
Hej,
What's the point of the MSN protocol nowadays ?
Seems I am logged in, yet I can't see anyone online. Though some contacts should be, since there are on the hotmail Email site ?
Though they would still appear some months ago, but they disappeared from miranda MSN one by one.
Title: Re: MSN protocol
Post by: leecher on 02 07 2017, 09:46:54
I still have MSN-contacts online and working, but I mainly use it to communicate with Skype users.
Title: Re: MSN protocol
Post by: yvesson on 02 07 2017, 09:53:15
Hej,
Mine are old MSN contacts, I suppose they are logged in on skype with they old account, but I can't see those on miranda.
Is there any reason and something to do to see them again ?
Title: Re: MSN protocol
Post by: leecher on 02 07 2017, 10:10:49
Originally I had a MSN-account and a Skype-account.
I used the MSN website to link these accounts and then all contacts appeared in my MSN account. Don't know if this is the reason why you don't see them, hard to guess :)
Title: Re: MSN protocol
Post by: yvesson on 02 07 2017, 10:14:35
Hej,
Of course it's hard to guess, some of them were still showing as far as march 2017 and even april, someone else disappeared in 2016 but was still connected when I checked on hotmail.com (skype on the Email site).
Title: Re: MSN protocol
Post by: yvesson on 02 07 2017, 11:04:14
Hej,
Well there is something clearly wrong with my account setting or whatever : on the "server list", there arn't any star, so I created a new profile and there is and empty contact list. :/
Don't know what I did wrong, but no idea how to correct that.

*edited* : in fact, I downloaded skype to check on that : the active old MSN contacts have somehow duplicated into one "messenger contact" and one "skype contact", and the ones I see on skype are the "skype contact", so I believe on miranda I see the "messenger contact" version which in a ghost of them. :(
Title: Re: MSN protocol
Post by: yvesson on 02 04 2018, 08:03:20
Hej,
Are the stars in the server list tab still relevant ? After each reconnection,  the users all have a red star, but don't seem to be blocked. If I click the blue star, they will become blocked until I click the green star.
Apart from this, it works again like the old msn.
Title: Re: MSN protocol
Post by: leecher on 02 04 2018, 10:32:01
You are right, this doesn't currently have any significance, I just wanted to get it working again.. Will look into this feature when I have time, meanwhile just ignore it plz.
Title: Re: MSN protocol
Post by: yvesson on 06 04 2018, 21:13:31
Hej,
Btw, seems I can't retrieve any avatar for contacts who have an avatar on skype or hotmail.com, in user's details it's updating forever.
Somehow some monthes ago, I managed to get an avatar for a contact who didn't have one on skype client or hotmail... but it disappeared now as well.
Could as well be a CL issue (or anything else) since my own avatars on ICQ (I have two accounts) are not updating when I change them. :/
Title: Re: MSN protocol
Post by: yvesson on 04 05 2018, 17:27:14
Hej,
Today I can't login with the MSN plugin, it says : "MSN services are too busy, please try to connect later".
Seems weird that MSN servers are busy, maybe they shut off more servers with an old protocol or something ?
Title: Re: MSN protocol
Post by: leecher on 04 05 2018, 21:51:45
This happens somteimes, there is a special error code issued by the server for it. Could be that there is maintenance on the servers near you.
Here in .at, services currently work fine.
Title: Re: MSN protocol
Post by: yvesson on 06 05 2018, 09:58:34
Hej,
Are you sure of that ? Because it's still the same, third day...
I'd like to change the connection setting, but what should I try ?
I attached my log just in case.
Title: Re: MSN protocol
Post by: leecher on 06 05 2018, 14:06:39
Aha, weird.. Maybe your tokens expired or something like that.
You can try to use DbEditor++, navigate to the MSN_1 subkey and delete all settings whose names end with Token (ans also their Expiretime).
Maybe it helps. As I don't have any connection problems myself, I can only guess...
Title: Re: MSN protocol
Post by: yvesson on 06 05 2018, 16:24:38
Hej,
Thanks, it worked !
Title: Re: MSN protocol
Post by: yvesson on 06 05 2018, 19:27:45
Hej,
And now I have a contact named like my skype account with fingerprint telling me it's on skype client ? Oo
My second MSN with my skype name doesn't work anymore either, btw, it says username or password is incorrect, though they are correct. :/
I attach my log if you can see whatever isn't right.
Title: Re: MSN protocol
Post by: leecher on 09 04 2019, 23:55:44
https://wink.messengergeek.com/t/microsoft-ending-support-for-classic-skype-version-7-n-o-v-e-m-b-e-r-1-january-8/6131

MSNP24 is dead now, plugin can be removed.