Go Back   FlashFXP Forums > > > >

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-14-2004, 05:42 AM   #1
Quincy
Member
ioFTPD Foundation User
 
Join Date: Nov 2004
Posts: 30
Default ioA nukes x5 when its x3

When nuking x3, ioA actually takes x5 and announce in chan will be x1!
In other words, if I nuke 1mb x3, it will actually take x5 but amount of mbs nuked as announced on chan will still be x1.
Here's ioA debug log of a nuke of a 1:3 ratio user:

12-14-2004 11:19:56 ioA - 1.2.0
12-14-2004 11:19:56 NUKE - nuke: sumstuff
12-14-2004 11:19:56 NUKE - multi: 3
12-14-2004 11:19:56 NUKE - reason: test.test
12-14-2004 11:19:56 NUKE - oldpath: g:\dump\sumstuff
12-14-2004 11:19:56 NUKE - newpath: g:\dump\[Nuked]-sumstuff
12-14-2004 11:19:56 NUKE - Check if directories are present
12-14-2004 11:19:56 NUKE - Checked directories if present
12-14-2004 11:19:56 NUKE - Resolve owner of directory to nuke
12-14-2004 11:19:56 NUKE - Scanning files
12-14-2004 11:19:56 NUKE - Complete nuke
12-14-2004 11:19:56 NUKE - Sum users
12-14-2004 11:19:56 NUKE - Nukees found: 1
12-14-2004 11:19:56 NUKE - Ratio of user: 3
12-14-2004 11:19:56 NUKE - Create nukelog
12-14-2004 11:19:56 NUKE - Putlog: ""sumstuff" "siteopNick" "SiTEOP" "UserNICK" "iND" "3" "2.50" "test.test""
12-14-2004 11:19:56 NUKE - Rename nuked directory
12-14-2004 11:19:56 NUKE - From: g:\dump\sumstuff to: g:\dump\[Nuked]-sumstuff
12-14-2004 11:19:56 KICK - Trying to kick from: g:\dump\sumstuff
12-14-2004 11:19:56 KICK - return from kick, result = 0
12-14-2004 11:19:57 NUKE - Flushing cache in: g:\dump\\[Nuked]-sumstuff
12-14-2004 11:19:57 NUKE - Messagefile: g:\dump\\[Nuked]-sumstuff\.ioFTPD.message
12-14-2004 11:19:57 NUKE - Nuketag: g:\dump\[Nuked]-sumstuff\[NUKED]-[3x]-[by siteopNICK@SiTEOP]-[test.test]
12-14-2004 11:19:57 BENCHMARK - Time to run command: NUKE was 1032ms


And this is FTP log:

[11.19.55] [L] site nuke Sumstuff 3 test.test
[11.19.57] [L] 200--[Nuke]----------------------------------------------------------------------
[11.19.57] [L] 200- USER | iND | 2.50MB | 12.49MB
[11.19.57] [L] 200------------------------------------------------------------------------------
[11.19.57] [L] 200- Total bytes: 2.50MB Total credits: 12.49MB
[11.19.57] [L] 200------------------------------------------------------------------------[ioA]-
[11.19.57] [L] 200- ioA execution time: 1032ms


Thanks for any help
Quincy is offline   Reply With Quote
Old 12-14-2004, 05:52 AM   #2
EwarWoo
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 462
Default

Assuming you're running a 1:3 ratio site a 3x nuke does take 5x creds. For example 2.5mb on a 1:3 site:
1x = 1 x size x ratio
Or in other words, 1x = 1 x 2.5 x 3 = 7.5mb (thats all the credits they earned for uploading, so all's square).
Anything addition after that is:
Multiplier -1 x size
Or 3 - 1 x 2.5 = 5mb
So all up, 7.5mb + 5mb = 12.5mb (or 12.49 whn precision has come into effect .
Thats the way nuking works, not a bug.
As for it posting as 1x in chan, thats a sitebot issue not ioA.
12-14-2004 11:19:57 NUKE - Nuketag: g:\dump\[Nuked]-sumstuff\[NUKED]-[3x]-[by siteopNICK@SiTEOP]-[test.test]
That line show ioA is logging it perfectly, just for some reason your bot is misreading it. If using ioBanana make sure you change the output format as advised in the set-up.
EwarWoo is offline   Reply With Quote
Old 12-14-2004, 05:55 AM   #3
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

glftpd FAQ:

http://www.glftpd.com/modules.php?op...es&id_cat=1#58
WarC is offline   Reply With Quote
Old 12-14-2004, 11:24 AM   #4
Quincy
Member
ioFTPD Foundation User
 
Join Date: Nov 2004
Posts: 30
Default

Thanks all, thats clear. I still have bot announcing the actula amount of Mb nuked but will look into scripts
Quincy is offline   Reply With Quote
Reply

Tags
111956, 12-14-2004, ftp, nuke, [l]

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

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