Skip to content
ClearMSN Connection

a little question for you vex

A TG007 community discussion started by Terminal-access.

Discussion 7 posts
Page 1 of 1
Open
Topic #1893 · 7 published posts · 1,650 views

ok dont flame me if this a dumb q just learning to wright / recode connections here

 

at the moment im using botht he vincula connection ( iv highelly modified)

and the clearmsn connection

 

iv noticed then when viewing the debug mode the clearmsn connection

than when a subsciber join it shows

 

gconr.4150 // : nick name n gate JOIN H,U,PXB :roomname

 

i gather that the B = the user is a a subscriber

 

and when a non-subscriber join it shows

 

gconr.4150 // : nick name n gate JOIN H,U,PX0 :roomname

 

now on the vincula conn u dont get those 2 extra char's to determin weather or not the user is a subscriber

 

just wondering how you where able to gert them in your conneciton as im looking recode my vincula conn to include them also as thats what handles most of my room protection at the moment

 

ne and all help would be most apreciated

 

also how did ya manage to get the room creation working wiht out the useage of a html creation part , cuz i been trying to about a month now all i get is

 

no permissions to perform comman lol

 

reguds

 

lee

Edited Nov 13, 2004 4:04 PM by Terminal-access

Terminal-Access

the extra character in the join tag comes from sending IRC8 rather than IRC7 at the beginning of the auth sequence. the ocx sends IRC7 by default, and vincula leaves it at that. if you want those extra characters you have to send IRC8 instead. And you're right about what they mean.

 

for creating rooms, you have to auth on the lookup servers with your passport info, not as a guest. vincula auths as a guest, and guests can't create rooms, only subscribed passports can in subscription chat, and in groups chat, only members of a group can create the group room.

 

for subscription chat, make sure you send your SubscriberInfo to the lookup server. for groups chat, you have to send the UserRole for the group room you want to create (you can't create any other room.) Which means to create multiple groups rooms, you will have to reset your groups lookup connection for each room, using a different UserRole every time.

 

hope that helps.

bfush.PNG

ahh yea i was thinking along those lines myself in reguards to the Room creation

 

i had acctually gatherd what they ment just by looking over the coding in your connection and that of the id4 connection and i knew it was some thing to do with ircvars but just not exactelly what lol

 

one last q on this subject

 

to add the irc8 vars in i know i need to chage the if ($1 = ircvars)

 

but ihave 2 of them not shure what one to change or if i should be changing both

 

 

on *:SOCKREAD:msn.client.lm*: {
 if ($sockerr > 0) { msn.sockerr $sockname read | return }

 var %read, %x $right($sockname,4)
 sockread %read
 while ($sockbr > 0) {
   tokenize 32 %read

   if ($msn.ini(debug)) echo @debug $sockname $+ : $1-

   if (AUTH == $1) {
     sockwrite -tn msn.look. $+ %x %read
     if (AUTH GateKeeper S :GKSSP* iswm $1-) {
       sockclose msn.client.* $+ %x
       window -c @Vincula $+ %x
       .remove $+(",$scriptdir,vincula,$left(%x,1),.html")
       return
     }
   }
   elseif (IRCVERS == $1) { sockwrite -tn msn.look. $+ %x %read }
   sockread %read
 }
}

 

 

 

and the other is

 

on *:SOCKREAD:msn.client.rm: {
 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 (AUTH == $1) {
     if (AUTH GateKeeper* S :GKSSP* iswm $1-) {
       if ($msn.get(999,guest)) sockwrite -tn msn.server.999 $1-
       else sockwrite -tn msn.server.999 $1 GateKeeperPassport $3-
       sockclose $sockname
       var %s $msn.ndll(select,$window(@VinculaHTML).hwnd)
       %s = $msn.ndll(navigate,about:blank)
       return
     }
     else {
       if ($msn.get(999,guest)) sockwrite -tn msn.server.999 $1-
       else sockwrite -tn msn.server.999 $1 GateKeeperPassport $3-
     }
   }
   elseif (IRCVERS == $1) { 
     if ($msn.get(999,nick)) sockwrite -tn msn.server.999 NICK $msn.get(999,nick) 
     sockwrite -tn msn.server.999 $1-
   }
   sockread %read
 }
}

 

 

