8000 GitHub - octo47/bitburner-scripts
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

octo47/bitburner-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository has been archived

For the most up to date version of this template, visit the official repository at https://github.com/bitburner-official/vscode-template

Extension Recommendations

vscode-bitburner-connector (vscode extension marketplace) to upload your files into the game

vscode-eslint to use live linting in editor

auto-snippet to automate inserting the file template in .vscode/snippets.code-snippets

There is a workspace file in .vscode which contains the recommended settings for all of these

Dependencies

Node.js required for compiling typescript and installing dependencies

Installation

git clone https://github.com/SlyCedix/bitburner-typescript-template.git
npm install
npm run defs

How to use scripts

(please note, all scripts are .js in the game and compiled from .ts)

run_coordinator.ts starts process of bin-packing nodes with worker tasks. It runs in a loop and assigns threads to work on weak, hack or grow. Only eligable targets are considered:

  • for hack only with low security and >95% money
  • for grow only with low security
  • for weaken everything else

Coordinator uses all hosts including home. However will keep a reserve of 128GB at home. Tunable in coordinate/capacity.ts

To open new hosts use run_opener.ts. This script will periodically scan hosts and try to hack them running port openers if they are available

To buy more servers run_serverbuyer.ts can be used. It will try to buy and maximize servers and will stop doing that once no more servers can be bought or upgraded

Hackned nodes can be constantly upgraded as well with run_nodeupgrader.ts. Do not recommend to run it in early stages as it a waste of money. As soon as you can get coordinator running - it will be much better in terms of money.

Infiltration

Script infiltration.js is exactly for this. It runs in a background and waits until you start to inflitrate. It will automatically accomplish all the tasks.

alias inf="home ; run infiltration.js --status"
alias infon="home ; run infiltration.js --start"
alias infoff="home ; run infiltration.js --stop" 

Deugging

For debugging bitburner on Steam you will need to enable a remote debugging port. This can be done by rightclicking bitburner in your Steam library and selecting properties. There you need to add --remote-debugging-port=9222 [Thanks @DarkMio]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0