Compare commits
2 Commits
1fa17ab0f5
...
7705683965
| Author | SHA1 | Date | |
|---|---|---|---|
| 7705683965 | |||
| 9ee6a6149f |
@@ -15,7 +15,11 @@ const createContext = async () => await context({
|
||||
port: 12525,
|
||||
types: 'NetscriptDefinitions.d.ts',
|
||||
mirror: {
|
||||
<<<<<<< HEAD
|
||||
'Mizzajl': ['home']
|
||||
=======
|
||||
'Ramses': ['home']
|
||||
>>>>>>> 1fa17ab0f5dd0456582c398342b6286d6e1c9de0
|
||||
},
|
||||
distribute: {
|
||||
},
|
||||
|
||||
@@ -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()) {
|
||||
ns.print("Gang found... running " + sGangScript);
|
||||
if (!ns.getRunningScript(sGangScript)) {
|
||||
ns.print("Gang found... running " + sGangScript);
|
||||
ns.exec(sGangScript, sThisRunner, 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -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
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user