

out/folder/subfolder/script.js will push to Home:~/folder/subfolder/script.js in game. out/folder/script.js will push to Home:~/folder/script.js in game. out/script.js will push to Home:~/script.js in game. With the the following configuration scriptRoot: "./out/".

Behaviourįiles that are pushed to the game will be done so relative to the 'Script Root' (See configuration: bitburner.scriptRoot), respecting any folders from that root to your scripts location. NOTE: You can only watch paths within the workspace VSCode has open.

This setting will not work if set in user settings, it must be set at the workspace or folder level. You can enable the fileWatcher by default with the setting within the plugin configuration. You can change the directory being watching with the bitburner.scriptRoot setting within the plugin configuration, open VSCode preferences to modify the value - default as. script extension within your currently open folder/workspace - Respecting any folders that you may have them in. This is currently disabled by default (but can be overwritten in Workspace/Folder preferences), the behaviour is - It will push all files that have a. Disable with 'Bitburner: Disable File Watcher'.Enable with 'Bitburner: Enable File Watcher'.Push With the file watcher (Disabled by default) Choose 'Bitburner: Push All Files To The Game' to push all files from your configured scriptRoot.Choose 'Bitburner: Push File To The Game' to save and push a single file (File open in editor).Open the Command Palette (CTRL/CMD + SHIFT + P).Right Click in the VSCode Editor (Your source code) and choose 'Bitburner: Push file to game'.Paste the Auth Token copied via the games context menu in to the input box.Use the command palette (CTRL/CMD + SHIFT + P) and select Bitburner: Add Auth Token.Add the token manually to the workspace settings.json to the key of thToken.vscode/settings.json), so you can either: The token will ultimately end up in the workspace configuration (See your workspaces. You can copy the token from the Bitburner application 'API Server' context menu: This extension requires that token to in order to function. When the game is started for the first time, it generates an 'Auth Token' that can be used by third party programs/applications/scripts to push files to the game. The auth token that the game generates, needed for you to be able to push files in to your game client.

If true, this will show a notification/toast whenever the File Watcher is enabled and/or the extension configuration scriptRoot has changed. Errors will always show.īitburner.showFileWatcherEnabledNotification If true, this will show a notification/toast when a file has been successfully pushed to the game. The directory that the File Watcher (if enabled) uses as the 'root' directory to watch.Ī configuration option that is only read from the Workspace or Folder configurations, a way to enable the File Watcher by default. Use at your own risk! Remember to backup your save and scripts! Extension Configuration Configuration This is an early WIP with a few hours gone in to both the extension and the game functionality, a lot is subject to change. Note: The extension currently works with the 'dev' branch of the game. What are we maxmising or minimising.for the hacknet simulation I suggest that it should be the pay back time.This extension allows for you to have all of your scripts on your host machine and push them to the running game client! The first step in deciding the strategy is determinng what metric one is lookng at. The key is determining how far to go before the reward diminishes.there are a number of strategies suggested throughout the web, but the beauty of scripting is that you can get better strategies. The cost of doing each of these things and the reward changes as one purchases more.
#BITBURNER BLACK HAND UPGRADE#
However on a small analysis I realised that might not be the most appropriate strategy.Įssentially with the hacknet you can do 4 things, you can upgrade the three components (Level, Ram, or Number of cores), or buy a new node. Initially, I simply upgraded each node to the max and moved on.
#BITBURNER BLACK HAND SERIES#
The hacknet are a series of virtual computers that raise funds through rent, which garner more rent the more powerful they become. This is a quick walkthrough of my scripts to control the hacknet aspect of the game. One of my most overlooked technologies is javascript. Despite being a web developer most of my focus tends to be in the backend, APIs and DevOps. One of the best bits is that it includes and even encourages one's programming skills.
