hacknet.js: add. main.js, README.md: update.

[?]
Sep 7, 2020, 2:55 PM
J7PIMHBDTNGC6W64W7KR4Q32677W27CNR5WZ5ABQYKJYV4T5XUDAC

Dependencies

  • [2] QAPXJ43A hacker.js, weaken_manager.js: use void_copy_script_to from lib_ram_script to copy worker scripts to servers. README.md: update.
  • [3] Y5OWMCQR all: remove unecessary uses of `exec`. refactor. main.js: add RAM reservation logic. lib_ram.js: renamed to lib_ram_server.js. README.js: update.
  • [4] JS52JD4Q weaken_manager.js: add. lib_server_used.js: move to lib_ram_script. lib_ps: delete. main.js, hacker.js, lib_ram_script.js: refactor. README.md: update.
  • [5] NQ22FUSW add more options to `main.js`. update `README.md`.
  • [6] JGNALSUQ add "cyclic_weaken.js" feature. hacker.js, main.js, libs: refactor. README.md: update.
  • [7] AXGQ7FML split and refactor hacking logic to "hacker.js" and argument parsing and script execution logic to "main.js". update "README.md".
  • [8] HLC2L3NJ add "tor.js" and "programs.js". use `minimist` for "main.js" argument parsing.
  • [9] ZRPOW4ER hacker.js, lib_time.js: supress error messages. hacker.js: use `getBitNodeMultipliers`. lib_time.js: use `getStats`. README.md: update.
  • [10] CKC6UBEA README.md: update
  • [11] BKG7YVUV main.js, hacker.js, servers.js, ram.js: refactor.
  • [12] 2WOLGB42 README.md: update. kill.js: fix argument parser. lshw.js: add `-p` option. increase information given. main.js: fix error message. set saner defaults. hacker.js: split some functions into "lib_time.js" and "lib_score.js". ram.js: fix.
  • [*] 2BKHJI2S init
  • [*] FBAPT2WW executables: dynamically load help messages. lshw.js, main.js: add options to change score correction method and score factor multipliers. README.md: update.
  • [*] DJDWBCCQ add missing "nop.js". killall.js: rename to kill.js. add `--script` and `--server` options.

Change contents

  • edit in bin/main.js at line 63
    [3.9232]
    [3.9232]
    string_hack_net: "hacknet.js",
  • edit in bin/main.js at line 157
    [3.11110]
    [3.11110]
    },
    hack_net: {
    short: "w",
    long: "hacknet"
  • edit in bin/main.js at line 351
    [3.17799]
    [3.17799]
    {
    file: object_helpers.string_hack_net,
    threads_or_ram_botnet: 1,
    args: [float_period_check_seconds],
    },
  • edit in bin/main.js at line 397
    [3.19577]
    [3.19577]
    ),
    1
    ),
    ((object_argument_names.hack_net.short === string_argument && argument_value) ||
    (object_argument_names.hack_net.long === string_argument && !argument_value)) &&
    array_helpers.splice(
    integer_get_index_of_file(
    array_helpers,
    object_helpers.string_hack_net
  • edit in bin/main.js at line 485
    [3.22842]
    [3.22842]
    -${object_argument_names.hack_net.short}, --no-${object_argument_names.hack_net.long}
    Prevents the "${object_helpers.string_hack_net}" script from being started which is responsible for buying and upgrading Hacknet nodes until the Hacknet node requirements for joining the Netburners faction are met.
  • replacement in README.md at line 18
    [3.2772][2.2168:2379]()
    * Run the helper scripts "ram.js"\* (6.6 GB), "servers.js" (8.85 GB), "tor.js"\* (3.8 GB), "programs.js"\* (3.7 GB), "botnet.js" (2.2 GB) and "weaken_manager.js" (4 GB) which should, respectively, attempt to:
    [3.2772]
    [3.5832]
    * Run the helper scripts "ram.js"\* (6.6 GB), "servers.js" (8.85 GB), "tor.js"\* (3.8 GB), "programs.js"\* (3.7 GB), "botnet.js" (2.2 GB), "hacknet.js" (5.6 GB) and "weaken_manager.js" (4 GB) which should, respectively, attempt to:
  • edit in README.md at line 24
    [3.6016]
    [3.38455]
    * Buy and upgrade Hacknet nodes.
  • edit in README.md at line 68
    [15.12204]
    [16.9897]
    `-w, --no-hacknet`
    * Prevents the "hacknet.js" script from being started which is responsible for buying and upgrading Hacknet nodes until the Hacknet node requirements for joining the Netburners faction are met.