Skip to content
MSN

Connection help needed

A TG007 community discussion started by Spike1506.

Discussion 19 posts
Page 1 of 1
Open
Topic #3749 · 19 published posts · 1,135 views

my connection doesnt want to join.. i always get a Auth. Failed error

my passport is updated but it just doesnt want to join a room..

 

i hope someone would be able to get my connection working/fixed :$

 

and i hope that someone would help me to get everything decoded.. (like the nicklist)

 

thanks in advance

 

alias debug {
 if (!$window(@Debug)) window -n @Debug
 echo -t @Debug $sockname $+ $1-
}

alias verbindmirc {
 var %port = $rand(1111,9999)
 while (!$portfree(%port)) { var %port $rand(1111,9999) }
 socklisten hermirc %port
 server localhost %port
}

;MSN OCXless Auth Generator - By eXonyte [modded by The Gate Keeper]
alias dc.auth {
 if ($prop == open) return IRCVERS IRC8 MSN-OCX!9.02.0503.2301 $crlf $iif((room* iswm $1) && (%nick),NICK %nick $crlf) AUTH $2 I $+(:GKSSP\0\0\0,$chr(3),\0\0\0,$chr(1),\0\0\0)
 if (*:GKSSP* iswm $1-) { var %x, %re = .*:GKSSP\\0.*\\0\\0.*\\0\\0(.*), %y = $regsub($1-,%re,,%x) | tokenize 32 $regml(1) }
 bset &h1 1 101 100 112 123 125 101 124 119 120 114 100 115 101 125 125 117 $str(54 $+ $chr(32),48) $mh.tobin($1-)
 bset &h2 1 15 14 26 17 23 15 22 29 18 24 14 25 15 23 23 31 $str(92 $+ $chr(32),48) $mh.hex2bin($md5(&h1,1))
 return $+(:GKSSP\0\0\0,$chr(2),\0\0\0,$chr(3),\0\0\0,$mh.unhex($md5(&h2,1)))
}
alias mh.tobin {
 var %l 1, %r, %x $len($1)
 while (%l <= %x) {
   if ($mid($1,%l,1) == \) {
     inc %l
     if ($mid($1,%l,1) == 0) %r = %r 0
     elseif ($mid($1,%l,1) == t) %r = %r 9
     elseif ($mid($1,%l,1) == n) %r = %r 10
     elseif ($mid($1,%l,1) == r) %r = %r 13
     elseif ($mid($1,%l,1) == b) %r = %r 32
     elseif ($mid($1,%l,1) == c) %r = %r 44
     elseif ($mid($1,%l,1) == \) %r = %r 92
   }
   else %r = %r $asc($mid($1,%l,1))
   inc %l
 }
 return %r
}
alias mh.hex2bin {
 var %l 1, %r, %x $len($1)
 while (%l <= %x) {
   %r = %r $base($mid($1,%l,2),16,10)
   inc %l 2
 }
 return %r
}
alias mh.unhex {
 var %l 1, %r, %x $remove($1-,$chr(32)), %y $len(%x)
 while (%l <= %y) {
   if ($mid(%x,%l,2) == 00) %r = %r $+ \0
   elseif ($mid(%x,%l,2) == 0A) %r = %r $+ \n
   elseif ($mid(%x,%l,2) == 0D) %r = %r $+ \r
   elseif ($mid(%x,%l,2) == 2C) %r = %r $+ \c
   elseif ($mid(%x,%l,2) == 09) %r = %r $+ \t
   elseif ($mid(%x,%l,2) == 5C) %r = %r $+ \\
   elseif ($mid(%x,%l,2) == 20) %r = %r $+ \b
   else %r = %r $+ $chr($base($mid(%x,%l,2),16,10))
   inc %l 2
 }
 return %r
}
alias pass sockwrite -tn $hget(sensiva,$chan) mode $me +h $$?*="Password"
alias msn {
 if (!$hget(sensiva)) hmake sensiva 10
 sockopen normale.controle 207.68.167.253 6667
}
alias normale.controle {
 if ($sock($sockname)) sockwrite -n $sockname $crlf
 else .timerhousocket off
}

