Skip to content
MSN Addons

OCX-less MSN Connection

A TG007 community discussion started by Pariah.

Discussion 9 posts
Page 1 of 1
Open
Topic #4779 · 9 published posts · 1,740 views

finds -> AUTH GateKeeperPassport S K

finds -> AUTH 1 * 7D977A0D1519525C@GateKeeperPassport 0

finds -> :tk2chatwbc04 462 nickname :You may not re-register

 

That raw (462) is stopping me from connecting. Anyone know how to bypass it? Because right now nothing is happening whenever I send 613 (from a join command).

if u 've the cookies dont use the nick name with it try that just nick or cookies

what is the connection you are using?

My own.

 

The code looks like this...

 

on 1:sockopen:finds:{ 
 sockwrite -n $sockname IRCVERS IRC8 MSN-OCX!9.02.0310.2401
 sockwrite -n $sockname AUTH GateKeeperPassport I $+(:GKSSP\0\0\0,$chr(3),\0\0\0,$chr(1),\0\0\0)
}

on 1:sockread:finds:{
 .var %read | .sockread %read | .tokenize 32 %read | .echo @debug $sockname -> $1-
 if ($1 == AUTH) {
   if ($2 == GateKeeperPassport) {
     if ($3 == S) && ($4 != :oK) {
       sockwrite -tn $sockname $1-3 $mh.calc($4 $+ $sock($sockname).ip)
       return
     }
     else {
       sockwrite -n $sockname AUTH 1 S $base($len(%msn.ticket),10,16,8) $+ %msn.ticket $+ $base($len(%msn.profile),10,16,8) $+ %msn.profile
       if (%msn.subinfo) sockwrite -n $sockname PROP $ SUBSCRIBERINFO %msn.subinfo
       sockwrite -n $sockname USER 0 0 0 :Aura 2.0
       .timerkeep 0 8 sockwrite -n $sockname $crlf
       return
     }
   }
   elseif ($2 == 001) { sockwrite -n proxy :MSN 001 $me : $+ Connection to FINDS server established. | halt }
etc
etc
}
}

 

The problem is, I get that 462 error no matter how I auth - I've tried using Sid's dll and also using eXo's auth strings.

 

Help...

Edited Sep 15, 2005 8:44 AM by Pariah

as far as i'm aware you don't need the sockwrite for user if it's for finds.

You're probably right!

 

I'm using Dan's (Zeus) code now anyway. Thanks for your help.

Pariah

 

i dont know if this will help at all , but here's how the vincula finds socket is written for a non ocxless dependent connection

 

 

on *:SOCKOPEN:msn.look.*: {
 if ($sockerr > 0) { msn.sockerr $sockname open | return }
 sockwrite -tn $sockname IRCVERS IRC8 MSN-OCX!9.02.0310.2401 
 sockwrite -tn $sockname AUTH GateKeeperPassport I $+(:GKSSP\0\0\0,$chr(3),\0\0\0,$chr(1),\0\0\0)
}

 

on *:SOCKCLOSE:msn.look.*: {
 var %x = $sockname
 if ($sockerr > 0) { msn.sockerr $sockname close }
 else { .timer $+ %x off }
}

 

on *:SOCKREAD:msn.look.*: {
 if ($sockerr > 0) { msn.sockerr $sockname read | return }
 var %read
 sockread %read
 while ($sockbr > 0) {
   tokenize 32 %read
   if ($msn.ini(debug)) echo @debug $sockname $+ : $1-
   if ($1 = AUTH) {
     if (:GKSSP* iswm $4) sockwrite -n $sockname $1-3 $mh.calc($4 $+ $sock($sockname).ip)
     elseif ($4 = :OK) sockwrite -n $sockname $1-3 $+(:,$msn.authkey,$crlf) $+ $iif((*main iswm $sockname) && (%msnpp.subscriberinfo),PROP $ SUBSCRIBERINFO : $+ %msnpp.subscriberinfo)
     elseif ($3 = *) {
       sockwrite -n $sockname NICK $me
       if ($sockname == msn.look.main) {
         .timermsn.look.main 0 20 sockwrite -tn msn.look.main VERSION
         .timer.get.ud 1 4 return $noaccount
         if ($sock(msn.server.*,0) == 0) scid $activecid echo $color(info2) -at * Main MSN Server Connection Established
         if (!$sock(msn.look.comm)) msn.lookcon -x
       }
       else {
         .timermsn.look.comm 0 20 sockwrite -tn msn.look.comm VERSION
         if ($sock(msn.server.*,0) == 0) scid $activecid echo $color(info2) -at * MSN Groups Server Connection Established
         if (!$sock(msn.look.main)) msn.lookcon -x
       }
     }
   }

e.t.c
rest of finds socket coding  goes here
e.t.c

Terminal-Access

As gate said earlier you don't need the sockwrite .

 

 

There is nothing so absurd but some philosopher has said it

That raw (462) is stopping me from connecting. Anyone know how to bypass it? Because right now nothing is happening whenever I send 613 (from a join command).

 

 

Try this.

for halt the raw

 

if ( 462 == $2 ) return

 

;---

 

 

the find's dont use nickname.

now if u use the FINDS comand...

 

if ( 613 == $2 ) {

echo 4 -a $1-

set %ip $mid( $4, 2 )

sockopen sock %ip port

 

}

 

 

etc etc....