This repository contains scripts for the game Bit Burner by danielyxie. The scripts are written in Typescript, transpiled into Javascript, and then transferred to the game using the remote API.
-
git clone https://github.com/Eroxl/Bit-Burner
- or download the repository as a zip file and extract it
- Navigate to the repository
-
cd Bit-Burner
- Install dependencies
-
yarn install && pip install -r requirements.txt
- Install the NetScript definitions
-
yarn run update:definitions
- Build the scripts
-
yarn run build
- Wait for the build to finish
- Start the game
- Navigate to the
options
menu - Select
Remote API
- Enter port
3200
into thePort
field, then clickConnect
- Start the development server
-
yarn run dev
- Wait for the server to start
- Start the game
- Navigate to the
options
menu - Select
Remote API
- Enter port
3200
into thePort
field, then clickConnect
- Net Script definitions
- Full typescript support
- Send scripts to the game
- Relative imports
- Hot reloading
-
lsTree - List the files in a directory in a tree-like format
-
runScriptAll - Run a script on all rooted servers
-
botNet - Run a botnet on all rooted servers that target a specific server
-
buyServer - Prompt the user for a server to buy and then buy it
-
analyze-v2 - Analyze a server and print the results
-
hacknet - Tries to buy the best hack net node upgrades possible
-
bestCrime - Calculates the best crime $/s for your current stats
This project is licensed under the Affero General Public License v3.0 - see the LICENSE file for details