mIRC Home    About    Download    Register    News    Help

Print Thread
ZNC buffer with mIRC #246642 23/06/14 01:35 PM
Joined: Jun 2014
Posts: 3
A
Autrui Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Jun 2014
Posts: 3
Hi,

So i've recently updated mIRC to the latest version, and the ZNC buffer was working fine with the previous version. But now i've some troubles... The mIRC buffer (based on ZNC buffer, so), doesn't show the right time. It shows only [03:00:00] for each line of the buffer...
I've not found any option in mIRC in order to fix that... Can anyone help ?

Thanks.

(ZNC buffer configuration : http://puu.sh/9Gy23/32042660eb.png )

Re: ZNC buffer with mIRC [Re: Autrui] #246643 23/06/14 01:58 PM
Joined: Jan 2004
Posts: 1,274
L
Loki12583 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,274
Before you connect to the server open a debug window with /debug @debug, then check if the lines you receive actually have timestamps. mIRC should always prepend its own timestamp no matter what ZNC is sending though, so you'll get two. You can try to script turning off timestamps when joining znc, I don't know if it sends some data you can depend on to accomplish that though.

Re: ZNC buffer with mIRC [Re: Loki12583] #246644 23/06/14 02:07 PM
Joined: Jun 2014
Posts: 3
A
Autrui Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Jun 2014
Posts: 3
Well, there is no timestamps as [H:m:s], but there is @time=1403532085.865 for example.

http://puu.sh/9GzIB/ada51ee60c.png

Before the update I had ZNC timestamps with mIRC time, like that : http://puu.sh/9GzPL/045d003ea9.png

A friend of mine have ZNC & the latest mIRC update, I've checked my ZNC config and it is identical with his, but he has the correct timestamps on his buffer... I don't understand

Last edited by Autrui; 23/06/14 02:25 PM.
Re: ZNC buffer with mIRC [Re: Autrui] #246645 23/06/14 07:02 PM
Joined: Dec 2002
Posts: 36
T
TC_Hessen Offline
Ameglian cow
Offline
Ameglian cow
T
Joined: Dec 2002
Posts: 36
Which version of znc do you use? Maybe your znc conf ist broken. Look at the version.txt of mirc 7.34:

53.Added CAP server-time and znc.in/server-time[-iso] support. Enabled
automatically with a CAP request if server lists it in CAP LS. If a
server message has a @time prefix with a UTC timestamp, $msgstamp
will return this value.


cu

TC / Mario
Re: ZNC buffer with mIRC [Re: Autrui] #246647 23/06/14 10:32 PM
Joined: Jun 2014
Posts: 1
P
Passo Offline
Mostly harmless
Offline
Mostly harmless
P
Joined: Jun 2014
Posts: 1
I have the same problem.

Newest mIRC and ZNC 1.4

HexChat is working fine with the timestamps :\

Re: ZNC buffer with mIRC [Re: Autrui] #246650 24/06/14 04:28 AM
Joined: Dec 2002
Posts: 4,521
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,521
I have just tested mIRC v7.34 with the latest version of ZNC v1.5 for Windows and the timestamps are being displayed correctly here. When I enable debugging with /debug on, I can see mIRC enabling CAP znc.in/server-time-iso and from that point onwards it displays the per message timestamp that is sent by ZNC in the @time= prefix.

Are you using any scripts that may be modifying the output? If you install a clean copy of mIRC, with no scripts, using the "portable" option in the installer, into your Windows Documents folder and run mIRC from there, do you see the same issue?

Re: ZNC buffer with mIRC [Re: Khaled] #246653 24/06/14 02:06 PM
Joined: Jun 2014
Posts: 3
A
Autrui Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Jun 2014
Posts: 3
Soooo... My bad.

I've updated to ZNC 1.4 (was on 1.0 and didn't see there was an update available), and now it's perfectly working with mIRC. Kind of a PEBKAC thing there.

mIRC is perfect, as always smile Thanks for your help !