Page 1 of 1

client freezing when logging in

Posted: Thu May 21, 2009 8:32 am
by cyan
Hi there.

Every time i login and retrieve my MSN contact list the mIRC client will instantly freeze and i have to reboot the application. I installed it as instructed but it just wont work. I have no prior experience debugging mirc scripts (crashes) so I'm kinda lost and i hope you can help me out :roll:

Not entirely sure what kinda info you need, but here's a start >

Windows XP SP3 Pro
mIRC 6.34 and the newest MSN for mIRC

Greetings,
cYan

Re: client freezing when logging in

Posted: Thu May 21, 2009 19:39 pm
by andyc
Not sure why this is, but I know the bit that it happens on. It could be that one of your contacts has a character in their name that confuses the sorting function of the script or something.

Is there any way you can try another account, with a different contact list?

If you untick "sort by group" in the control panel (/msncontrol) it shouldn't freeze anymore, which kind of gets round the problem until I can work out what it is!

Re: client freezing when logging in

Posted: Fri May 22, 2009 7:42 am
by cyan
Created a new account and tried adding a few guys without any special characters in the name. It still freezes :(

Re: client freezing when logging in

Posted: Fri May 22, 2009 12:45 pm
by andyc
D'oh.

Would you be able to send me a couple of files, just so that I can simulate your setup and see what may be going on?

If you type in mIRC:

Code: Select all

//run $mircdir $+ msn
could you send me the files "groups.grp", "allusers.txt" as well as the whole "groups" folder in that directory?

This will allow me to simulate your setup and see if it freezes on my test setup.

Note that these files contain information about your contact list (only email addresses and display names) so probably best to email them to me at andy@burningimage.net.

If you can do that it'd be a great help.

Re: client freezing when logging in

Posted: Fri May 22, 2009 15:10 pm
by cyan
Hey.

Email sent with the files requested, hope you can help me out :mrgreen:

Re: client freezing when logging in

Posted: Fri May 22, 2009 16:41 pm
by andyc
Yep got it.

Bad news though, is that I simulated your contact list in my mIRC and it didn'tlock up at all.

Sorry to keep getting you do type stuff, but if you could type:

Code: Select all

/set %msn.debug 1
and then disconnect and reconnect to MSN in mIRC, then paste me the contents of the Messenger window in an email? That'll tell me when it was doing when it locked up.

In order to stop the script once it has frozen your PC, hit Ctrl-Break. That'll also tell you the line number it locked up on which would be a great help.

Sorry to be annoying!

Re: client freezing when logging in

Posted: Fri May 22, 2009 18:05 pm
by cyan
:lol: :lol: :lol:

Pressing ctrl+break stops it from freezing and it now works.. ill paste the debug here though. Removed my contacts.

Code: Select all

v3.93
---- Message of the Day ----
Welcome to MSN Messenger for mIRC!
*** Connecting...
*** Connected
VER 0 MSNP8 CVR0
VER 0 MSNP8
CVR 1 0x0409 winnt 5.1 i386 MSMSGS 4.7.3001 WindowsMessenger henrikboriths@hotmail.com
CVR 1 1.0.0000 1.0.0000 1.0.0000 http://msgr.dlservice.microsoft.com http://download.live.com/?sku=messenger
USR 2 TWN I henrikboriths@hotmail.com
XFR 2 NS 207.46.125.36:1863 0 207.46.96.154:1863
Switching to server 207.46.125.36:1863 ...
*** Connected
VER 3 MSNP8 CVR0
VER 3 MSNP8
CVR 4 0x0409 winnt 5.1 i386 MSMSGS 4.7.3001 WindowsMessenger henrikboriths@hotmail.com
CVR 4 1.0.0000 1.0.0000 1.0.0000 http://msgr.dlservice.microsoft.com http://download.live.com/?sku=messenger
USR 5 TWN I henrikboriths@hotmail.com
USR 5 TWN S ct=1243015349,rver=5.5.4177.0,wp=FS_40SEC_0_COMPACT,lc=1033,id=507,ru=http://messenger.msn.com,tw=0,kpp=1,kv=4,ver=2.1.6000.1,rn=1lgjBfIL,tpf=b0735e3a873dfb5e75054465196398e0
*** Authorising via Legacy SSL...
USR 6 TWN S t=9TB2H5vrkA1q806OKOg5SZuzr4MuMmMe5Jf6OBGKwCAvxtFm7AZVEoIBA2dcinLwlqlevDkZFn1bM1DQP7B3KpB4n6G0yvrY5MoId2IBN7NiP0mwbhGatvUACYVZSW8glA&p=9prXNSxKLExtCZ!qZHZ6g5qCGtnh7ZigsyaSone8o7Q4JcZ9ztOeYfW4CyjfePKHkZ*eP3gIBjzGKXyo3J4HykVmAdavxI2GzJ1x7C3w1egnvK8Il65UeVImwCRNwf87MSCO9EoRtJTxFgeznqu2ojv3dD5DyQpAC84SzB0ZZNN2DYS42pKmKc54qMd6WQg6xXH6ArlMde*cs$
USR 6 OK henrikboriths@hotmail.com henrik 1 0
MSG Hotmail Hotmail 514
MIME-Version: 1.0
Content-Type: text/x-msmsgsprofile; charset=UTF-8
LoginTime: 1243015350
EmailEnabled: 1
MemberIdHigh: 393216
MemberIdLow: -2124919821
lang_preference: 1033
preferredEmail:
country: DK
PostalCode:
Gender:
Kid: 0
Age:
BDayPre:
Birthday:
Wallet:
Flags: 1073742915
sid: 507
MSPAuth: 9TB2H5vrkA1q806OKOg5SZuzr4MuMmMe5Jf6OBGKwCAvxtFm7AZVEoIBA2dcinLwlqlevDkZFn1bM1DQP7B3KpB4n6G0yvrY5MoId2IBN7NiP0mwbhGatvUACYVZSW8glA
ClientIP: 87.57.6.102
SYN 7 0
ClientPort: 20238
MPOPEnabled: 0
SYN 7 1 219 3
GTC A
BLP BL
PRP PHH 45 000000
PRP MBE N
LSG 0 Individuals 0
LSG 1 MSN personer 0
LSG 2 Favorites 0
MSG Hotmail Hotmail 219
MIME-Version: 1.0
Content-Type: text/x-msmsgsinitialemailnotification; charset=UTF-8
Inbox-Unread: 1
Folders-Unread: 0
Inbox-URL: /cgi-bin/HoTMaiL
Folders-URL: /cgi-bin/folders
Post-URL: http://www.hotmail.com
ILN 0 IDL christianbmoeller@hotmail.com Christian Møller 2789003308
ILN 0 NLN cruelestangel@hotmail.com Cim 2788999212
ILN 0 NLN lennart.christiansen@e-mail.dk Lennart 2789003308
ILN 0 NLN nicholas.dk@ofir.dk Nicholas ~ Elfang - Hvad er forskellen på en struds 2788999212
ILN 0 IDL jullemanden@msn.com Jonaaaaaas 2789003324
ILN 0 AWY djberg80@hotmail.com djberg80@hotmail.com 1985855548
ILN 0 BSY msn@naxx.dk Naxx ★ Gaming.dk 2789003324
CHL 0 32992358012660221012
QRY 9 msmsgs@msnmsgr.com 32
*** Online Contacts Received, displayed on the right
QRY 9
PNG
QNG
PNG
QNG
PNG
QNG

Re: client freezing when logging in

Posted: Fri May 22, 2009 18:11 pm
by andyc
The contacts was the bit I wanted unfortunately! I'd like to see if it sends any other kind of bizarre info with the contacts that messes the script up.

Did it give a line number that the script had frozen on when you pressed ctrl-break?

Thanks.

Re: client freezing when logging in

Posted: Fri May 22, 2009 18:17 pm
by cyan
It starts writing the contact list and then, when there's a few left it writes this:

Code: Select all

CHG 8 NLN
UUX 0 0
CHG 8 NLN 4096
ILN 0 NLN anderskuk@hotmail.com Anders "k U k" Kristensen 2254290988
ILN 0 NLN raldo@ofir.dk RalF 2788999204
ILN 0 IDL doncarle@gmail.com Jeppe // Moloch - :D 2789003324
ILN 0 NLN caspar@onlajn.dk RAPSAC 2789003324
ILN 0 BSY msjohansen@adslhome.dk Mark 2789003308
ILN 0 IDL tv87@msn.com tv - (8) Creed - With arms wide open (8) 1985859628
MSG Hotmail Hotmail 219
MIME-Version: 1.0
Content-Type: text/x-msmsgsinitialemailnotification; charset=UTF-8
Inbox-Unread: 1
Folders-Unread: 0
Inbox-URL: /cgi-bin/HoTMaiL
Folders-URL: /cgi-bin/folders
Post-URL: http://www.hotmail.com
ILN 0 IDL christianbmoeller@hotmail.com Christian Møller 2789003308
ILN 0 NLN cruelestangel@hotmail.com Cim 2788999212
ILN 0 NLN lennart.christiansen@e-mail.dk Lennart 2789003308
ILN 0 NLN nicholas.dk@ofir.dk Nicholas ~ Elfang - Hvad er forskellen på en struds 2788999212
ILN 0 IDL jullemanden@msn.com Jonaaaaaas 2789003324
ILN 0 AWY djberg80@hotmail.com djberg80@hotmail.com 1985855548
ILN 0 BSY msn@naxx.dk Naxx ★ Gaming.dk 2789003324
CHL 0 32992358012660221012
QRY 9 msmsgs@msnmsgr.com 32
*** Online Contacts Received, displayed on the right
other than that, nothing seems strange when receiving contacts.

Re: client freezing when logging in

Posted: Fri May 22, 2009 19:12 pm
by andyc
Cool thanks.

Did you manage to see the line that it stops at when you hit ctrl-break by the way? It'll say under the Status tab in mIRC after you've hit ctrl-break.

Re: client freezing when logging in

Posted: Fri May 22, 2009 19:27 pm
by cyan
Are you talking about this one? :)

Code: Select all

* Break: command halted (line 737, msn.mrc)

Re: client freezing when logging in

Posted: Fri May 22, 2009 19:53 pm
by andyc
Brill that's the one thanks. I can work on trying to stop it happening now.

Re: client freezing when logging in

Posted: Fri May 22, 2009 20:42 pm
by andyc
I wonder if this will help. In mIRC, type:
//run $mircdir $+ msn
Then close mIRC, delete msn.mrc and replace it with the one I've attached to this post.

Then try reconnecting to MSN. It may not lock up anymore. Then again it might!

[attachment removed]

Re: client freezing when logging in

Posted: Fri May 22, 2009 22:29 pm
by cyan
Sweet! .. It doesn't lock up any more :mrgreen: :lol:

Thanks a lot for your time, i appreciate it.

Re: client freezing when logging in

Posted: Sat May 23, 2009 9:36 am
by andyc
Rock and roll!

I'm working on some bug fixes for a new version at the moment, so that's helped a lot. Thanks for persevering.