mIRC Home    About    Download    Register    News    Help

Print Thread
mIRC sending unknown command to server #227063 23/10/10 08:29 PM
Joined: Jul 2006
Posts: 242
H
HaleyJ Offline OP
Fjord artisan
OP Offline
Fjord artisan
H
Joined: Jul 2006
Posts: 242
Hi all,

On connecting to a server mIRC displays in the status window

Code:
-
CAP Unknown command.
-


On opening the debug window mIRC sends the following command to the server.

Code:
-> irc.webchat.org CAP LS


I have no DLL's or scripts loaded and I am using version 7.14

Thanks in advance.

p.s I paste below the whole connect log from the debug window

Code:
-> irc.webchat.org CAP LS
-> irc.webchat.org NICK insert_username_here
-> irc.webchat.org USER insert_use 0 * :...
<- :java.webmaster.com 421 * CAP :Unknown command.
<- PING :01DF85CC
-> irc.webchat.org PONG :01DF85CC
<- :java.webmaster.com 001 insert_username_here :Welcome to the Internet Relay Chat network, insert_username_here!insert_use@92.4.20.179
<- :java.webmaster.com 002 insert_username_here :Your host is java.webmaster.com [216.152.78.166:7000], running ConferenceRoom
<- :java.webmaster.com 003 insert_username_here :This server was started on Tue, 06 Jul 2010 19:46:02 0000 (Compiled on Oct  8 2009 13:22:41)
<- :java.webmaster.com 004 insert_username_here java.webmaster.com ConferenceRoom/4.0.4-SEC abcdefghijkmnopqrstwxyzABCGIJLMRWX abcdeijklmnopqrstuvzACJLMNORU
<- :java.webmaster.com 005 insert_username_here CONFERENCEROOM WALLCHOPS WHISPER KNOCK LANG NICKLEN=30 WATCH=128 MKICK LAZYMOTD MODES=6 TOPICLEN=384 SILENCE=10 KICKLEN=64 :are supported on this server
<- :java.webmaster.com 005 insert_username_here PREFIX=(ovu)@+- CHANTYPES=# CHANMODES=bouv,k,lOMN,cdejimnpqrstzAJLRU UHNAMES NAMESX CASEMAPPING=ASCII SM SAFELIST ELIST=MUCTLOX RATING MAXBANS=75 MAXCHANNELS=12 :are supported on this server
<- :java.webmaster.com 005 insert_username_here  SSL=994 :are supported on this server
<- :java.webmaster.com 007 insert_username_here java.webmaster.com 1287865483 :Sat, 23 Oct 2010 20:24:43 0000
<- :java.webmaster.com 014 insert_username_here -\OYLkB/74QwTnXmR^
<- :java.webmaster.com 251 insert_username_here :There are 246 users and 18472 invisible on 6 servers
<- :java.webmaster.com 252 insert_username_here 11 :operator(s) online
<- :java.webmaster.com 253 insert_username_here 41 :unknown connection(s)
<- :java.webmaster.com 254 insert_username_here 1854 :channels formed
<- :java.webmaster.com 255 insert_username_here :I have 1810 clients and 1 servers
<- :java.webmaster.com 265 insert_username_here :Current local users: 1810  Max: 8600
<- :java.webmaster.com 266 insert_username_here :Current global users: 18718  Max: 47619
<- :java.webmaster.com 377 insert_username_here z-default 1820 1278445560 :Last MOTD change information: Tue, 06 Jul 2010 19:46:00 0000
<- :java.webmaster.com 375 insert_username_here :- java.webmaster.com Message of the day
<- :java.webmaster.com 372 insert_username_here :- For the message of the day please visit: http://community.webmaster.com/motd/
<- :java.webmaster.com 376 insert_username_here :- End of message of the day
<- :java.webmaster.com 221 insert_username_here :+ixpemJMn
-> java.webmaster.com PROTOCTL NAMESX
-> java.webmaster.com PROTOCTL UHNAMES


Newbie
Re: mIRC sending unknown command to server [Re: HaleyJ] #227070 24/10/10 02:06 AM
Joined: Nov 2004
Posts: 804
Jigsy Offline
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 804
Quote:
25. Added CAP LS protocol support. mIRC now sends "CAP LS" as the first line when connecting to a server before sending NICK/USER to logon.
Currently enables "multi-prefix" and "packet-size=1024" if they are available.

Added into mIRC 7.01.

That said, mIRC should prolly stop that message from being shown if the command doesn't exist when connecting...


What do you do at the end of the world? Are you busy? Will you save us?
Re: mIRC sending unknown command to server [Re: Jigsy] #227081 24/10/10 11:13 AM
Joined: Dec 2002
Posts: 122
S
STING Offline
Vogon poet
Offline
Vogon poet
S
Joined: Dec 2002
Posts: 122
Sending the CAP command is the method of finding out if the server supports CAP. I think the best solution is that mIRC blocks the error message stating the CAP command is invalid.

Currently I'm using RAW:*: to block the CAP command error.

Re: mIRC sending unknown command to server [Re: STING] #227274 03/11/10 08:35 AM
Joined: Dec 2002
Posts: 4,829
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,829
Thanks this error message will be hidden during logon in the next version.