do i need ot change just one of them , both , or is there more to it than that ? ill have a go at playing around with the coding in the mean time though see what i can coem up with

 

and thanx for the help really apreciated biggrin.gif

 

regd

lee

 

Additional :

ok so iv been playing around with the coding still no luck yet sad.gif

 

iv changed

elseif (IRCVERS == $1) { sockwrite -tn msn.look. $+ %x %read }

 

to

 

   elseif (IRCVERS == $1) { sockwrite -tn msn.look. $+ %x IRCVERS IRC8 MSN-OCX!9.02.0309.2602 } 

( %x determins weather or not its  look.ccom or look.main )

 

changed

 

   elseif (IRCVERS == $1) { 
     if ($msn.get(999,nick)) sockwrite -tn msn.server.999 NICK $msn.get(999,nick) 
     sockwrite -tn msn.server.999 $1-
   }

 

to

 

   elseif (IRCVERS == $1) { 
   if ($msn.get(999,nick)) sockwrite -tn msn.server.999 NICK $msn.get(999,nick) $lf $1 IRC8 $3- }
}

( the sockwrite and the if $1 IRC8 $3- apper to do the same thing )

Edited Nov 13, 2004 8:38 PM by Terminal-access

Terminal-Access

should work okay. the join tags obviously will only show up on the channel socket, tho. i dont know what, if any, good it does to set the version to irc8 on the lookups. but i do it anyway.

bfush.PNG

that what i posted erlier dont work at all it acctually crashez vincula and then returns all sorts of errors and sokunavalivle commands :|

 

just a though has any cone coded an oxc that send irc8 rather than irc 7 ??

 

because it looks like the way vincula was coded it connto withstand sending irc8 vers for some reaosn :S

 

after iv added the necesayy link to the script al i get it

 

either

 

/sockrename: 'msn.server.999' socket unavailable (line 435, Vincula4.9s2.mrc)

 

or at the worst the script hangs n crashez

 

Edited Nov 14, 2004 4:34 AM by Terminal-access

Terminal-Access

its prettty easy

 

its all on $nick coding..

 

eg

 

on:!*Chk Ver /check into code / $on $nick end.

 

^^^

 

Base coding

ok managed to get the IRC8 Vers in to vincula at last

 

it turnd out to be one little thing i was missing lol

 

Origional Coding

 

  elseif (IRCVERS == $1) { 
    if ($msn.get(999,nick)) sockwrite -tn msn.server.999 NICK $msn.get(999,nick) 
    sockwrite -tn msn.server.999 $1-  
  }

 

Coding Modified to Send IRC8 Vers

 

  elseif (IRCVERS == $1) { 
    if ($msn.get(999,nick)) sockwrite -tn msn.server.999 NICK $msn.get(999,nick) 
    sockwrite -tn msn.server.999 IRCVERS IRC8 MSN-OCX!9.02.0402.1601  
  }

 

Origional Coding

 

elseif (IRCVERS == $1) sockwrite -tn msn.look. $+ %x %read

 

Coding Modified to Send IRC8 Vers

 

elseif (IRCVERS == $1)  sockwrite -n msn.look. $+ %x IRCVERS IRC8 MSN-OCX!9.02.0402.1601 

 

 

to get the script to acxcept this 100% i also had to add a lin in tot he on start part of the script to update the passport , otherwize it would return

 

/sockrename: 'msn.server.999' socket unavailable (line 435, Vincula4.9s2.mrc)

 

and also a software cause conneciton abot error message

 

Edited Nov 15, 2004 8:05 PM by Terminal-access

Terminal-Access