README.md, main.js: fix typos about the input type of the `steal-cap` option.

[?]
Sep 14, 2020, 1:57 PM
HW5NMIX3G5GP5PXMZBBINVSO556SLG2H3GSRE7UURMDA7KR427MAC

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] FA3U4WUJ more `README.md` changes.
  • [5] 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.
  • [6] 5DIUM5GJ hacknet.js: convert from helper script to stand-alone script. main.js, README.md: update to accommodate "hacknet.js" changes. README.md: add "Troubleshooting" section and alter misleading information about required server for installation.
  • [7] CEZ56FCM hacknet.js: make this run based on whether the ratio of upgrades are still within threshold instead of until Netburners requirements are met, to make it more flexible. main.js, README.md: include changes to accomodate "hacknet.js" updates.
  • [8] 2BKHJI2S init
  • [9] 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.
  • [10] FBAPT2WW executables: dynamically load help messages. lshw.js, main.js: add options to change score correction method and score factor multipliers. README.md: update.
  • [11] IFVY3INI contracts.js: add --verbose and --check-delay options. README.md: update.

Change contents

  • replacement in bin/main.js at line 489
    [2.25392][2.25392:25560]()
    CAP = The maximum fraction of cash to steal from the target server per \`hack\` job. Should be an integer >= 0 <=1. Defaults to ${object_defaults.float_steal_cap}.
    [2.25392]
    [2.25560]
    CAP = The maximum fraction of cash to steal from the target server per \`hack\` job. Should be a floating point number >= 0 <=1. Defaults to ${object_defaults.float_steal_cap}.
  • replacement in README.md at line 98
    [3.3873925][2.33905:34040]()
    * CAP = The maximum fraction of cash to steal from the target server per `hack` job. Should be an integer >= 0 <=1. Defaults to 0.9.
    [3.3873925]
    [3.12205]
    * CAP = The maximum fraction of cash to steal from the target server per `hack` job. Should be a floating point number >= 0 <=1. Defaults to 0.9.