This commit is contained in:
2024-10-14 22:37:58 +02:00
parent 28ce6be51e
commit bc3bc1acf2
3 changed files with 8 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ export async function main(ns) {
const nWeakenScriptRAM = 1.75;
const nThisScriptRAM = 4.70;
await ns.sleep(1);
while (true) {
let nMaxRAM = ns.getServerMaxRam("home");
let oServerlist = JSON.parse(ns.read(sServerListFile));