View Full Version : [Partially fixed] ioAUTONUKE.itcl
Delight
10-09-2004, 10:47 AM
Hi all.
maybee someone can help me to get autonuke script working.
It is announcing on channel when a upload has been incomplete for X minutes, like:
[MP3] - AUTONUKE: SOMEDIR-GRP has not been completed within 11mins. It will be nuked once it is 20mins old
But no nuke will come, only this error:
04-10-09 17:30:47 Missing environement variable for KICKNUKE: SYSTEMPATH.
Here is my ioftpd.env file
ACCSPEED=%.4[speed]
CREDITSECTION=%[$creditsection]
FLAGS=%[$flags]
GID=%[$gid]
GROUP=%[$group]
GROUPS=%[group]
REALPATH=%[environment(PATH)]
PATH=%[$path]
PWD=%[$pwd]
SECTION=%[$sectionid]
SPEED=%.[speed]
STATSSECTION=%[$statssection]
TAGLINE=%[$tagline]
UID=%[$uid]
USER=%[$user]
IDENT=%[$ident]
IP=%[$ip]
COMSPEC=%[environment(COMSPEC)]
SYSTEMROOT=%[environment(SYSTEMROOT)]
SESSIONNAME=%[environment(SESSIONNAME)]
SYSTEMDRIVE=%[environment(SYSTEMDRIVE)]
STATSSECTION=%[$statssection]
CREDITSECTION=%[$creditsection]
CREDITS=%[credits(mega)]
STATSSECTION=%[$statssection]
CREDITSECTION=%[$creditsection]
SYSTEMPATH=%[$path]
VIRTUALPATH=%[$pwd]
SYSTEMROOT=%[environment(SYSTEMROOT)]
WINDIR=%[environment(WINDIR)]
SERVICE=%[$service]
RATIO=%[ratio]
Is something missing in that or is there other problem?
Thanx in advance.
/Delight
ioFTPD-beta5-8-5r
ioBananav20
ioA.1.1.7
Edit: read the forum rules!
MidasKing
10-09-2004, 01:04 PM
Well, its problem is accurately equal to mine: ioAUTONUKE put the warnings correctly in the channel (empty or incomplete directories) but no nuke...
Its ioftpd.env and the config is a little different of mine but, I believe, this is not the source of the problem...
My ioFTPD.env:
ACCSPEED=%.4[speed]
CREDITSECTION=%[$creditsection]
FLAGS=%[$flags]
GID=%[$gid]
GROUP=%[$group]
GROUPS=%[group]
IDENT=%[$ident]
IP=%[$ip]
PATH=%[environment(PATH)]
PWD=%[$pwd]
REALPATH=%[environment(PATH)]
SECTION=%[$sectionid]
SPEED=%.[speed]
STATSSECTION=%[$statssection]
SYSTEMPATH=%[$path]
TAGLINE=%[$unfo]
UID=%[$uid]
USER=%[$user]
VIRTUALPATH=%[$pwd]
COMSPEC=%[environment(COMSPEC)]
SYSTEMROOT=%[environment(SYSTEMROOT)]
SESSIONNAME=%[environment(SESSIONNAME)]
SYSTEMDRIVE=%[environment(SYSTEMDRIVE)]
CREDITS=%[credits(mega)]
WINDIR=%[environment(WINDIR)]
CREDIT=%.[credits(mega)]
My config:
ioFTPD-beta5-8-5r
ioBananav20
ioA.1.2.0
Thanks for any help...
MidasKing
10-17-2004, 11:02 PM
Nobody have a solution... idea... help???:confused:
Delight
10-18-2004, 01:09 PM
Originally posted by MidasKing
Nobody have a solution... idea... help???:confused:
Reconfigured script and now it is working :)
Here is part of my ioAUTONUKE.itcl
set anuke(user) "sitebot"
set anuke(group) "SiteBot"
set anuke(mtab) "C:/ioFTPD/etc/default.vfs"
set anuke(muser) "sitebot"
set anuke(ioA) "C:\\ioFTPD\\scripts\\ioA\\ioA.exe"
set anuke(ioB) "C:\\ioFTPD\\scripts\\ioBanana\\ioBanana.exe"
set anuke(tag) "NUKED-"
###; exclude = dirs with those words won't be checked
###; maxtime = releases older than that (mins) won't be checked
set anuke(exclude) {"incomplete" "nfofix" "nfo.fix" "nfo.update" "dirfix" "dir.fix" "samplefix" "sample.fix" "repack" ".fix." "_fix_" "_sorted"}
set anuke(maxtime) 1440
###; enable or disable nuke/warn (1 = enable, 0 = disable)
set anuke(empty,nuke) 1; set anuke(missing,nuke) 1; set anuke(banned,nuke) 0; set anuke(allowed,nuke) 0;
set anuke(empty,warn) 1; set anuke(missing,warn) 1; set anuke(banned,warn) 0; set anuke(allowed,warn) 0
###; syntax: {"/section" statsection creditsection multiplier warnmins nukemins}
set anuke(empty,sections) {{"/MP3/????" 2 2 3 10 20}}
set anuke(missing,sections) {{"/MP3/????" 2 2 3 30 60}}
set anuke(banned,sections) {{"/MP3/????" 2 2 3 1 2}}
set anuke(allowed,sections) {}
set anuke(dateformat) "%m%d"
SeVeN_2
10-21-2004, 09:03 PM
Same configuration and only announce that will be nuked .... :(
any idea ?
typhon|wk
10-22-2004, 04:07 AM
where is posted ioautonuke.itcl ?
cant find ti :(
neoxed
10-22-2004, 01:19 PM
Originally posted by typhon|wk
where is posted ioautonuke.itcl ?
cant find ti :(
It's included with ioBanana v20.
For those who can't get nuke to work but have warnings, you should make sure you are using the latest ioA (1.1.7+ is ok) and that it is configured correctly.
It may not work when ioFTPD is running as a service (untested).
Anything that could prevent ioA from using ioFTPD's shared memory will also prevent the autonuker from nuking (bad, bad..).
MidasKing
10-22-2004, 08:58 PM
My situation:
I'm using ioA 1.2.0;
ioA and ioAutoNUKE are configured correctly;
ioFTPD is running as a service...
but,
Anything that could prevent ioA from using ioFTPD's shared memory will also prevent the autonuker from nuking I don't understand if is possible or not because all the remaining portion is functioning correctly (less ioAutoNUKE)...
As I said, running ioFTPD as a service and using ioAUTONUKE may not work.
Enable debug in ioA.cfg and check the debug log right after ioAUTONUKE tried to call ioA.exe.
But.. I don't run ioFTPD as a service and I don't know in what cases a script called from another tcl script (called by ioFTPD) could or couldn't use ioFTPD's shared memory. I would be glad to do some tests with you in a month when i will have more free time. Tell me if you're ok.
typhon|wk
10-23-2004, 02:50 AM
is it possible to get ioautonuke as a standalone script ?
Maybe in a few weeks when i will have some time to recheck and pack my current version.. but it would be a foundation script.
typhon|wk
10-23-2004, 05:05 AM
ok :D
thx anyway
MidasKing
10-23-2004, 02:03 PM
OK!!!
I wait... no problem...
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.