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 02-10-2005, 04:45 AM   #1
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default ioA 2.x.x Questions/Answers

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
WarC is offline   Reply With Quote
Old 07-15-2005, 07:38 PM   #2
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

The command is site reqwipe [request number]
EwarWoo is offline   Reply With Quote
Old 07-17-2005, 08:17 AM   #3
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default no ?

its not..
that would be site reqdel #nr

shouldn't site reqwipe delete all filled requests?

But doesn't seem to work still.. :/
zOrP is offline   Reply With Quote
Old 07-17-2005, 04:32 PM   #4
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

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
WarC is offline   Reply With Quote
Old 07-18-2005, 10:59 AM   #5
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

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 is offline   Reply With Quote
Old 07-18-2005, 11:15 AM   #6
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

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

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.
WarC is offline   Reply With Quote
Old 07-19-2005, 06:29 AM   #8
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

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 = " ~ "
zOrP is offline   Reply With Quote
Old 07-19-2005, 06:44 AM   #9
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

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

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

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

################################################## ##############################
zOrP is offline   Reply With Quote
Old 07-19-2005, 10:58 AM   #12
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   #13
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   #14
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   #15
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
Reply

Tags
/warc, exe, internal, users, version


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 06:30 AM.

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