From 860f3fa45572c17c8f2dc4e828a6b4d3b1c2a0cc Mon Sep 17 00:00:00 2001 From: Mizzajl Date: Mon, 7 Oct 2024 18:55:53 +0200 Subject: [PATCH] Mizzajl/home/wip/hgw.js --- Mizzajl/home/EveryServerRun.js | 4 +- Mizzajl/home/ServerRouteList.txt | 2 +- Mizzajl/home/ShareHome.js | 13 +++++ Mizzajl/home/Start.js | 37 ++++++++++++++ Mizzajl/home/Updatebesttarget.js | 2 +- Mizzajl/home/backup/bitnodeStart.js | 14 +++--- Mizzajl/home/batch.js | 16 +++--- Mizzajl/home/bestTarget.txt | 2 +- Mizzajl/home/serverList.txt | 2 +- Mizzajl/home/settings.txt | 2 +- Mizzajl/home/sharePserv.js | 4 +- Mizzajl/home/wip/hgw.js | 78 +++++++++++++++++++++++++++++ 12 files changed, 154 insertions(+), 22 deletions(-) create mode 100644 Mizzajl/home/ShareHome.js create mode 100644 Mizzajl/home/Start.js create mode 100644 Mizzajl/home/wip/hgw.js diff --git a/Mizzajl/home/EveryServerRun.js b/Mizzajl/home/EveryServerRun.js index c6c50cf..2aa5483 100644 --- a/Mizzajl/home/EveryServerRun.js +++ b/Mizzajl/home/EveryServerRun.js @@ -49,7 +49,7 @@ export async function main(ns) { //nScriptsRAM = ns.getScriptRam(sScript, "home") + Math.max(nWeakenScriptRAM, nGrowScriptRAM, nHackScriptRAM); //ns.tprint("nScriptsRAM = " + nScriptsRAM); - if (entry.maxRam >= 64 && serverList[name].rootAccess === true) { + if (entry.maxRam >= 20 && serverList[name].rootAccess === true) { if (sOverrideTarget !== undefined) { sTarget = sOverrideTarget; @@ -73,7 +73,7 @@ export async function main(ns) { ns.exec(sScript, entry.serverName, 1, sTarget, nFrequency, true, false); await ns.sleep(1); } - else if (entry.maxRam < 64 && entry.maxRam > 0 && serverList[name].rootAccess === true) { + else if (entry.maxRam < 20 && entry.maxRam > 0 && serverList[name].rootAccess === true) { ns.scriptKill(sScript, entry.serverName); ns.scriptKill(sShareScript, entry.serverName); ns.scriptKill(sWeakenScript, entry.serverName); diff --git a/Mizzajl/home/ServerRouteList.txt b/Mizzajl/home/ServerRouteList.txt index 0fb3bc3..804bda4 100644 --- a/Mizzajl/home/ServerRouteList.txt +++ b/Mizzajl/home/ServerRouteList.txt @@ -1 +1 @@ -{"home":{"n00dles":{"nectar-net":{"phantasy":{"netlink":{},"crush-fitness":{},"avmnite-02h":{"rothman-uni":{},"summit-uni":{},"syscore":{"lexo-corp":{"global-pharm":{"deltaone":{"defcomm":{"taiyang-digital":{"applied-energetics":{"stormtech":{".":{"nwo":{"ecorp":{},"The-Cave":{}}}}},"run4theh111z":{"fulcrumtech":{"omnitek":{"clarkinc":{}}},"vitalife":{"4sigma":{"b-and-a":{}}}}}},"icarus":{"nova-med":{"microdyne":{"helios":{"kuai-gong":{"blade":{"megacorp":{}},"powerhouse-fitness":{"fulcrumassets":{}}}}}}}}}},"rho-construction":{},"millenium-fitness":{"aerocorp":{"omnia":{"solaris":{}}},"snap-fitness":{"unitalife":{"univ-energy":{"infocomm":{}},"zeus-med":{"zb-def":{"titan-labs":{}}}}}}}}}}},"foodnstuff":{},"sigma-cosmetics":{"zer0":{"omega-net":{"the-hub":{},"johnson-ortho":{}}},"max-hardware":{}},"joesguns":{},"hong-fang-tea":{},"harakiri-sushi":{},"iron-gym":{"CSEC":{"neo-net":{"computek":{"zb-institute":{"alpha-ent":{},"aevum-police":{"galactic-cyber":{}}},"catalyst":{},"I.I.I.I":{}}},"silver-helix":{}}},"darkweb":{},"pserv-00":{},"pserv-01":{},"pserv-02":{},"pserv-03":{},"pserv-04":{},"pserv-05":{},"pserv-06":{},"pserv-07":{},"pserv-08":{},"pserv-09":{},"pserv-10":{},"pserv-11":{},"pserv-12":{},"pserv-13":{},"pserv-14":{},"pserv-15":{},"pserv-16":{},"pserv-17":{},"pserv-18":{},"pserv-19":{},"pserv-20":{},"pserv-21":{},"pserv-22":{},"pserv-23":{},"pserv-24":{}}} \ No newline at end of file +{"home":{"n00dles":{"CSEC":{}},"foodnstuff":{"zer0":{"phantasy":{"crush-fitness":{"rothman-uni":{"aevum-police":{"global-pharm":{"omnia":{"icarus":{"taiyang-digital":{}},"solaris":{"zb-def":{"titan-labs":{"stormtech":{"4sigma":{"blade":{"ecorp":{}},"nwo":{"fulcrumassets":{}}},".":{"powerhouse-fitness":{"The-Cave":{}}}},"vitalife":{"omnitek":{"b-and-a":{"megacorp":{}}}}},"applied-energetics":{},"run4theh111z":{"fulcrumtech":{"kuai-gong":{"clarkinc":{}}},"helios":{}}}}},"deltaone":{"defcomm":{},"univ-energy":{"infocomm":{"microdyne":{}},"nova-med":{}}}}}},"catalyst":{"millenium-fitness":{"galactic-cyber":{"unitalife":{"zeus-med":{}}},"aerocorp":{}}}}}},"nectar-net":{"neo-net":{"computek":{"syscore":{"rho-construction":{"snap-fitness":{}}}}},"silver-helix":{"johnson-ortho":{"summit-uni":{},"I.I.I.I":{"lexo-corp":{}}}},"omega-net":{"the-hub":{"zb-institute":{"alpha-ent":{}}},"netlink":{},"avmnite-02h":{}}}},"sigma-cosmetics":{},"joesguns":{"max-hardware":{}},"hong-fang-tea":{},"harakiri-sushi":{},"iron-gym":{}}} \ No newline at end of file diff --git a/Mizzajl/home/ShareHome.js b/Mizzajl/home/ShareHome.js new file mode 100644 index 0000000..6f11c00 --- /dev/null +++ b/Mizzajl/home/ShareHome.js @@ -0,0 +1,13 @@ +/** @param {NS} ns */ +export async function main(ns) { + const bKill = ns.args[0]; // if true kill all existing processess + const sShareScript = "factionboost.js"; + + if (bKill) { ns.killall("home"); } + else { ns.scriptKill(sShareScript, "home"); } + + let nShare = Math.floor(((ns.getServerMaxRam("home") - ns.getServerUsedRam("home")) / ns.getScriptRam(sShareScript))); + if (nShare > 0) { + ns.exec(sShareScript, "home", nShare); + } +} \ No newline at end of file diff --git a/Mizzajl/home/Start.js b/Mizzajl/home/Start.js new file mode 100644 index 0000000..04fc328 --- /dev/null +++ b/Mizzajl/home/Start.js @@ -0,0 +1,37 @@ +/** @param {NS} ns */ +export async function main(ns) { + ns.tail(); + const sServerListScript = "Serverlist.js"; + const sGangScript = "gang/auto-gang2.js"; + const sPServScript = "purchaseServers.js"; + const sBatchController = "EveryServerRun.js"; + const sBackdoorScript = "backdoor.js"; + const sUpdateTarget = "Updatebesttarget.js" + const sMonitorScript = "autoexec.js" + + + const sServerListFile = "serverList.txt"; + const sBestServerFile = "bestTarget.txt"; + + + + if (!ns.isRunning(sServerListScript)){ns.run(sServerListScript);} + while(ns.isRunning(sServerListScript)){await ns.sleep(100);} + + if (!ns.isRunning(sGangScript)){ns.run(sGangScript);} + + if (!ns.isRunning(sPServScript)){ns.run(sPServScript);} + + if (!ns.isRunning(sBackdoorScript)){ns.run(sBackdoorScript);} + while(ns.isRunning(sBackdoorScript)){await ns.sleep(100);} + + if (!ns.isRunning(sUpdateTarget)){ns.run(sUpdateTarget);} + while(ns.isRunning(sUpdateTarget)){await ns.sleep(100);} + + if (!ns.isRunning(sBatchController)){ns.run(sBatchController, 1, "n00dles");} + while(ns.isRunning(sBatchController)){await ns.sleep(100);} + + if (!ns.isRunning(sMonitorScript)){ns.run(sMonitorScript);} + + +} \ No newline at end of file diff --git a/Mizzajl/home/Updatebesttarget.js b/Mizzajl/home/Updatebesttarget.js index 2380080..03fabc9 100644 --- a/Mizzajl/home/Updatebesttarget.js +++ b/Mizzajl/home/Updatebesttarget.js @@ -5,7 +5,7 @@ export async function main(ns) { let cracks = {}; cracks = getCracks(ns); let maxPorts = Object.keys(cracks).length; - findBestTarget(ns, 999, maxPorts, ns.getHackingLevel(),""); + findBestTarget(ns, 999, maxPorts, ns.getHackingLevel(),"n00dles"); let bestTarget = ns.read("bestTarget.txt") ns.tprint("Best Target: " + bestTarget); ns.tprint(Object.keys(JSON.parse(ns.read("serverList.txt"))).length); diff --git a/Mizzajl/home/backup/bitnodeStart.js b/Mizzajl/home/backup/bitnodeStart.js index ebe7daf..5575d7e 100644 --- a/Mizzajl/home/backup/bitnodeStart.js +++ b/Mizzajl/home/backup/bitnodeStart.js @@ -5,13 +5,15 @@ export async function main(ns) { goals get money upgrade home ram - /* + */ - let nPID = ns.run("serverlister.js"); - while (ns.getRunningScript(nPID)){ - ns.tprint("waiting for script to finish"); - await ns.sleep(100); - } + /* +let nPID = ns.run("serverlister.js"); +while (ns.getRunningScript(nPID)){ + ns.tprint("waiting for script to finish"); + await ns.sleep(100); +} + */ diff --git a/Mizzajl/home/batch.js b/Mizzajl/home/batch.js index 6c574d2..65b4fd0 100644 --- a/Mizzajl/home/batch.js +++ b/Mizzajl/home/batch.js @@ -28,6 +28,7 @@ export async function main(ns) { const nHackScriptRAM = 1.75; const nGrowScriptRAM = 1.7; const nWeakenScriptRAM = 1.75; + const nThisScriptRAM = 7.25; //abort script if sTarget is undefined @@ -97,6 +98,7 @@ export async function main(ns) { nCurrentSecurity = ns.getServerSecurityLevel(sTarget); nCurrentMoney = ns.getServerMoneyAvailable(sTarget); +/* nBonusWeaken = 0; if (nCurrentSecurity > nMinSecurity + 3) { nBonusWeaken = 4; @@ -105,7 +107,7 @@ export async function main(ns) { if (nCurrentMoney <= nMaxMoney * 0.8) { nBonusGrow = 11; } - +*/ nGrowThreads = Math.max(1 + nBonusGrow, getGrowThreads(ns, sTarget, nHackThreads)); nGrowThreadsINT = Math.ceil(nGrowThreads); @@ -125,14 +127,14 @@ export async function main(ns) { nUsedRAM = ns.getServerUsedRam(sRunner); nFreeRam = nMaxRAM - nUsedRAM; - while (nFreeRam <= (nWeakenScriptRAM * nWeakenThreads) + nHomeServerReserve + 6) { + while (nFreeRam <= (nWeakenScriptRAM * nWeakenThreads) + nThisScriptRAM) { await ns.sleep(100); nMaxRAM = ns.getServerMaxRam(sRunner); nUsedRAM = ns.getServerUsedRam(sRunner); nFreeRam = nMaxRAM - nUsedRAM; } - if (nFreeRam > (nWeakenScriptRAM * nWeakenThreads) + nHomeServerReserve + 6) { + if (nFreeRam > (nWeakenScriptRAM * nWeakenThreads) + nThisScriptRAM) { //Calculate estimate time of completion nOffset = ns.getWeakenTime(sTarget); let nWeakTime = new Date(currentDate.getTime() + nOffset); @@ -149,7 +151,7 @@ export async function main(ns) { nUsedRAM = ns.getServerUsedRam(sRunner); nFreeRam = nMaxRAM - nUsedRAM; - while (nFreeRam <= (nGrowScriptRAM * nGrowThreads) + nHomeServerReserve + 6) { + while (nFreeRam <= (nGrowScriptRAM * nGrowThreads) + nThisScriptRAM) { await ns.sleep(100); nMaxRAM = ns.getServerMaxRam(sRunner); nUsedRAM = ns.getServerUsedRam(sRunner); @@ -157,7 +159,7 @@ export async function main(ns) { } - if (nCurrentSecurity <= (nMinSecurity + 1) && nFreeRam > (nGrowScriptRAM * nGrowThreads) + nHomeServerReserve + 6) { + if (nCurrentSecurity <= (nMinSecurity + 1) && nFreeRam > (nGrowScriptRAM * nGrowThreads) + nThisScriptRAM) { //Calculate estimate time of completion nOffset = ns.getGrowTime(sTarget); @@ -175,7 +177,7 @@ export async function main(ns) { nUsedRAM = ns.getServerUsedRam(sRunner); nFreeRam = nMaxRAM - nUsedRAM; - while (nFreeRam <= (nHackScriptRAM * nHackThreads) + nHomeServerReserve + 6) { + while (nFreeRam <= (nHackScriptRAM * nHackThreads) + nThisScriptRAM) { await ns.sleep(100); nMaxRAM = ns.getServerMaxRam(sRunner); nUsedRAM = ns.getServerUsedRam(sRunner); @@ -183,7 +185,7 @@ export async function main(ns) { } - if (nCurrentMoney >= nMaxMoney * 0.8 && nFreeRam > (nHackScriptRAM * nHackThreads) + nHomeServerReserve + 6) { + if (nCurrentMoney >= nMaxMoney * 0.8 && nFreeRam > (nHackScriptRAM * nHackThreads) + nThisScriptRAM) { //Calculate estimate time of completion nOffset = ns.getHackTime(sTarget); diff --git a/Mizzajl/home/bestTarget.txt b/Mizzajl/home/bestTarget.txt index 151a55e..c9f93aa 100644 --- a/Mizzajl/home/bestTarget.txt +++ b/Mizzajl/home/bestTarget.txt @@ -1 +1 @@ -{"serverName":"clarkinc","maxRam":0,"maxMoney":56342049041.25,"minSec":15,"minPorts":5,"minHackLvl":1195,"rootAccess":true,"openPorts":0,"serverOrgs":"Clarke Incorporated","serverCores":14,"serverFiles":["beyond-man.lit","cost-of-immortality.lit"]} \ No newline at end of file +{"serverName":"n00dles","maxRam":4,"maxMoney":70000,"minSec":1,"minPorts":0,"minHackLvl":1,"rootAccess":true,"openPorts":0,"serverOrgs":"Noodle Bar","serverCores":1,"serverFiles":["factionboost.js"]} \ No newline at end of file diff --git a/Mizzajl/home/serverList.txt b/Mizzajl/home/serverList.txt index 9b75c0f..0240bc7 100644 --- a/Mizzajl/home/serverList.txt +++ b/Mizzajl/home/serverList.txt @@ -1 +1 @@ -{"home":{"serverName":"home","maxRam":4194304,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"Home PC","serverCores":8,"serverFiles":["19dfj3l1nd.msg","AutoLink.exe","BruteSSH.exe","CrackAndRootAll.js","DeepscanV1.exe","DeepscanV2.exe","EveryServerRun.js","FTPCrack.exe","HTTPWorm.exe","Library.js","NUKE.exe","RMgrow.js","RMhack.js","RMweaken.js","Ramses/Backdoor.js","Ramses/ContractSolver.js","Ramses/ContractSolverRamses.js","Ramses/CorpControl.js","Ramses/CrackAndRootAll.js","Ramses/RamsesUtils.js","Ramses/S4controller.js","Ramses/S4logHelper.js","Ramses/S4tGrow.js","Ramses/S4tHack.js","Ramses/S4tWeaken.js","Ramses/S4utils.js","Ramses/Serverlist.js","Ramses/analyzeContract.js","Ramses/corp/Autosell.js","Ramses/corp/HireWorkers.js","Ramses/corp/SetupExport.js","Ramses/corp/Smart.js","Ramses/corp/UpgradeOffice.js","Ramses/killAllScript.js","Ramses/purchaseServers.js","SQLInject.exe","ServerRouteList.txt","Serverlist.js","Updatebesttarget.js","algorithm.js","ascii/detective.txt","ascii/detective2.txt","ascii/detective3.txt","ascii/hacker.txt","ascii/judge.txt","ascii/noir.txt","ascii/sonic.js","autoexec.js","b1t_flum3.exe","backdoor.js","backup/batch2.js","backup/bitnodeStart.js","backup/growrepeater.js","backup/maxGrow.js","backup/myLibrary.js","backup/serverlister.js","backup/upgrade.js","batch.js","bestTarget.txt","breach.js","contract.js","csec-test.msg","factionboost.js","fl1ght.exe","gang/argFunctions.js","gang/auto-gang.js","gang/auto-gang2.js","gang/gangManager.js","hackers-starting-handbook.lit","hacknet/hacknetmanager.js","j0.msg","j1.msg","j2.msg","j3.msg","j4.msg","killAllScripts.js","nitesec-test.msg","notes.txt","purchaseServers.js","relaySMTP.exe","serverList.txt","settings.txt","sharePserv.js","singularity/RMroutelist.js","singularity/manualalgo.js","wip/Minimum_Path_Sum_in_a_Triangle.js","wip/RMbreach.js","wip/RMcontroller.js","wip/progress.js","wip/pserv.js","wip/scanFactionAugments.js","wip/test.js","wip/testhackgrow.js"]},"pserv-24":{"serverName":"pserv-24","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-23":{"serverName":"pserv-23","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-22":{"serverName":"pserv-22","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-21":{"serverName":"pserv-21","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-20":{"serverName":"pserv-20","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-19":{"serverName":"pserv-19","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-18":{"serverName":"pserv-18","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-17":{"serverName":"pserv-17","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-16":{"serverName":"pserv-16","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-15":{"serverName":"pserv-15","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-14":{"serverName":"pserv-14","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-13":{"serverName":"pserv-13","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-12":{"serverName":"pserv-12","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-11":{"serverName":"pserv-11","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-10":{"serverName":"pserv-10","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-09":{"serverName":"pserv-09","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-08":{"serverName":"pserv-08","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-07":{"serverName":"pserv-07","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-06":{"serverName":"pserv-06","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-05":{"serverName":"pserv-05","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-04":{"serverName":"pserv-04","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-03":{"serverName":"pserv-03","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-02":{"serverName":"pserv-02","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-01":{"serverName":"pserv-01","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"pserv-00":{"serverName":"pserv-00","maxRam":1048576,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"darkweb":{"serverName":"darkweb","maxRam":0,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":4,"serverOrgs":"darkweb","serverCores":1,"serverFiles":[]},"iron-gym":{"serverName":"iron-gym","maxRam":32,"maxMoney":56250000,"minSec":10,"minPorts":1,"minHackLvl":100,"rootAccess":true,"openPorts":0,"serverOrgs":"Iron Gym Network","serverCores":1,"serverFiles":["factionboost.js"]},"CSEC":{"serverName":"CSEC","maxRam":8,"maxMoney":0,"minSec":1,"minPorts":1,"minHackLvl":57,"rootAccess":true,"openPorts":0,"serverOrgs":"CyberSec","serverCores":2,"serverFiles":["democracy-is-dead.lit","factionboost.js"]},"silver-helix":{"serverName":"silver-helix","maxRam":64,"maxMoney":126562500,"minSec":10,"minPorts":2,"minHackLvl":150,"rootAccess":true,"openPorts":1,"serverOrgs":"Silver Helix","serverCores":2,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","new-triads.lit","settings.txt"]},"neo-net":{"serverName":"neo-net","maxRam":32,"maxMoney":14062500,"minSec":8,"minPorts":1,"minHackLvl":50,"rootAccess":true,"openPorts":0,"serverOrgs":"Neo Nightclub Network","serverCores":3,"serverFiles":["factionboost.js","the-hidden-world.lit"]},"computek":{"serverName":"computek","maxRam":0,"maxMoney":619419029.0625,"minSec":21,"minPorts":3,"minHackLvl":371,"rootAccess":true,"openPorts":2,"serverOrgs":"CompuTek","serverCores":4,"serverFiles":["man-and-machine.lit"]},"I.I.I.I":{"serverName":"I.I.I.I","maxRam":32,"maxMoney":0,"minSec":1,"minPorts":3,"minHackLvl":348,"rootAccess":true,"openPorts":2,"serverOrgs":"I.I.I.I","serverCores":4,"serverFiles":["democracy-is-dead.lit","factionboost.js"]},"catalyst":{"serverName":"catalyst","maxRam":32,"maxMoney":925695675,"minSec":22,"minPorts":3,"minHackLvl":442,"rootAccess":true,"openPorts":2,"serverOrgs":"Catalyst Ventures","serverCores":4,"serverFiles":["factionboost.js","tensions-in-tech-race.lit"]},"zb-institute":{"serverName":"zb-institute","maxRam":64,"maxMoney":2598281091.5625,"minSec":26,"minPorts":5,"minHackLvl":748,"rootAccess":true,"openPorts":4,"serverOrgs":"ZB Institute of Technology","serverCores":3,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","settings.txt"]},"aevum-police":{"serverName":"aevum-police","maxRam":32,"maxMoney":818631947.8125,"minSec":25,"minPorts":4,"minHackLvl":417,"rootAccess":true,"openPorts":3,"serverOrgs":"Aevum Police Headquarters","serverCores":6,"serverFiles":["factionboost.js"]},"galactic-cyber":{"serverName":"galactic-cyber","maxRam":0,"maxMoney":2357560971.5625,"minSec":21,"minPorts":5,"minHackLvl":867,"rootAccess":true,"openPorts":4,"serverOrgs":"Galactic Cybersystems","serverCores":5,"serverFiles":[]},"alpha-ent":{"serverName":"alpha-ent","maxRam":128,"maxMoney":1843210710,"minSec":18,"minPorts":4,"minHackLvl":572,"rootAccess":true,"openPorts":3,"serverOrgs":"Alpha Enterprises","serverCores":6,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","sector-12-crime.lit","settings.txt"]},"harakiri-sushi":{"serverName":"harakiri-sushi","maxRam":16,"maxMoney":11250000,"minSec":5,"minPorts":0,"minHackLvl":40,"rootAccess":true,"openPorts":0,"serverOrgs":"HaraKiri Sushi Bar Network","serverCores":1,"serverFiles":["factionboost.js"]},"hong-fang-tea":{"serverName":"hong-fang-tea","maxRam":16,"maxMoney":8437500,"minSec":5,"minPorts":0,"minHackLvl":30,"rootAccess":true,"openPorts":0,"serverOrgs":"HongFang Teahouse","serverCores":1,"serverFiles":["brighter-than-the-sun.lit","factionboost.js"]},"joesguns":{"serverName":"joesguns","maxRam":16,"maxMoney":7031250,"minSec":5,"minPorts":0,"minHackLvl":10,"rootAccess":true,"openPorts":0,"serverOrgs":"Joe's Guns","serverCores":1,"serverFiles":["contract-726458.cct","factionboost.js"]},"sigma-cosmetics":{"serverName":"sigma-cosmetics","maxRam":16,"maxMoney":6468750,"minSec":3,"minPorts":0,"minHackLvl":5,"rootAccess":true,"openPorts":0,"serverOrgs":"Sigma Cosmetics","serverCores":1,"serverFiles":["factionboost.js"]},"max-hardware":{"serverName":"max-hardware","maxRam":32,"maxMoney":28125000,"minSec":5,"minPorts":1,"minHackLvl":80,"rootAccess":true,"openPorts":0,"serverOrgs":"Max Hardware Store","serverCores":1,"serverFiles":["factionboost.js"]},"zer0":{"serverName":"zer0","maxRam":32,"maxMoney":21093750,"minSec":8,"minPorts":1,"minHackLvl":75,"rootAccess":true,"openPorts":0,"serverOrgs":"ZER0 Nightclub","serverCores":2,"serverFiles":["factionboost.js"]},"omega-net":{"serverName":"omega-net","maxRam":32,"maxMoney":178315183.125,"minSec":11,"minPorts":2,"minHackLvl":218,"rootAccess":true,"openPorts":1,"serverOrgs":"Omega Software","serverCores":2,"serverFiles":["factionboost.js","the-new-god.lit"]},"johnson-ortho":{"serverName":"johnson-ortho","maxRam":0,"maxMoney":233538648.75,"minSec":22,"minPorts":2,"minHackLvl":254,"rootAccess":true,"openPorts":1,"serverOrgs":"Johnson Orthopedics","serverCores":2,"serverFiles":[]},"the-hub":{"serverName":"the-hub","maxRam":64,"maxMoney":440206450.3125,"minSec":13,"minPorts":2,"minHackLvl":298,"rootAccess":true,"openPorts":1,"serverOrgs":"The Hub","serverCores":2,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","settings.txt"]},"foodnstuff":{"serverName":"foodnstuff","maxRam":16,"maxMoney":5625000,"minSec":3,"minPorts":0,"minHackLvl":1,"rootAccess":true,"openPorts":0,"serverOrgs":"FoodNStuff","serverCores":1,"serverFiles":["factionboost.js","sector-12-crime.lit"]},"n00dles":{"serverName":"n00dles","maxRam":4,"maxMoney":196875,"minSec":1,"minPorts":0,"minHackLvl":1,"rootAccess":true,"openPorts":0,"serverOrgs":"Noodle Bar","serverCores":1,"serverFiles":["factionboost.js"]},"nectar-net":{"serverName":"nectar-net","maxRam":16,"maxMoney":7734375,"minSec":7,"minPorts":0,"minHackLvl":20,"rootAccess":true,"openPorts":0,"serverOrgs":"Nectar Nightclub Network","serverCores":2,"serverFiles":["factionboost.js"]},"phantasy":{"serverName":"phantasy","maxRam":32,"maxMoney":67500000,"minSec":7,"minPorts":2,"minHackLvl":100,"rootAccess":true,"openPorts":1,"serverOrgs":"Phantasy Club","serverCores":2,"serverFiles":["factionboost.js"]},"avmnite-02h":{"serverName":"avmnite-02h","maxRam":128,"maxMoney":0,"minSec":1,"minPorts":2,"minHackLvl":202,"rootAccess":true,"openPorts":1,"serverOrgs":"NiteSec","serverCores":3,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","democracy-is-dead.lit","settings.txt"]},"syscore":{"serverName":"syscore","maxRam":0,"maxMoney":1595628742.5,"minSec":20,"minPorts":4,"minHackLvl":594,"rootAccess":true,"openPorts":3,"serverOrgs":"SysCore Securities","serverCores":5,"serverFiles":[]},"millenium-fitness":{"serverName":"millenium-fitness","maxRam":64,"maxMoney":703125000,"minSec":15,"minPorts":3,"minHackLvl":516,"rootAccess":true,"openPorts":2,"serverOrgs":"Millenium Fitness Network","serverCores":6,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","settings.txt"]},"snap-fitness":{"serverName":"snap-fitness","maxRam":0,"maxMoney":1265625000,"minSec":13,"minPorts":4,"minHackLvl":762,"rootAccess":true,"openPorts":3,"serverOrgs":"Snap Fitness","serverCores":7,"serverFiles":[]},"unitalife":{"serverName":"unitalife","maxRam":64,"maxMoney":2885498564.0625,"minSec":26,"minPorts":4,"minHackLvl":788,"rootAccess":true,"openPorts":3,"serverOrgs":"UnitaLife Group","serverCores":8,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","settings.txt"]},"zeus-med":{"serverName":"zeus-med","maxRam":0,"maxMoney":4026928640.625,"minSec":28,"minPorts":5,"minHackLvl":834,"rootAccess":true,"openPorts":4,"serverOrgs":"Zeus Medical","serverCores":5,"serverFiles":[]},"zb-def":{"serverName":"zb-def","maxRam":0,"maxMoney":2954725956.5625,"minSec":20,"minPorts":4,"minHackLvl":781,"rootAccess":true,"openPorts":3,"serverOrgs":"ZB Defense Industries","serverCores":5,"serverFiles":["synthetic-muscles.lit"]},"titan-labs":{"serverName":"titan-labs","maxRam":16,"maxMoney":2310231600,"minSec":24,"minPorts":5,"minHackLvl":821,"rootAccess":true,"openPorts":4,"serverOrgs":"Titan Laboratories","serverCores":6,"serverFiles":["coded-intelligence.lit","factionboost.js"]},"univ-energy":{"serverName":"univ-energy","maxRam":128,"maxMoney":3364424375.625,"minSec":29,"minPorts":4,"minHackLvl":863,"rootAccess":true,"openPorts":3,"serverOrgs":"Universal Energy","serverCores":5,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","settings.txt"]},"infocomm":{"serverName":"infocomm","maxRam":0,"maxMoney":2449610220.9375,"minSec":27,"minPorts":5,"minHackLvl":886,"rootAccess":true,"openPorts":4,"serverOrgs":"InfoComm","serverCores":5,"serverFiles":[]},"aerocorp":{"serverName":"aerocorp","maxRam":0,"maxMoney":3228570601.875,"minSec":28,"minPorts":5,"minHackLvl":867,"rootAccess":true,"openPorts":4,"serverOrgs":"AeroCorp","serverCores":5,"serverFiles":["man-and-machine.lit"]},"omnia":{"serverName":"omnia","maxRam":64,"maxMoney":2708398718.4375,"minSec":29,"minPorts":5,"minHackLvl":929,"rootAccess":true,"openPorts":4,"serverOrgs":"Omnia Cybersystems","serverCores":5,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","history-of-synthoids.lit","settings.txt"]},"solaris":{"serverName":"solaris","maxRam":128,"maxMoney":2229316022.8125,"minSec":25,"minPorts":5,"minHackLvl":837,"rootAccess":true,"openPorts":4,"serverOrgs":"Solaris Space Systems","serverCores":5,"serverFiles":["A-Green-Tomorrow.lit","Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","settings.txt","the-failed-frontier.lit"]},"rho-construction":{"serverName":"rho-construction","maxRam":32,"maxMoney":1715818244.0625,"minSec":15,"minPorts":3,"minHackLvl":511,"rootAccess":true,"openPorts":2,"serverOrgs":"Rho Construction","serverCores":4,"serverFiles":["factionboost.js"]},"lexo-corp":{"serverName":"lexo-corp","maxRam":32,"maxMoney":2151876121.875,"minSec":25,"minPorts":4,"minHackLvl":678,"rootAccess":true,"openPorts":3,"serverOrgs":"LexoCorp","serverCores":6,"serverFiles":["contract-276584-BitRunners.cct","factionboost.js"]},"global-pharm":{"serverName":"global-pharm","maxRam":32,"maxMoney":4238162187.1875,"minSec":28,"minPorts":4,"minHackLvl":826,"rootAccess":true,"openPorts":3,"serverOrgs":"Global Pharmaceuticals","serverCores":6,"serverFiles":["A-Green-Tomorrow.lit","factionboost.js"]},"deltaone":{"serverName":"deltaone","maxRam":0,"maxMoney":4686640290,"minSec":25,"minPorts":5,"minHackLvl":808,"rootAccess":true,"openPorts":4,"serverOrgs":"DeltaOne","serverCores":4,"serverFiles":[]},"icarus":{"serverName":"icarus","maxRam":0,"maxMoney":2580828761.25,"minSec":29,"minPorts":5,"minHackLvl":917,"rootAccess":true,"openPorts":4,"serverOrgs":"Icarus Microsystems","serverCores":7,"serverFiles":[]},"nova-med":{"serverName":"nova-med","maxRam":0,"maxMoney":3292402775.625,"minSec":27,"minPorts":4,"minHackLvl":845,"rootAccess":true,"openPorts":3,"serverOrgs":"Nova Medical","serverCores":9,"serverFiles":[]},"microdyne":{"serverName":"microdyne","maxRam":16,"maxMoney":1483521690.9375,"minSec":25,"minPorts":5,"minHackLvl":821,"rootAccess":true,"openPorts":4,"serverOrgs":"Microdyne Technologies","serverCores":9,"serverFiles":["factionboost.js","synthetic-muscles.lit"]},"helios":{"serverName":"helios","maxRam":128,"maxMoney":1938353380.3125,"minSec":30,"minPorts":5,"minHackLvl":872,"rootAccess":true,"openPorts":4,"serverOrgs":"Helios Labs","serverCores":6,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","beyond-man.lit","settings.txt"]},"kuai-gong":{"serverName":"kuai-gong","maxRam":0,"maxMoney":78642811338.75,"minSec":32,"minPorts":5,"minHackLvl":1298,"rootAccess":true,"openPorts":4,"serverOrgs":"KuaiGong International","serverCores":12,"serverFiles":[]},"powerhouse-fitness":{"serverName":"powerhouse-fitness","maxRam":64,"maxMoney":2531250000,"minSec":22,"minPorts":5,"minHackLvl":1054,"rootAccess":true,"openPorts":4,"serverOrgs":"Powerhouse Fitness","serverCores":8,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","settings.txt"]},"fulcrumassets":{"serverName":"fulcrumassets","maxRam":0,"maxMoney":2812500,"minSec":33,"minPorts":5,"minHackLvl":1128,"rootAccess":true,"openPorts":4,"serverOrgs":"Fulcrum Technologies","serverCores":13,"serverFiles":[]},"blade":{"serverName":"blade","maxRam":32,"maxMoney":102520578372.1875,"minSec":31,"minPorts":5,"minHackLvl":1138,"rootAccess":true,"openPorts":4,"serverOrgs":"Blade Industries","serverCores":14,"serverFiles":["beyond-man.lit","factionboost.js"]},"megacorp":{"serverName":"megacorp","maxRam":0,"maxMoney":114687129574.6875,"minSec":33,"minPorts":5,"minHackLvl":1176,"rootAccess":true,"openPorts":4,"serverOrgs":"MegaCorp","serverCores":14,"serverFiles":[]},"defcomm":{"serverName":"defcomm","maxRam":0,"maxMoney":2384804525.625,"minSec":30,"minPorts":5,"minHackLvl":911,"rootAccess":true,"openPorts":4,"serverOrgs":"DefComm","serverCores":8,"serverFiles":[]},"taiyang-digital":{"serverName":"taiyang-digital","maxRam":0,"maxMoney":2455384812.1875,"minSec":26,"minPorts":5,"minHackLvl":932,"rootAccess":true,"openPorts":4,"serverOrgs":"Taiyang Digital","serverCores":9,"serverFiles":["A-Green-Tomorrow.lit","brighter-than-the-sun.lit"]},"run4theh111z":{"serverName":"run4theh111z","maxRam":512,"maxMoney":0,"minSec":1,"minPorts":4,"minHackLvl":537,"rootAccess":true,"openPorts":3,"serverOrgs":"The Runners","serverCores":7,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","settings.txt","simulated-reality.lit","the-new-god.lit"]},"vitalife":{"serverName":"vitalife","maxRam":16,"maxMoney":2193932964.375,"minSec":29,"minPorts":5,"minHackLvl":866,"rootAccess":true,"openPorts":4,"serverOrgs":"VitaLife","serverCores":10,"serverFiles":["A-Green-Tomorrow.lit","factionboost.js"]},"4sigma":{"serverName":"4sigma","maxRam":0,"maxMoney":64044372259.6875,"minSec":24,"minPorts":5,"minHackLvl":1149,"rootAccess":true,"openPorts":4,"serverOrgs":"Four Sigma","serverCores":7,"serverFiles":[]},"b-and-a":{"serverName":"b-and-a","maxRam":0,"maxMoney":45037293516.5625,"minSec":25,"minPorts":5,"minHackLvl":955,"rootAccess":true,"openPorts":4,"serverOrgs":"Bachman & Associates","serverCores":14,"serverFiles":[]},"fulcrumtech":{"serverName":"fulcrumtech","maxRam":1024,"maxMoney":4157506299.375,"minSec":29,"minPorts":5,"minHackLvl":1107,"rootAccess":true,"openPorts":4,"serverOrgs":"Fulcrum Technologies","serverCores":8,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","settings.txt","simulated-reality.lit"]},"omnitek":{"serverName":"omnitek","maxRam":128,"maxMoney":50780551336.875,"minSec":30,"minPorts":5,"minHackLvl":997,"rootAccess":true,"openPorts":4,"serverOrgs":"OmniTek Incorporated","serverCores":12,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","coded-intelligence.lit","history-of-synthoids.lit","settings.txt"]},"clarkinc":{"serverName":"clarkinc","maxRam":0,"maxMoney":56342049041.25,"minSec":15,"minPorts":5,"minHackLvl":1195,"rootAccess":true,"openPorts":4,"serverOrgs":"Clarke Incorporated","serverCores":14,"serverFiles":["beyond-man.lit","cost-of-immortality.lit"]},"applied-energetics":{"serverName":"applied-energetics","maxRam":0,"maxMoney":2691340613.4375,"minSec":26,"minPorts":4,"minHackLvl":786,"rootAccess":true,"openPorts":3,"serverOrgs":"Applied Energetics","serverCores":9,"serverFiles":[]},"stormtech":{"serverName":"stormtech","maxRam":0,"maxMoney":3251124742.5,"minSec":29,"minPorts":5,"minHackLvl":946,"rootAccess":true,"openPorts":4,"serverOrgs":"Storm Technologies","serverCores":12,"serverFiles":[]},".":{"serverName":".","maxRam":16,"maxMoney":0,"minSec":1,"minPorts":4,"minHackLvl":550,"rootAccess":true,"openPorts":3,"serverOrgs":".","serverCores":7,"serverFiles":["factionboost.js"]},"nwo":{"serverName":"nwo","maxRam":0,"maxMoney":82280105690.625,"minSec":33,"minPorts":5,"minHackLvl":1076,"rootAccess":true,"openPorts":4,"serverOrgs":"NWO","serverCores":10,"serverFiles":["the-hidden-world.lit"]},"The-Cave":{"serverName":"The-Cave","maxRam":0,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":925,"rootAccess":true,"openPorts":4,"serverOrgs":"Helios","serverCores":11,"serverFiles":["alpha-omega.lit"]},"ecorp":{"serverName":"ecorp","maxRam":0,"maxMoney":178999661998.125,"minSec":33,"minPorts":5,"minHackLvl":1113,"rootAccess":true,"openPorts":4,"serverOrgs":"ECorp","serverCores":13,"serverFiles":[]},"summit-uni":{"serverName":"summit-uni","maxRam":64,"maxMoney":778050978.75,"minSec":20,"minPorts":3,"minHackLvl":436,"rootAccess":true,"openPorts":2,"serverOrgs":"Summit University","serverCores":4,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","secret-societies.lit","settings.txt","synthetic-muscles.lit","the-failed-frontier.lit"]},"rothman-uni":{"serverName":"rothman-uni","maxRam":16,"maxMoney":536520515.625,"minSec":18,"minPorts":3,"minHackLvl":373,"rootAccess":true,"openPorts":2,"serverOrgs":"Rothman University","serverCores":4,"serverFiles":["factionboost.js","secret-societies.lit","tensions-in-tech-race.lit","the-failed-frontier.lit"]},"crush-fitness":{"serverName":"crush-fitness","maxRam":0,"maxMoney":157043334.375,"minSec":14,"minPorts":2,"minHackLvl":239,"rootAccess":true,"openPorts":1,"serverOrgs":"Crush Fitness","serverCores":2,"serverFiles":[]},"netlink":{"serverName":"netlink","maxRam":32,"maxMoney":773437500,"minSec":23,"minPorts":3,"minHackLvl":389,"rootAccess":true,"openPorts":2,"serverOrgs":"NetLink Technologies","serverCores":3,"serverFiles":["factionboost.js","simulated-reality.lit"]}} \ No newline at end of file +{"home":{"serverName":"home","maxRam":32,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":1,"rootAccess":true,"openPorts":0,"serverOrgs":"Home PC","serverCores":1,"serverFiles":["CrackAndRootAll.js","EveryServerRun.js","Library.js","NUKE.exe","RMgrow.js","RMhack.js","RMweaken.js","Ramses/Backdoor.js","Ramses/ContractSolver.js","Ramses/ContractSolverRamses.js","Ramses/CorpControl.js","Ramses/CrackAndRootAll.js","Ramses/RamsesUtils.js","Ramses/S4controller.js","Ramses/S4logHelper.js","Ramses/S4tGrow.js","Ramses/S4tHack.js","Ramses/S4tWeaken.js","Ramses/S4utils.js","Ramses/Serverlist.js","Ramses/analyzeContract.js","Ramses/corp/Autosell.js","Ramses/corp/HireWorkers.js","Ramses/corp/SetupExport.js","Ramses/corp/Smart.js","Ramses/corp/UpgradeOffice.js","Ramses/killAllScript.js","Ramses/purchaseServers.js","ServerRouteList.txt","Serverlist.js","ShareHome.js","Start.js","Updatebesttarget.js","algorithm.js","ascii/detective.txt","ascii/detective2.txt","ascii/detective3.txt","ascii/hacker.txt","ascii/judge.txt","ascii/noir.txt","ascii/sonic.js","autoexec.js","b1t_flum3.exe","backdoor.js","backup/batch2.js","backup/bitnodeStart.js","backup/growrepeater.js","backup/maxGrow.js","backup/myLibrary.js","backup/serverlister.js","backup/upgrade.js","batch.js","bestTarget.txt","breach.js","contract.js","corporation-management-handbook.lit","csec-test.msg","factionboost.js","fl1ght.exe","gang/argFunctions.js","gang/auto-gang.js","gang/auto-gang2.js","gang/gangManager.js","hackers-starting-handbook.lit","hacknet/hacknetmanager.js","j0.msg","j1.msg","killAllScripts.js","notes.txt","purchaseServers.js","serverList.txt","settings.txt","sharePserv.js","singularity/RMroutelist.js","singularity/manualalgo.js","wip/Minimum_Path_Sum_in_a_Triangle.js","wip/RMbreach.js","wip/RMcontroller.js","wip/hgw.js","wip/progress.js","wip/pserv.js","wip/scanFactionAugments.js","wip/test.js","wip/testhackgrow.js"]},"iron-gym":{"serverName":"iron-gym","maxRam":32,"maxMoney":20000000,"minSec":10,"minPorts":1,"minHackLvl":100,"rootAccess":false,"openPorts":0,"serverOrgs":"Iron Gym Network","serverCores":1,"serverFiles":[]},"harakiri-sushi":{"serverName":"harakiri-sushi","maxRam":16,"maxMoney":4000000,"minSec":5,"minPorts":0,"minHackLvl":40,"rootAccess":true,"openPorts":0,"serverOrgs":"HaraKiri Sushi Bar Network","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"hong-fang-tea":{"serverName":"hong-fang-tea","maxRam":16,"maxMoney":3000000,"minSec":5,"minPorts":0,"minHackLvl":30,"rootAccess":true,"openPorts":0,"serverOrgs":"HongFang Teahouse","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","brighter-than-the-sun.lit","factionboost.js","settings.txt"]},"joesguns":{"serverName":"joesguns","maxRam":16,"maxMoney":2500000,"minSec":5,"minPorts":0,"minHackLvl":10,"rootAccess":true,"openPorts":0,"serverOrgs":"Joe's Guns","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"max-hardware":{"serverName":"max-hardware","maxRam":32,"maxMoney":10000000,"minSec":5,"minPorts":1,"minHackLvl":80,"rootAccess":false,"openPorts":0,"serverOrgs":"Max Hardware Store","serverCores":2,"serverFiles":["contract-342822.cct"]},"sigma-cosmetics":{"serverName":"sigma-cosmetics","maxRam":16,"maxMoney":2300000,"minSec":3,"minPorts":0,"minHackLvl":5,"rootAccess":true,"openPorts":0,"serverOrgs":"Sigma Cosmetics","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"foodnstuff":{"serverName":"foodnstuff","maxRam":16,"maxMoney":2000000,"minSec":3,"minPorts":0,"minHackLvl":1,"rootAccess":true,"openPorts":0,"serverOrgs":"FoodNStuff","serverCores":1,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","sector-12-crime.lit","settings.txt"]},"nectar-net":{"serverName":"nectar-net","maxRam":16,"maxMoney":2750000,"minSec":7,"minPorts":0,"minHackLvl":20,"rootAccess":true,"openPorts":0,"serverOrgs":"Nectar Nightclub Network","serverCores":2,"serverFiles":["Library.js","RMgrow.js","RMhack.js","RMweaken.js","batch.js","factionboost.js","settings.txt"]},"omega-net":{"serverName":"omega-net","maxRam":32,"maxMoney":62276075,"minSec":9,"minPorts":2,"minHackLvl":180,"rootAccess":false,"openPorts":0,"serverOrgs":"Omega Software","serverCores":3,"serverFiles":["contract-105224.cct","contract-263536.cct","the-new-god.lit"]},"avmnite-02h":{"serverName":"avmnite-02h","maxRam":128,"maxMoney":0,"minSec":1,"minPorts":2,"minHackLvl":220,"rootAccess":false,"openPorts":0,"serverOrgs":"NiteSec","serverCores":3,"serverFiles":["democracy-is-dead.lit"]},"netlink":{"serverName":"netlink","maxRam":64,"maxMoney":275000000,"minSec":25,"minPorts":3,"minHackLvl":400,"rootAccess":false,"openPorts":0,"serverOrgs":"NetLink Technologies","serverCores":2,"serverFiles":["simulated-reality.lit"]},"the-hub":{"serverName":"the-hub","maxRam":8,"maxMoney":190708194,"minSec":13,"minPorts":2,"minHackLvl":313,"rootAccess":false,"openPorts":0,"serverOrgs":"The Hub","serverCores":3,"serverFiles":[]},"zb-institute":{"serverName":"zb-institute","maxRam":16,"maxMoney":1091246825,"minSec":26,"minPorts":5,"minHackLvl":733,"rootAccess":false,"openPorts":0,"serverOrgs":"ZB Institute of Technology","serverCores":5,"serverFiles":[]},"alpha-ent":{"serverName":"alpha-ent","maxRam":32,"maxMoney":600221748,"minSec":18,"minPorts":4,"minHackLvl":545,"rootAccess":false,"openPorts":0,"serverOrgs":"Alpha Enterprises","serverCores":6,"serverFiles":["sector-12-crime.lit"]},"silver-helix":{"serverName":"silver-helix","maxRam":64,"maxMoney":45000000,"minSec":10,"minPorts":2,"minHackLvl":150,"rootAccess":false,"openPorts":0,"serverOrgs":"Silver Helix","serverCores":3,"serverFiles":["new-triads.lit"]},"johnson-ortho":{"serverName":"johnson-ortho","maxRam":0,"maxMoney":83291376,"minSec":20,"minPorts":2,"minHackLvl":280,"rootAccess":false,"openPorts":0,"serverOrgs":"Johnson Orthopedics","serverCores":4,"serverFiles":[]},"I.I.I.I":{"serverName":"I.I.I.I","maxRam":256,"maxMoney":0,"minSec":1,"minPorts":3,"minHackLvl":352,"rootAccess":false,"openPorts":0,"serverOrgs":"I.I.I.I","serverCores":5,"serverFiles":["democracy-is-dead.lit"]},"lexo-corp":{"serverName":"lexo-corp","maxRam":32,"maxMoney":765915732,"minSec":23,"minPorts":4,"minHackLvl":686,"rootAccess":false,"openPorts":0,"serverOrgs":"LexoCorp","serverCores":3,"serverFiles":[]},"summit-uni":{"serverName":"summit-uni","maxRam":64,"maxMoney":346686371,"minSec":16,"minPorts":3,"minHackLvl":470,"rootAccess":false,"openPorts":0,"serverOrgs":"Summit University","serverCores":4,"serverFiles":["secret-societies.lit","synthetic-muscles.lit","the-failed-frontier.lit"]},"neo-net":{"serverName":"neo-net","maxRam":32,"maxMoney":5000000,"minSec":8,"minPorts":1,"minHackLvl":50,"rootAccess":false,"openPorts":0,"serverOrgs":"Neo Nightclub Network","serverCores":3,"serverFiles":["the-hidden-world.lit"]},"computek":{"serverName":"computek","maxRam":0,"maxMoney":234913773,"minSec":21,"minPorts":3,"minHackLvl":312,"rootAccess":false,"openPorts":0,"serverOrgs":"CompuTek","serverCores":3,"serverFiles":["man-and-machine.lit"]},"syscore":{"serverName":"syscore","maxRam":0,"maxMoney":423708659,"minSec":26,"minPorts":4,"minHackLvl":624,"rootAccess":false,"openPorts":0,"serverOrgs":"SysCore Securities","serverCores":5,"serverFiles":[]},"rho-construction":{"serverName":"rho-construction","maxRam":32,"maxMoney":609903316,"minSec":20,"minPorts":3,"minHackLvl":500,"rootAccess":false,"openPorts":0,"serverOrgs":"Rho Construction","serverCores":3,"serverFiles":[]},"snap-fitness":{"serverName":"snap-fitness","maxRam":0,"maxMoney":450000000,"minSec":15,"minPorts":4,"minHackLvl":765,"rootAccess":false,"openPorts":0,"serverOrgs":"Snap Fitness","serverCores":7,"serverFiles":[]},"zer0":{"serverName":"zer0","maxRam":32,"maxMoney":7500000,"minSec":8,"minPorts":1,"minHackLvl":75,"rootAccess":false,"openPorts":0,"serverOrgs":"ZER0 Nightclub","serverCores":1,"serverFiles":[]},"phantasy":{"serverName":"phantasy","maxRam":32,"maxMoney":24000000,"minSec":7,"minPorts":2,"minHackLvl":100,"rootAccess":false,"openPorts":0,"serverOrgs":"Phantasy Club","serverCores":2,"serverFiles":[]},"crush-fitness":{"serverName":"crush-fitness","maxRam":0,"maxMoney":41761912,"minSec":14,"minPorts":2,"minHackLvl":238,"rootAccess":false,"openPorts":0,"serverOrgs":"Crush Fitness","serverCores":4,"serverFiles":[]},"catalyst":{"serverName":"catalyst","maxRam":128,"maxMoney":526965744,"minSec":22,"minPorts":3,"minHackLvl":418,"rootAccess":false,"openPorts":0,"serverOrgs":"Catalyst Ventures","serverCores":4,"serverFiles":["tensions-in-tech-race.lit"]},"millenium-fitness":{"serverName":"millenium-fitness","maxRam":64,"maxMoney":250000000,"minSec":16,"minPorts":3,"minHackLvl":475,"rootAccess":false,"openPorts":0,"serverOrgs":"Millenium Fitness Network","serverCores":6,"serverFiles":[]},"aerocorp":{"serverName":"aerocorp","maxRam":0,"maxMoney":1153840980,"minSec":27,"minPorts":5,"minHackLvl":884,"rootAccess":false,"openPorts":0,"serverOrgs":"AeroCorp","serverCores":7,"serverFiles":["man-and-machine.lit"]},"galactic-cyber":{"serverName":"galactic-cyber","maxRam":0,"maxMoney":777513992,"minSec":21,"minPorts":5,"minHackLvl":839,"rootAccess":false,"openPorts":0,"serverOrgs":"Galactic Cybersystems","serverCores":5,"serverFiles":[]},"unitalife":{"serverName":"unitalife","maxRam":64,"maxMoney":1080870701,"minSec":25,"minPorts":4,"minHackLvl":811,"rootAccess":false,"openPorts":0,"serverOrgs":"UnitaLife Group","serverCores":7,"serverFiles":["contract-494001.cct"]},"zeus-med":{"serverName":"zeus-med","maxRam":0,"maxMoney":1392566772,"minSec":30,"minPorts":5,"minHackLvl":841,"rootAccess":false,"openPorts":0,"serverOrgs":"Zeus Medical","serverCores":7,"serverFiles":[]},"rothman-uni":{"serverName":"rothman-uni","maxRam":128,"maxMoney":236702926,"minSec":16,"minPorts":3,"minHackLvl":383,"rootAccess":false,"openPorts":0,"serverOrgs":"Rothman University","serverCores":4,"serverFiles":["secret-societies.lit","tensions-in-tech-race.lit","the-failed-frontier.lit"]},"aevum-police":{"serverName":"aevum-police","maxRam":64,"maxMoney":248569386,"minSec":25,"minPorts":4,"minHackLvl":432,"rootAccess":false,"openPorts":0,"serverOrgs":"Aevum Police Headquarters","serverCores":6,"serverFiles":[]},"global-pharm":{"serverName":"global-pharm","maxRam":16,"maxMoney":1582568988,"minSec":26,"minPorts":4,"minHackLvl":819,"rootAccess":false,"openPorts":0,"serverOrgs":"Global Pharmaceuticals","serverCores":4,"serverFiles":["A-Green-Tomorrow.lit"]},"deltaone":{"serverName":"deltaone","maxRam":0,"maxMoney":1640223757,"minSec":26,"minPorts":5,"minHackLvl":888,"rootAccess":false,"openPorts":0,"serverOrgs":"DeltaOne","serverCores":5,"serverFiles":[]},"univ-energy":{"serverName":"univ-energy","maxRam":16,"maxMoney":1128724918,"minSec":28,"minPorts":4,"minHackLvl":835,"rootAccess":false,"openPorts":0,"serverOrgs":"Universal Energy","serverCores":8,"serverFiles":[]},"nova-med":{"serverName":"nova-med","maxRam":0,"maxMoney":1149963626,"minSec":22,"minPorts":4,"minHackLvl":821,"rootAccess":false,"openPorts":0,"serverOrgs":"Nova Medical","serverCores":7,"serverFiles":["contract-465714.cct"]},"infocomm":{"serverName":"infocomm","maxRam":0,"maxMoney":718745672,"minSec":27,"minPorts":5,"minHackLvl":940,"rootAccess":false,"openPorts":0,"serverOrgs":"InfoComm","serverCores":10,"serverFiles":[]},"microdyne":{"serverName":"microdyne","maxRam":16,"maxMoney":515660558,"minSec":22,"minPorts":5,"minHackLvl":844,"rootAccess":false,"openPorts":0,"serverOrgs":"Microdyne Technologies","serverCores":9,"serverFiles":["synthetic-muscles.lit"]},"defcomm":{"serverName":"defcomm","maxRam":0,"maxMoney":898277505,"minSec":28,"minPorts":5,"minHackLvl":946,"rootAccess":false,"openPorts":0,"serverOrgs":"DefComm","serverCores":6,"serverFiles":[]},"omnia":{"serverName":"omnia","maxRam":16,"maxMoney":931617352,"minSec":31,"minPorts":5,"minHackLvl":938,"rootAccess":false,"openPorts":0,"serverOrgs":"Omnia Cybersystems","serverCores":4,"serverFiles":["history-of-synthoids.lit"]},"solaris":{"serverName":"solaris","maxRam":16,"maxMoney":822804275,"minSec":23,"minPorts":5,"minHackLvl":840,"rootAccess":false,"openPorts":0,"serverOrgs":"Solaris Space Systems","serverCores":9,"serverFiles":["A-Green-Tomorrow.lit","the-failed-frontier.lit"]},"zb-def":{"serverName":"zb-def","maxRam":0,"maxMoney":1047378798,"minSec":20,"minPorts":4,"minHackLvl":784,"rootAccess":false,"openPorts":0,"serverOrgs":"ZB Defense Industries","serverCores":8,"serverFiles":["synthetic-muscles.lit"]},"run4theh111z":{"serverName":"run4theh111z","maxRam":512,"maxMoney":0,"minSec":1,"minPorts":4,"minHackLvl":541,"rootAccess":false,"openPorts":0,"serverOrgs":"The Runners","serverCores":9,"serverFiles":["contract-927699.cct","simulated-reality.lit","the-new-god.lit"]},"helios":{"serverName":"helios","maxRam":64,"maxMoney":688388242,"minSec":29,"minPorts":5,"minHackLvl":827,"rootAccess":false,"openPorts":0,"serverOrgs":"Helios Labs","serverCores":12,"serverFiles":["beyond-man.lit"]},"fulcrumtech":{"serverName":"fulcrumtech","maxRam":256,"maxMoney":1754523757,"minSec":32,"minPorts":5,"minHackLvl":1050,"rootAccess":false,"openPorts":0,"serverOrgs":"Fulcrum Technologies","serverCores":6,"serverFiles":["simulated-reality.lit"]},"kuai-gong":{"serverName":"kuai-gong","maxRam":0,"maxMoney":23406776321,"minSec":33,"minPorts":5,"minHackLvl":1264,"rootAccess":false,"openPorts":0,"serverOrgs":"KuaiGong International","serverCores":9,"serverFiles":[]},"clarkinc":{"serverName":"clarkinc","maxRam":0,"maxMoney":20404114053,"minSec":22,"minPorts":5,"minHackLvl":1008,"rootAccess":false,"openPorts":0,"serverOrgs":"Clarke Incorporated","serverCores":12,"serverFiles":["beyond-man.lit","cost-of-immortality.lit"]},"applied-energetics":{"serverName":"applied-energetics","maxRam":0,"maxMoney":720563218,"minSec":26,"minPorts":4,"minHackLvl":833,"rootAccess":false,"openPorts":0,"serverOrgs":"Applied Energetics","serverCores":6,"serverFiles":[]},"titan-labs":{"serverName":"titan-labs","maxRam":16,"maxMoney":885293112,"minSec":27,"minPorts":5,"minHackLvl":841,"rootAccess":false,"openPorts":0,"serverOrgs":"Titan Laboratories","serverCores":10,"serverFiles":["coded-intelligence.lit","contract-531460.cct"]},"vitalife":{"serverName":"vitalife","maxRam":32,"maxMoney":748802639,"minSec":27,"minPorts":5,"minHackLvl":888,"rootAccess":false,"openPorts":0,"serverOrgs":"VitaLife","serverCores":7,"serverFiles":["A-Green-Tomorrow.lit","contract-707429.cct"]},"omnitek":{"serverName":"omnitek","maxRam":512,"maxMoney":15034577404,"minSec":31,"minPorts":5,"minHackLvl":948,"rootAccess":false,"openPorts":0,"serverOrgs":"OmniTek Incorporated","serverCores":10,"serverFiles":["coded-intelligence.lit","history-of-synthoids.lit"]},"b-and-a":{"serverName":"b-and-a","maxRam":0,"maxMoney":19160386435,"minSec":27,"minPorts":5,"minHackLvl":1117,"rootAccess":false,"openPorts":0,"serverOrgs":"Bachman & Associates","serverCores":11,"serverFiles":[]},"megacorp":{"serverName":"megacorp","maxRam":0,"maxMoney":46462495825,"minSec":33,"minPorts":5,"minHackLvl":1167,"rootAccess":false,"openPorts":0,"serverOrgs":"MegaCorp","serverCores":13,"serverFiles":[]},"stormtech":{"serverName":"stormtech","maxRam":0,"maxMoney":1022675845,"minSec":28,"minPorts":5,"minHackLvl":1038,"rootAccess":false,"openPorts":0,"serverOrgs":"Storm Technologies","serverCores":11,"serverFiles":[]},".":{"serverName":".","maxRam":16,"maxMoney":0,"minSec":1,"minPorts":4,"minHackLvl":519,"rootAccess":false,"openPorts":0,"serverOrgs":".","serverCores":10,"serverFiles":[]},"powerhouse-fitness":{"serverName":"powerhouse-fitness","maxRam":32,"maxMoney":900000000,"minSec":19,"minPorts":5,"minHackLvl":1045,"rootAccess":false,"openPorts":0,"serverOrgs":"Powerhouse Fitness","serverCores":8,"serverFiles":[]},"The-Cave":{"serverName":"The-Cave","maxRam":0,"maxMoney":0,"minSec":1,"minPorts":5,"minHackLvl":925,"rootAccess":false,"openPorts":0,"serverOrgs":"Helios","serverCores":12,"serverFiles":["alpha-omega.lit"]},"4sigma":{"serverName":"4sigma","maxRam":0,"maxMoney":17924165284,"minSec":19,"minPorts":5,"minHackLvl":1158,"rootAccess":false,"openPorts":0,"serverOrgs":"Four Sigma","serverCores":10,"serverFiles":[]},"nwo":{"serverName":"nwo","maxRam":0,"maxMoney":37779123687,"minSec":33,"minPorts":5,"minHackLvl":1114,"rootAccess":false,"openPorts":0,"serverOrgs":"NWO","serverCores":10,"serverFiles":["the-hidden-world.lit"]},"fulcrumassets":{"serverName":"fulcrumassets","maxRam":0,"maxMoney":1000000,"minSec":33,"minPorts":5,"minHackLvl":1592,"rootAccess":false,"openPorts":0,"serverOrgs":"Fulcrum Technologies","serverCores":14,"serverFiles":[]},"blade":{"serverName":"blade","maxRam":128,"maxMoney":37559908768,"minSec":31,"minPorts":5,"minHackLvl":982,"rootAccess":false,"openPorts":0,"serverOrgs":"Blade Industries","serverCores":11,"serverFiles":["beyond-man.lit"]},"ecorp":{"serverName":"ecorp","maxRam":0,"maxMoney":55122372807,"minSec":33,"minPorts":5,"minHackLvl":1052,"rootAccess":false,"openPorts":0,"serverOrgs":"ECorp","serverCores":12,"serverFiles":[]},"icarus":{"serverName":"icarus","maxRam":0,"maxMoney":958726222,"minSec":28,"minPorts":5,"minHackLvl":909,"rootAccess":false,"openPorts":0,"serverOrgs":"Icarus Microsystems","serverCores":5,"serverFiles":[]},"taiyang-digital":{"serverName":"taiyang-digital","maxRam":0,"maxMoney":856308292,"minSec":27,"minPorts":5,"minHackLvl":869,"rootAccess":false,"openPorts":0,"serverOrgs":"Taiyang Digital","serverCores":9,"serverFiles":["A-Green-Tomorrow.lit","brighter-than-the-sun.lit"]},"n00dles":{"serverName":"n00dles","maxRam":4,"maxMoney":70000,"minSec":1,"minPorts":0,"minHackLvl":1,"rootAccess":true,"openPorts":0,"serverOrgs":"Noodle Bar","serverCores":1,"serverFiles":["factionboost.js"]},"CSEC":{"serverName":"CSEC","maxRam":8,"maxMoney":0,"minSec":1,"minPorts":1,"minHackLvl":60,"rootAccess":false,"openPorts":0,"serverOrgs":"CyberSec","serverCores":1,"serverFiles":["democracy-is-dead.lit"]}} \ No newline at end of file diff --git a/Mizzajl/home/settings.txt b/Mizzajl/home/settings.txt index f247e05..62801d7 100644 --- a/Mizzajl/home/settings.txt +++ b/Mizzajl/home/settings.txt @@ -1,6 +1,6 @@ {"setting":{ "autoUpgrades":true, "autoPurchaseServers":true, -"batchHacks":1, +"batchHacks":3, "batchFrequency":100 }} \ No newline at end of file diff --git a/Mizzajl/home/sharePserv.js b/Mizzajl/home/sharePserv.js index 0663fec..49c78a2 100644 --- a/Mizzajl/home/sharePserv.js +++ b/Mizzajl/home/sharePserv.js @@ -15,12 +15,12 @@ export async function main(ns) { const nServ = ns.getPurchasedServers(); const sShareScript = "factionboost.js"; - let nScripts = 0; + //let nScripts = 0; //kill all scripts for (let i = 0; i < nServ.length; i++) { - nScripts = Math.floor(ns.getServerMaxRam(nServ[i]) / ns.getScriptRam(sShareScript)); + //nScripts = Math.floor(ns.getServerMaxRam(nServ[i]) / ns.getScriptRam(sShareScript)); if (bKill) { ns.killall(nServ[i]); } else { ns.scriptKill(sShareScript, nServ[i]); } diff --git a/Mizzajl/home/wip/hgw.js b/Mizzajl/home/wip/hgw.js new file mode 100644 index 0000000..df502cf --- /dev/null +++ b/Mizzajl/home/wip/hgw.js @@ -0,0 +1,78 @@ +import { getGrowThreads, getSetting } from "Library.js"; + +/** @param {NS} ns */ +export async function main(ns) { + ns.tail(); + const sTarget = ns.args[0]; // target server + const sHackScript = "RMhack.js"; + const sGrowScript = "RMgrow.js"; + const sWeakenScript = "RMweaken.js"; + const sServerListFile = "serverList.txt"; + + const nHackScriptRAM = 1.75; + const nGrowScriptRAM = 1.7; + const nWeakenScriptRAM = 1.75; + const nThisScriptRAM = 4.65; + + while (true) { + //let nMaxRAM = ns.getServerMaxRam("home"); + let oServerlist = JSON.parse(ns.read(sServerListFile)); + //let nMaxRAM = [name, entry] of Object.entries(oServerlist); + let nMaxRAM = oServerlist["home"].maxRam; + //ns.print("nMaxRAM = " + nMaxRAM); + + let nWeakenTime = ns.getWeakenTime(sTarget); + let nGrowTime = nWeakenTime * 0.8; + let nHackTime = nWeakenTime / 4; + + let nGrowDelay = nWeakenTime - nGrowTime; + let nHackDelay = nWeakenTime - nHackTime; + + let nUsedRAM = 0; + + let nHackThreads; + let nGrowThreads; + let nGrowThreadsINT; + let nWeakenThreads; + let nWeakenThreadsINT; + + for (let i = 0; nUsedRAM < nMaxRAM - nThisScriptRAM; i++) { + + nHackThreads = i; + + nGrowThreads = Math.max(2, getGrowThreads(ns, sTarget, nHackThreads)); + nGrowThreadsINT = Math.ceil(nGrowThreads); + + //25 hacks or 12.5 grows + nWeakenThreads = Math.max(2, (nHackThreads / 25) + (nGrowThreads / 12.5)); + nWeakenThreadsINT = Math.ceil(nWeakenThreads); + + nUsedRAM = nThisScriptRAM + (nHackThreads * nHackScriptRAM) + (nGrowThreadsINT * nGrowScriptRAM) + (nWeakenThreadsINT * nWeakenScriptRAM); + //ns.print("nMaxRAM = " + nMaxRAM + " nUsedRAM = " + nUsedRAM); + } + ns.print("nMaxRAM = " + nMaxRAM + " nUsedRAM = " + nUsedRAM); + + + let nHackPID = ns.run(sHackScript, nHackThreads, sTarget, false, nHackDelay - 100); + let nGrowPID = ns.run(sGrowScript, nGrowThreadsINT, sTarget, false, nGrowDelay - 50); + let nWeakenPID = ns.run(sWeakenScript, nWeakenThreadsINT, sTarget, false, 0); + //ns.tail(nHackPID, "home", nHackThreads, sTarget, false, nHackDelay - 100); + //ns.tail(nGrowPID, "home", nGrowThreadsINT, sTarget, false, nGrowDelay - 50); + //ns.tail(nWeakenPID, "home", nWeakenThreadsINT, sTarget, false, 0); + + await Promise.all([ + ns.nextPortWrite(nHackPID), + ns.nextPortWrite(nGrowPID), + ns.nextPortWrite(nWeakenPID) + ]) + await ns.sleep(1); + + let nHackFinnish = ns.readPort(nHackPID); + let nGrowFinnish = ns.readPort(nGrowPID); + let nWeakenFinnish = ns.readPort(nWeakenPID); + + ns.print("nHackFinnish = " + nHackFinnish); + ns.print("nGrowFinnish = " + nGrowFinnish); + ns.print("nWeakenFinnish = " + nWeakenFinnish); + } +} \ No newline at end of file