Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export async function main(ns) {
{ name: "stockmaster.js", shouldRun: () => reqRam(64), args: openTailWindows ? ["--show-market-summary"] : [] }, // Start our stockmaster
{ name: "hacknet-upgrade-manager.js", shouldRun: () => shouldUpgradeHacknet(), args: ["-c", "--max-payoff-time", "1h", "--interval", "0"], shouldTail: false }, // One-time kickstart of hash income by buying everything with up to 1h payoff time immediately
{ name: "spend-hacknet-hashes.js", shouldRun: () => reqRam(64) && 9 in dictSourceFiles, args: [], shouldTail: false }, // Always have this running to make sure hashes aren't wasted
{ name: "sleeve.js", shouldRun: () => reqRam(64) && 10 in dictSourceFiles }, // Script to create manage our sleeves for us
{ name: "sleeve.js", shouldRun: () => reqRam(64) && 10 in dictSourceFiles && 4 in dictSourceFiles }, // Script to create manage our sleeves for us
{ name: "gangs.js", shouldRun: () => reqRam(64) && 2 in dictSourceFiles }, // Script to create manage our gang for us
{
name: "work-for-factions.js", args: ['--fast-crimes-only', '--no-coding-contracts'], // Singularity script to manage how we use our "focus" work.
Expand Down
4 changes: 2 additions & 2 deletions sleeve.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ export async function main(ns) {
playerInGang = playerInBladeburner = false;
// Ensure we have access to sleeves
ownedSourceFiles = await getActiveSourceFiles(ns);
if (!(10 in ownedSourceFiles))
return ns.tprint("WARNING: You cannot run sleeve.js until you do BN10.");
if (!(10 in ownedSourceFiles) || !(4 in ownedSourceFiles))
return ns.tprint("WARNING: You cannot run sleeve.js until you do BN10 and BN4.");
// Start the main loop
while (true) {
try { await mainLoop(ns); }
Expand Down