PDA

View Full Version : ioA nukes x5 when its x3


Quincy
12-14-2004, 05:42 AM
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

EwarWoo
12-14-2004, 05:52 AM
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.

WarC
12-14-2004, 05:55 AM
glftpd FAQ:

http://www.glftpd.com/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=1#58

Quincy
12-14-2004, 11:24 AM
Thanks all, thats clear. I still have bot announcing the actula amount of Mb nuked but will look into scripts :)