The Hacker Project - a free online game

HP Info Terminal => F.A.Q. => Topic started by: Andreas on September 21, 2008, 04:32:34 AM



Title: A little question to Emi.
Post by: Andreas on September 21, 2008, 04:32:34 AM
Is there any order at all in the tasks list? I deleted 2 Log Deleters 0.1 who was created after all of my other files. I deleted them at the very same time using the multitasking update.
One of them placed itself at the top. The other one placed itself at the bottom.


Title: Re: A little question to Emi.
Post by: PlyPencil on September 21, 2008, 04:55:26 AM
Computers run using logic. So there must be an order weather or not Sir Emi put it in. It can be things like ID, alphabetical, time of creation or on the programming side first found, lowest bit sequence. As for what method used I cannot tell you.

It is highly unlikely that a Random algorithm would of been used.


Title: Re: A little question to Emi.
Post by: Araeus on September 21, 2008, 05:34:40 AM
Every process and file has a unique ID to identify it.  I assume that the server checks to fill in unused ID's as well as adding on to the last used ID, so it probably picked one from the already used and didn't have an immediately available unused ID so added one to the end.

Or at least I assume, same with files I guess...


Title: Re: A little question to Emi.
Post by: Andreas on September 21, 2008, 05:43:21 AM
The files doesnt reuse IDs. Ive allready checked that several times and also woundered whats going to happen when the ID reaches maximum.


Title: Re: A little question to Emi.
Post by: virus man on September 21, 2008, 09:46:38 AM
No there is no order.  that is how you are able to use the same exact PW Break to crack multiple servers at once with the same file.

The processes do not get ordered by PID either as you can have a higher PID above a lower PID which is NOT how it is in Linux.


Title: Re: A little question to Emi.
Post by: Andreas on September 21, 2008, 10:11:05 AM
Computers run using logic. So there must be an order weather or not Sir Emi put it in. It can be things like ID, alphabetical, time of creation or on the programming side first found, lowest bit sequence. As for what method used I cannot tell you.

It is highly unlikely that a Random algorithm would of been used.

Sorry about late reply, I didnt see your post.

Actually a simple JavaScript command gives a random number between 0 and 1; Math.Random().
The command can be used to put every task in a random order by giving it a random number and let the tasklist go after this.
However I dont know why Emi would have done this so it seems implausible but I cant think of any better explanation.

Edit: I forgot to mention a random number in this case also have an awful lot of decimals and arent just 0 or 1.
Also: I would be happy if I recived an answer from Emi.


Title: Re: A little question to Emi.
Post by: siremi on September 21, 2008, 01:24:31 PM
There is no particular order to the tasks. However I am working on the Running Software page for optimization. We're adding a filter and pages and setting a 100 tasks per page limit. You will also be able order them by PID ascending / descending, sort them by action type (e.g. research / passowrd break / disinfect, etc.)


Title: Re: A little question to Emi.
Post by: Andreas on September 21, 2008, 01:30:44 PM
If you havent manipulated the tasklist order they should automatically put themselves in an order. Most plausible is newest at the bottom.


Title: Re: A little question to Emi.
Post by: virus man on September 21, 2008, 02:10:09 PM
There is no particular order to the tasks. However I am working on the Running Software page for optimization. We're adding a filter and pages and setting a 100 tasks per page limit. You will also be able order them by PID ascending / descending, sort them by action type (e.g. research / passowrd break / disinfect, etc.)


Will this include an option to sort by Completed or not?