mIRC Home    About    Download    Register    News    Help

Print Thread
T
Temmer
Temmer
T
let me try to explain this, as the subject isnt that clear

i use irssi on my linux router, and i connect with mIRC to it's proxy (irssi acts like an irc server to mirc)
so when i connect to irssi, i get these reply's:
Code:
Welcome to the Internet Relay Network
Your host is irssi-proxy, running version 0.8.6
This server was created ...
neejberhood.proxy 0.8.6 oirw abiklmnopqstv

so mirc sets the $network to 'neejberhood.proxy'

but when i use /version (done automatically by a script to have the proper network name) i get the real server's version reply:
Code:
WHOX WALLCHOPS WALLVOICES USERIP CPRIVMSG CNOTICE SILENCE=15 MODES=6 MAXCHANNELS=20 MAXBANS=45 NICKLEN=20 TOPICLEN=250 AWAYLEN=160 KICKLEN=250 are supported by this server
CHANTYPES=#& PREFIX=(ov)@+ CHANMODES=b,k,l,imnpstrDcCNu CASEMAPPING=rfc1459 NETWORK=Neejberhood are supported by this server

so now mirc sets $network to 'Neejberhood', and this is where it goes wrong

when someone has op in a channel, the isop command returns false, the mode prefix ( <@nick> ) is gone, but the nick in the nicklist keeps the @
see Inferno on this screenshot: http://users.telenet.be/temmer/mirc.jpg

offcourse this is solved by doing a /names to all channels


this problem exists in mirc 6.03 and 6.14 and i assume all versions have it

i dont think it can be that much of a problem to keep the list with modes based on connection id instead of network name

Joined: Oct 2003
Posts: 214
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 214
i think it must be changed in irssi not in mIRC

irssi should save a motd file like nearly every bouncer does...


one step closer to world domination
D
DekuHaze
DekuHaze
D
May I ask, why are you using irssi as a proxy to IRC for mIRC? I would've thought it'd be much easier to use NAT/IP Masquerading or Squid.

Joined: Feb 2003
Posts: 2,737
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,737
Nice find. (n/m the other replies here)


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Oct 2003
Posts: 284
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 284
I was describing this problem to the guys in #Helpdesk at the weekend - not sure if you were there wink

I did a little research into what irssi responds with when you re-connect to it, and the names raws are in there. However, they appear to be out of sequence compared to a join from a normal server:

mIRC-initiated JOIN sequence:
Code:
-&gt; Surrey.UK.EU.Undernet.Org JOIN #mirc
&lt;- :Proboscis!~wibble@host&lt;removed&gt;.btcentralplus.com JOIN #mIRC
-&gt; Surrey.UK.EU.Undernet.Org MODE #mIRC
&lt;- :Surrey.UK.EU.Undernet.Org 332 Proboscis #mIRC :mIRC 6.14 --&gt; http://www.mirc.co.uk/get.html -- No lameness - No flooding - No msg'ing the ops - No bot questions - No aways!
&lt;- :Surrey.UK.EU.Undernet.Org 333 Proboscis #mIRC mIRC- 1085070211
&lt;- :Surrey.UK.EU.Undernet.Org 353 Proboscis = #mIRC :Proboscis Kozani_30 Pepsi-Cola @Julie2 raffy ScoT NetDevil is`OUT RAPTOR_BM ncdpuy NoNaMe^^^ daniel789 CHETOS rmngdq Mentality TiuDu init`OFF Eistee deGi Ramo22 road^bump mirrian @Sais MyAnGels SteInMetz Scarab BEAR33 Scat-Man @prescott dwkdj niceone Dennyy- martyanu- DotBlue_ Kniht gdrAW sirmokiem racefan Segosa IceShaman [R]ick Sigh_ Rockj p-stats Diabolique Raccoon BrEaKaBlE Mike` tolecnal spooki Kedishen Maghaweer Jagfire @WOT MadRomeo
&lt;- :Surrey.UK.EU.Undernet.Org 353 Proboscis = #mIRC :@magic @childofchaos @mIRC- Loagan Rydekull csian @mERK @X Salomonis
&lt;- :Surrey.UK.EU.Undernet.Org 366 Proboscis #mIRC :End of /NAMES list.
&lt;- :Surrey.UK.EU.Undernet.Org 324 Proboscis #mIRC +tnl 69
&lt;- :Surrey.UK.EU.Undernet.Org 329 Proboscis #mIRC 823923645


irssi-initiated (re)JOIN sequence:
Code:
&lt;- :Sais!mnj@proxy JOIN #mIRC
-&gt; undernet.proxy MODE #mIRC
&lt;- :undernet.proxy 353 Sais = #mIRC :dwkdj SteInMetz sirmokiem spooki @mERK mirrian @magic Raccoon @prescott Diabolique BEAR33 Loagan Kedishen Scarab Mentality DotBlue_ Scat-Man init`OFF ncdpuy ScoT CHETOS @Julie2 Mike` @WOT Rydekull @X Salomonis road^bump is`OUT MyAnGels martyanu- RAPTOR_BM NetDevil Sigh_ MadRomeo Rockj Eistee rmngdq Kniht IceShaman [R]ick TiuDu @mIRC- Dennyy- Ramo22 raffy racefan niceone NoNaMe^^^ daniel789 Pepsi-Cola @childofchaos BrEaKaBlE Jagfire tolecnal gdrAW @Sais Maghaweer
&lt;- :undernet.proxy 353 Sais = #mIRC :deGi csian Segosa p-stats
&lt;- :undernet.proxy 366 Sais #mIRC :End of /NAMES list.
&lt;- :undernet.proxy 332 Sais #mIRC :mIRC 6.14 --&gt; http://www.mirc.co.uk/get.html -- No lameness - No flooding - No msg'ing the ops - No bot questions - No aways!
...
&lt;- :Surrey.UK.EU.Undernet.Org 324 Sais #mIRC +tnl 66
&lt;- :Surrey.UK.EU.Undernet.Org 329 Sais #mIRC 823923645


Note that the sequence in the first case is:
332, 333, 353 ... 366 ,324,329

while in the second case, the names come first:
353 ... 366, 332, 324, 329

(hmm. and missing 333 RPL_TOPICWHOTIME)

Question: does the order matter? I don't *think* it's specified in RFC 1459 (I'll check and ammend this if I find out).

I'll also play with the irssi proxy, and see if I can recompile it to send the replies back in the first order - I think it's easy-ish - see if that has any effect.

As for the network recognition problem, I'm not sure how mIRC recognises the network name, it doesn't always seem to update when I use /version. I suppose you could hack irssi to generate a 005 response with the group name...

Joined: Oct 2003
Posts: 284
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 284
Well, finally got round to testing irssi...
re the if ($me isop #) == $false problem:
It seems that there was a bugfix after 0.8.7 for part of this problem. However, I was running a precompiled 0.8.9 irssi, but it still had this problem - no idea why. I also don't understand why it wasn't detecting other op's nicks as being ops. Something weird that I can't quite fathom atm. Anyway, I would suggest upgrading irssi to 0.8.10-rc4 (the latest CVS version) or at least 0.8.9 (the latest release version). You seem to be running 0.8.6...:)

I didn't see your NETWORK= problem in 0.8.9/10, although I do still seem to get problems with network detection. There's still some more digging to do, but that's for another time laugh

In summary - the problem does appear to have lain with irssi - at least with regard to the op nick inconsistency. As far as I'm concerned the verdict's still open on the network issue; however it's (now) a different issue to the one Temmer mentioned...will post more when I know smile


Link Copied to Clipboard