hacker.js: remove unecessary `string_server_used` parameter for `exec` used in `void_schedule_runner`.

[?]
Apr 29, 2020, 5:13 PM
6CV2IKC2HYT6YTQU3RQKPZSH3BRFPDGLHTU3LF7D66SO2GCVNQWAC

Dependencies

  • [2] MKHG4OQB make worker scripts and worker script executor time-aware.
  • [3] AXGQ7FML split and refactor hacking logic to "hacker.js" and argument parsing and script execution logic to "main.js". update "README.md".
  • [4] 2BKHJI2S init

Change contents

  • replacement in sbin/weaken.js at line 2
    [3.46][2.4:76]()
    await ns.sleep(Date.now() + ns.args[2]), await ns.weaken(ns.args[1]);
    [3.46]
    [3.1997]
    await ns.sleep(Date.now() + ns.args[1]), await ns.weaken(ns.args[0]);
  • replacement in sbin/hack.js at line 2
    [3.156][2.85:155]()
    await ns.sleep(Date.now() + ns.args[2]), await ns.hack(ns.args[1]);
    [3.156]
    [3.52923]
    await ns.sleep(Date.now() + ns.args[1]), await ns.hack(ns.args[0]);
  • replacement in sbin/grow.js at line 2
    [3.257][2.157:227]()
    await ns.sleep(Date.now() + ns.args[2]), await ns.grow(ns.args[1]);
    [3.257]
    [3.53351]
    await ns.sleep(Date.now() + ns.args[1]), await ns.grow(ns.args[0]);