Go Back   FlashFXP Forums > > > >

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-29-2006, 03:06 PM   #1
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default Slew of random questions

2 questions....

When a req is reqfilled, doesn't nxtools kick users from the req folder..?

cause i just reqfilled a folder, but it didnt rename..

and second, when i do site new some weeks old folders come out

but when i do site new section its the right ones..

ideas?
zOrP is offline   Reply With Quote
Old 05-29-2006, 09:36 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Quote:
Originally Posted by zOrP
When a req is reqfilled, doesn't nxtools kick users from the req folder..?

cause i just reqfilled a folder, but it didnt rename..
ioFTPD's Tcl interface for kicking online users returns before they are kicked, so nxTools uses some ugly hacks to work around this. Unfortunately, my work-around doesn't work 100% of the time - this needs to be fixed in ioFTPD.

Quote:
Originally Posted by zOrP
and second, when i do site new some weeks old folders come out

but when i do site new section its the right ones..
If you ran "SITE REBUILD" to rebuild the dupe databases, it's likely that some directories had incorrect timestamps.
neoxed is offline   Reply With Quote
Old 05-30-2006, 07:07 AM   #3
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

oki, first is ioftpd prob.. doesnt matter then..

second..
i did site rebuild..

but after that
every time i make a new folder, if i do site new mp3, its correct.

but site new is wrong.. still only the ones from site rebuild.
not adding new ones...
zOrP is offline   Reply With Quote
Old 05-30-2006, 12:40 PM   #4
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

It's probably because the creation time on some directories is incorrect, and "SITE REBUILD" uses that time.

New entries will be added, but because the timestamp on other entries are wrong (in the future), new entries won't be shown.
neoxed is offline   Reply With Quote
Old 05-31-2006, 03:13 PM   #5
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

true..

i checked creation time..
copied the folders and voila..

its working now..
zOrP is offline   Reply With Quote
Old 06-05-2006, 09:33 AM   #6
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

another thing about request then..

(16:32:39) (@xxx) !reqfill 7
(16:32:42) (@xxx) -site/REQFiLLED- > Filled request test.req-thingy for user1/group.
(16:32:43) (@xxx) -site/REQFILLED- > test.req-thingy (ID #7) filled by user2/group after 21m 39s

Possible to minimize this, and only have the last line, and not the line from nxtools ?
zOrP is offline   Reply With Quote
Old 06-05-2006, 12:44 PM   #7
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

The first message is the user notification (also informs user about errors) and the latter is the channel announcement.

Typically the user notification is sent by private message/notice, I don't know why you have it set for the channel. Personally, I wouldn't disable either one.
neoxed is offline   Reply With Quote
Old 06-05-2006, 06:30 PM   #8
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

ahh.. oki.

Thought the target=channel was for the req announce..
So ill make it notice then..

about reqwipe.

here is my conf.
set req(MaximumAge) 14
set req(ReleaseNames) True
set req(RequestPath) "C:/REQUESTS"
set req(RequestTag) {REQ-%(request)}
set req(FilledTag) {_FiLLED/FILLED-%(request)}

here is debug

06-06-2006 01:24:34 -------------------------------------------------------------------
06-06-2006 01:24:34 - Script : ..\scripts\nxTools\nxRequest.tcl
06-06-2006 01:24:34 - args : WIPE
06-06-2006 01:24:34 - user : user
06-06-2006 01:24:34 - group : group
06-06-2006 01:24:34 - groups : group
06-06-2006 01:24:34 - flags : 1MTHL
06-06-2006 01:24:34 - path : C:\REQUESTS\_FiLLED
06-06-2006 01:24:34 - pwd : /REQUESTS/_FiLLED/

But reqs older than 14 days are not wiped.
some are old reqs from using ioA.
but still same header. Others are new.
but also not wiped.
any idea?
zOrP is offline   Reply With Quote
Old 06-05-2006, 10:55 PM   #9
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Because they're from ioA...nxTools only wipes requests marked as filled in the database (data\requests.db).
neoxed is offline   Reply With Quote
Old 06-06-2006, 01:34 PM   #10
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

ahh.. oki..
nice enough..
thnx for the quick replies.
zOrP is offline   Reply With Quote
Old 07-30-2006, 09:51 AM   #11
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

btw..
For that announce nxtools part..

(16:48:50) (@xxx) !approve Some.test-rls
(16:48:51) (@xxx) -site/APPROVE- > Some.test-rls was approved by xxx/CREW
(16:48:52) (@xxx) -site/APPROVE-ADD- > Found the release, approved "/TEST/Some.test-rls".

i changed alcobot.conf to
# Module: nxTools
channel.approve = flags=o target=notice
but it still spams instead of notice..
the same with reqs..

And now i got ur attention..

If both ioa and nxtools modules are loaded its quite a mess.
I use ioa for search, and nxtools for everything else.
if i load nxtools first, req dont work, and if i load ioa first
the cookies are messed up.
%(id) and %(age) isn't working

Last edited by zOrP; 07-30-2006 at 10:00 AM.
zOrP is offline   Reply With Quote
Old 07-30-2006, 11:44 AM   #12
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

As I've said many times, the ioA and nxTools module cannot co-exist. If you want to load both of them, you'll have to edit the .tcl files to play nicely.

If you look at variables.txt for the ioA module, you'll see it doesn't have the %(id) and %(age) cookies.
neoxed is offline   Reply With Quote
Old 07-30-2006, 05:12 PM   #13
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

yup.. I saw..
too bad for ioa then..
zOrP is offline   Reply With Quote
Reply

Tags
folder, questions, req, reqfilled, site

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 10:38 PM.

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