Forum for English speaking Miranda NG users > Development

MSN protocol

(1/22) > >>

leecher:
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

Beck Yang:
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.

watcher:
leecher, crash on login:

CrashLogMiranda 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[close]

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.

leecher:
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).

watcher:
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
--- Quote from: leecher on 14 05 2015, 18:53:38 ---maybe unlinked accounts don't even work anymore
--- End quote ---

I have the same feeling.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version