PDA

View Full Version : ioA 2.x.x Questions/Answers


WarC
02-10-2005, 04:45 AM
New version, new thread

Rewritten so it doesnt loke anything like 1.x version. But thats only internal. Users only need to replace exe :)

/WarC

durulink
02-10-2005, 09:04 AM
THX~~~ update v2.0.0B (--)(__)
:D:D:D

ZAiNT
02-12-2005, 10:24 PM
[2] (04:25:33) site rescanall
[2] (04:25:33) 200--[RescanAll]--------------------------------------------------------------------
[2] (04:25:33) 200---------------------------------------------------------------------------------
[2] (04:25:33) 200- OK: 0
[2] (04:25:33) 200- Missing: 0
[2] (04:25:33) 200- Failed: 0
[2] (04:25:33) 200- Total: 0
[2] (04:25:33) 200- Size: 0.00MB
[2] (04:25:33) 200---------------------------------------------------------------------------[ioA]-
[2] (04:25:33) 200- ioA execution time: 90ms
[2] (04:25:33) 200 Command successful.

02-13-2005 04:23:57 RESCANALL - ioA Version: 2.0.0B
02-13-2005 04:23:57 RESCANALL - Time to run command: 90ms

and it creates: [SMURF]-[100% COMPLETE 0 0 0 0.00 ]-[SMURF]

I change the .exe back to v1.2.4 and it works fine again.

MidasKing
02-13-2005, 05:30 PM
I'm using ioFTPD 5.8.5R, ioBanana v20 and ioA 2.0.0B and is occurring the following error when used the command "site pre divx Some.Lame.Stuff-XYZ":

02-13-2005 18:50:11 PRE - -enviroment variables----------------------------------------
02-13-2005 18:50:11 PRE - user = gadmin
02-13-2005 18:50:11 PRE - group = XYZ
02-13-2005 18:50:11 PRE - creditsection = 2
02-13-2005 18:50:11 PRE - uid = 253
02-13-2005 18:50:11 PRE - gid = 101
02-13-2005 18:50:11 PRE - groups = XYZ
02-13-2005 18:50:11 PRE - statsection = 0
02-13-2005 18:50:11 PRE - flags = 1GN
02-13-2005 18:50:11 PRE - vfs = /_DiVX-TMP/
02-13-2005 18:50:11 PRE - path = H:\_PRE\_DiVX-TMP
02-13-2005 18:50:11 PRE - parameters = divx Some.Lame.Stuff-XYZ
02-13-2005 18:50:11 PRE - Log_Pre = "%user" "%group" "%type" "%vfs" "%desc" "%.2mb" "%.0files" "%release" "%genre" "%kbit" "%year"
02-13-2005 18:50:11 PRE - Pre_Touch_Owner = 1
02-13-2005 18:50:11 PRE - Pre_Give_Creditst_To_Uploaders = 1
02-13-2005 18:50:11 PRE - Pre_Run_Script = c:\ioFTPD\scripts\ioBanana.exe imdbpre
02-13-2005 18:50:11 PRE - Pre_Give_Creditst_To_Predude = 1
02-13-2005 18:50:11 PRE - Pre_f00 = 0
02-13-2005 18:50:11 PRE - PRE_Skip_Messagefile = 0
02-13-2005 18:50:11 PRE - -------------------------------------------------------------
02-13-2005 18:50:11 PRE - ioA Version: 2.0.0B
02-13-2005 18:50:11 PRE - Create Event
02-13-2005 18:50:11 PRE - Check if syntax is ok
02-13-2005 18:50:11 PRE - Get proper directoryname
02-13-2005 18:50:11 PRE - Pre_Groups: 3
02-13-2005 18:50:11 PRE - Pre_Areas: 3
02-13-2005 18:50:11 PRE - Groups user in: XYZ
02-13-2005 18:50:11 PRE - Passed G/T/V check
02-13-2005 18:50:11 PRE - Check if groupname is in vfs
02-13-2005 18:50:11 PRE - Unable to verify pre. Aborting
02-13-2005 18:50:11 PRE - Time to run command: 235ms

I'm using identical configuration of 1.2.4 (with the small adaptation in cfg).

Not problems with 1.2.4

Somebody had some problem similar?

Sorry for my bad english!!!

edited by neoxed: no release names!

WarC
02-14-2005, 04:08 AM
The check to validate the pre is added somewhere in between 1.24 and 2.0.0. Your error is due to the config of pregroup. One can setup it in 2 ways and some apparently do it in the way its not intended originally :)

Lets give some examples:

Following case means that releasename MUST contain "-group" so that ioA can validate you are indeed in correct group(this is a check for those in multiple pregroups on same server). This is because vfs is set to "_/pre/*".

Pre_Group_0 = "group|mp3|/_pre/*|100|100|hubba"


Next case:
Pre_Group_0 = "group|mp3|/_pre/group|100|100|hubba"

Here is the way its ment to be. Ie vfs is locked with groupname. In this way the release can be named anything.



If this doesnt solve your problem. please send me a note on your settings in a message either here or on irc and well see what cause it.

WarC
02-14-2005, 04:10 AM
Zaint:

Since it doesnt write the result or anything while rescanning I'm curious to what the problem could be. In the version thats on ioFTPD script page I cant get that result. You got any debugfile for me or something? Anyone else seen this behaviour?

MidasKing
02-14-2005, 02:06 PM
Thanks Warc...

I applied its suggestion and functioned perfectly!:D :D :D


Sorry neoxed...

It will not happen more...(rls names):rolleyes:

typhon|wk
02-15-2005, 09:12 AM
seems new ioA dont delete (incomplete)- simlink on nuke, im using php_psio

my bad or lil bug ?

thx

WarC
02-17-2005, 05:26 PM
Will check on that as soon as I can.
Only confirmed bug so far is on rescanall. It selects wrong sfv file with releases containing files named .sfvdata and the release sfv is named something after t. Ie: test.sfv

sk1nt
02-24-2005, 05:01 PM
Got a question about Pre_Give_Credits_To_Uploaders and Pre_Give_Credits_To_Predude.
Is creditsections supported on those?
I have a creditsection diff from default and it doesnt seam to give me creds when I pre.

thunk
02-28-2005, 06:07 AM
Hi, I just updated my ioA to the latest version... I'm changing my CFG file now again.

However, custom headers/footers seem not to work anymore, such as:

