mIRC Home    About    Download    Register    News    Help

Print Thread
debug window 330 numeric issue #243026 07/10/13 12:48 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Hello,

I have just notice that into the debug window has an issue but i am not sure if this is 100% from mIRC i came here because this problem is only into the debug window and not in the text output.

well i am connected into an server that is using Unreal3.2.10.1. ircd version and Anope-1.9.8 irc services.

i use from my mirc /debug @test and i running an /whois <nick> <nick> (e.g: /whois dance dance) in the whois reply the RAW numeric 330 was correctly displayed but into the Debug Window it was missing some parameters, have look into the output to see:

/whois DANCE DANCE

..
..
..
DANCE is logged in as DANCE
..
..
DANCE End of /WHOIS list.
-> This result is correct!! (is the /whois reply of 330 numeric)

DEBUG WINDOW:

...
...
...
...
<- :***.***.gr 330 westor DANCE DANCE :is logged in as
...
<- :***.***.gr 318 westor DANCE :End of /WHOIS list.
-----> In the debug window in 330 numeric is missing the logged as ????? value!!

Re: debug window 330 numeric issue [Re: westor] #243027 07/10/13 04:22 PM
Joined: Mar 2008
Posts: 88
B
BhaaL Offline
Babel fish
Offline
Babel fish
B
Joined: Mar 2008
Posts: 88
Its right there, what are you missing?
Originally Posted By: westor
<- :***.***.gr 330 westor DANCE DANCE :is logged in as

I suppose you didn't notice that DANCE shows up twice in front of the ':' (the first being your whois target, the second being the account).

Re: debug window 330 numeric issue [Re: BhaaL] #243028 07/10/13 06:47 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
I should be display as:
Code:
<- :***.***.gr 330 westor DANCE :is logged in as DANCE

Re: debug window 330 numeric issue [Re: westor] #243029 08/10/13 03:15 AM
Joined: Jan 2004
Posts: 1,282
L
Loki12583 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,282
It should be displayed however the server is sending it.

Re: debug window 330 numeric issue [Re: westor] #243030 08/10/13 03:32 AM
Joined: Feb 2011
Posts: 331
K
KindOne Offline
Fjord artisan
Offline
Fjord artisan
K
Joined: Feb 2011
Posts: 331
Originally Posted By: westor
I should be display as:
Code:
<- :***.***.gr 330 westor DANCE :is logged in as DANCE


NO.

I'm only including debug/raw output for mIRC since the other clients would be the same in the debug/raw output.
I'm also using charybdis in this example since it uses the same 330 numeric/raw for the "is logged in as" line as UnrealIRCd / InspIRCd / u2.10.12.10+snircd(1.3.4) (QuakeNet) / and possibly other IRCds.

// mIRC

[22:27:06] -> irc.foobar.net WHOIS KindOne KindOne
[22:27:06] <- :irc.foobar.net 311 KindOne KindOne KindOne KindOne/. * :...
[22:27:06] <- :irc.foobar.net 319 KindOne KindOne :#cake
[22:27:06] <- :irc.foobar.net 312 KindOne KindOne irc.foobar.net :foobar
[22:27:06] <- :irc.foobar.net 313 KindOne KindOne :is a Server Administrator
[22:27:06] <- :irc.foobar.net 378 KindOne KindOne :is connecting from *@a.b.c.d.dynamic.ip.windstream.net a.b.c.d
[22:27:06] <- :irc.foobar.net 317 KindOne KindOne 65548 1381133675 :seconds idle, signon time
[22:27:06] <- :irc.foobar.net 330 KindOne KindOne KindOne :is logged in as
[22:27:06] <- :irc.foobar.net 318 KindOne KindOne :End of /WHOIS list.
[22:27:08] -> irc.foobar.net NICK :K
[22:27:08] <- :KindOne!KindOne@KindOne/. NICK :K
[22:27:11] -> irc.foobar.net WHOIS K K
[22:27:11] <- :irc.foobar.net 311 K K KindOne KindOne/. * :...
[22:27:11] <- :irc.foobar.net 319 K K :#cake
[22:27:11] <- :irc.foobar.net 312 K K irc.foobar.net :foobar
[22:27:11] <- :irc.foobar.net 313 K K :is a Server Administrator
[22:27:11] <- :irc.foobar.net 378 K K :is connecting from *@a.b.c.d.dynamic.ip.windstream.net a.b.c.d
[22:27:11] <- :irc.foobar.net 317 K K 65553 1381133675 :seconds idle, signon time
[22:27:11] <- :irc.foobar.net 330 K K KindOne :is logged in as
[22:27:11] <- :irc.foobar.net 318 K K :End of /WHOIS list.

// mIRC status window of the raw/debug output from above. (Since I did the command there.)

/whois KindOne

KindOne is KindOne@KindOne/. * ...
KindOne on #cake
KindOne using irc.foobar.net foobar
KindOne is a Server Administrator
KindOne is connecting from *@a.b.c.d.dynamic.ip.windstream.net a.b.c.d
KindOne has been idle 18hrs 12mins 28secs, signed on Mon Oct 07 04:14:35
KindOne is logged in as KindOne
KindOne End of /WHOIS list.


/nick K
[22:27:08] * Your nick is now K

/whois K
K is KindOne@KindOne/. * ...
K on #cake
K using irc.foobar.net foobar
K is a Server Administrator
K is connecting from *@a.b.c.d.dynamic.ip.windstream.net a.b.c.d
K has been idle 18hrs 12mins 33secs, signed on Mon Oct 07 04:14:35
K is logged in as KindOne
K End of /WHOIS list.


// The logged in as line for other clients.

// HexChat
[22:34:52] | KindOne is logged in as KindOne

// irssi
22:30:59 -!- account : KindOne


Lets look at 330: (Silly forum format issues)
------------------------------------------ $1 ---- $2 ------ $3 ---- $4 -- $5 -- $6 $7
[22:27:06] <- :irc.foobar.net 330 KindOne KindOne KindOne :is logged in as

Conclusion:

mIRC / Hexchat simply grab the $3 and moves it after the $7 on the GUI side to make it simpler to read.

irssi on the other hand just grabs the $3 and puts it after the "account :" to make it simpler to read.

What you seem to be suggesting is that the IRCd's switch the way the output is sent. This will most likely NEVER happen in my opinion since it seems to be an unoffical standard with many IRCd as it's not in the RFC's.

Switching around the output of the IRCd's would break many IRC clients and possibly scripts for mIRC and other IRC clients since some people might be using the $3.

Also notice how mIRC converts the numbers from the numeric/raw 317 and makes it simpler to read in the /whois output example.

What you see in the debug/raw window is the raw IRC input/ouput without the irc clients altering the content.


irc.swiftirc.net #msl (mIRC Scripting Language)
Re: debug window 330 numeric issue [Re: KindOne] #243031 08/10/13 06:49 AM
Joined: Dec 2002
Posts: 4,657
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,657
As mentioned in the above post, what you see in the status window may not look exactly like what was sent by the server. It depends on the format of the server event. For example, in numeric 378 the address is included as text in the message, whereas in numerics 317 and 330 the time and nickname are parameters before the message and mIRC needs to construct the displayed message.