Go Back   FlashFXP Forums > > > >

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-18-2006, 02:35 PM   #16
srtu
Junior Member
 
Join Date: Aug 2005
Posts: 24
Default

ok thx, it works
but i got another idea (maybe for the next version), with site new i get the last 10 uploads, is it possible to create a dir with symlinks which pointed to that dirs? (do you understand what i mean? my english isnt the best ;-))
anyway thx for youre script

Last edited by srtu; 11-18-2006 at 03:47 PM.
srtu is offline   Reply With Quote
Old 11-18-2006, 07:34 PM   #17
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

That's already possible with the "Latest Links" feature.

From nxTools.cfg:
Code:
#### Latest Links ##########################################
#
# - Path to create the latest pre and race symlinks.
# - Maximum number of pre and race symlinks (0 to disable).
#
set latest(SymPath)     "F:/ioFTPD/site"
set latest(PreLinks)    3
set latest(RaceLinks)   3
#
# - Style for the latest pre and race tag, cookies: %(section) and %(release).
# - Maximum length of the %(release) cookie (0 for no limit).
#
set latest(PreTag)      {[LatestPre]-%(release)}
set latest(RaceTag)     {[LatestRace]-%(release)}
set latest(MaxLength)   40
#
# - Directories to ignore to from symlink creation (case insensitive).
# - Paths to exempt from symlink creation, for race symlinks only (case sensitive).
#
set latest(Ignores)     {*/cd[0-9] */dis[ck][0-9] */dvd[0-9] */codec */cover */covers */extra */extras */sample */subs */vobsub */vobsubs}
set latest(Exempts) {
  {/!ADMIN/*}
  {/GROUPS/*}
  {/REQS/*}
}
neoxed is offline   Reply With Quote
Old 12-08-2006, 11:40 AM   #18
srtu
Junior Member
 
Join Date: Aug 2005
Posts: 24
Default

hi its me again ;-)
i add this

Quote:
set latest(SymPath) "d:/site/new"
set latest(PreLinks) 0
set latest(RaceLinks) 20
set latest(PreTag) {[LatestPre]-%(release)}
set latest(RaceTag) {[LatestRace]-%(release)}
set latest(MaxLength) 80
set latest(Ignores) {*/cd[0-9] */dis[ck][0-9] */dvd[0-9] */codec */cover */covers */extra */extras */sample */subs */vobsub */vobsubs}
set latest(Exempts) {
{/!ADMIN/*}
{/GROUPS/*}
{/REQS/*}
}
but i got more than 20 releases in the new dir, did i understand something wrong? (ioftpd crashed a few times, maybe thats the problem) can i delte the smlinks without any problems?
can i use cookys for the race tag, instead of LatestRace can i add the date of uploading so the last upload is on the first place
hope that i didn´t annoy to much ;-)

Last edited by srtu; 12-09-2006 at 12:28 PM.
srtu is offline   Reply With Quote
Old 12-20-2006, 09:18 PM   #19
nud3l
Junior Member
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 10
Default

hello,

i am using nxtools v1.0.5a and i get the same error on wipe command: 0KB ( 0Files, 0 dirs).

i think it is an error in the nxlib file; i replaced the getdirstats procedure with an older version, now it is working again.

greets
nud3l is offline   Reply With Quote
Old 01-12-2007, 10:00 AM   #20
spirit
Member
 
Join Date: Mar 2006
Posts: 44
Default

Quote:
Originally Posted by nud3l
hello,

i am using nxtools v1.0.5a and i get the same error on wipe command: 0KB ( 0Files, 0 dirs).

i think it is an error in the nxlib file; i replaced the getdirstats procedure with an older version, now it is working again.

greets
Hi
i use nxtools same version as u do, tell me from which older version have u taken the getdirstats because I've tried from 1.0.4 and it still doesnt work.
Thank You for help
spirit is offline   Reply With Quote
Old 01-23-2007, 11:06 AM   #21
razoor
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2006
Posts: 163
Default

Is it just me or isn´t the sysoplog working in nxtools?
When i type site syslog i get

-Syntax: SITE SYSLOG [-max <limit>] <pattern>

So if i type syslog 20 i get nothing found.

But i can only get the ten latest lines in the syslog if i type. " site syslog * "

Or am i just doing it wrong som how?

Last edited by razoor; 01-23-2007 at 11:13 AM.
razoor is offline   Reply With Quote
Old 02-04-2007, 04:36 PM   #22
razoor
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2006
Posts: 163
Default

Whats up with the nuke in this relase?
Code:
 [L] 200-.-[Nuke]-----------------------------------------------------------------.
 [L] 200-| Release : Mt.test.dvdr-test                                            |
 [L] 200-| Multi   : 1x                                                           |
 [L] 200-| Reason  : test                                                         |
 [L] 200-| Files   : 93F              Size: 4.22GB           CDs: 0               |
 [L] 200-|------------------------------------------------------------------------|
 [L] 200-|    User    |   Group    |    Ratio    |  Stats Lost   |  Credits Lost  |
 [L] 200-|------------------------------------------------------------------------|
 [L] 200-| TTT        | iND        |         1:3 |        47.7MB |        143.1MB |
 [L] 200-'------------------------------------------------------------------------'
Whats up with this?
Stats and creds is all ****ed up.
It is just doing this on some relases, not all thou.

Last edited by razoor; 02-04-2007 at 04:49 PM.
razoor is offline   Reply With Quote
Old 02-11-2007, 07:26 AM   #23
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

Quote:
Originally Posted by razoor View Post
Stats and creds is all ****ed up.
Nom thats correct. They uploaded 47.7mb so 47.7mb is removed from teh stats, however it was uploaded to a 1:3 ratio section and it's a 1x nuke so they lose 1x the credits they gained, 143.1 (47.7 x 3).

That's how nuking works.
EwarWoo is offline   Reply With Quote
Old 02-11-2007, 05:04 PM   #24
razoor
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2006
Posts: 163
Default

Quote:
Originally Posted by EwarWoo View Post
Nom thats correct. They uploaded 47.7mb so 47.7mb is removed from teh stats, however it was uploaded to a 1:3 ratio section and it's a 1x nuke so they lose 1x the credits they gained, 143.1 (47.7 x 3).

That's how nuking works.

No it does not. it only takes the sample size a nuke that one.
It dosen´t count the whole release.

This only happends from time to time thou, not always, and shouldent the nuke size be a little bigger if you check the size and files? if it worked
Quote:
Files : 93F Size: 4.22GB CDs: 0
I know how the nuke works, but this script messes it up.
So some sort of bug in the script.
razoor is offline   Reply With Quote
Old 02-14-2007, 02:53 PM   #25
spirit
Member
 
Join Date: Mar 2006
Posts: 44
Default

Quote:
Originally Posted by nud3l View Post
hello,

i am using nxtools v1.0.5a and i get the same error on wipe command: 0KB ( 0Files, 0 dirs).

i think it is an error in the nxlib file; i replaced the getdirstats procedure with an older version, now it is working again.

greets
Yep, it worked. Ive replaced the nxlibs getdirstats from version 1.0.2. I use version 1.0.5.a. Now all Wipe/Size infos work properly tnx for that info nud3l
spirit is offline   Reply With Quote
Old 04-11-2007, 04:59 AM   #26
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

Hi again Neoxed..
So is this script dead also?
Never got a reply for
Quote:
And could u paste a working link for that debug module?

hi.. a small request for next version. when rotating logs, instead of renaming them to lots of different dates, would it be possible to delete them?
thnx..
zOrP is offline   Reply With Quote
Old 04-11-2007, 05:02 AM   #27
zOrP
Senior Member
 
Join Date: Jan 2005
Posts: 282
Default

And another thing..
Can u confirm if using getdirstats from nxtools 1.0.2 wont break anything?
zOrP is offline   Reply With Quote
Old 04-21-2007, 12:11 PM   #28
ArtX
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jan 2004
Posts: 301
Default

seems to get this error all the time now - box is vista ultimate

--------------------------- ErrorInfo ----------------------------
can't read "user": no such variable
while executing
"ExcemptCheck $user $group $flags"
("LOGIN" arm line 2)
invoked from within
"switch -- $event {
CLOSE {
iputs ".-\[Close\]-----------------------------------------------------------------."
if {[..."
(procedure "::nxTools::Close::Main" line 7)
invoked from within
"::nxTool

a workaround is to comment out the pass option in ioftpd.ini
ArtX is offline   Reply With Quote
Old 04-22-2007, 03:26 PM   #29
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Quote:
Originally Posted by Carpo View Post
seems to get this error all the time now - box is vista ultimate

--------------------------- ErrorInfo ----------------------------
can't read "user": no such variable
while executing
"ExcemptCheck $user $group $flags"
("LOGIN" arm line 2)
invoked from within
"switch -- $event {
CLOSE {
iputs ".-\[Close\]-----------------------------------------------------------------."
if {[..."
(procedure "::nxTools::Close::Main" line 7)
invoked from within
"::nxTool

a workaround is to comment out the pass option in ioftpd.ini
Which version of ioFTPD? I have never seen this occur with 5.8.5r.
neoxed is offline   Reply With Quote
Old 04-22-2007, 03:37 PM   #30
ArtX
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Jan 2004
Posts: 301
Default

6.0.4 - i know you could say its unsupported testing it out to see if it will work - will drop back to 6.0.3 as iosfv seems to have errors with 6.0.4 - but yes all 5.8.x versions work flawlessly
ArtX is offline   Reply With Quote
Reply

Tags
chg, directory, download, fix, 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 11:16 PM.

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