fixed Updatebesttarget, EveryServerRun and

purchaseServers in Library.
This commit is contained in:
Philipp
2024-10-13 13:16:09 +02:00
parent 66cfe2c929
commit 66e147d0d7
5 changed files with 13 additions and 13 deletions

View File

@@ -8,6 +8,6 @@ export async function main(ns) {
findBestTarget(ns, 999, maxPorts, ns.getHackingLevel(),"");
let bestTarget = ns.read("bestTarget.txt")
ns.tprint("Best Target: " + bestTarget);
ns.tprint(Object.keys(JSON.parse(ns.read("serverList.txt"))).length);
ns.tprint(JSON.parse(ns.read("serverList.txt")).length);
crackingAndRooting(ns, cracks);
}