mizzajl sync new beginning

This commit is contained in:
2024-10-05 21:22:06 +02:00
parent 7f8de20924
commit 9ee6a6149f
5 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ const createContext = async () => await context({
port: 12525,
types: 'NetscriptDefinitions.d.ts',
mirror: {
'local/path': ['home']
'Mizzajl': ['home']
},
distribute: {
},

View File

@@ -52,8 +52,8 @@ export async function main(ns) {
//Gang
ns.print("Karma = " + cCyan + Math.round(ns.heart.break()).toLocaleString() + cReset);
if (ns.gang.inGang()) {
if (!ns.getRunningScript(sGangScript)) {
ns.print("Gang found... running " + sGangScript);
if (!ns.getRunningScript(sGangScript)) {
ns.exec(sGangScript, sThisRunner, 1);
}

View File

@@ -1 +1 @@
{"serverName":"the-hub","maxRam":32,"maxMoney":483168296.25,"minSec":13,"minPorts":2,"minHackLvl":318,"rootAccess":true,"factorMoneyPerTime":0.20289946912205814,"openPorts":0,"serverFiles":["factionboost.js"],"hackingChance":0.6338748693993541}
{"serverName":"the-hub","maxRam":32,"maxMoney":483168296.25,"minSec":13,"minPorts":2,"minHackLvl":318,"rootAccess":true,"factorMoneyPerTime":0.22430424828218737,"openPorts":0,"serverFiles":["factionboost.js"],"hackingChance":0.6884405377713446}

File diff suppressed because one or more lines are too long

View File

@@ -24,7 +24,7 @@ export async function main(ns) {
while (bAutoUpgrade && nCurrentRAM < 2 ** 20) {
//for (let i = 0; i < npServ.length; i++) {
for (let i = 0; i < 1 && bAutoUpgrade; i++) {
for (let i = 0; i < npServ.length && bAutoUpgrade; i++) {
ns.print("----------------------------------------------------------------------");
nMyMoney = ns.getServerMoneyAvailable("home");