![]() Note: autopilot.js (and in turn, daemon.js) will already run many instances of scripts with default arguments. ![]() If you have personal preference and wish to "permanently" change the configuration of one of my scripts, you can do so without sacrificing your ability to "git-pull.js" the latest - simply create a custom config.txt file for the script. ![]() You will also see an error-version of this dialog if you make a mistake in how you run the script. Run scripts with the -help flag to get a list of their arguments, default values, and a brief description of each: Most scripts take arguments to tweak or customize their behaviour based on your preferences or special circumstance. Some scripts are meant to be manually run as needed. Most scripts can also be run on their own, but are primarily designed to be orchestrated by autopilot.js or daemon.js. I don't want to spoil too much for those new to the game, but it's worth mentioning that SF4 is not required, but is highly-recommended to get the full benefit of this script. It will monitor your progress throughout the game and take special actions when it can. It will kick off daemon.js (you primary hacking script), which in turn kicks off several other helper-scripts. You can think of this as the "master orchestrator" script. If you run autopilot.js from the terminal, it will start several other scripts. Early-game, many will be useless because they are only enabled by late-game features, but they shouldn't give you too many problems just being there. Make sure you are on your home server if you are not you can quickly go home by running home in the console.If you manually nano git-pull.js from the terminal and copy the contents of that script, you should be able to run it once and download the rest of the files I use. I warned you.Ĭreate a new script called start.js by issuing the following command: nano start.js. This repo uses methods that are locked behind game mechanics. If I haven't commited in a few weeks, it probably means I'm bored or got stuck and found something else to play with. I change method signatures for the hell of it. If somebody says that the way I did something was not good, it probably is not good and trust other resources before you trust my code for the best way if you're learning. I don't follow best practices in the industry for this language. I also assume that there is at least 32GB of ram on your home computer, which is not immediately available to new players.Īlso, be aware, I am not primarily a Javascript programmer, though it is something I enjoy playing with. I started this repo primarily for myself, and the code makes some assumptions about certain features that are not available to new players. If you want to take my repo whole-hog and run it in your own game (following the instructions below), it is unlikely to work unless you've been playing for a while. That repo (at the time of this edit) doesn't work out of the box, but they're trying to be pretty new-player friendly. The initial startup script and copy-paste instructions below I borrowed from. You are absolutely welcome and free to copy/paste, fork, splat, or whatever. If you're starting BitBurner and want all the Codez
0 Comments
Leave a Reply. |