cleanup, download lit, log function

This commit is contained in:
2022-09-12 01:33:24 +02:00
parent 3529597fb0
commit 2963efd97b
13 changed files with 123 additions and 83 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ export async function main(ns) {
let levelCap = 150;
let ramCap = 64;
let coreCap = 4;
let nodeCap = 15;
let nodeCap = 18;
ns.tprint(`Bot started {nodeCostThreshold: ${nodeCostThreshold}, upgradeCostThreshold: ${upgradeCostThreshold}, upgradeCount: ${upgradeCount}}`);
while (true) {
@@ -62,6 +62,6 @@ export async function main(ns) {
if (portData != 'NULL PORT DATA') ns.write(logFile, portData, 'a');
}
await ns.sleep(10);
await ns.sleep(50);
}
}