on *:sockopen:normale.controle:{ .timerhousocket 0 8 normale.controle | verbindmirc | sockwrite -n $sockname $dc.auth($sockname,GateKeeperPassport).open | var %port = $rand(1111,9999) | while (!$portfree(%port)) { inc %port } }
on *:sockread:normale.controle:{
 var %buffer | sockread %buffer | tokenize 32 %buffer | debug $1-
 if ($1 == AUTH) {
   if (:GKSSP* iswm $4) sockwrite -n $sockname $1-3 $dc.auth($4 $+ $sock($sockname).ip)
   elseif (:ok == $4) sockwrite -n $sockname AUTH GateKeeperPassport S : $+ $base($len(%ticket),10,16,8) $+ %ticket $+ $base($len(%profile),10,16,8) $+ %profile $+ $lf $+ PROP $ SUBSCRIBERINFO : $+ %subinfo
   else sockwrite -n $sockname NICK $iif(%nick,%nick,DC $+ $rand(000,999))
 }
 elseif ($2 == 001) sockwrite -n mirc $1-  $crlf $1 005 $dc.nick(%n,$3) IRCX CHANTYPES=# PREFIX=(qov).@+ CHANMODES=b,k,l,defhimnprsStuwWx NETWORK=MSN :Are supported by this server
 elseif ($2 == 908) { sockwrite -n mirc $1- | echo 4 -st SubscriberInfo Failed - Please Update Subinfo & Type /msn }
 elseif ($2 == 910) { sockwrite -n mirc $1- | echo 4 -st Lookup $right($4-,-1) - Please Update Cookies & Type /msn | sockclose $sockname }
 elseif ($2 == 702) { echo $color(info) -at $hget(sensiva,chan) Not Found }
 elseif ($2 == 613) {
   echo $color(info) -at $hget(sensiva,chan) Found... Joining
   var %sockname room. $+ $r(A,Z) $+ $r(A,Z) $+ $r(A,Z) $+ $r(A,Z)
   sockopen %sockname $right($4,-1) $5
   sockmark %sockname $right($4,-1)
   hadd sensiva $hget(sensiva,chan) %sockname
 }
}
on *:sockopen:room*:{ sockwrite -n $sockname $dc.auth($sockname,GateKeeperPassport).open | var %port = $rand(1111,9999) | while (!$portfree(%port)) { inc %port } | sockmark $sockname $hget(sensiva,chan) }
on *:sockread:room*:{
 var %buffer | sockread %buffer | tokenize 32 %buffer | debug $1-
 if ($1 == PING) sockwrite -n $sockname PONG $2-
 elseif ($2 isin 002 003 004 251 252 253 254 255 265 266 422) return
 elseif ($1 == AUTH) {
   if (:GKSSP* iswm $4) sockwrite -n $sockname $1-3 $dc.auth($4 $+ $sock($sockname).ip)
   elseif (:ok == $4) {
     sockwrite -n $sockname $1-3 $+(:$base($len(%ticket),10,16,8),%ticket,$base($len(%profile),10,16,8),%profile,$crlf,User $me * * :Sensiva $crlf)
     sockwrite -n $sockname PROP $ MSNPROFILE :0
     sockwrite -n $sockname PROP $ SUBSCRIBERINFO : $+ %subinfo
   }
 }
 elseif ($2 == 001) sockwrite -n $sockname JOIN $sock($sockname).mark
 elseif ($2 == 353) { .var %i = 5, %n | while (%i < $numtok($1-,32)) { inc %i | .var %n = %n $gettok($gettok($1-,%i,32),-1,44) } | sockwrite -n mirc $1-5 : $+ %n | return }
 elseif ($2 == 908) { echo 4 -st SubscriberInfo Failed - Please Update Subinfo & Type /join $sock($sockname).mark }
 elseif ($2 == 910) { echo 4 -st Room $right($5-,-1) - Please Update Cookies & Type /join $sock($sockname).mark | sockclose $sockname }
 elseif ($2 == JOIN) sockwrite -n mirc $1-2 $4
 elseif ($2 == PRIVMSG) { $iif($left($4,3) == : S,sockwrite -n mirc $1-3 : $+ $left($6-,-1),sockwrite -n mirc $1-) | return }
 else sockwrite -n mirc $1-
}

