cleanup, download lit, log function
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user