contracts.js: add. README.md: update.

[?]
May 14, 2020, 10:04 PM
FCJA5EXSTV7M22UWY4AR64LDZVNREPWSREZNXHGOH3IC3AIT7UBAC

Dependencies

  • [2] JGNALSUQ add "cyclic_weaken.js" feature. hacker.js, main.js, libs: refactor. README.md: update.
  • [3] SLSWBNYT added ram utilisation logic to `ram.js` and `servers.js`. split and refactored redundant code into separate library files.
  • [4] 2BKHJI2S init
  • [5] 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.
  • [6] ZVQK2652 executables: fix help message.
  • [7] FBAPT2WW executables: dynamically load help messages. lshw.js, main.js: add options to change score correction method and score factor multipliers. README.md: update.
  • [8] SXEJJKPI executables: add `--help` flag. hacker.js: change scheduling logic. refactor. kill.js: allow handling more than one server or script at a time. cyclic_weaken.js: add. README.md: update.
  • [9] HSNSECD5 all: refactor. main.js: fix call to `void_kill_script_named_server_named`.

Change contents

  • edit in sbin/hacker.js at line 3
    [2.49]
    [3.1308]
    * add a way to notify weaken_manager if hacker.js needs more ram so weaken_manager can kill some cyclic weakens and adjust float_ram_fraction_for_weaken_cyclic
  • replacement in lib/lib_ls.js at line 3
    [3.3733690][3.3713:3763]()
    export const array_get_files_to_copy = function (
    [3.3733690]
    [3.3763]
    export const array_get_files_with_string = function (
  • replacement in lib/lib_ls.js at line 9
    [3.3733845][3.3733845:3733877]()
    let array_files_to_copy = [];
    [3.3733845]
    [3.3817]
    let array_files_with_string = [];
  • replacement in lib/lib_ls.js at line 17
    [3.3987][3.3734100:3734145](),[3.3734100][3.3734100:3734145]()
    array_files_to_copy.push(string_file);
    [3.3987]
    [3.3734151]
    array_files_with_string.push(string_file);
  • replacement in lib/lib_ls.js at line 19
    [3.3734155][3.3734155:3734185]()
    return array_files_to_copy;
    [3.3734155]
    [3.3734185]
    return array_files_with_string;
  • replacement in bin/main.js at line 24
    [2.7421][2.7421:7474]()
    import { array_get_files_to_copy } from "lib_ls.js";
    [2.7421]
    [2.7474]
    import { array_get_files_with_string } from "lib_ls.js";
  • replacement in bin/main.js at line 567
    [2.29750][2.29750:29816]()
    array_get_files_to_copy(ns, string_host, string_extension),
    [2.29750]
    [2.29816]
    array_get_files_with_string(ns, string_host, string_extension),
  • replacement in bin/cp.js at line 7
    [3.19568][3.19568:19621]()
    import { array_get_files_to_copy } from "lib_ls.js";
    [3.19568]
    [3.11254]
    import { array_get_files_with_string } from "lib_ls.js";
  • edit in bin/cp.js at line 22
    [3.19672]
    [3.13871]
    // variables
    let boolean_print_help = !1;
  • replacement in bin/cp.js at line 110
    [3.15566][3.20598:20651](),[3.20598][3.20598:20651]()
    array_files_to_copy = array_get_files_to_copy(
    [3.15566]
    [3.20651]
    array_files_to_copy = array_get_files_with_string(
  • replacement in README.md at line 120
    [3.13869][3.13869:13969]()
    `run main.js -ao --no-botnet --job-cap 4000 -i "harakiri-sushi" -r 0.7 --steal-cap=0.5 -q normal`
    [3.13869]
    [3.13969]
    `run main.js -ao --no-botnet --job-cap 4000 -i harakiri-sushi -r 0.7 --steal-cap=0.5 -q normal`
  • edit in README.md at line 165
    [3.15498]
    [3.15498]
    ---
    ### "contracts.js" (22.05 GB)
    * Attempts to solve existing coding contracts in the network.
    * Displays whether or not any attempts were successful.
    #### USAGE
    `run contracts.js [FLAGS ...]`
    #### FLAGS
    `-h, --help`
    * Displays a help message then exits.