Oneline_Header = "ÚÄÄÄÄÄÄÄÄÄÄÄà „Ã„Ã„Ã„Ã„Ã„Ã„Ã„Ã„Ã„Ã„Ã„Ã„ ÄÄÄÄÄÄÄÄÄÄÄÄà „Ã„Ã„Ã„Ã„Ã„Ã„Ã„Ã„Ã„Ã„Ã„Ã„ ÄÄÄÄÄÄÄÄÄÄÄÄ[Onel]¿"

It just displays the default ioA 'skin' msg and before you could always make _Header and _Footer tags for every function. Why was this changed and is there anyway to get it back?

Thx

WarC
02-28-2005, 06:38 AM
Originally posted by sk1nt
Got a question about Pre_Give_Credits_To_Uploaders and Pre_Give_Credits_To_Predude.
Is creditsections supported on those?
I have a creditsection diff from default and it doesnt seam to give me creds when I pre.

creditsection you setup yourself.

Pre_Area_0 = "section|desc|physical path|virtual path|section creds should end up in "

ie you should change that 0 to whatever section you need.

WarC
02-28-2005, 08:30 AM
typhon|wk:
I checked on issue with incompletelinks and it seems to be working as it should. make sure you have set RescanAll_Incomplete_Word ="incomplete"

thunk:
it was never ment that one should change headers/footers. Thats why those options were left out of config. Option will not come back.

thunk
02-28-2005, 08:34 AM
And for what reason? I got my site skinned with every custom modified script so it looks unified now.. I don't want to change it. Guess I wont be able to update then :/

sk1nt
02-28-2005, 10:15 AM
Originally posted by WarC
creditsection you setup yourself.

Pre_Area_0 = "section|desc|physical path|virtual path|section creds should end up in "

ie you should change that 0 to whatever section you need.

Thanks, totally missed that one.
Might need some glasses.

durulink
03-01-2005, 06:40 AM
Pre_Area_0 = "section|desc|physical path|virtual path|section creds should end up in"

# <area>|<description>|<physical path to where it should end up>|<vfs path to where it should end up>|<uid for owner>|<ufo>

