Go Back   FlashFXP Forums > > > >

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 3.00 average. Display Modes
Old 07-19-2005, 10:58 AM   #61
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

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.
WarC is offline   Reply With Quote
Old 07-19-2005, 04:02 PM   #62
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

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...
:-(
zOrP is offline   Reply With Quote
Old 07-20-2005, 02:16 AM   #63
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

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.
WarC is offline   Reply With Quote
Old 07-20-2005, 08:12 AM   #64
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

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
zOrP is offline   Reply With Quote
Old 07-21-2005, 02:54 PM   #65
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

why do you have a space before the ] characeter?
Request_Field " ] "
it wont match the requestline then.
remove the space before the ] and try
WarC is offline   Reply With Quote
Old 11-17-2005, 08:51 PM   #66
helenoksen
Member
ioFTPD Foundation User
 
Join Date: Oct 2005
Posts: 75
Default

HTML Code:
[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 *
HTML Code:
[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.

HTML Code:
[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
helenoksen is offline   Reply With Quote
Old 11-20-2005, 11:44 AM   #67
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

I'll do some test on this during week. it seems to be a bug due to the logs you provided
WarC is offline   Reply With Quote
Old 11-23-2005, 03:04 PM   #68
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

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
WarC is offline   Reply With Quote
Old 11-24-2005, 10:58 AM   #69
helenoksen
Member
ioFTPD Foundation User
 
Join Date: Oct 2005
Posts: 75
Default

Exellent! Looking forward to test it.
helenoksen is offline   Reply With Quote
Old 12-15-2005, 04:35 AM   #70
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

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

jeza is offline   Reply With Quote
Old 12-15-2005, 07:41 AM   #71
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

I have added support to log as glftpd2 does. That is in one line.
WarC is offline   Reply With Quote
Old 12-15-2005, 02:29 PM   #72
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

great
any eta for new version?
jeza is offline   Reply With Quote
Old 12-23-2005, 04:28 PM   #73
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

Christmas present.... 2.0.6 is out
WarC is offline   Reply With Quote
Old 02-19-2006, 06:50 AM   #74
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

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
zOrP is offline   Reply With Quote
Old 02-27-2006, 04:52 AM   #75
zag2me
Junior Member
 
Join Date: Feb 2006
Posts: 21
Default

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.
zag2me is offline   Reply With Quote
Reply

Tags
/warc, exe, internal, users, version

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:45 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)