Accessed deprecated function or property: ns.tail
This is no longer supported usage and will be removed in a later version.
Use ns.ui.openTail instead.
This message can also appear for object properties when the object's values are iterated.
This message will only be shown once per game session for each deprecated item accessed.
autopilot.js: INFO: Launched stockmaster.js (pid: 19) with args: [--fracH, 0.1, --reserve, 0]
autopilot.js: INFO: Launched daemon.js (pid: 20) with args: [--disable-script, work-for-factions.js]
autopilot.js: INFO: Launched work-for-factions.js (pid: 920) with args: [--fast-crimes-only, --get-invited-to-every-faction, --crime-focus, --training-stat-per-multi-threshold, 200, --prioritize-invites]
[home /]> ./git-pull.js
Running script with 1 thread, pid 2139 and args: [].
git-pull.js: SUCCESS: Updated "analyze-hack.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/analyze-hack.js
git-pull.js: SUCCESS: Updated "ascend.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/ascend.js
git-pull.js: SUCCESS: Updated "autopilot.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/autopilot.js
git-pull.js: SUCCESS: Updated "bladeburner.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/bladeburner.js
git-pull.js: SUCCESS: Updated "casino.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/casino.js
git-pull.js: SUCCESS: Updated "cleanup.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/cleanup.js
git-pull.js: SUCCESS: Updated "crime.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/crime.js
git-pull.js: SUCCESS: Updated "daemon.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/daemon.js
git-pull.js: SUCCESS: Updated "dev-console.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/dev-console.js
git-pull.js: SUCCESS: Updated "dump-ns-namespace.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/dump-ns-namespace.js
git-pull.js: SUCCESS: Updated "faction-manager.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/faction-manager.js
git-pull.js: SUCCESS: Updated "farm-intelligence.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/farm-intelligence.js
git-pull.js: SUCCESS: Updated "gangs.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/gangs.js
git-pull.js: SUCCESS: Updated "git-pull.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/git-pull.js
git-pull.js: SUCCESS: Updated "go.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/go.js
git-pull.js: SUCCESS: Updated "grep.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/grep.js
git-pull.js: SUCCESS: Updated "hacknet-upgrade-manager.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/hacknet-upgrade-manager.js
git-pull.js: SUCCESS: Updated "helpers.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/helpers.js
git-pull.js: SUCCESS: Updated "host-manager.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/host-manager.js
git-pull.js: SUCCESS: Updated "kill-all-scripts.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/kill-all-scripts.js
git-pull.js: SUCCESS: Updated "optimize-stanek.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/optimize-stanek.js
git-pull.js: SUCCESS: Updated "optimize-stanek.js.og.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/optimize-stanek.js.og.js
Tasks/backdoor-all-servers.js: WARNING: Had to overwrite temp script /Temp/servers-to-backdoor.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.args.filter(s => !ns.getServer(s).backdoorInstalled)
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/servers-to-backdoor.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.args.filter(s => !ns.getServer(s).backdoorInstalled)
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/servers-to-backdoor.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
git-pull.js: SUCCESS: Updated "reserve.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/reserve.js
git-pull.js: SUCCESS: Updated "reserve.txt" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/reserve.txt
git-pull.js: SUCCESS: Updated "run-command.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/run-command.js
git-pull.js: SUCCESS: Updated "scan.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/scan.js
git-pull.js: SUCCESS: Updated "sleeve.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/sleeve.js
git-pull.js: SUCCESS: Updated "spend-hacknet-hashes.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/spend-hacknet-hashes.js
git-pull.js: SUCCESS: Updated "stanek.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/stanek.js
git-pull.js: SUCCESS: Updated "stanek.js.create.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/stanek.js.create.js
git-pull.js: SUCCESS: Updated "stats.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/stats.js
git-pull.js: SUCCESS: Updated "stockmaster.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/stockmaster.js
git-pull.js: SUCCESS: Updated "sync-scripts.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/sync-scripts.js
git-pull.js: SUCCESS: Updated "work-for-factions.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/work-for-factions.js
git-pull.js: SUCCESS: Updated "Remote/grow-target.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Remote/grow-target.js
git-pull.js: SUCCESS: Updated "Remote/hack-target.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Remote/hack-target.js
git-pull.js: SUCCESS: Updated "Remote/manualhack-target.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Remote/manualhack-target.js
git-pull.js: SUCCESS: Updated "Remote/share.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Remote/share.js
git-pull.js: SUCCESS: Updated "Remote/weak-target.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Remote/weak-target.js
git-pull.js: SUCCESS: Updated "Tasks/backdoor-all-servers.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Tasks/backdoor-all-servers.js
git-pull.js: SUCCESS: Updated "Tasks/backdoor-all-servers.js.backdoor-one.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Tasks/backdoor-all-servers.js.backdoor-one.js
git-pull.js: SUCCESS: Updated "Tasks/contractor.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Tasks/contractor.js
git-pull.js: SUCCESS: Updated "Tasks/contractor.js.solver.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Tasks/contractor.js.solver.js
git-pull.js: SUCCESS: Updated "Tasks/crack-host.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Tasks/crack-host.js
git-pull.js: SUCCESS: Updated "Tasks/program-manager.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Tasks/program-manager.js
git-pull.js: SUCCESS: Updated "Tasks/ram-manager.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Tasks/ram-manager.js
git-pull.js: SUCCESS: Updated "Tasks/run-with-delay.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Tasks/run-with-delay.js
git-pull.js: SUCCESS: Updated "Tasks/tor-manager.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Tasks/tor-manager.js
git-pull.js: SUCCESS: Updated "Tasks/write-file.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Tasks/write-file.js
git-pull.js: INFO: Pull complete. If you have any questions or issues, head over to the Bitburner #alains-scripts Discord channel: https://discord.com/channels/415207508303544321/935667531111342200
Tasks/ram-manager.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
stockmaster.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
stats.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
Tasks/contractor.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
Old Contents:
import { scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer, scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
stats.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
Old Contents:
import { jsonReplacer, scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
Tasks/ram-manager.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
stockmaster.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
stats.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
Tasks/contractor.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
Old Contents:
import { scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer, scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
stats.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
Old Contents:
import { jsonReplacer, scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
Tasks/ram-manager.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
stats.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.gang.inGang() ? ns.gang.getGangInformation() : false
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
stockmaster.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
( ()=> { let player = ns.getPlayer();
const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
return Object.keys(player).reduce((pCopy, key) => {
if (!excludeProperties.includes(key))
pCopy[key] = player[key];
return pCopy;
}, {});
})()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
(() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
autopilot.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
Old Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
Tasks/contractor.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
Old Contents:
import { scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer, scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
stats.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
Old Contents:
import { jsonReplacer, scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
Tasks/ram-manager.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
Old Contents:
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
ns.getServerMaxRam(ns.args[0])
, jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
This warning is generated as part of an effort to switch over to using only 'immutable' temp scripts. Please paste a screenshot in Discord at https://discord.com/channels/415207508303544321/935667531111342200
Tasks/contractor.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
Old Contents:
import { scanAllServers } from 'helpers.js'
export async function main(ns) { let r;try{r=JSON.stringify(
scanAllServers(ns)
);}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
New Contents:
import { jsonReplacer, scanAllServers } from 'help