PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: Ubikk on 12 June, 2005, 21:00:19

Title: little hub_upload script
Post by: Ubikk on 12 June, 2005, 21:00:19
Hi again.
I have in mind a little script wich i guess is not that difficult to create.. too bad i dont know LUA yet..  :D

I would like the script to display the total uploaded information made on my hub. This information should be sent after MOTD or shown only to a specific user using a command (ex: !hub)

So, i would like something like this:
Quote
!hub
=-=-=-=-=-=- ( Hub statistics )-=-=-=-=-=-=-=-

                   Total Hub Upload: 833.22 GB
                   Best Leech award: [RDS].Noobdy > 33 GB Downloaded
                   Best User award: [Pnet].XaXa > 123 GB Uploaded

=-=-=-=-=-=-=- ( End of statistics )-=-=-=-=-=-=-=-=-=-
[/size]

By the way, i would like the info to be saved in a file, because i need the data to be saved even if i restart de hub.

I thank you for your time. If there's anything you didn't understood regarding my script request, please feel free to post any questions here or by PM :)
Title:
Post by: ??????Hawk?????? on 12 June, 2005, 21:06:06
QuoteBest Leech award: [RDS].Noobdy > 33 GB Downloaded
Best User award: [Pnet].XaXa > 123 GB Uploaded

these cannot be done. the hub dosnt keep track of  users downloads
Title:
Post by: Ubikk on 12 June, 2005, 23:30:58
So, the whole script is impossible to make? :)
Title:
Post by: bastya_elvtars on 12 June, 2005, 23:36:11
QuoteOriginally posted by Ubikk
So, the whole script is impossible to make? :)

Yes, only the connection requests go through the hub, the exact transfers do not, that's why it is called Direct Connect. :D
Title:
Post by: Ubikk on 14 June, 2005, 09:24:44
At least can i can keep track of the number of downloads/uploads made in the hub?
Title:
Post by: plop on 15 June, 2005, 01:06:45
QuoteOriginally posted by Ubikk
At least can i can keep track of the number of downloads/uploads made in the hub?
the hub's just handle the stuff 2 build the connection, whats going on after that is client <--> client business.

plop