Is it worng? :(:(

WarC
03-03-2005, 04:29 PM
Seems a error in docs is found. I'll fix that for next version. Thanks for reporting it durulink.

Some hardware issues have been bugging me heree last 2-3 weeks so thats why no new version is released. Hopefully its somewhat stable now so I can get back to ioA things instead

WarC
03-05-2005, 10:23 AM
2.0.2 is out.

bugfixes for 2.0.0B version

MidasKing
03-06-2005, 09:07 AM
Warc...

I go to tell one bug that, even so it is not of ioA, it was (re)created in the version 2.x

ioAutonuke (by Harm), when used the version 2.x of ioA, places the warnings of nuke correctly in the channel but, in the truth, it does not finish the process, or either, it does not apply nuke to release.

Returning to version 1.1.4 from ioA, all return to function perfectly.

The configuration is the same one (the latest) in both the cases.

ioFTPD-beta5-8-5r
ioBananav20
ioAUTONUKE v0.2
ioA.1.1.4 (ioA.2.0.2)

MidasKing
03-06-2005, 09:33 AM
Sorry...

The version of ioA with not problems is 1.2.4

hukker
03-06-2005, 04:31 PM
Hello

Request_Max = 10
Request_Max_User = 2
Request_Excluded_User_0 = "sitebot"

Iam wondering here if anyone else has noticed maybe that even though you set "Request_Max_User = 2" a user can still make more then 2 requests... his flag is 3 and he is using the site request command on site and not the command thrue eggy...
could it be that there is something wrong here :)

if anyone can confirm this, pls do

WarC
03-07-2005, 09:21 AM
hukker:
in the tests I do here it dont allow me to do more than 2 reqs with those settings. Anyone else got this problem?

Midasking:
I'll have a check with harm if he seen similar problem. do you have any debuglog of it? If so send me a pm here or on irc with it so I can have a look at it please. I did a fast check nuking with ioa as commandline and that worked for me but it might be a buggy somewhere :)

Harm
03-07-2005, 12:20 PM
I haven't noticed problems with ioA 2.0 and ioAUTONUKE. I have changed a few things since the last release of this script but not how it nukes.
I will do some more tests this week to be sure.

MidasKing: Could you send me your configuration for this script ? It might help to locate a bug if there's one.

MidasKing
03-07-2005, 04:17 PM
Warc & Harm...

clarifying... Nuke, in ioA.2.0.2 happens correctly if used command line. The problem occour only when is commanded by ioAutonuke.

Below, the debuglog of the tests with the two versions:

Using ioA.2.0.2

site autonuke
====================
# of arguments: 5
[0]=C:\ioFTPD\scripts\ioBanana.exe
[1]=age
[2]=uinfo
[3]=site
[4]=autonuke
====================
ioBanana Process Time: 0 ms
exit: 0


200-Checking 'E:/Ftp/Appz/testing.stuf.empty' for empty dirs.
200-Warning: 'E:/Ftp/Appz/testing.stuf.empty' is empty.<-- announced in channel

200-Checking 'E:/Ftp/Appz/stuff.of.testing' for incomplete dirs.
200-Warning 'E:/Ftp/Appz/stuff.of.testing' is incomplete.<-- announced in channel


200-Checking 'E:/Ftp/Appz/testing.stuf.empty' for empty dirs.
200-Nuking: 'E:/Ftp/Appz/testing.stuf.empty' is empty dirs.<-- NOT announced - NOT nuked


200-Checking 'E:/Ftp/Appz/stuff.of.testing' for incomplete dirs.
200-Nuking: 'E:/Ftp/Appz/stuff.of.testing' is incomplete.<-- NOT announced - NOT nuked


03-07-2005 16:40:25 MESSAGE - Running msg logon
03-07-2005 16:40:25 MESSAGE - Filename: c:\ioFTPD\scripts\ioA\Messages\348
03-07-2005 16:40:25 MESSAGE - Logon Exiting
03-07-2005 16:40:25 LOGON - Time to run command: 32ms
03-07-2005 16:40:54 NUKE - ioA Version: 2.0.2
03-07-2005 16:40:54 NUKE - Time to run command: 47ms
03-07-2005 16:40:55 NUKE - ioA Version: 2.0.2
03-07-2005 16:40:55 NUKE - Time to run command: 47ms
03-07-2005 16:41:51 LOGON - ioA Version: 2.0.2
03-07-2005 16:41:51 MESSAGE - Running msg logon
03-07-2005 16:41:51 MESSAGE - Filename: c:\ioFTPD\scripts\ioA\Messages\394
03-07-2005 16:41:51 MESSAGE - Logon Exiting

Using ioA.1.2.4

site autonuke
====================
# of arguments: 5
[0]=C:\ioFTPD\scripts\ioBanana.exe
[1]=age
[2]=uinfo
[3]=site
[4]=autonuke
====================
ioBanana Process Time: 0 ms
exit: 0


200-Checking 'E:/Ftp/Appz/stuf.test.empty' for empty dirs.
200-Warning 'E:/Ftp/Appz/stuf.test.empty' is empty.<-- announced in channel


200-Checking 'E:/Ftp/Appz/stuff.test.incomp' for incomplete dirs.
200-Warning: 'E:/Ftp/Appz/stuff.test.incomp' is incomplete.<-- announced in channel

200-Checking 'E:/Ftp/Appz/stuf.test.empty' for empty dirs.
200-Nuking: 'E:/Ftp/Appz/stuf.test.empty' is empty.<-- announced and nuked = correctly

200-Checking 'E:/Ftp/Appz/stuff.test.incomp' for incomplete dirs.
200-Nuking: 'E:/Ftp/Appz/stuff.test.incomp' is incomplete.<-- announced and nuked = correcly

03-07-2005 17:38:00 ioA - 1.2.4
03-07-2005 17:38:00 NUKE - nuke: stuf.test.empty
03-07-2005 17:38:00 NUKE - multi: 3
03-07-2005 17:38:00 NUKE - reason: empty.for.more.than.15.minutes
03-07-2005 17:38:00 NUKE - oldpath: E:\Ftp\Appz\stuf.test.empty
03-07-2005 17:38:00 NUKE - newpath: E:\Ftp\Appz\[Nuked]-stuf.test.empty
03-07-2005 17:38:00 NUKE - Check if directories are present
03-07-2005 17:38:00 NUKE - Checked directories if present
03-07-2005 17:38:00 NUKE - Resolve owner of directory to nuke
03-07-2005 17:38:00 NUKE - Scanning files
03-07-2005 17:38:00 NUKE - Emptynuke!!!!
03-07-2005 17:38:00 NUKE - Change uid: 389, section 0 credits -102400
03-07-2005 17:38:00 NUKE - Cleaning incompletetags
03-07-2005 17:38:00 NUKE - Rename nuked dir
03-07-2005 17:38:00 KICK - Trying to kick from: E:\Ftp\Appz\stuf.test.empty
03-07-2005 17:38:00 NUKE - Flushing cache in: E:\Ftp\Appz
03-07-2005 17:38:00 NUKE - Messagefile: E:\Ftp\Appz\[Nuked]-stuf.test.empty\.ioFTPD.message
03-07-2005 17:38:00 NUKE - Nuketag: E:\Ftp\Appz\[Nuked]-stuf.test.empty\[Nuked]-[3x]-[by Nuker@SiteOp]-[empty.for.more.than.15.minutes]
03-07-2005 17:38:00 BENCHMARK - Time to run command: NUKE was 313ms
03-07-2005 17:38:09 ioA - 1.2.4
03-07-2005 17:38:09 NUKE - nuke: stuff.test.incomp
03-07-2005 17:38:09 NUKE - multi: 3
03-07-2005 17:38:09 NUKE - reason: incomplete.for.more.than.20.minutes
03-07-2005 17:38:09 NUKE - oldpath: E:\Ftp\Appz\stuff.test.incomp
03-07-2005 17:38:09 NUKE - newpath: E:\Ftp\Appz\[Nuked]-stuff.test.incomp
03-07-2005 17:38:09 NUKE - Check if directories are present
03-07-2005 17:38:09 NUKE - Checked directories if present
03-07-2005 17:38:09 NUKE - Resolve owner of directory to nuke
03-07-2005 17:38:09 NUKE - Scanning files
03-07-2005 17:38:09 NUKE - Complete nuke
03-07-2005 17:38:09 NUKE - Sum users
03-07-2005 17:38:09 NUKE - Nukees found: 1
03-07-2005 17:38:09 NUKE - Ratio of user: 3
03-07-2005 17:38:09 NUKE - Create nukelog
03-07-2005 17:38:09 NUKE - Putlog: ""/Appz/stuff.test.incomp" "Nuker" "SiteOp" "Alter_ego" "XingLing" "3" "0.29" "incomplete.for.more.than.20.minutes""
03-07-2005 17:38:09 NUKE - Rename nuked directory
03-07-2005 17:38:09 NUKE - From: E:\Ftp\Appz\stuff.test.incomp to: E:\Ftp\Appz\[Nuked]-stuff.test.incomp
03-07-2005 17:38:09 KICK - Trying to kick from: E:\Ftp\Appz\stuff.test.incomp
03-07-2005 17:38:09 NUKE - Flushing cache in: E:\Ftp\Appz\[Nuked]-stuff.test.incomp
03-07-2005 17:38:09 NUKE - Messagefile: E:\Ftp\Appz\[Nuked]-stuff.test.incomp\.ioFTPD.message
03-07-2005 17:38:09 NUKE - Nuketag: E:\Ftp\Appz\[Nuked]-stuff.test.incomp\[Nuked]-[3x]-[by Nuker@SiteOp]-[incomplete.for.more.than.20.minutes]
03-07-2005 17:38:09 BENCHMARK - Time to run command: NUKE was 313ms

Thanks in advance...

MidasKing
03-07-2005, 04:21 PM
Harm, my ioAutonuke config (in two cases-only changed time to nuke for testing)

set anuke(user) "Nuker"
set anuke(group) "SiteOp"
set anuke(mtab) "C:/ioFTPD/etc/admin.vfs"
set anuke(muser) "Nuker"
set anuke(ioA) "C:\\ioFTPD\\scripts\\ioA\\ioA.exe"
set anuke(ioB) "C:\\ioFTPD\\scripts\\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_" "orted"}
set anuke(maxtime) 1650