on *:socklisten:hermirc: { sockaccept Mirc | sockclose $sockname }
on *:sockread:Mirc:{
 var %buffer | sockread %buffer | tokenize 32 %buffer | debug $1-
 if ($1 == Join) {
   if ($sock($hget(sensiva,$2))) { sockwrite -n $ifmatch $1- }
   else { sockwrite -n normale.controle FINDS $2 | hadd sensiva chan $2 }
 }
 elseif ($sock($hget(sensiva,$2))) { sockwrite -n $ifmatch $1- }
 elseif ($sock($hget(sensiva,$comchan($2,1)))) { sockwrite -n $ifmatch $1- }
 elseif ($sock(room*,0)) { sockwrite -n room* $1- | halt }
} 

on line 101 you missed a comma at the start of the $+() string, so replace the line with this

 

sockwrite -n $sockname $1-3 $+(:,$base($len(%ticket),10,16,8),%ticket,$base($len(%profile),10,16,8),%profile,$crlf,User $me * * :Sensiva $crlf)

 

"the important thing was, that i had an onion on my belt, which was the style at the time"

You spotted one missing comma in all of that?

thats why coke bottle glasses come in handy lol

lol

 

Edit:

oh one more thing, i forgot to add this ealier

 

where you've got the list of raw numbers

 

elseif ($2 isin 002 003 004 251 252 253 254 255 265 266 422) return

 

take out 004, and put

 

elseif ($2 == 004) { sockwrite -n mirc $1 005 $3 IRCX CHANTYPES=% PREFIX=(qov).@+ CHANMODES=b,k,l,defhimnprstuwWx NETWORK=MSN :are supported by this server }

 

otherwise you'll keep leaving the room right after you join it

Edited Jun 9, 2005 1:39 PM by Nimbus03

"the important thing was, that i had an onion on my belt, which was the style at the time"

ok it works fine now, im able to join a room but i got a other problem now.. if i part the room and i want to join a other room i get this:

 

-

* /sockwrite: 'normale.controle' no such socket (line 121, sensiva.mrc)

-

 

also it shows the users font thing..

 

(15:52:11) (.ŦÑ?Î?Å‹Î?ŧỷ®) S Comic\bSans\bMS;0 anyone know if the Sysop_ServiceBot is released yet for download?

 

