Merge branch 'main' of https://gitea.goetje-ing.de/ArchitectsOfTheBitburner/A_Bitburner_Saga
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -141,4 +141,6 @@ mirror/
|
|||||||
build/
|
build/
|
||||||
|
|
||||||
.vscode/*
|
.vscode/*
|
||||||
!.vscode/launch.json
|
!.vscode/launch.json
|
||||||
|
local/path/home/bestTarget.txt
|
||||||
|
local/path/home/serverList.txt
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"serverName":"the-hub","maxRam":32,"maxMoney":483168296.25,"minSec":13,"minPorts":2,"minHackLvl":318,"rootAccess":true,"factorMoneyPerTime":0.1841702873569451,"openPorts":0,"serverFiles":["factionboost.js"],"hackingChance":0.40919188586028893}
|
{"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}
|
||||||
File diff suppressed because one or more lines are too long
@@ -24,7 +24,7 @@ export async function main(ns) {
|
|||||||
while (bAutoUpgrade && nCurrentRAM < 2 ** 20) {
|
while (bAutoUpgrade && nCurrentRAM < 2 ** 20) {
|
||||||
|
|
||||||
//for (let i = 0; i < npServ.length; i++) {
|
//for (let i = 0; i < npServ.length; i++) {
|
||||||
for (let i = 0; i < npServ.length && bAutoUpgrade; i++) {
|
for (let i = 0; i < 1 && bAutoUpgrade; i++) {
|
||||||
ns.print("----------------------------------------------------------------------");
|
ns.print("----------------------------------------------------------------------");
|
||||||
nMyMoney = ns.getServerMoneyAvailable("home");
|
nMyMoney = ns.getServerMoneyAvailable("home");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user