###; enable or disable nuke/warn (1 = enable, 0 = disable)
set anuke(empty,nuke) 1; set anuke(missing,nuke) 1; set anuke(banned,nuke) 1; set anuke(allowed,nuke) 0;
set anuke(empty,warn) 1; set anuke(missing,warn) 1; set anuke(banned,warn) 1; set anuke(allowed,warn) 0

###; syntax: {"/section" statsection creditsection multiplier warnmins nukemins}
set anuke(empty,sections) {{"/Appz" 0 0 3 15 60} {"/XingLing" 2 2 3 15 60} {"/DiVX_#--M" 0 0 3 15 60} {"/Moviez_BR" 0 0 3 15 60} {"/Gamez" 1 1 3 15 60} {"/DiVX_N--Z" 0 0 3 15 60} {"/Mp3z" 1 1 3 15 60} {"/Moviez_Infantis" 0 0 3 15 60} {"/Moviez_XXX" 1 1 3 15 60} {"/Moviez_Shows" 1 1 3 15 60}}
set anuke(missing,sections) {{"/Appz" 0 0 3 1440 1620} {"/XingLing" 2 2 3 1440 1620} {"/DiVX_#--M" 0 0 3 1440 1620} {"/Moviez_BR" 0 0 3 1440 1620} {"/Gamez" 1 1 3 1440 1620} {"/DiVX_N--Z" 0 0 3 1440 1620} {"/Mp3z" 1 1 3 1440 1620} {"/Moviez_Infantis" 0 0 3 1440 1620} {"/Moviez_XXX" 1 1 3 1440 1620} {"/Moviez_Shows" 1 1 3 1440 1620}}
set anuke(banned,sections) {{"/Gamez" 1 1 3 15 60}}
set anuke(allowed,sections) {{"/mp3/????" 0 0 3 10 20}}

set anuke(dateformat) "%m%d"

###; multicd = subdirs for multicds releases (regexps are supported)
###; missing,files = file types needed in a dir when checking for incomplete releases (do not change unless you know what you're doing)
set anuke(multicd) {"*CD[0-9]" "*DISC[0-9]" "*DVD[0-9]"}
set anuke(missing,files) {".zip" ".rar" ".r00" ".r01" ".mp3" ".000" ".001"}

###; banned,$section = banned words in dirnames for $section
###; allowed,$section = allowed groups for $section
set anuke(banned,Gamez) {"TESTBAN" "BANTEST"}
set anuke(allowed,mp3) {"TESTALLOW" "ALLOWTEST"}

durulink
03-22-2005, 12:50 PM
Is it bug REQWIPE?

I tested v2.0.2 and that not work.
but, v1.2.4 work fine.

and i used same conf with v2.0.2's.

WarC
03-24-2005, 12:33 PM
yup a bug. now fixed.

Originally posted by durulink
Is it bug REQWIPE?

I tested v2.0.2 and that not work.
but, v1.2.4 work fine.

and i used same conf with v2.0.2's.

FLX
03-27-2005, 07:59 AM
Hi,

I'm really new to iOFTPD and imstill figuring some things out.
One thing i cant figure out is this:
when i do "OnUploadComplete = EXEC ..\scripts\ioA\ioA.exe RESCANALL" it just pops up between every transfer.
I want todo rescanall when im done transferring ALL the files.
is this possible?

Thanks in advance,

FLX

p.s is it possible todo rescanall without showing up in the status window? you know, silently?

root: D:\FTP\ioFTPD

Mouton
03-27-2005, 09:55 AM
ioA is not a zipscript. RESCANALL should be used manually.
There is no ioFTPD trigger to know when a release is complete; it doesn't know that.

FLX
03-27-2005, 10:00 AM
but what about iOSFV?
i auto checks when it is done....

FLX

Mouton
03-27-2005, 10:07 AM
ioSFV is a zipscript. It checks SFV files and count the good files that are uploaded and then know when they're all there. ioA is not a zipscript and doesn't do that.

FLX
03-29-2005, 07:19 AM
how to make make the pre command work?

WarC
03-29-2005, 03:48 PM
by reading the manual and looking at the example

sk1nt
04-05-2005, 06:10 AM
Got a suggestion for the requestpart.
Why not add an option to move filled requests to another destination. Like another drive or vfssection.
Could be executed on reqfilled.

WarC
04-17-2005, 01:37 PM
2.0.3 is out.

sk1nt
04-18-2005, 03:03 AM
The prestatlog is very nice, thanks for that.
Now on to another request for ioA.
Can you make the reqfilled command chmod the filled dir to 755 so users cant upload in filled requests?
Would be nice.

/sk1nt

durulink
04-18-2005, 08:47 AM
thx ioa.2.0.3 (--)(__)

AXB
05-08-2005, 10:13 AM
Hi! I've got an error with ioA 2.0.3 :

When I go in the /PRE/SiTeOp/ vfs path where is located the folder Release-Name, and execute this command in flashFXP :
site pre SERIES Release-Name, i got that:

[R] site pre SERIES Release-Name
[R] 200--[Pre]-----------------------------------------------------------------------
[R] 200- Error occured. Path failure
[R] 200------------------------------------------------------------------------[ioA]-
[R] 200- ioA execution time: 0ms
[R] 200 Command Successful.

Here is my configuration of ioA :
[PRE]
Pre_Area_0 = "SERIES|Some SERIES|E:\FTP\SERIES\%M%D|/SERIES/%M%D|0"
Pre_Group_0 = "SiTeOp|SERIES|/PRE/SiTeOp|0|0|"
Pre_Order = 0
Pre_Log = ""%vfs/%release" "%user" "%group" "%.0files" "%.2mb" "%type" "%desc" "%ufo" "%genre" "%kbit" "%year""
Pre_Touch_Owner = 1
Pre_Give_Credits_To_Uploaders = 1
Pre_Give_Credits_To_Predude = 1
Pre_Run_Script = "E:\ioFTPD\imdb.exe"
Pre_File_Filter_0 = "*.ioFTPD*"
Pre_Skip_Messagefile = 1
Pre_Stats_File = "E:\ioFTPD\logs\pre_stats.log"

Can anyone help me? :confused:

WarC
05-08-2005, 01:33 PM
Check debuglog for clues. Esecially the path it try to enter.

EwarWoo
05-11-2005, 05:38 AM
Is it possible to make site take so it wont put people into negative credits?
Mainly for use on rings where commands are sent blindly to multiple sites (Site A: site take user 50, Site B: site give user 50 would generate a nice error instead of going through)

