Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Update to 1.4.0 #28

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Update to 1.4.0 #28

wants to merge 21 commits into from

Conversation

ComictypX
Copy link

This PR includes the PR #13.

What this PR does:

  • changes everything from .ns to .js
  • change "hack" command suggestions from find.js to "backdoor"
  • fix stock scripts to use new TIX Methods
  • adds a new Stock-Script from u/ferrus_aub
  • optimize runHacking.js to start playerServers.js before mainHack.js to utilized new bought servers
  • adds automatic Stock Script start up based on api capabilities

@WalkerOhioUni
Copy link

sorry if this is a dumb question, but i am new to GitHub. How do I use these new commits?

@ComictypX
Copy link
Author

The easiest it would be if you create a start.js with the following code and run it:

export async function main(ns) {
  if (ns.getHostname() !== "home") {
    throw new Exception("Run the script from home");
  }

  await ns.wget(
    `https://raw.githubusercontent.com/ComictypX/bitburner/master/src/initHacking.js?ts=${new Date().getTime()}`,
    "initHacking.js"
  );
  ns.spawn("initHacking.js", 1);
}

If you just want a single script, you can browse my repo at this URL: https://github.com/ComictypX/bitburner/tree/master
(The pr2 Branch is just to revert the repo address to moriakaices repo :) )

@WalkerOhioUni
Copy link

thanks :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants