updated EveryServerRun and batch to read from settings.txt
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { getGrowThreads } from "myLibrary.js";
|
||||
import { getGrowThreads, getSetting } from "myLibrary.js";
|
||||
|
||||
/** @param {NS} ns */
|
||||
export async function main(ns) {
|
||||
@@ -22,7 +22,8 @@ export async function main(ns) {
|
||||
const sGrowScript = "RMgrow.js";
|
||||
const sWeakenScript = "RMweaken.js";
|
||||
|
||||
const nHackThreads = 50; //1
|
||||
//const nHackThreads = 50; //1
|
||||
const nHackThreads = getSetting("batchHacks"); //1
|
||||
|
||||
const nHackScriptRAM = 1.75;
|
||||
const nGrowScriptRAM = 1.7;
|
||||
|
||||
Reference in New Issue
Block a user