and i want to get everything decoded (if it's possible)

 

thanks in advance

Edited Jun 9, 2005 1:53 PM by Spike1506

that's your lookup server socket, that doesn't stay open very long and you can't keep it open with ping pong cos it doesn't send the ping event, so you need a timer that sends info to keep it open

you start the timer when you've authed your passport, so add this after your passport auth code

 

if (AUTH GateKeeperPassport *@GateKeeper* iswm $1-) {
.timer $+ $sockname 0 10 sockwrite -n $sockname VERSION
}

 

when you've left the room and want to join another, it's most likely that the socket has closed, so you'll need to re-open it, just type /msn again to connect to the server again, or you could put a code that opens it when you leave the room or get disconnected, something like

 

on *:part:*:{
 disconnect
}
on *:disconnect:{
 sockclose normale.controle
 msn
}

 

for the font thing, replace the line with if $2 == PRIVMSG in it with this

 

elseif ($2 == PRIVMSG) { $iif($left($4,3) == :S,sockwrite -n mirc $1-3 : $+ $left($6-,-1),sockwrite -n mirc $1-) | return }

 

as for the decoding, you'll need something like vincula's msn.decode thing, and that would take ages to make

 

hope this has helped

 

 

"the important thing was, that i had an onion on my belt, which was the style at the time"

Ok it's working fine but i dont understand where to put that timer in my connection..

this is what i have now:

 

alias debug {
 if (!$window(@Debug)) window -n @Debug
 echo -t @Debug $sockname $+ $1-
}

alias verbindmirc {
 var %port = $rand(1111,9999)
 while (!$portfree(%port)) { var %port $rand(1111,9999) }
 socklisten hermirc %port
 server localhost %port
}

;MSN OCXless Auth Generator - By eXonyte [modded by The Gate Keeper]
alias dc.auth {
 if ($prop == open) return IRCVERS IRC8 MSN-OCX!9.02.0503.2301 $crlf $iif((room* iswm $1) && (%nick),NICK %nick $crlf) AUTH $2 I $+(:GKSSP\0\0\0,$chr(3),\0\0\0,$chr(1),\0\0\0)
 if (*:GKSSP* iswm $1-) { var %x, %re = .*:GKSSP\\0.*\\0\\0.*\\0\\0(.*), %y = $regsub($1-,%re,,%x) | tokenize 32 $regml(1) }
 bset &h1 1 101 100 112 123 125 101 124 119 120 114 100 115 101 125 125 117 $str(54 $+ $chr(32),48) $mh.tobin($1-)
 bset &h2 1 15 14 26 17 23 15 22 29 18 24 14 25 15 23 23 31 $str(92 $+ $chr(32),48) $mh.hex2bin($md5(&h1,1))
 return $+(:GKSSP\0\0\0,$chr(2),\0\0\0,$chr(3),\0\0\0,$mh.unhex($md5(&h2,1)))
}
alias mh.tobin {
 var %l 1, %r, %x $len($1)
 while (%l <= %x) {
   if ($mid($1,%l,1) == \) {
     inc %l
     if ($mid($1,%l,1) == 0) %r = %r 0
     elseif ($mid($1,%l,1) == t) %r = %r 9
     elseif ($mid($1,%l,1) == n) %r = %r 10
     elseif ($mid($1,%l,1) == r) %r = %r 13
     elseif ($mid($1,%l,1) == b) %r = %r 32
     elseif ($mid($1,%l,1) == c) %r = %r 44
     elseif ($mid($1,%l,1) == \) %r = %r 92
   }
   else %r = %r $asc($mid($1,%l,1))
   inc %l
 }
 return %r
}
alias mh.hex2bin {
 var %l 1, %r, %x $len($1)
 while (%l <= %x) {
   %r = %r $base($mid($1,%l,2),16,10)
   inc %l 2
 }
 return %r
}
alias mh.unhex {
 var %l 1, %r, %x $remove($1-,$chr(32)), %y $len(%x)
 while (%l <= %y) {
   if ($mid(%x,%l,2) == 00) %r = %r $+ \0
   elseif ($mid(%x,%l,2) == 0A) %r = %r $+ \n
   elseif ($mid(%x,%l,2) == 0D) %r = %r $+ \r
   elseif ($mid(%x,%l,2) == 2C) %r = %r $+ \c
   elseif ($mid(%x,%l,2) == 09) %r = %r $+ \t
   elseif ($mid(%x,%l,2) == 5C) %r = %r $+ \\
   elseif ($mid(%x,%l,2) == 20) %r = %r $+ \b
   else %r = %r $+ $chr($base($mid(%x,%l,2),16,10))
   inc %l 2
 }
 return %r
}
alias pass sockwrite -tn $hget(sensiva,$chan) mode $me +h $$?*="Password"
alias msn {
 if (!$hget(sensiva)) hmake sensiva 10
 sockopen normale.controle 207.68.167.253 6667
}
alias normale.controle { 
 if ($sock($sockname)) sockwrite -n $sockname $crlf 
 else .timerhousocket off 
}

on *:sockopen:normale.controle:{ .timerhousocket 0 8 normale.controle | verbindmirc | sockwrite -n $sockname $dc.auth($sockname,GateKeeperPassport).open | var %port = $rand(1111,9999) | while (!$portfree(%port)) { inc %port } }

on *:sockread:normale.controle:{
 var %buffer | sockread %buffer | tokenize 32 %buffer | debug $1-
 if ($1 == AUTH) {
   if (:GKSSP* iswm $4) sockwrite -n $sockname $1-3 $dc.auth($4 $+ $sock($sockname).ip)
   elseif (:ok == $4) sockwrite -n $sockname AUTH GateKeeperPassport S : $+ $base($len(%ticket),10,16,8) $+ %ticket $+ $base($len(%profile),10,16,8) $+ %profile $+ $lf $+ PROP $ SUBSCRIBERINFO : $+ %subinfo
   else sockwrite -n $sockname NICK $iif(%nick,%nick,DC $+ $rand(000,999))
 }
 elseif ($2 == 001) sockwrite -n mirc $1-  $crlf $1 005 $dc.nick(%n,$3) IRCX CHANTYPES=# PREFIX=(qov).@+ CHANMODES=b,k,l,defhimnprsStuwWx NETWORK=MSN :Are supported by this server 
 elseif ($2 == 908) { sockwrite -n mirc $1- | echo 4 -st SubscriberInfo Failed - Please Update Subinfo & Type /msn }
 elseif ($2 == 910) { sockwrite -n mirc $1- | echo 4 -st Lookup $right($4-,-1) - Please Update Cookies & Type /msn | sockclose $sockname }
 elseif ($2 == 702) { echo $color(info) -at $hget(sensiva,chan) Not Found }
 elseif ($2 == 613) {
   echo $color(info) -at $hget(sensiva,chan) Found... Joining
   var %sockname room. $+ $r(A,Z) $+ $r(A,Z) $+ $r(A,Z) $+ $r(A,Z)
   sockopen %sockname $right($4,-1) $5
   sockmark %sockname $right($4,-1)
   hadd sensiva $hget(sensiva,chan) %sockname
 }
}
on *:sockopen:room*:{ sockwrite -n $sockname $dc.auth($sockname,GateKeeperPassport).open | var %port = $rand(1111,9999) | while (!$portfree(%port)) { inc %port } | sockmark $sockname $hget(sensiva,chan) }

on *:sockread:room*:{
 var %buffer | sockread %buffer | tokenize 32 %buffer | debug $1-
 if ($1 == PING) sockwrite -n $sockname PONG $2-
 elseif ($2 isin 002 003 251 252 253 254 255 265 266 422) return
 elseif ($2 == 004) { sockwrite -n mirc $1 005 $3 IRCX CHANTYPES=% PREFIX=(qov).@+ CHANMODES=b,k,l,defhimnprstuwWx NETWORK=MSN :are supported by this server }
 elseif ($1 == AUTH) {
   if (:GKSSP* iswm $4) sockwrite -n $sockname $1-3 $dc.auth($4 $+ $sock($sockname).ip)
   elseif (:ok == $4) {
     sockwrite -n $sockname $1-3 $+(:,$base($len(%ticket),10,16,8),%ticket,$base($len(%profile),10,16,8),%profile,$crlf,User $me * * :Sensiva $crlf)
     sockwrite -n $sockname PROP $ SUBSCRIBERINFO : $+ %subinfo
   }
 }
 elseif ($2 == 001) sockwrite -n $sockname JOIN $sock($sockname).mark
 elseif ($2 == 353) { .var %i = 5, %n | while (%i < $numtok($1-,32)) { inc %i | .var %n = %n $gettok($gettok($1-,%i,32),-1,44) } | sockwrite -n mirc $1-5 : $+ %n | return }
 elseif ($2 == 908) { echo 4 -st SubscriberInfo Failed - Please Update Subinfo & Type /join $sock($sockname).mark }
 elseif ($2 == 910) { echo 4 -st Room $right($5-,-1) - Please Update Cookies & Type /join $sock($sockname).mark | sockclose $sockname }
 elseif ($2 == JOIN) sockwrite -n mirc $1-2 $4
 elseif ($2 == PRIVMSG) { $iif($left($4,3) == :S,sockwrite -n mirc $1-3 : $+ $left($6-,-1),sockwrite -n mirc $1-) | return }
 else sockwrite -n mirc $1-
}

on *:socklisten:hermirc: { sockaccept Mirc | sockclose $sockname }
on *:sockread:Mirc:{
 var %buffer | sockread %buffer | tokenize 32 %buffer | debug $1-
 if ($1 == Join) {
   if ($sock($hget(sensiva,$2))) { sockwrite -n $ifmatch $1- }
   else { sockwrite -n normale.controle FINDS $2 | hadd sensiva chan $2 }
 }
 elseif ($sock($hget(sensiva,$2))) { sockwrite -n $ifmatch $1- }
 elseif ($sock($hget(sensiva,$comchan($2,1)))) { sockwrite -n $ifmatch $1- }
 elseif ($sock(room*,0)) { sockwrite -n room* $1- | halt }
}

on *:part:*:{
 disconnect
}
on *:disconnect:{
 sockclose normale.controle
 msn
}

 

and thanks for the help

put it just under ($1 == AUTH) and above ($2 == 001)

like this

 

on *:sockread:normale.controle:{
 var %buffer | sockread %buffer | tokenize 32 %buffer | debug $1-
 if ($1 == AUTH) {
   if (:GKSSP* iswm $4) sockwrite -n $sockname $1-3 $dc.auth($4 $+ $sock($sockname).ip)
   elseif (:ok == $4) sockwrite -n $sockname AUTH GateKeeperPassport S : $+ $base($len(%ticket),10,16,8) $+ %ticket $+ $base($len(%profile),10,16,8) $+ %profile $+ $lf $+ PROP $ SUBSCRIBERINFO : $+ %subinfo
   else sockwrite -n $sockname NICK $iif(%nick,%nick,DC $+ $rand(000,999))
 }
 if (AUTH GateKeeperPassport *@GateKeeper* iswm $1-) {
   .timer $+ $sockname 0 10 sockwrite -n $sockname VERSION
 }
 elseif ($2 == 001) sockwrite -n mirc $1-  $crlf $1 005 $dc.nick(%n,$3) IRCX CHANTYPES=# PREFIX=(qov).@+ CHANMODES=b,k,l,defhimnprsStuwWx NETWORK=MSN :Are supported by this server
 elseif ($2 == 908) { sockwrite -n mirc $1- | echo 4 -st SubscriberInfo Failed - Please Update Subinfo & Type /msn }
 elseif ($2 == 910) { sockwrite -n mirc $1- | echo 4 -st Lookup $right($4-,-1) - Please Update Cookies & Type /msn | sockclose $sockname }
 elseif ($2 == 702) { echo $color(info) -at $hget(sensiva,chan) Not Found }
 elseif ($2 == 613) {
   echo $color(info) -at $hget(sensiva,chan) Found... Joining
   var %sockname room. $+ $r(A,Z) $+ $r(A,Z) $+ $r(A,Z) $+ $r(A,Z)
   sockopen %sockname $right($4,-1) $5
   sockmark %sockname $right($4,-1)
   hadd sensiva $hget(sensiva,chan) %sockname
 }
}

"the important thing was, that i had an onion on my belt, which was the style at the time"

Ok it works fine now.. but now i get disconnected after a few minutes of idling..

how to solve that?

 

(19:05:23) * Disconnected

-

* /sockwrite: 'mirc' no such socket (line 116, sensiva.mrc)

Try changing the word mirc in that line to

$sockname

else sockwrite -n $sockname $1-

 

That didnt help either..

i can't see why it would disconnect while idling, what does it say in the debug window when you disconnect?

"the important thing was, that i had an onion on my belt, which was the style at the time"

this is what i get:

 

(21:09:26)    —› joined (%#Spike1506)

(21:09:26)    —› topic: (My own testing room)

(21:09:27)    —› (%#Spike1506) modes: (+tnlS 38527)

(21:09:29) !                        .Spike1506[Rewt]: Global owner user Spike1506 'Spike1506[Rewt]'

(21:09:29)    —› mode: (Spike1506[Rewt]) sets (+q Spike1506)

(21:10:10)    —› join: (>null) (EF80989D8CDD40AFA13B0B3E6116DB47@GateKeeper)

(21:10:10) * (( /whois start ))

(21:10:10) *  —› >null is "" (EF80989D8CDD40AFA13B0B3E6116DB47@GateKeeper)

(21:10:10)  —› >null halfopped in #Spike1506

(21:10:10)  —› >null using tk2chatchata06 (MSN Chat Service)

(21:10:10) * (( /whois end ))

(21:10:15) !                        .Spike1506[Rewt]: who are you null

(21:10:16) !                        .Spike1506[Rewt]: ?

(21:10:23) !                        .Spike1506[Rewt]: ohw

(21:10:26) !                        .Spike1506[Rewt]: you cant speak

(21:10:36) !                        .Spike1506[Rewt]: use: /topic text here to speak

(21:11:13)    —› part: (>null) (EF80989D8CDD40AFA13B0B3E6116DB47@GateKeeper)

(21:11:13) * Disconnected

(21:11:14)    —› welcome to the msn chat service network

(21:11:14)    —› protocols supported by this server: (PREFIX=(qov).@+ CHANMODES=b,k,l,defhimnprsStuwWx NETWORK=MSN Are supported by this server)

 

(21:10:36) room.HXAU:Spike1506[Rewt]!F273F7B7E89C7A95@GateKeeperPassport PRIVMSG %#Spike1506 :use: /topic text here to speak

(21:10:39) normale.controle:TK2CHATWBC06 351 Spike1506 :9.02.0503.2301

(21:10:49) normale.controle:TK2CHATWBC06 351 Spike1506 :9.02.0503.2301

(21:10:59) normale.controle:TK2CHATWBC06 351 Spike1506 :9.02.0503.2301

(21:11:09) normale.controle:TK2CHATWBC06 351 Spike1506 :9.02.0503.2301

(21:11:13) room.HXAU:>null!EF80989D8CDD40AFA13B0B3E6116DB47@GateKeeper PART %#Spike1506

(21:11:13) MircQUIT :SockBot v0.3 made by Spike1506 http://www.sensiva.net

(21:11:14) MircNICK Spike1506

(21:11:14) MircUSER Sockbot "sock.bot" "localhost" :Sockbot

(21:11:14) normale.controleAUTH GateKeeperPassport S :GKSSP\0¢\0\0\0\0\0\0\0)Pÿõæ¾?±

(21:11:14) normale.controleAUTH GateKeeperPassport S K

(21:11:14) normale.controleAUTH GateKeeperPassport * C615E4A4521ECA6E@GateKeeperPassport 0

(21:11:14) normale.controle:TK2CHATWBC02 001 Spike1506 :Welcome to the MSN Chat Service Network

(21:11:14) normale.controle:TK2CHATWBC02 002 Spike1506 :Your host is TK2CHATWBC02 - running version 9.02.0503.2301

(21:11:14) normale.controle:TK2CHATWBC02 003 Spike1506 :This server was created Mar 23 2005 at 22:10:30 PDT

(21:11:14) normale.controle:TK2CHATWBC02 004 Spike1506 :TK2CHATWBC02 9.02.0503.2301 -adghmpswx

(21:11:14) normale.controle:TK2CHATWBC02 375 Spike1506 :- TK2CHATWBC02 Message of the Day -

(21:11:14) normale.controle:TK2CHATWBC02 372 Spike1506 :-

(21:11:14) normale.controle:TK2CHATWBC02 372 Spike1506 :- ** Welcome to the MSN.com Chat Service Network **

(21:11:14) normale.controle:TK2CHATWBC02 372 Spike1506 :-

(21:11:14) normale.controle:TK2CHATWBC02 376 Spike1506 :End of /MOTD command

(21:11:14) MircUSERHOST Spike1506

(21:11:24) normale.controle:TK2CHATWBC02 351 Spike1506 :9.02.0503.2301

(21:11:35) normale.controle:TK2CHATWBC02 351 Spike1506 :9.02.0503.2301

(21:11:45) normale.controle:TK2CHATWBC02 351 Spike1506 :9.02.0503.2301

(21:11:55) normale.controle:TK2CHATWBC02 351 Spike1506 :9.02.0503.2301

where is it keeping the connection open?

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

u need one of these...

 

if ($1 == PING) { sockwrite -tn $sockname PONG $2- | return }

 

in the sockread from the server.

bfush.PNG

also the on part code is incorrect.

 

you don't need the on part and on disconnect code. Vex's code and a timer to keep the socket alive is the only thing you need.

the timer and pong codes are already in there, and the on part and on disconnect codes are only there so he doesn't have to keep typing /msn to connect to the server, it's just for convenience, it's not mandatory but it helps

"the important thing was, that i had an onion on my belt, which was the style at the time"

but could someone plz edit it so it works fine? because im to n00bish to get it work myself :S