Zer4tul
05-12-2005, 01:27 PM
A little quistion:

Why not add support to relative paths? I'm trying to configure a generic configured ioftpd with ioA for my schoolmates. Because lots of them do not know much about FTP server configuration, I must do lots of pre-work for them, one of these is configure ioA. So, if it supports relative paths, it will be easier for me to configuring it. ^^

WarC
05-13-2005, 04:24 AM
Ewarwoo: I'll see what I can do in next version.

Zer4tul: That is not likely to happen. Even if you dont know much about ioFTPD its not that hard to change a path so it works.

EwarWoo
05-13-2005, 05:34 AM
Cheers WarC, look forward to it :D
TBH when it was pointe dout I was pretty amazed it hadn;t come up before. Hehe
And Zer4tul - why not just install in the same place on everyones machine? Is easy and quick to copy installs that way :)
Make everyone have a C:\myFTP\ioFTPD and C\myFTP\sitebot or some such. Thats what I do with my configs. Theres no reasonable reason they can object to that considerring how little space the install takes N if they dont like it they dont have to use it :)

sk1nt
05-13-2005, 07:37 AM
Warc, possible to add kick users from dir on reqfilled and at the same time make the dir 755? Some requests doesnt get renamed cause of activity in the dir.

cheers.

WarC
05-16-2005, 01:25 PM
sk1nt:
reqfilled try to kick users when renaming. If you check debug it should log that it does and also give a errornumber when it fails. What number does it report when failing?

LordM_2
05-17-2005, 05:41 AM
Got a problem with kick on nuke.

Users don't get kicked on nuke and so Dir isn't renamed. Is this because one of the users has got the M Flag? Or did I do something wrong?

debug Log sais:


05-16-2005 13:20:38 NUKE - Running kick...start
05-16-2005 13:20:38 NUKE - Running kick...stop. result=0, success
05-16-2005 13:20:39 NUKE - Was unable to rename nuked directory
05-16-2005 13:20:39 NUKE - Flushing cache in: e:\ftp\upload\Tools\[Nuked]-Little.Advisory.to.get.nuked-PPP
05-16-2005 13:20:39 NUKE - Time to run command: 11887ms


the first two lines are there 50 times and then 'was unable to rename...'.

using ioA 2.0.3

Thx for any help

WarC
05-18-2005, 05:27 AM
Flag should not matter so thats not the problem. I dont really know why it would not work. Only thing I can think of is if a script is locking it. By default ioa tries to rename it 50 times and kick inbetween if not succesful. Does this always happen so its reproducable or is it random? If you can recreate it I would need you to run a special version to check whats happening.

LordM_2
05-27-2005, 03:08 AM
I'll try to reproduce it.

LordM_2
05-27-2005, 07:21 AM
Well, triggered by a user it works fine now. Triggered by nxAutoNuke kick work, but rename not.

zOrP
07-15-2005, 02:01 PM
seems the site reqwipe function dont work..

When i do it nothing happens..

[L] site reqwipe
[L] 200-[REQUESTS] - Current Requests on %Site :
[L] 200- ioA execution time: 0ms
[L] 200 Command successful.

thats all..

filled requests are still there.. :confused:

EwarWoo
07-15-2005, 07:38 PM
The command is site reqwipe [request number]

zOrP
07-17-2005, 08:17 AM
its not..
that would be site reqdel #nr

shouldn't site reqwipe delete all filled requests?

But doesn't seem to work still.. :/

WarC
07-17-2005, 04:32 PM
reqwipe is used by scheduler(usually) to wipe filled requests older than x days.

possible commands:
site request hubba
site reqdel <number>
site reqfilled <number>
site reqwipe

zOrP
07-18-2005, 10:59 AM
hmm..
yes.
but i tried earlier today..

worked fine with site reqwipe

here's the debug.

07-18-2005 17:30:42 REQWIPE - ioA Version: 2.0.3
07-18-2005 17:30:42 REQUESTWIPE - Trying to kick from: F:\REQ\[FILLED]-Some.test.rls
07-18-2005 17:30:42 WIPE - Flushing cache in: F:\REQ
07-18-2005 17:30:42 REQWIPE - Time to run command: 62ms

then i added
reqwipe = 1M

and i cant seem to get it to work.
i just get
[R] site reqwipe
[R] 200-[REQUESTS] - Current Requests on %site:
[R] 200- ioA execution time: 47ms
[R] 200 Command successful.

here's the debug
07-18-2005 17:57:54 REQWIPE - ioA Version: 2.0.3
07-18-2005 17:57:54 WIPE - Flushing cache in: F:\REQ
07-18-2005 17:57:54 REQWIPE - Time to run command: 47ms

i tried to remove
reqwipe = 1M
didn't help..
any ideas of why it suddently dont work ? :-(

btw, tried to add it to scheduler as u said.

Then debug gives me this.

07-18-2005 23:07:28 REQWIPE - ioA Version: 2.0.3
07-18-2005 23:07:28 WIPE - Flushing cache in:
07-18-2005 23:07:28 REQWIPE - Time to run command: 0ms

still no wiping of [FILLED]-req dirs.. :-/

zOrP
07-18-2005, 11:15 AM
btw.. another question for ioA 2.0.3

I customized my request output like this..

(18:05:50) (@me) !requests
(18:05:52) (@xxx) [REQUESTS] - Current Requests on sitename :
(18:05:54) (@xxx) [REQUESTS] - [ 001:] me at 18-07-2005 ~ test.folder
(18:06:08) (@xxx) [REQUESTS] - If you fill a request, please do !reqfilled <number>

but I was wondering.
Is it possible to customize so the request is not the last part ?
i tried to add the time after, but then when i reqfill the folder dont rename and it makes a mess.. :-(

Any ideas ?

WarC
07-18-2005, 04:36 PM
by just adding who can use the commnad can't have anything to do with if reqwipe works or not, must be something else. ioA dont know anything about who can use it or not. You sure you didnt change any of the ioa.cfg settings also?

on format of request it depends on exacly how your requestline is formatted in ioa.cfg. if you only use %request (ie not limitiing the length) and then date after it will go banana I'm sure. There are limitations on how it can look.

zOrP
07-19-2005, 06:29 AM
ahh.. so i can limit the lengh of %request.
how do i do that ?

this is my request line :

Request_Line = "[REQUESTS] - [ %##:] %-10user at %D-%M-%Y ~ %request"

is it possible to make like this

Request_Line = "[REQUESTS] - [ %##:] %request ~ by %-10user at %D-%M-%Y"
and still have the reqdel reqfilled work.
and of course have the rename to filled work ? :)

for example if it was possible to make a
Request_Field = " :] "
and
Request_Field_end = " ~ "
:)

