Advertisement
3th1ca14aX0r

Bitburner Logs

Mar 25th, 2025
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.10 KB | None | 0 0
  1. Accessed deprecated function or property: ns.tail
  2. This is no longer supported usage and will be removed in a later version.
  3. Use ns.ui.openTail instead.
  4. This message can also appear for object properties when the object's values are iterated.
  5. This message will only be shown once per game session for each deprecated item accessed.
  6. autopilot.js: INFO: Launched stockmaster.js (pid: 19) with args: [--fracH, 0.1, --reserve, 0]
  7. autopilot.js: INFO: Launched daemon.js (pid: 20) with args: [--disable-script, work-for-factions.js]
  8. 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]
  9. [home /]> ./git-pull.js
  10. Running script with 1 thread, pid 2139 and args: [].
  11. git-pull.js: SUCCESS: Updated "analyze-hack.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/analyze-hack.js
  12. git-pull.js: SUCCESS: Updated "ascend.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/ascend.js
  13. git-pull.js: SUCCESS: Updated "autopilot.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/autopilot.js
  14. git-pull.js: SUCCESS: Updated "bladeburner.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/bladeburner.js
  15. git-pull.js: SUCCESS: Updated "casino.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/casino.js
  16. git-pull.js: SUCCESS: Updated "cleanup.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/cleanup.js
  17. git-pull.js: SUCCESS: Updated "crime.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/crime.js
  18. git-pull.js: SUCCESS: Updated "daemon.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/daemon.js
  19. git-pull.js: SUCCESS: Updated "dev-console.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/dev-console.js
  20. 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
  21. git-pull.js: SUCCESS: Updated "faction-manager.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/faction-manager.js
  22. git-pull.js: SUCCESS: Updated "farm-intelligence.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/farm-intelligence.js
  23. git-pull.js: SUCCESS: Updated "gangs.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/gangs.js
  24. git-pull.js: SUCCESS: Updated "git-pull.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/git-pull.js
  25. git-pull.js: SUCCESS: Updated "go.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/go.js
  26. git-pull.js: SUCCESS: Updated "grep.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/grep.js
  27. 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
  28. git-pull.js: SUCCESS: Updated "helpers.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/helpers.js
  29. git-pull.js: SUCCESS: Updated "host-manager.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/host-manager.js
  30. 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
  31. git-pull.js: SUCCESS: Updated "optimize-stanek.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/optimize-stanek.js
  32. 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
  33. Tasks/backdoor-all-servers.js: WARNING: Had to overwrite temp script /Temp/servers-to-backdoor.txt.js
  34. Old Contents:
  35. export async function main(ns) { let r;try{r=JSON.stringify(
  36. ns.args.filter(s => !ns.getServer(s).backdoorInstalled)
  37. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  38. const f="/Temp/servers-to-backdoor.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  39. New Contents:
  40. import { jsonReplacer } from 'helpers.js'
  41. export async function main(ns) { let r;try{r=JSON.stringify(
  42. ns.args.filter(s => !ns.getServer(s).backdoorInstalled)
  43. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  44. const f="/Temp/servers-to-backdoor.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  45. 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
  46. git-pull.js: SUCCESS: Updated "reserve.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/reserve.js
  47. git-pull.js: SUCCESS: Updated "reserve.txt" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/reserve.txt
  48. git-pull.js: SUCCESS: Updated "run-command.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/run-command.js
  49. git-pull.js: SUCCESS: Updated "scan.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/scan.js
  50. git-pull.js: SUCCESS: Updated "sleeve.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/sleeve.js
  51. 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
  52. git-pull.js: SUCCESS: Updated "stanek.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/stanek.js
  53. 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
  54. git-pull.js: SUCCESS: Updated "stats.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/stats.js
  55. git-pull.js: SUCCESS: Updated "stockmaster.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/stockmaster.js
  56. git-pull.js: SUCCESS: Updated "sync-scripts.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/sync-scripts.js
  57. 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
  58. 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
  59. 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
  60. 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
  61. git-pull.js: SUCCESS: Updated "Remote/share.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Remote/share.js
  62. 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
  63. 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
  64. 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
  65. git-pull.js: SUCCESS: Updated "Tasks/contractor.js" to the latest from https://raw.githubusercontent.com/alainbryden/bitburner-scripts/main/Tasks/contractor.js
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. Tasks/ram-manager.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
  75. Old Contents:
  76. export async function main(ns) { let r;try{r=JSON.stringify(
  77. ns.getServerMaxRam(ns.args[0])
  78. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  79. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  80. New Contents:
  81. import { jsonReplacer } from 'helpers.js'
  82. export async function main(ns) { let r;try{r=JSON.stringify(
  83. ns.getServerMaxRam(ns.args[0])
  84. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  85. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  86. 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
  87. faction-manager.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
  88. Old Contents:
  89. export async function main(ns) { let r;try{r=JSON.stringify(
  90. ( ()=> { let player = ns.getPlayer();
  91. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  92. return Object.keys(player).reduce((pCopy, key) => {
  93. if (!excludeProperties.includes(key))
  94. pCopy[key] = player[key];
  95. return pCopy;
  96. }, {});
  97. })()
  98. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  99. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  100. New Contents:
  101. import { jsonReplacer } from 'helpers.js'
  102. export async function main(ns) { let r;try{r=JSON.stringify(
  103. ( ()=> { let player = ns.getPlayer();
  104. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  105. return Object.keys(player).reduce((pCopy, key) => {
  106. if (!excludeProperties.includes(key))
  107. pCopy[key] = player[key];
  108. return pCopy;
  109. }, {});
  110. })()
  111. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  112. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  113. 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
  114. faction-manager.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
  115. Old Contents:
  116. export async function main(ns) { let r;try{r=JSON.stringify(
  117. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  118. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  119. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  120. New Contents:
  121. import { jsonReplacer } from 'helpers.js'
  122. export async function main(ns) { let r;try{r=JSON.stringify(
  123. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  124. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  125. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  126. 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
  127. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
  128. Old Contents:
  129. export async function main(ns) { let r;try{r=JSON.stringify(
  130. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  131. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  132. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  133. New Contents:
  134. import { jsonReplacer } from 'helpers.js'
  135. export async function main(ns) { let r;try{r=JSON.stringify(
  136. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  137. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  138. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  139. 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
  140. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
  141. Old Contents:
  142. export async function main(ns) { let r;try{r=JSON.stringify(
  143. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  144. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  145. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  146. New Contents:
  147. import { jsonReplacer } from 'helpers.js'
  148. export async function main(ns) { let r;try{r=JSON.stringify(
  149. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  150. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  151. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  152. 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
  153. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
  154. Old Contents:
  155. export async function main(ns) { let r;try{r=JSON.stringify(
  156. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  157. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  158. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  159. New Contents:
  160. import { jsonReplacer } from 'helpers.js'
  161. export async function main(ns) { let r;try{r=JSON.stringify(
  162. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  163. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  164. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  165. 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
  166. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
  167. Old Contents:
  168. export async function main(ns) { let r;try{r=JSON.stringify(
  169. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  170. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  171. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  172. New Contents:
  173. import { jsonReplacer } from 'helpers.js'
  174. export async function main(ns) { let r;try{r=JSON.stringify(
  175. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  176. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  177. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  178. 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
  179. autopilot.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
  180. Old Contents:
  181. import { jsonReplacer } from 'helpers.js'
  182. export async function main(ns) { let r;try{r=JSON.stringify(
  183. ( ()=> { let player = ns.getPlayer();
  184. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  185. return Object.keys(player).reduce((pCopy, key) => {
  186. if (!excludeProperties.includes(key))
  187. pCopy[key] = player[key];
  188. return pCopy;
  189. }, {});
  190. })()
  191. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  192. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  193. New Contents:
  194. export async function main(ns) { let r;try{r=JSON.stringify(
  195. ( ()=> { let player = ns.getPlayer();
  196. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  197. return Object.keys(player).reduce((pCopy, key) => {
  198. if (!excludeProperties.includes(key))
  199. pCopy[key] = player[key];
  200. return pCopy;
  201. }, {});
  202. })()
  203. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  204. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  205. 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
  206. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
  207. Old Contents:
  208. import { jsonReplacer } from 'helpers.js'
  209. export async function main(ns) { let r;try{r=JSON.stringify(
  210. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  211. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  212. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  213. New Contents:
  214. export async function main(ns) { let r;try{r=JSON.stringify(
  215. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  216. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  217. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  218. 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
  219. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
  220. Old Contents:
  221. import { jsonReplacer } from 'helpers.js'
  222. export async function main(ns) { let r;try{r=JSON.stringify(
  223. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  224. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  225. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  226. New Contents:
  227. export async function main(ns) { let r;try{r=JSON.stringify(
  228. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  229. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  230. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  231. 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
  232. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
  233. Old Contents:
  234. import { jsonReplacer } from 'helpers.js'
  235. export async function main(ns) { let r;try{r=JSON.stringify(
  236. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  237. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  238. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  239. New Contents:
  240. export async function main(ns) { let r;try{r=JSON.stringify(
  241. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  242. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  243. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  244. 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
  245. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
  246. Old Contents:
  247. import { jsonReplacer } from 'helpers.js'
  248. export async function main(ns) { let r;try{r=JSON.stringify(
  249. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  250. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  251. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  252. New Contents:
  253. export async function main(ns) { let r;try{r=JSON.stringify(
  254. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  255. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  256. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  257. 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
  258. faction-manager.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
  259. Old Contents:
  260. export async function main(ns) { let r;try{r=JSON.stringify(
  261. ( ()=> { let player = ns.getPlayer();
  262. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  263. return Object.keys(player).reduce((pCopy, key) => {
  264. if (!excludeProperties.includes(key))
  265. pCopy[key] = player[key];
  266. return pCopy;
  267. }, {});
  268. })()
  269. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  270. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  271. New Contents:
  272. import { jsonReplacer } from 'helpers.js'
  273. export async function main(ns) { let r;try{r=JSON.stringify(
  274. ( ()=> { let player = ns.getPlayer();
  275. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  276. return Object.keys(player).reduce((pCopy, key) => {
  277. if (!excludeProperties.includes(key))
  278. pCopy[key] = player[key];
  279. return pCopy;
  280. }, {});
  281. })()
  282. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  283. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  284. 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
  285. stockmaster.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
  286. Old Contents:
  287. import { jsonReplacer } from 'helpers.js'
  288. export async function main(ns) { let r;try{r=JSON.stringify(
  289. ( ()=> { let player = ns.getPlayer();
  290. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  291. return Object.keys(player).reduce((pCopy, key) => {
  292. if (!excludeProperties.includes(key))
  293. pCopy[key] = player[key];
  294. return pCopy;
  295. }, {});
  296. })()
  297. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  298. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  299. New Contents:
  300. export async function main(ns) { let r;try{r=JSON.stringify(
  301. ( ()=> { let player = ns.getPlayer();
  302. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  303. return Object.keys(player).reduce((pCopy, key) => {
  304. if (!excludeProperties.includes(key))
  305. pCopy[key] = player[key];
  306. return pCopy;
  307. }, {});
  308. })()
  309. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  310. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  311. 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
  312. stats.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
  313. Old Contents:
  314. import { jsonReplacer } from 'helpers.js'
  315. export async function main(ns) { let r;try{r=JSON.stringify(
  316. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  317. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  318. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  319. New Contents:
  320. export async function main(ns) { let r;try{r=JSON.stringify(
  321. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  322. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  323. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  324. 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
  325. autopilot.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
  326. Old Contents:
  327. import { jsonReplacer } from 'helpers.js'
  328. export async function main(ns) { let r;try{r=JSON.stringify(
  329. ns.getServerMaxRam(ns.args[0])
  330. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  331. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  332. New Contents:
  333. export async function main(ns) { let r;try{r=JSON.stringify(
  334. ns.getServerMaxRam(ns.args[0])
  335. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  336. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  337. 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
  338. Tasks/contractor.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
  339. Old Contents:
  340. import { scanAllServers } from 'helpers.js'
  341. export async function main(ns) { let r;try{r=JSON.stringify(
  342. scanAllServers(ns)
  343. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  344. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  345. New Contents:
  346. import { jsonReplacer, scanAllServers } from 'helpers.js'
  347. export async function main(ns) { let r;try{r=JSON.stringify(
  348. scanAllServers(ns)
  349. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  350. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  351. 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
  352. stats.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
  353. Old Contents:
  354. import { jsonReplacer, scanAllServers } from 'helpers.js'
  355. export async function main(ns) { let r;try{r=JSON.stringify(
  356. scanAllServers(ns)
  357. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  358. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  359. New Contents:
  360. import { scanAllServers } from 'helpers.js'
  361. export async function main(ns) { let r;try{r=JSON.stringify(
  362. scanAllServers(ns)
  363. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  364. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  365. 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
  366. Tasks/ram-manager.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
  367. Old Contents:
  368. export async function main(ns) { let r;try{r=JSON.stringify(
  369. ns.getServerMaxRam(ns.args[0])
  370. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  371. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  372. New Contents:
  373. import { jsonReplacer } from 'helpers.js'
  374. export async function main(ns) { let r;try{r=JSON.stringify(
  375. ns.getServerMaxRam(ns.args[0])
  376. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  377. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  378. 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
  379. faction-manager.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
  380. Old Contents:
  381. export async function main(ns) { let r;try{r=JSON.stringify(
  382. ( ()=> { let player = ns.getPlayer();
  383. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  384. return Object.keys(player).reduce((pCopy, key) => {
  385. if (!excludeProperties.includes(key))
  386. pCopy[key] = player[key];
  387. return pCopy;
  388. }, {});
  389. })()
  390. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  391. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  392. New Contents:
  393. import { jsonReplacer } from 'helpers.js'
  394. export async function main(ns) { let r;try{r=JSON.stringify(
  395. ( ()=> { let player = ns.getPlayer();
  396. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  397. return Object.keys(player).reduce((pCopy, key) => {
  398. if (!excludeProperties.includes(key))
  399. pCopy[key] = player[key];
  400. return pCopy;
  401. }, {});
  402. })()
  403. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  404. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  405. 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
  406. faction-manager.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
  407. Old Contents:
  408. export async function main(ns) { let r;try{r=JSON.stringify(
  409. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  410. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  411. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  412. New Contents:
  413. import { jsonReplacer } from 'helpers.js'
  414. export async function main(ns) { let r;try{r=JSON.stringify(
  415. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  416. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  417. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  418. 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
  419. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
  420. Old Contents:
  421. export async function main(ns) { let r;try{r=JSON.stringify(
  422. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  423. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  424. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  425. New Contents:
  426. import { jsonReplacer } from 'helpers.js'
  427. export async function main(ns) { let r;try{r=JSON.stringify(
  428. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  429. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  430. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  431. 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
  432. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
  433. Old Contents:
  434. export async function main(ns) { let r;try{r=JSON.stringify(
  435. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  436. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  437. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  438. New Contents:
  439. import { jsonReplacer } from 'helpers.js'
  440. export async function main(ns) { let r;try{r=JSON.stringify(
  441. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  442. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  443. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  444. 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
  445. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
  446. Old Contents:
  447. export async function main(ns) { let r;try{r=JSON.stringify(
  448. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  449. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  450. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  451. New Contents:
  452. import { jsonReplacer } from 'helpers.js'
  453. export async function main(ns) { let r;try{r=JSON.stringify(
  454. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  455. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  456. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  457. 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
  458. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
  459. Old Contents:
  460. export async function main(ns) { let r;try{r=JSON.stringify(
  461. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  462. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  463. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  464. New Contents:
  465. import { jsonReplacer } from 'helpers.js'
  466. export async function main(ns) { let r;try{r=JSON.stringify(
  467. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  468. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  469. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  470. 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
  471. stockmaster.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
  472. Old Contents:
  473. import { jsonReplacer } from 'helpers.js'
  474. export async function main(ns) { let r;try{r=JSON.stringify(
  475. ( ()=> { let player = ns.getPlayer();
  476. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  477. return Object.keys(player).reduce((pCopy, key) => {
  478. if (!excludeProperties.includes(key))
  479. pCopy[key] = player[key];
  480. return pCopy;
  481. }, {});
  482. })()
  483. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  484. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  485. New Contents:
  486. export async function main(ns) { let r;try{r=JSON.stringify(
  487. ( ()=> { let player = ns.getPlayer();
  488. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  489. return Object.keys(player).reduce((pCopy, key) => {
  490. if (!excludeProperties.includes(key))
  491. pCopy[key] = player[key];
  492. return pCopy;
  493. }, {});
  494. })()
  495. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  496. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  497. 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
  498. stats.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
  499. Old Contents:
  500. import { jsonReplacer } from 'helpers.js'
  501. export async function main(ns) { let r;try{r=JSON.stringify(
  502. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  503. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  504. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  505. New Contents:
  506. export async function main(ns) { let r;try{r=JSON.stringify(
  507. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  508. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  509. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  510. 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
  511. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
  512. Old Contents:
  513. import { jsonReplacer } from 'helpers.js'
  514. export async function main(ns) { let r;try{r=JSON.stringify(
  515. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  516. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  517. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  518. New Contents:
  519. export async function main(ns) { let r;try{r=JSON.stringify(
  520. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  521. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  522. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  523. 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
  524. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
  525. Old Contents:
  526. import { jsonReplacer } from 'helpers.js'
  527. export async function main(ns) { let r;try{r=JSON.stringify(
  528. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  529. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  530. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  531. New Contents:
  532. export async function main(ns) { let r;try{r=JSON.stringify(
  533. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  534. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  535. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  536. 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
  537. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
  538. Old Contents:
  539. import { jsonReplacer } from 'helpers.js'
  540. export async function main(ns) { let r;try{r=JSON.stringify(
  541. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  542. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  543. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  544. New Contents:
  545. export async function main(ns) { let r;try{r=JSON.stringify(
  546. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  547. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  548. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  549. 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
  550. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
  551. Old Contents:
  552. import { jsonReplacer } from 'helpers.js'
  553. export async function main(ns) { let r;try{r=JSON.stringify(
  554. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  555. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  556. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  557. New Contents:
  558. export async function main(ns) { let r;try{r=JSON.stringify(
  559. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  560. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  561. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  562. 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
  563. autopilot.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
  564. Old Contents:
  565. import { jsonReplacer } from 'helpers.js'
  566. export async function main(ns) { let r;try{r=JSON.stringify(
  567. ns.getServerMaxRam(ns.args[0])
  568. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  569. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  570. New Contents:
  571. export async function main(ns) { let r;try{r=JSON.stringify(
  572. ns.getServerMaxRam(ns.args[0])
  573. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  574. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  575. 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
  576. Tasks/contractor.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
  577. Old Contents:
  578. import { scanAllServers } from 'helpers.js'
  579. export async function main(ns) { let r;try{r=JSON.stringify(
  580. scanAllServers(ns)
  581. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  582. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  583. New Contents:
  584. import { jsonReplacer, scanAllServers } from 'helpers.js'
  585. export async function main(ns) { let r;try{r=JSON.stringify(
  586. scanAllServers(ns)
  587. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  588. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  589. 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
  590. stats.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
  591. Old Contents:
  592. import { jsonReplacer, scanAllServers } from 'helpers.js'
  593. export async function main(ns) { let r;try{r=JSON.stringify(
  594. scanAllServers(ns)
  595. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  596. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  597. New Contents:
  598. import { scanAllServers } from 'helpers.js'
  599. export async function main(ns) { let r;try{r=JSON.stringify(
  600. scanAllServers(ns)
  601. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  602. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  603. 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
  604. Tasks/ram-manager.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
  605. Old Contents:
  606. export async function main(ns) { let r;try{r=JSON.stringify(
  607. ns.getServerMaxRam(ns.args[0])
  608. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  609. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  610. New Contents:
  611. import { jsonReplacer } from 'helpers.js'
  612. export async function main(ns) { let r;try{r=JSON.stringify(
  613. ns.getServerMaxRam(ns.args[0])
  614. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  615. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  616. 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
  617. faction-manager.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
  618. Old Contents:
  619. export async function main(ns) { let r;try{r=JSON.stringify(
  620. ( ()=> { let player = ns.getPlayer();
  621. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  622. return Object.keys(player).reduce((pCopy, key) => {
  623. if (!excludeProperties.includes(key))
  624. pCopy[key] = player[key];
  625. return pCopy;
  626. }, {});
  627. })()
  628. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  629. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  630. New Contents:
  631. import { jsonReplacer } from 'helpers.js'
  632. export async function main(ns) { let r;try{r=JSON.stringify(
  633. ( ()=> { let player = ns.getPlayer();
  634. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  635. return Object.keys(player).reduce((pCopy, key) => {
  636. if (!excludeProperties.includes(key))
  637. pCopy[key] = player[key];
  638. return pCopy;
  639. }, {});
  640. })()
  641. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  642. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  643. 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
  644. faction-manager.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
  645. Old Contents:
  646. export async function main(ns) { let r;try{r=JSON.stringify(
  647. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  648. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  649. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  650. New Contents:
  651. import { jsonReplacer } from 'helpers.js'
  652. export async function main(ns) { let r;try{r=JSON.stringify(
  653. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  654. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  655. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  656. 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
  657. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
  658. Old Contents:
  659. export async function main(ns) { let r;try{r=JSON.stringify(
  660. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  661. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  662. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  663. New Contents:
  664. import { jsonReplacer } from 'helpers.js'
  665. export async function main(ns) { let r;try{r=JSON.stringify(
  666. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  667. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  668. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  669. 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
  670. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
  671. Old Contents:
  672. export async function main(ns) { let r;try{r=JSON.stringify(
  673. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  674. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  675. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  676. New Contents:
  677. import { jsonReplacer } from 'helpers.js'
  678. export async function main(ns) { let r;try{r=JSON.stringify(
  679. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  680. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  681. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  682. 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
  683. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
  684. Old Contents:
  685. export async function main(ns) { let r;try{r=JSON.stringify(
  686. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  687. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  688. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  689. New Contents:
  690. import { jsonReplacer } from 'helpers.js'
  691. export async function main(ns) { let r;try{r=JSON.stringify(
  692. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  693. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  694. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  695. 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
  696. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
  697. Old Contents:
  698. export async function main(ns) { let r;try{r=JSON.stringify(
  699. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  700. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  701. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  702. New Contents:
  703. import { jsonReplacer } from 'helpers.js'
  704. export async function main(ns) { let r;try{r=JSON.stringify(
  705. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  706. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  707. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  708. 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
  709. stats.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
  710. Old Contents:
  711. import { jsonReplacer } from 'helpers.js'
  712. export async function main(ns) { let r;try{r=JSON.stringify(
  713. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  714. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  715. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  716. New Contents:
  717. export async function main(ns) { let r;try{r=JSON.stringify(
  718. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  719. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  720. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  721. 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
  722. stockmaster.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
  723. Old Contents:
  724. import { jsonReplacer } from 'helpers.js'
  725. export async function main(ns) { let r;try{r=JSON.stringify(
  726. ( ()=> { let player = ns.getPlayer();
  727. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  728. return Object.keys(player).reduce((pCopy, key) => {
  729. if (!excludeProperties.includes(key))
  730. pCopy[key] = player[key];
  731. return pCopy;
  732. }, {});
  733. })()
  734. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  735. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  736. New Contents:
  737. export async function main(ns) { let r;try{r=JSON.stringify(
  738. ( ()=> { let player = ns.getPlayer();
  739. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  740. return Object.keys(player).reduce((pCopy, key) => {
  741. if (!excludeProperties.includes(key))
  742. pCopy[key] = player[key];
  743. return pCopy;
  744. }, {});
  745. })()
  746. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  747. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  748. 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
  749. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
  750. Old Contents:
  751. import { jsonReplacer } from 'helpers.js'
  752. export async function main(ns) { let r;try{r=JSON.stringify(
  753. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  754. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  755. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  756. New Contents:
  757. export async function main(ns) { let r;try{r=JSON.stringify(
  758. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  759. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  760. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  761. 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
  762. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
  763. Old Contents:
  764. import { jsonReplacer } from 'helpers.js'
  765. export async function main(ns) { let r;try{r=JSON.stringify(
  766. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  767. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  768. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  769. New Contents:
  770. export async function main(ns) { let r;try{r=JSON.stringify(
  771. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  772. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  773. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  774. 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
  775. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
  776. Old Contents:
  777. import { jsonReplacer } from 'helpers.js'
  778. export async function main(ns) { let r;try{r=JSON.stringify(
  779. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  780. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  781. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  782. New Contents:
  783. export async function main(ns) { let r;try{r=JSON.stringify(
  784. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  785. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  786. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  787. 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
  788. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
  789. Old Contents:
  790. import { jsonReplacer } from 'helpers.js'
  791. export async function main(ns) { let r;try{r=JSON.stringify(
  792. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  793. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  794. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  795. New Contents:
  796. export async function main(ns) { let r;try{r=JSON.stringify(
  797. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  798. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  799. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  800. 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
  801. autopilot.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
  802. Old Contents:
  803. import { jsonReplacer } from 'helpers.js'
  804. export async function main(ns) { let r;try{r=JSON.stringify(
  805. ns.getServerMaxRam(ns.args[0])
  806. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  807. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  808. New Contents:
  809. export async function main(ns) { let r;try{r=JSON.stringify(
  810. ns.getServerMaxRam(ns.args[0])
  811. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  812. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  813. 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
  814. Tasks/contractor.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
  815. Old Contents:
  816. import { scanAllServers } from 'helpers.js'
  817. export async function main(ns) { let r;try{r=JSON.stringify(
  818. scanAllServers(ns)
  819. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  820. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  821. New Contents:
  822. import { jsonReplacer, scanAllServers } from 'helpers.js'
  823. export async function main(ns) { let r;try{r=JSON.stringify(
  824. scanAllServers(ns)
  825. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  826. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  827. 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
  828. stats.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
  829. Old Contents:
  830. import { jsonReplacer, scanAllServers } from 'helpers.js'
  831. export async function main(ns) { let r;try{r=JSON.stringify(
  832. scanAllServers(ns)
  833. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  834. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  835. New Contents:
  836. import { scanAllServers } from 'helpers.js'
  837. export async function main(ns) { let r;try{r=JSON.stringify(
  838. scanAllServers(ns)
  839. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  840. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  841. 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
  842. Tasks/ram-manager.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
  843. Old Contents:
  844. export async function main(ns) { let r;try{r=JSON.stringify(
  845. ns.getServerMaxRam(ns.args[0])
  846. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  847. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  848. New Contents:
  849. import { jsonReplacer } from 'helpers.js'
  850. export async function main(ns) { let r;try{r=JSON.stringify(
  851. ns.getServerMaxRam(ns.args[0])
  852. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  853. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  854. 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
  855. Tasks/contractor.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
  856. Old Contents:
  857. import { scanAllServers } from 'helpers.js'
  858. export async function main(ns) { let r;try{r=JSON.stringify(
  859. scanAllServers(ns)
  860. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  861. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  862. New Contents:
  863. import { jsonReplacer, scanAllServers } from 'helpers.js'
  864. export async function main(ns) { let r;try{r=JSON.stringify(
  865. scanAllServers(ns)
  866. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  867. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  868. 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
  869. stats.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
  870. Old Contents:
  871. import { jsonReplacer, scanAllServers } from 'helpers.js'
  872. export async function main(ns) { let r;try{r=JSON.stringify(
  873. scanAllServers(ns)
  874. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  875. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  876. New Contents:
  877. import { scanAllServers } from 'helpers.js'
  878. export async function main(ns) { let r;try{r=JSON.stringify(
  879. scanAllServers(ns)
  880. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  881. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  882. 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
  883. faction-manager.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
  884. Old Contents:
  885. export async function main(ns) { let r;try{r=JSON.stringify(
  886. ( ()=> { let player = ns.getPlayer();
  887. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  888. return Object.keys(player).reduce((pCopy, key) => {
  889. if (!excludeProperties.includes(key))
  890. pCopy[key] = player[key];
  891. return pCopy;
  892. }, {});
  893. })()
  894. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  895. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  896. New Contents:
  897. import { jsonReplacer } from 'helpers.js'
  898. export async function main(ns) { let r;try{r=JSON.stringify(
  899. ( ()=> { let player = ns.getPlayer();
  900. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  901. return Object.keys(player).reduce((pCopy, key) => {
  902. if (!excludeProperties.includes(key))
  903. pCopy[key] = player[key];
  904. return pCopy;
  905. }, {});
  906. })()
  907. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  908. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  909. 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
  910. faction-manager.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
  911. Old Contents:
  912. export async function main(ns) { let r;try{r=JSON.stringify(
  913. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  914. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  915. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  916. New Contents:
  917. import { jsonReplacer } from 'helpers.js'
  918. export async function main(ns) { let r;try{r=JSON.stringify(
  919. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  920. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  921. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  922. 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
  923. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
  924. Old Contents:
  925. export async function main(ns) { let r;try{r=JSON.stringify(
  926. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  927. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  928. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  929. New Contents:
  930. import { jsonReplacer } from 'helpers.js'
  931. export async function main(ns) { let r;try{r=JSON.stringify(
  932. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  933. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  934. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  935. 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
  936. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
  937. Old Contents:
  938. export async function main(ns) { let r;try{r=JSON.stringify(
  939. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  940. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  941. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  942. New Contents:
  943. import { jsonReplacer } from 'helpers.js'
  944. export async function main(ns) { let r;try{r=JSON.stringify(
  945. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  946. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  947. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  948. 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
  949. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
  950. Old Contents:
  951. export async function main(ns) { let r;try{r=JSON.stringify(
  952. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  953. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  954. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  955. New Contents:
  956. import { jsonReplacer } from 'helpers.js'
  957. export async function main(ns) { let r;try{r=JSON.stringify(
  958. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  959. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  960. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  961. 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
  962. faction-manager.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
  963. Old Contents:
  964. export async function main(ns) { let r;try{r=JSON.stringify(
  965. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  966. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  967. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  968. New Contents:
  969. import { jsonReplacer } from 'helpers.js'
  970. export async function main(ns) { let r;try{r=JSON.stringify(
  971. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  972. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  973. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  974. 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
  975. stockmaster.js: WARNING: Had to overwrite temp script /Temp/getPlayer.txt.js
  976. Old Contents:
  977. import { jsonReplacer } from 'helpers.js'
  978. export async function main(ns) { let r;try{r=JSON.stringify(
  979. ( ()=> { let player = ns.getPlayer();
  980. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  981. return Object.keys(player).reduce((pCopy, key) => {
  982. if (!excludeProperties.includes(key))
  983. pCopy[key] = player[key];
  984. return pCopy;
  985. }, {});
  986. })()
  987. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  988. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  989. New Contents:
  990. export async function main(ns) { let r;try{r=JSON.stringify(
  991. ( ()=> { let player = ns.getPlayer();
  992. const excludeProperties = ['playtimeSinceLastAug', 'playtimeSinceLastBitnode', 'bitNodeN'];
  993. return Object.keys(player).reduce((pCopy, key) => {
  994. if (!excludeProperties.includes(key))
  995. pCopy[key] = player[key];
  996. return pCopy;
  997. }, {});
  998. })()
  999. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  1000. const f="/Temp/getPlayer.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1001. 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
  1002. stats.js: WARNING: Had to overwrite temp script /Temp/gang-stats.txt.js
  1003. Old Contents:
  1004. import { jsonReplacer } from 'helpers.js'
  1005. export async function main(ns) { let r;try{r=JSON.stringify(
  1006. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  1007. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  1008. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1009. New Contents:
  1010. export async function main(ns) { let r;try{r=JSON.stringify(
  1011. ns.gang.inGang() ? ns.gang.getGangInformation() : false
  1012. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  1013. const f="/Temp/gang-stats.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1014. 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
  1015. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-symbols.txt.js
  1016. Old Contents:
  1017. import { jsonReplacer } from 'helpers.js'
  1018. export async function main(ns) { let r;try{r=JSON.stringify(
  1019. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  1020. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  1021. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1022. New Contents:
  1023. export async function main(ns) { let r;try{r=JSON.stringify(
  1024. (() => { try { return ns.stock.getSymbols(); } catch { return null; } })()
  1025. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  1026. const f="/Temp/stock-symbols.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1027. 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
  1028. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getAskPrice-all.txt.js
  1029. Old Contents:
  1030. import { jsonReplacer } from 'helpers.js'
  1031. export async function main(ns) { let r;try{r=JSON.stringify(
  1032. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  1033. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  1034. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1035. New Contents:
  1036. export async function main(ns) { let r;try{r=JSON.stringify(
  1037. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getAskPrice(sym)])); } catch { return null; } })()
  1038. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  1039. const f="/Temp/stock-getAskPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1040. 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
  1041. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getBidPrice-all.txt.js
  1042. Old Contents:
  1043. import { jsonReplacer } from 'helpers.js'
  1044. export async function main(ns) { let r;try{r=JSON.stringify(
  1045. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  1046. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  1047. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1048. New Contents:
  1049. export async function main(ns) { let r;try{r=JSON.stringify(
  1050. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getBidPrice(sym)])); } catch { return null; } })()
  1051. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  1052. const f="/Temp/stock-getBidPrice-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1053. 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
  1054. autopilot.js: WARNING: Had to overwrite temp script /Temp/stock-getPosition-all.txt.js
  1055. Old Contents:
  1056. import { jsonReplacer } from 'helpers.js'
  1057. export async function main(ns) { let r;try{r=JSON.stringify(
  1058. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  1059. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  1060. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1061. New Contents:
  1062. export async function main(ns) { let r;try{r=JSON.stringify(
  1063. (() => { try { return Object.fromEntries(ns.args.map(sym => [sym, ns.stock.getPosition(sym)])); } catch { return null; } })()
  1064. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  1065. const f="/Temp/stock-getPosition-all.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1066. 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
  1067. autopilot.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
  1068. Old Contents:
  1069. import { jsonReplacer } from 'helpers.js'
  1070. export async function main(ns) { let r;try{r=JSON.stringify(
  1071. ns.getServerMaxRam(ns.args[0])
  1072. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  1073. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1074. New Contents:
  1075. export async function main(ns) { let r;try{r=JSON.stringify(
  1076. ns.getServerMaxRam(ns.args[0])
  1077. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  1078. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1079. 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
  1080. Tasks/ram-manager.js: WARNING: Had to overwrite temp script /Temp/getServerMaxRam.txt.js
  1081. Old Contents:
  1082. export async function main(ns) { let r;try{r=JSON.stringify(
  1083. ns.getServerMaxRam(ns.args[0])
  1084. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  1085. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1086. New Contents:
  1087. import { jsonReplacer } from 'helpers.js'
  1088. export async function main(ns) { let r;try{r=JSON.stringify(
  1089. ns.getServerMaxRam(ns.args[0])
  1090. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  1091. const f="/Temp/getServerMaxRam.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1092. 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
  1093. Tasks/contractor.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
  1094. Old Contents:
  1095. import { scanAllServers } from 'helpers.js'
  1096. export async function main(ns) { let r;try{r=JSON.stringify(
  1097. scanAllServers(ns)
  1098. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  1099. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1100. New Contents:
  1101. import { jsonReplacer, scanAllServers } from 'helpers.js'
  1102. export async function main(ns) { let r;try{r=JSON.stringify(
  1103. scanAllServers(ns)
  1104. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  1105. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1106. 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
  1107. stats.js: WARNING: Had to overwrite temp script /Temp/scanAllServers.txt.js
  1108. Old Contents:
  1109. import { jsonReplacer, scanAllServers } from 'helpers.js'
  1110. export async function main(ns) { let r;try{r=JSON.stringify(
  1111. scanAllServers(ns)
  1112. , jsonReplacer);}catch(e){r="ERROR: "+(typeof e=='string'?e:e?.message??JSON.stringify(e));}
  1113. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1114. New Contents:
  1115. import { scanAllServers } from 'helpers.js'
  1116. export async function main(ns) { let r;try{r=JSON.stringify(
  1117. scanAllServers(ns)
  1118. );}catch(e){r="ERROR: "+(typeof e=='string'?e:e.message||JSON.stringify(e));}
  1119. const f="/Temp/scanAllServers.txt"; if(ns.read(f)!==r) ns.write(f,r,'w') }
  1120. 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
Tags: logs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement