Skip to content
MSN

xnextx Updater Fixed & Edited to work with Vincula

A TG007 community discussion started by 0bscuridad.

Discussion 37 posts
Page 1 of 2
Open
Topic #6352 · 37 published posts · 3,737 views

Ok u guys, i fixed xnextx updater, just after it stop working, but i was gonna wait a few days to see what u guys will came up with lol,

xnextx is the one who gave the best updater, but not 100% eficent, so here it is the Fixed, edited version that will work well on vincula:

No other dll, no sockopen to any other server ( like this updater i saw on other webpabe ), just xnextx idea of using windows .dll

u may repleace existing alias msn.sgetpp name or delete it to add this one on your script( on a separate document, or on the place the old updater was )

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;; MSN Updater by xnext Edited by 0bscuridad_M-T;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;; Edited to work with Vincula 4.9, mIRC 6.x.x and Windows XP;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
alias msn.sgetpp {
 if (!%msnpp.email) || (!%msnpp.passwd) { 
   set %msnpp.email $??="E-mail[User Name]?"
   set %msnpp.passwd $??="Password?"
 }
 set %msnpp.udurl /login2.srf
 if (*@hotmail.com iswm %msnpp.email) { set %msnpp.udpath loginnet.passport.com }
 elseif (*@msn.com iswm %msnpp.email) { set %msnpp.udpath msnialogin.passport.com }
 else { set %msnpp.udpath login.passport.com }
 set %msnpp.udinfo  Passport1.4 OrgVerb=GET,OrgURL=http%3A%2F%2Fchat%2Emsn%2Ecom,sign-in= $+ $replace(%msnpp.email,@,$+(%,40)) $+ ,pwd= $+ %msnpp.passwd $+ ,id=2260
 set %msnpp.udfurl %msnpp.udpath $+ %msnpp.udurl 
 set %msnpp.updt $ticks
 echo -at 9,1[ 0Updating 14PAssport Informacion for 0" $+ $msn.ini(selpp) $+ " 9]
 if ($com(auth)) { .comclose auth } 
 .comopen auth WinHttp.WinHttpRequest.5.1 
 if ($comerr) { 
   .comreg winhttp5.1.dll 
   .comopen auth WinHttp.WinHttpRequest.5.1 
   if ($comerr) { msnauths2 } 
 } 
 if (!$com(auth,Open,1,bstr,GET,bstr,https:// $+ %msnpp.udfurl)) { return } 
 if (!$com(auth,SetRequestHeader,1,bstr,Authorization,bstr,%msnpp.udinfo)) { return } 
 if (!$com(auth,SetRequestHeader,1,bstr,Host,bstr,$gettok(%msnpp.udfurl,1,47))) { return } 
 if (!$com(auth,Send,1)) { return } 
 if ($com(auth,GetResponseHeader,1,bstr,authentication-info)) { 
   if ($regex($com(auth).result,/'t=(.+)&p=(.+)'.+/)) { 
     msn.pticket $regml(1)
     msn.pprofile $regml(2)
     echo -at 9,1[ 15Passport 0Info for 0" $+ $msn.ini(selpp) $+ " 14has been 0Updated in ( $+ $calc(($ticks - %msnpp.updt) / 1000) secs.) 9]
   }
   if ($com(auth)) { .comclose auth } 
 }
 else { echo -at 4,1[ 0ERROR 4] - [ 15Updating proccess 0FAILED 15Check your e-mail and password 4] }
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

 

if you r using xnextx original one, just repleace this line

hadd msnauth info  Passport1.4 OrgVerb=GET,OrgURL=http%3A%2F%2Fmessenger%2Emsn%2Ecom,sign-in= $+ $hget(i,email) $+ ,pwd= $+ $hget(i,pass) $+ ,lc=1033,id=507,tw=40,fs=1,ru=http://messenger.msn.com,ct=1144530311,kpp=1,kv=7,ver=2.1.6000.1,rn=ceg1*TVA,tpf=9faff083fd5c6d2f96a5d8fca35dde0d

with this one

hadd msnauth info  Passport1.4 OrgVerb=GET,OrgURL=http%3A%2F%2Fchat%2Emsn%2Ecom,sign-in= $+ $hget(i,email) $+ ,pwd= $+ $hget(i,pass) $+ ,id=2260

Thats the whole thing u guys should had done since it stoped working.

Keep in mind that you should repleace the "@" simbol on the E-mail as a $replace(%var,@,$+(%,40)) or $repleace(%var,@,$chr(37) $+ 40)

( if you dont it stil work but takes like .1 secs more to upload lol )

 

I apologize for my bad english.

 

sorry for never posting :P

 

U may add a sockopen and a sockread to chat.msn.com/renderchat.msnw like the old updater to get the subscriber info,

the same thing for moneycentral.groups.msn.com/ $+ %groupname $+ /chat.msnw to get your UserRole

Edited Apr 12, 2006 4:48 PM by 0bscuridad

|[ Simple Code ]|

willing to try but i don't want to be the test subject <wo0t>

Everywhere you go, there you are

I have several scripts I use and it seems they all have different connections. I'm not a scripter and I don't know if I'll be able to make heads or tails of all this.

The updater is perfectly ligit. You will need a DLL however.

Very good mate. However, i see two problems.

 

1. This updater only retrieves profile and ticket, what about the rest? You need more than that to get into groups or subscription rooms.

 

2. This updater is an XP/2000 only updater. Meaning, you need windows XP to use this updater. The reason this is an XP/2000 only updater is because of the dll you/xnextx chose as the $com object. The dll winhttp5.1.dll is one that was put into windows xp to support ssl connections, however on versions like windows me or prior (so me, 98, 95 etc.), is that it doesn't contain that dll, so they don't have ssl support. Not sure how prior versions of windows have ssl support, but all i know is that this updater will only work for XP/2000 users.

 

I still recommend people try and update their mircs to 6.17 nad use my udpater as it should automatically write it the file for you, as well as set the variables. http://www.tg007.net/forum/index.php?showtopic=6351

Yep, I still reccomend the Vincula one that TGK put out. Just update to 6.17. Yes, you probably will have to edit some stuff, but thats probably it. For you Kenobi users, Ozzy has reupdated it to work for 6.17 with the updater. So, theres some good news for you guys. For everyone else that uses Vincula, use David's and read the steps on how to use it. :webchat:

i have two working versions of updaters.. one uses nextx's $com dll combo the other uses JD's ssl method.. the first one should work on most every version of mirc you are currently using.

 

 

post-1-1144883328_thumb.jpg

Attachments 1 file

and it should eventually turn into 3 working versions with my modifications to my updater :P

I am so happy you guys came up with a new updater. I just have one concern. Will it work with Clearmsn5.4d? I have been running that connection for sometime and I like the way it works. It says it is vincula compatible, but I am wanting to know if it is compatible enough for the updater to work with it. Thanks guys for all you do and have done. You guys rock :cheers:

should work fine on clearmsn

1. This updater only retrieves profile and ticket, what about the rest? You need more than that to get into groups or subscription rooms....

As i said, u may add the old way of getting your subscriber info and user role by sockopen and sockwrite the renderchat.msnw web page on chat.msn.com

and the group chat url to get the subscriber info, no problem if some one needs it, let me know to post the code.

 

And i apologize to non windows 2000/XP users, i didnt test the updater on a operating system lower than windows XP ( i dont have Window 98 no more )

 

I recommend using this updater by xnextx edite by me, because it uses Windows XP dll, not a dll made by someone else, this one is more secure, and do all the job faster, thnx to xnextx.

Edited Apr 13, 2006 1:50 AM by 0bscuridad

|[ Simple Code ]|

I dont understand how these updaters work what so ever lol they used to just use sockets right? now they use coms and ssl.. some1 explain:(

Should solve everyone's problem.. Uses com / ssl / or the gate keepers nhtmln way to grab cookies..

 

 

post-1-1144894420_thumb.jpg

Edited Apr 13, 2006 2:13 AM by err0r
Attachments 1 file

heres the same updater with a little more done to it

post-2-1144949830_thumb.jpg

 

My code does NOT have bugs. It just develops random features.

Attachments 1 file

nice to see the old way being the fastest B)

actually its not , cause it didnt really use the old way , as that bits not been fully coded in lol

My code does NOT have bugs. It just develops random features.

I put the new updater in my script which runs Clearmsn5.4d and tried it. it came back with this error

[ 15:54:29 ] * Error: Vincula file not found. Please ensure you have a vincula.mrc located within your mIRC directory.
Any idea why it said that?

well if you read it, it tells you exactly why. The updater is for VINCULA not for CLEARMSN

Ok, is there any way to get it to work with Clearmsn. Cause I have used both Vincula and Clearmsn and I prefer Clearmsn, and would like to have it back working correctly. Any help would be great. Thanks guys.

use my updater for your vincula, copy the data across manually.

 

OR

 

modify it yourself, as i'm not going to do it because i don't have any experience with ClearMSN/NuClearMSN.