WarC
07-19-2005, 06:44 AM
limiting %request you do the same way as you limited userlength. %-30request or something like that.
I havnt tested all possible ways of formatting therefor not 100% it will work as you want. I'll see if I can find some time and do some tests.

zOrP
07-19-2005, 07:01 AM
i just tried with
Request_Line = "[REQUESTS] - [ %##:] %-65request ~ by %-10user at %D-%M-%Y"

but its still ****ed..

the announce works fine.
bot for make request and for !requests

but u cant reqfill or reqdel..
so i was thinking if it was possible to make a
Request_Field_end = " ~ "
so the script would know its only the thing between ]: and ~

cause the other way script thinks its everything after ]:
thats why reqdel / filled dont work there.. :(

zOrP
07-19-2005, 07:04 AM
and for the reqwipe thing.. where do i set the request section.

cause scheduler gave me this back

07-18-2005 23:07:28 REQWIPE - ioA Version: 2.0.3
07-18-2005 23:07:28 WIPE - Flushing cache in:
07-18-2005 23:07:28 REQWIPE - Time to run command: 0ms

btw,
here is my config so there is no confusions..

################################################## ##############################

[Request]
Request_Header = "[REQUESTS] - Current Requests on site :"
Request_Footer = "[REQUESTS] - If you fill a request, please do !reqfilled <number>"
Request_File = "F:\REQ\.ioFTPD.message"
Request_Line = "[REQUESTS] - [ %##:] %-10user at %D-%M-%Y ~ %request"
Request_Field = " ~ "
Request_Max = 50
Request_Max_User = 5
Request_Excluded_User_0 = "ioFTPD"
Request_Excluded_User_1 = "me"
Request_Too_Many_Made = " Too many requests made. Limit is %.0request"
Request_Too_Many_Made_User = " You have made too many requests already. Limit is %.0request"
Request_Already_Made = " That is already requested"
Request_Output_Line = " Added request: %request"
Request_Log = ""%user" "%group" "%request" "
Request_Add_Tag = 1
Request_Tag = "[REQ]-%request"
Request_IRC_Uid = 0
Request_IRC_Gid = 0
Request_Use_Uid-GID_from_IRC = 0


Request_Max_age = 10
Request_Wipe_Log = ""%release" "%.0dirs" "%.0files" "%.2mb""

Reqfilled_Not_Found = " Request not found"
Reqfilled_Log = ""%user" "%group" "%request""
Reqdel_Log = ""%user" "%group" "%request""
Reqdel_Output_Line = " Deleted following request: %request"
Reqfilled_Output_Line = " Filled following request: %request"
Reqfilled_Tag = "[FILLED]-%request"
ReqFilled_Add_Tag = 1
ReqFilled_Send_Message = 1

################################################## ##############################

WarC
07-19-2005, 10:58 AM
done some tests here now...

by using the line you pasted last from settings it works perfect for me with reqfilled
Request_Line = "[REQUESTS] - [ %##:] %-10user at %D-%M-%Y ~ %request"

Using this line from the post before there is one problem.
Request_Line = "[REQUESTS] - [ %##:] %-65request ~ by %-10user at %D-%M-%Y"

You probably changed the Request_Field to be "] " since that is what is before the %request. However you also got "] " after the inital requestsword so it will match that instead.

If I instead use it like this:
Request_Line = "[REQUESTS]-[ %##:] %-65request ~ by %-10user at %D-%M-%Y"
This will work since theres no "] " more than the one in front of request. It need to be unique

reqwipe I havnt tried yet but the way it work is..
if grabs the setting from
Request_File = "F:\REQ\.ioFTPD.message"
removes ".ioFTPD.message" and starts listing dirs in f:\req. if it finds a dir that contaings "[Filled]" it will check it.

hope this cleared some up, I'll test wipe when I get back home again.

zOrP
07-19-2005, 04:02 PM
hey.. thnx for the quick reply..

I'm guessing i have found out the error of the reqwipe thingy..

cause it works sometimes..

Request_Max_age = 10
i'm guessing thats 10 days old.
and since my filled reqs are not 10 days, maybe thats why its not working.. :)

about the request thing..

i tried using your setting..
but it wont reqfill or remove from message file
or rename dir...
:-(

WarC
07-20-2005, 02:16 AM
Indeed reqwipe if you have it set to Request_Max_age=10 will only delete stuff that is 10 days old.

why reqfill dont work for you with the line I provided I dunno, it works as it should here. If you when testing check debuglog you might get a hint if it matches on something it shouldnt. Ie separator is not unique.

zOrP
07-20-2005, 08:12 AM
i just tested again with your line

here's the debug..
07-20-2005 15:05:07 REQUESTIRC - ioA Version: 2.0.5
07-20-2005 15:05:07 REQUEST - Request_Field " :] "
07-20-2005 15:05:07 REQUEST - Request_Line "[REQUESTS]-[ %##:] %-65request ~ by %-10user at %D-%M-%Y
07-20-2005 15:05:07 REQUEST - Found 0 requests
07-20-2005 15:05:07 REQUEST - E065 Owner could not be set
07-20-2005 15:05:07 REQUEST - E065 "F:\testREQ\[REQ]-test" "0" "0"
07-20-2005 15:05:07 REQUEST - Setting permission on directory
07-20-2005 15:05:07 REQUESTIRC - Time to run command: 32ms
07-20-2005 15:07:01 REQUEST - ioA Version: 2.0.5
07-20-2005 15:07:01 REQUEST - Time to run command: 15ms
07-20-2005 15:07:21 REQFILLEDIRC - ioA Version: 2.0.5
07-20-2005 15:07:21 REQFILLEDIRC - Time to run command: 16ms

didnt rename to filled, and the request is still there when i do !requests

here's the debug with only ] as request field.

07-20-2005 15:09:35 REQUEST - ioA Version: 2.0.5
07-20-2005 15:09:35 REQUEST - Time to run command: 16ms
07-20-2005 15:10:25 REQUEST - ioA Version: 2.0.5
07-20-2005 15:10:25 REQUEST - Request_Field " ] "
07-20-2005 15:10:25 REQUEST - Request_Line "[REQUESTS]-[ %##:] %-65request ~ by %user at %D-%M-%Y
07-20-2005 15:10:25 REQUEST - Found 0 requests
07-20-2005 15:10:25 REQUEST - E065 Owner could not be set
07-20-2005 15:10:25 REQUEST - E065 "F:\testREQ\[REQ]-more.cheese" "103" "2"
07-20-2005 15:10:25 REQUEST - Setting permission on directory
07-20-2005 15:10:25 REQUEST - Time to run command: 31ms
07-20-2005 15:10:29 REQUEST - ioA Version: 2.0.5
07-20-2005 15:10:29 REQUEST - Time to run command: 16ms
07-20-2005 15:10:42 REQFILLEDIRC - ioA Version: 2.0.5
07-20-2005 15:10:42 REQFILLEDIRC - Time to run command: 16ms
07-20-2005 15:10:54 REQFILLED - ioA Version: 2.0.5
07-20-2005 15:10:54 REQFILLED - Time to run command: 16ms

WarC
07-21-2005, 02:54 PM
why do you have a space before the ] characeter?
Request_Field " ] "
it wont match the requestline then.
remove the space before the ] and try

helenoksen
11-17-2005, 08:51 PM
[Sections]
GROUPS = 5 9 /GROUPS/*
REQUEST = 0 8 /REQUEST/*
SPEED = 0 7 /SPEED/*
SECTIONS = 5 1 /SECTION1/*
SECTIONS = 5 1 /SECTION2/*
SECTIONS = 5 1 /SECTION3/*
SECTIONS = 5 1 /SECTION4/*
SECTIONS = 5 1 /SECTION5/*
DEFAULT = 0 0 *

[Transfer]
Transfer_Credits = " You do not have enough credits.\n Credits: %mbMB"
Transfer_Ok = " Transferred %mbMB from %fromsection to %tosection."
# Sections that should not be possible to tranfer to
Transfer_Sections_0 = "SECTIONS"

I set this to Transfer_Sections_0 = "SECTIONS" but i can still transfer to that section.

[2] (02:07:24) SITE TRANSFER
[2] (02:07:24) 200--[Transfer]------------------------------------------------------------------
[2] (02:07:24) 200- Syntax:
[2] (02:07:24) 200- site transfer <MB> <from> <to>
[2] (02:07:24) 200- Sections can be given with number or name
[2] (02:07:24) 200- (5)GROUPS (0)REQUEST (0)SPEED (0)DEFAULT
[2] (02:07:24) 200------------------------------------------------------------------------[ioA]-

[2] (02:06:16) SITE TRANSFER 1000 DEFAULT SECTIONS
[2] (02:06:16) 200--[Transfer]------------------------------------------------------------------
[2] (02:06:16) 200- Transferred 1000MB from DEFAULT to SECTIONS.
[2] (02:06:16) 200------------------------------------------------------------------------[ioA]-

Before site transfer:
[2] (02:05:15) SITE STAT
[2] (02:05:15) 200-[Ul: 95.4MB] [Dl: 14.3MB] [Speed: 0.0kb/s] [Free: 48.82GB]
[2] (02:05:15) 200-[Section: SECTIONS] [Credits: 271.8M] [Ratio: 1:3]

After site transfer:
[2] (02:06:38) SITE STAT
[2] (02:06:38) 200-[Ul: 95.4MB] [Dl: 14.3MB] [Speed: 0.0kb/s] [Free: 48.82GB]
[2] (02:06:38) 200-[Section: SECTIONS] [Credits: 1271.8M] [Ratio: 1:3]

Shouldn't ioA prohibit this?

Also, what if you need to transfer credits FROM the section you 'disabled' in the config line?
# Sections that should not be possible to tranfer to
Transfer_Sections_0 = "SECTIONS"

If these are indeed bugs or whatever I'd be happy to help you run some tests.

ioFTPD 5.8.5r
ioA.2.0.5

WarC
11-20-2005, 11:44 AM
I'll do some test on this during week. it seems to be a bug due to the logs you provided

WarC
11-23-2005, 03:04 PM
located the error and its endeed a bug, or atleast a case I didnt think of apparently when I checked my code tonight. a disabled section should not be able to transfer from or to. atm if you know the sectionname or number it still is possible to do so.

I'll put a new version out soon with this fixed

helenoksen
11-24-2005, 10:58 AM
Exellent! Looking forward to test it.

jeza
12-15-2005, 04:35 AM
hi

can u change the log for NUKE/UNNUKE
and add an option do choose the type of loging

now it logs one line for each nuked user to ioFTPD.log
"vfs" "nuker" "nukees" "mult size" "reason"
"vfs" "nuker" "nukees1" "mult size1" "reason" ...

can u modify it to log all info to one line
like:
"vfs" "nuker" "nukee1 size1 nukee2 size2 ..." "mult" "reason"

and the same for unnuke

:)

WarC
12-15-2005, 07:41 AM
I have added support to log as glftpd2 does. That is in one line.

jeza
12-15-2005, 02:29 PM
great :)
any eta for new version?

WarC
12-23-2005, 04:28 PM
Christmas present.... 2.0.6 is out

zOrP
02-19-2006, 06:50 AM
after i updated to ioA 2.0.7, site keeps chrashing when nuking big dirs like 4-5gb..

02-19-2006 12:43:21 NUKE - ioA Version: 2.0.7
02-19-2006 12:43:21 NUKE - nuke: some.test-rls
02-19-2006 12:43:21 NUKE - multi: 1
02-19-2006 12:43:21 NUKE - reason: some long boring test reason for nuking this rls
02-19-2006 12:43:21 NUKE - oldpath: e:\test\some.test-rls
02-19-2006 12:43:21 NUKE - newpath: e:\test\[NUKED]-some.test-rls
02-19-2006 12:43:21 NUKE - Check if directories are present
02-19-2006 12:43:21 NUKE - Checked directories if present
02-19-2006 12:43:21 NUKE - Resolve owner of directory to nuke

thats it..
:x

zag2me
02-27-2006, 04:52 AM
Is there any way to Announce PRE's to IRC? The pre script works fine but it doesnt announce to the eggdrop that I can see. I have tried another script and that works fine but would prefer to use ioA.

Cheers.

WarC
02-27-2006, 08:41 AM
ioa logs a pre announce when pre is made. if not announced check if its loggged to ioftpd.log and if not check config for logging in ioa.cfg. debuglog could give a hint also

whocarez2k5
04-09-2006, 01:43 PM
Hi,

Started to use io again and running true config of ioA i see a couple of exe files that are missing or dunno what to do with it?

Nuke_Run_Script = "d:\script.exe nuke %user %.0size %.0multi"

Wipe_Exec_On_Wipe = "hubba.exe %release %vfs %.0mb %user %group %.0files %.0dirs"

Pre_Run_Script = "F:\ioFTPD\scripts\imdb.exe"

any ideas?

WarC
04-09-2006, 02:00 PM
those exes are just examples. they dont really exist

whocarez2k5
04-09-2006, 05:02 PM
those exes are just examples. they dont really exist
Yeah i know now, so when i don't want to use them i can delete them then?

helenoksen
04-09-2006, 06:41 PM
u can put Pre_Run_Script = ""
this wont break anything

greetz

mantonio1965
12-23-2007, 09:18 PM
i'm getting crazy. by now i am trying around with the latest script to format the search output as is had to be. currently its showing me that many times a root folder as the number of total items are in there, i.e. if a folder contains 5 files the matching result lists 5 times the root folder and then 5 times the matching folder. and its listing the highest cat.no. at first, i.e. if the root contains 20 folders the matches get listed by 20 down to tha last match.

also the counter of matching folder shows me there are x.000000 matches to your search term. how to make it show integer values instead of floats?

look here:

[L] 200- /-=[ B ]=-/[ Bush ]/[ Bush 1015 ] Dave Clarke_Red 2 (1994)/
[L] 200- /-=[ B ]=-/[ Bush ]/[ Bush 1015 ] Dave Clarke_Red 2 (1994)/
[L] 200- /-=[ B ]=-/[ Bush ]/[ Bush 1012 ] Dave Clarke_Red 1 (1994)/
[L] 200- /-=[ B ]=-/[ Bush ]/[ Bush 1012 ] Dave Clarke_Red 1 (1994)/
[L] 200- /-=[ B ]=-/[ Bush ]/[ Bush 1011 ] Aphrohead_In The Dark We Live (Thee Lite) (1993)/
[L] 200- /-=[ B ]=-/[ Bush ]/[ Bush 1011 ] Aphrohead_In The Dark We Live (Thee Lite) (1993)/
[L] 200- /-=[ B ]=-/[ Bush ]/[ BSL5 ] Dave Clarke - Red 1 & 2 (2006)/
[L] 200- /-=[ B ]=-/[ Bush ]/[ BSL5 ] Dave Clarke - Red 1 & 2 (2006)/
[L] 200- /-=[ B ]=-/[ Bush ]/[ BSL5 ] Dave Clarke - Red 1 & 2 (2006)/
[L] 200- /-=[ B ]=-/[ Bush ]/
[L] 200- /-=[ B ]=-/[ Bush ]/
[L] 200- /-=[ B ]=-/[ Bush ]/
[L] 200- 12.000000 items found
[L] 200---------------------------------------------------------------------------[ioA]-

how to get rid of those problems? i cant figure it out with tha attached http docu or any other source.

here my settings:


[Search]
Search_Use_Star = 0
Search_Minimum_Length = 3
Search_Output_Too_Short = " Searchstring must contain at least %characters characters"
Search_Output_Matches = " \n %number items found"
Search_Output_No_Matches = " Sorry, nothing found!"
Search_Output_Match = " %vfs/"
#Search_Output_Match = " %vfs/%target"
Search_Path_0 = G:\|/|3
#Search_Path_0 = C:\Programme\ioFTPD\site|/|3
#Search_Exclude_Path_0 = C:\Programme\ioFTPD\site\pre\*
#Search_Exclude_Path_1 = C:\Programme\ioFTPD\site\admin\*
Search_Exclude_Show_0 = *complete*
Search_Exclude_Show_1 = *incomplete*
#Search_Exclude_Show_2 = *.m3u*
#Search_Exclude_Show_3 = *.nfo*
#Search_Exclude_Show_4 = *.sfv*
Search_File_Filter_0 = .*
Search_File_Filter_1 = *.m3u
Search_File_Filter_2 = *.nfo
Search_File_Filter_3 = *.sfv
Search_File_Filter_4 = *.jpg
Search_File_Filter_5 = *.bmp
Search_File_Filter_6 = *.gif
Search_File_Filter_7 = *.png
Search_File_Filter_8 = .message
Search_Log_File = G:\search.log
Search_Include_Files = 0
Search_Using_Log = 1
Search_Sort_Order = 3


please, developer, gimme little support! :-)

cheers...

Silly
02-19-2010, 09:02 PM
oops,can't find anywhere to download this script...-_-

biggysmlz
02-01-2013, 06:46 AM
anyone has a working link for WarChive2.2?

Yil
02-03-2013, 11:55 AM
I only have an archived version of v2.1. See if that works for you.

Oh, and check out Jeza's archiving tool here for something that is still supported.

Prodigy
12-18-2018, 08:22 PM
Any mirror for the latest ioa?

[EDIT]
Found it here https://oss.azurewebsites.net/forum/14307/p76343-post5.html

UltraFine
12-20-2018, 07:52 AM
Hey everyone,

I tried to send messages with ioA 2.0.5 and 2.0.8 but it does not seem to work:

ioa.debug
12-20-2018 13:43:22 MSG - ioA Version: 2.0.8
12-20-2018 13:43:22 MESSAGE - E002 Error while writing messages to all users. Make sure messagepath is correct
12-20-2018 13:43:22 MSG - Time to run command: 16ms

ioA.cfg
[Message]
Message_Login_Output = "-[Message]---------------------------------------------\n You got message(s) waiting.\n Type: site msg read to view\n--------------------------------------------------\n"
[I]Message_Files_Path = c:\ioFTPD\scripts\ioA

FTP Site Message
SITE MSG * TESTMESSAGE

Does anyone has an idea why this happens?

UltraFine

-Win7-64 / ioftpd.7.7.3 (2018 Prodigy) compilation

Prodigy
01-02-2019, 08:30 AM
I hope WarC will releasing ioA source code