mizzajl- some changes
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -56,7 +56,6 @@ export async function main(ns) {
|
||||
if (!ns.getRunningScript(sGangScript)) {
|
||||
ns.exec(sGangScript, sThisRunner, 1);
|
||||
}
|
||||
|
||||
}
|
||||
else {
|
||||
ns.print("Gang: " + cRed + "none" + cReset);
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
/** @param {NS} ns */
|
||||
export async function main(ns) {
|
||||
/*
|
||||
ns.renamePurchasedServer("pserv-23", "pserv-24");
|
||||
ns.renamePurchasedServer("pserv-22", "pserv-23");
|
||||
ns.renamePurchasedServer("pserv-21", "pserv-22");
|
||||
ns.renamePurchasedServer("pserv-20", "pserv-21");
|
||||
ns.renamePurchasedServer("pserv-19", "pserv-20");
|
||||
ns.renamePurchasedServer("pserv-18", "pserv-19");
|
||||
ns.renamePurchasedServer("pserv-17", "pserv-18");
|
||||
ns.renamePurchasedServer("pserv-16", "pserv-17");
|
||||
ns.renamePurchasedServer("pserv-15", "pserv-16");
|
||||
ns.renamePurchasedServer("pserv-14", "pserv-15");
|
||||
ns.renamePurchasedServer("pserv-13", "pserv-14");
|
||||
ns.renamePurchasedServer("pserv-12", "pserv-13");
|
||||
ns.renamePurchasedServer("pserv-11", "pserv-12");
|
||||
ns.renamePurchasedServer("pserv-10", "pserv-11");
|
||||
ns.renamePurchasedServer("pserv-9", "pserv-10");
|
||||
ns.renamePurchasedServer("pserv-8", "pserv-9");
|
||||
ns.renamePurchasedServer("pserv-7", "pserv-8");
|
||||
ns.renamePurchasedServer("pserv-6", "pserv-7");
|
||||
ns.renamePurchasedServer("pserv-5", "pserv-6");
|
||||
ns.renamePurchasedServer("pserv-4", "pserv-5");
|
||||
ns.renamePurchasedServer("pserv-3", "pserv-4");
|
||||
ns.renamePurchasedServer("pserv-2", "pserv-3");
|
||||
ns.renamePurchasedServer("pserv-1-0", "pserv-2");
|
||||
*/
|
||||
ns.renamePurchasedServer("pserv-1", "pserv-01");
|
||||
ns.renamePurchasedServer("pserv-2", "pserv-02");
|
||||
ns.renamePurchasedServer("pserv-3", "pserv-03");
|
||||
ns.renamePurchasedServer("pserv-4", "pserv-04");
|
||||
ns.renamePurchasedServer("pserv-5", "pserv-05");
|
||||
ns.renamePurchasedServer("pserv-6", "pserv-06");
|
||||
ns.renamePurchasedServer("pserv-7", "pserv-07");
|
||||
ns.renamePurchasedServer("pserv-8", "pserv-08");
|
||||
ns.renamePurchasedServer("pserv-9", "pserv-09");
|
||||
|
||||
|
||||
|
||||
//const nServers = ns.getPurchasedServers();
|
||||
|
||||
//for (let i = 0; i < nServers; i++)
|
||||
//let hostname = ns.purchaseServer("pserv-" + i, ram);
|
||||
// ns.renamePurchasedServer(([i]), "pserv-" + i);
|
||||
|
||||
}
|
||||
@@ -26,7 +26,7 @@ export async function main(ns) {
|
||||
|
||||
|
||||
while (nCurrentProgress < 100) {
|
||||
ns.read(""filename"");
|
||||
//ns.read(""filename"");
|
||||
ns.print(sProgress[Math.floor(nCurrentProgress / (sProgress.length - 1))]);
|
||||
|
||||
ns.write("filename", "text", "w");
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{"setting":{
|
||||
"autoUpgrades":true,
|
||||
"autoUpgrades":false,
|
||||
"autoPurchaseServers":true
|
||||
}}
|
||||
Reference in New Issue
Block a user