The Hacker Project - a free online game

March 29, 2024, 02:28:50 AM
Welcome, Guest. Please login or register.

Login with username, password and session length











"Being illegal doesn't make it wrong."
Pages: [1]
Print
Author Topic: deletition times  (Read 5861 times)
jager
Sr. Member
****
Posts: 284



View Profile WWW Email
« on: December 08, 2008, 09:31:32 AM »

Ok, I've tried to find the answer to this question already on forum, but it is eluding me ...

What is the equation for calculating how long it will take to delete a file? So that when I see that someone is already deleting I can evaluate if it is worth trying to delete the file and perhaps beat him on completition if he doesn't complete it right away 1

lpJ.
Logged
Thek3mp
Guest
« Reply #1 on: December 08, 2008, 10:16:34 AM »

dont quote me on this but,

deletion times are equal to filesize and not filetype.
if its localhost i THINK it deletes faster.
and since your like number 1 at the moment, shouldnt you just be able to backtrace the deleter and stop processes? i do it all the time if somebody is deleting a valuable file worth downloading.

but for the exact equation im not too sure, you could always compare a few delete times on different filesizes and check for yourself.
Logged
HJ®
Guest
« Reply #2 on: December 08, 2008, 10:19:25 AM »

I think k3mp is correct as well.
Logged
Araeus
Sr. Member
****
Posts: 447



View Profile Email
« Reply #3 on: December 08, 2008, 10:31:01 AM »

dont quote me on this but,

deletion times are equal to filesize and not filetype.
if its localhost i THINK it deletes faster.
and since your like number 1 at the moment, shouldnt you just be able to backtrace the deleter and stop processes? i do it all the time if somebody is deleting a valuable file worth downloading.

but for the exact equation im not too sure, you could always compare a few delete times on different filesizes and check for yourself.

All true, and I'm pretty sure you could reverse engineer a formula for delete time versus size.  Usually what I do is check their login time and see how long ago they logged into the server, gives you a rough idea of how long that process has been running.  Or you can always start a delete of your own and look at the time, compare, and then cancel if it's too long of a difference.
Logged

DamascuS
Sr. Member
****
Posts: 297


準備戰爭


View Profile
« Reply #4 on: December 08, 2008, 11:36:32 AM »

Don't quote me on this either, but if i remember correctly, it takes around 1 minute per Mb, so a 100Mb file should take 1h 40m.

I will try and come up with a formula for the exact times, and post it here.
Logged

HJ®
Guest
« Reply #5 on: December 08, 2008, 11:38:42 AM »

And remember that deletions run 10x faster on your own gateway.
Logged
jager
Sr. Member
****
Posts: 284



View Profile WWW Email
« Reply #6 on: December 08, 2008, 11:51:29 AM »

and since your like number 1 at the moment, shouldnt you just be able to backtrace the deleter and stop processes? i do it all the time

Thank you all for good replies, I'll try to find some formula for our future use.

About that 'idea' above - yes, I could hack them and cancel the process, but then ppl would start complaining that they don't stand a chance. And in general SI is standing for peaceful status with players in HP. There are some players that know I have no problem helping out if asked. I have no intention to start hacking all around and limiting chances for lower standing players - everybody has a chance. I still count it fair play if I start the mission later then someone and manage to finish it first - but percentage of my success will probably be very low - a challenge :D

lpJ.
Logged
DamascuS
Sr. Member
****
Posts: 297


準備戰爭


View Profile
« Reply #7 on: December 08, 2008, 12:16:36 PM »

Ok, this is what i've come up with so far, though its just for a rough estimate.

i'll do one in mb and one in gb to make it clearer, as some people may get confused. (and i will keep the sizes simple, a-la KISS)

Filesize: 500.00 mb
Deletion time:
  hours  = filesize (mb) / 60
            = 500 / 60 = 3 (ignore the remainders)
minutes = filesize (mb) % 60
            = 500 % 60 = 20
so deletion time = 3h 20m 00s

Filesize: 3.20 gb
Deletion time:
  hours  = filesize (mb) / 60
            = 3276.8 / 60 = 54 (ignore the remainders)
minutes = filesize (mb) % 60
            = 3276.8 % 60 = 36 (.8)
seconds = (60/10)*8 = 48 (essentially .8 of a second)
so deletion time = 54h 36m 48s

Hope that helps some!
Logged

jager
Sr. Member
****
Posts: 284



View Profile WWW Email
« Reply #8 on: December 08, 2008, 12:32:52 PM »

DamascuS, I think you are right, except in one small detail 1

You transformed 3.2 GB in Mb so that you counted 1 GB = 1024 mb, right?
As far as I see it, the game uses simpler method 1 GB = 1000 mb ...
I did some testing of your formula and it is very precise except when I started to delete 5.34 Gb file it takes 89 hours, while by your formula it would take 91 hours ... But I could be wrong, more testing on larger files required :D

lpJ.
Logged
HJ®
Guest
« Reply #9 on: December 08, 2008, 12:41:12 PM »

IIRC the game uses 1000 mb = 1 gb
Logged
DamascuS
Sr. Member
****
Posts: 297


準備戰爭


View Profile
« Reply #10 on: December 08, 2008, 01:40:25 PM »

Yeah i noticed that just after i posted, i read the specs page (linked in the game guide) and it clearly states that a fileshare virus v0.1 (3.20 gb) is exactly 3276800000 bytes, which looks to me like its just been converted to Mb, then the zero's added and called it bytes laugh, so yeah its 1000mb per 1gb.

Although it works out at exactly the same size in mb, ie: (3276800000/1000)/1000 = 3276.8 mb, so...the math needs tweaking a little i suppose 21
Logged

gs 059
Sr. Member
****
Posts: 357


View Profile
« Reply #11 on: December 09, 2008, 01:23:38 AM »

I just do a rough estimate of about 17.8 kb/s...
Logged

Pages: [1]
Print
Jump to: