I've noticed that anti-idle isn't working while I am connected to ZNC.
Anything do to in this case?
Regards,
snowkap - 15-12-2021 at 11:48
Hi,
I no longer am involved with the script, but figured I'd reply to you anyhow
Without a windows computer and mirc I can't test, but perhaps craze might help out.
P.S.: I must say this is out of the ordinary. The purpose of znc is to relay traffic to and fro your mirc client. Anti-idle just sends yourself a
message every x seconds. Have you ran a /debug window to see what happens? Have you got any znc scripts running or perhaps another mirc script that
intercepts / changes this?
This is correct?
WORKING RESP: <- :`snow!~snow@94.52.181.45 PRIVMSG `snow :antiidle
NOT WORKING RESP: -> Pipera.RO.EU.Undernet.Org CPRIVMSG `snow #aidle :antiidle
[Edited on 21-5-2022 by snow]kap - 24-5-2022 at 11:13
As for antiidle not working properly when connected to ZNC, please be aware that PnP was coded without ZNC in mind. Having said that, a fix might come
forward from the community, time permitting.
The purpose of anti idle is to reset the idle time on the server. if you whois yourself does it not reset to 0? How are you sure antiidle is not
working?
[Edited on 24-5-2022 by kap]snow - 24-5-2022 at 18:37
Hello,
Well I have tested with and without ZNC, on different mIRC versions: 7.68, 7.67, 7.66, 7.65, 7.63, 7.61 and isn't working.
When I say "doesn't work", it actually only works when you don't join a channel.
So if you connect and set AIDLE ON without joining any channel, works perfectly but if you join... is not working anymore.
Always I had /debug on and watching debug file.
FROM DEBUG LOG:
This line is without joining any channel (on status window) and with AIDLE ON:
-> Pipera.RO.EU.Undernet.Org PRIVMSG `snow :antiidle
<- :`snow!~snow@94.52.181.45 PRIVMSG `snow :antiidle
I whois myself and I have idle 0 (reseting idle at 30 seconds)
This line is after I join any channel (in this case channel #aidle):
<- :`snow!~snow@94.52.181.45 PRIVMSG `snow :antiidle
-> Pipera.RO.EU.Undernet.Org CPRIVMSG `snow #aidle :antiidle
I whois myself and I have idle growing (actually NOT working after I join any channel)
snow - 25-5-2022 at 00:14
Updating this thread.
I've connected to EFNET Network with all scripts version tested before on Undernet and works perfectly. This is weird.
I don't know what to say...
[Edited on 24-5-2022 by snow]kap - 25-5-2022 at 06:37
PnP's antiidle functions by messaging yourself the word 'antiidle'. As demonstrated by this command:
Code:
scid -at1 .msg $!me antiidle
The only difference in your debug log is that in the undernet instance you use CPRIVMSG[1]. When you join a channel on Undernet, you gain ops. Opped
or voiced users - when sending PRIVMSG are automatically upgraded to CPRIVMSG by mIRC and somehow the server doesn't reset your idle counter then. Is
this a PnP problem or an undernet server problem?
If we were to change the scid -at1 .msg $!me antiidle code in PnP to force a raw PRIVMSG command would this resolve the issue?