stuff
This commit is contained in:
@@ -47,7 +47,7 @@ export async function main(ns) {
|
||||
// run remaining hacks on smallest to biggest core servers
|
||||
|
||||
aSortedList.forEach((entry) => {
|
||||
if (entry.rootAccess && entry.maxRam >= 1 && entry.serverCores > 1) {
|
||||
if (entry.rootAccess && ns.getServerMaxRam() >= ns.getScriptRam(sScript, "home")) {
|
||||
let sHost = entry.serverName;
|
||||
ns.exec(sScript, sHost, nThreads, sTarget, bRepeat, nMsecDelay);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user