bitburner
Bitburner Game (by danielyxie)
netscripts.d
Netscripts for Bitburner (by iuriguilherme)
Our great sponsors
bitburner | netscripts.d | |
---|---|---|
368 | 2 | |
2,790 | 8 | |
- | - | |
0.0 | 10.0 | |
9 months ago | about 4 years ago | |
HTML | ||
GNU General Public License v3.0 or later | The Unlicense |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bitburner
Posts with mentions or reviews of bitburner.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-02.
-
life loop games
Bitburner which is available on steam or web which is more sci fi/hacking themed. it's a very complex life loop game that involves coding heavily. There is a pseudo code script in the game in which you can write programs to hack others and eventually restart with cybernetic implants. You can even ditch the pseudo script and code directly in java in the game. The end game is quite fun and fulfilling. I haven't even gotten through it yet.
-
Need help on importing variables
Nope, ports communicate "in RAM" only, i.e. when you close and re-open the game (or complete a BitNode [and maybe also if you install augs? Don't know]) they're cleared. Ports can be accessed via ns.writePort() and ns.peek() or ns.readPort() and be cleared manually with ns.clearPort(). The docs have syntax and description of all the in-game functions.
-
stats of manual commands
From the source code:
-
Learn programming for absolute beginners
3.https://danielyxie.github.io/bitburner (optional, for extra practice and motivation)
- help with a startup script
-
How many scripts is too much for one server?
Here's a list of functions if you want to take a look at what's available. https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.md
-
Is there a function to get an array of a server's scripts. I need this so I can create a script called deleteScripts.js to remove them.
RTFM for [ns.ps()](https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.ps.md) and ns.killall() ;)
-
This game is the closest there is to actually programming. Change my mind.
Bitburner.
-
Is there a way to get a list of current products in an industry w/o knowing the product name?
Looking at the Warehouse API, the only way to get information on a product is to already know the product name. However if I, for example, restart my corp script after augment installs with a corporation already running, I wouldn't have any of my product names in memory. I know that, given that you can only ever have at most 5 products at a time, I could just create a static list of 5 product names and infer my current production from there but it would be nice to not have to do that and be able to run a function like getProducts that would pull a dictionary/list of the current products for me. I'm generally trying to avoid coding w/ try/catch blocks so something like that would be nice.
-
Help with maths of hacking? Please.
However, if you have access to formulas at whatever time you're running this script, you can try fitting in the ns.Formulas.growPercent(target, maxGrowThreads, ns.getPlayer()) method.
netscripts.d
Posts with mentions or reviews of netscripts.d.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-17.
-
Hacknet Nodes automated procurement and upgrading (6.1GB)
/** @param {import(".").NS } ns */ export async function main(ns) { /* ns.hacknet-auto.script for Bitburner v0.47.2 Winners don't use copyright Latest version of this script should be at https://github.com/iuriguilherme/netscripts.d Bitburner should be at https://github.com/danielyxie/bitburner This script requires 5.70 GB of RAM to run for 1 thread(s) This script will buy a ns.hacknet Node, fully upgrade it and then buy the next one in an infinite loop. If the cost of the next upgrade is higher than buying a new ns.hacknet Node, then a new one will be bought before the last one is upgraded. There is an option to set the budget limit. */ // We will not buy anything if there's less money than this ammount var reserveMoney = 1000; // Number of times to upgrade (shouldn't have to change this) var n = 1; ns.disableLog("getServerMoneyAvailable"); ns.disableLog("sleep"); // Buy first ns.hacknetNode if there are none if ( ns.hacknet.numNodes() === 0 && ns.getServerMoneyAvailable("home") >= reserveMoney ) { ns.hacknet.purchaseNode(); ns.print( "Purchased " + ns.hacknet.getNodeStats((ns.hacknet.numNodes() - 1)).name + " because there was none." ); } // If there are no ns.hacknet Nodes, we can't do anything, so the script ends. while (ns.hacknet.numNodes() > 0) { // If there is not enough money, we wait for it instead of ending the loop. while (ns.getServerMoneyAvailable("home") >= reserveMoney) { for (var i = 0; i < ns.hacknet.numNodes(); i++) { while ( ns.hacknet.getLevelUpgradeCost(i, n) < Infinity && ns.hacknet.upgradeLevel(i, n) ) { ns.print( "Upgraded " + ns.hacknet.getNodeStats(i).name + " to level " + ns.hacknet.getNodeStats(i).level ); await ns.sleep(100); } while ( ns.hacknet.getRamUpgradeCost(i, n) < Infinity && ns.hacknet.upgradeRam(i, n) ) { ns.print( "Upgraded " + ns.hacknet.getNodeStats(i).name + " RAM to " + ns.hacknet.getNodeStats(i).ram ); await ns.sleep(100); } while ( ns.hacknet.getCoreUpgradeCost(i, n) < Infinity && ns.hacknet.upgradeCore(i, n) ) { ns.print( "Upgraded " + ns.hacknet.getNodeStats(i).name + " core to " + ns.hacknet.getNodeStats(i).cores ); await ns.sleep(100); } } // END for (i = 0; i < ns.hacknet.numNodes(); i++) /* Buy next ns.hacknet Node if the last one is already fully upgraded. If for some reason the last ns.hacknet Node is fully upgraded and the others don't, the loop above will still attempt to upgrade them all. */ if ( ns.hacknet.getLevelUpgradeCost((ns.hacknet.numNodes() - 1), n) === Infinity && ns.hacknet.getRamUpgradeCost((ns.hacknet.numNodes() - 1), n) === Infinity && ns.hacknet.getCoreUpgradeCost((ns.hacknet.numNodes() - 1), n) === Infinity ) { // Only buy nodes up to 23. Past that its not really worth it. if (ns.hacknet.numNodes() < 23) { ns.hacknet.purchaseNode(); ns.print( "Purchased " + ns.hacknet.getNodeStats((ns.hacknet.numNodes() - 1)).name + " because the last one couldn't be upgraded further." ); } } else if ( /* Or buy the next ns.hacknet Node if the next upgrade is more expensive than buying a new ns.hacknet Node. */ ns.hacknet.getLevelUpgradeCost((ns.hacknet.numNodes() - 1), n) > ns.hacknet.getPurchaseNodeCost() && ns.hacknet.getRamUpgradeCost((ns.hacknet.numNodes() - 1), n) > ns.hacknet.getPurchaseNodeCost() && ns.hacknet.getCoreUpgradeCost((ns.hacknet.numNodes() - 1), n) > ns.hacknet.getPurchaseNodeCost() ) { ns.hacknet.purchaseNode(); ns.print( "Purchased " + ns.hacknet.getNodeStats((ns.hacknet.numNodes() - 1)).name + " because it was cheaper than next upgrade for the last one." ); } await ns.sleep(100); } await ns.sleep(100); } };
- Trying to automate looking for new server and hacking them
What are some alternatives?
When comparing bitburner and netscripts.d you can also consider the following projects:
bitburner-scripts - My own scripts for playing bitburner
bitburner-scripts - Repository of Bitburner scripts
Visual Studio Code - Visual Studio Code
elevatorsaga - The elevator programming game!
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
BitBurnerCentralManager - A prototype thread manager for BitBurner
FizzBuzz Enterprise Edition - FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
bitBurnerTsProject - A template project to start a TypeScript repo for BitBurner
ts-bitburner-scripts
Exercism - website - The codebase for Exercism's website.
codewars.com - Issue tracker for Codewars
bitburner vs bitburner-scripts
bitburner vs bitburner-scripts
bitburner vs Visual Studio Code
bitburner vs elevatorsaga
bitburner vs TypeScript
bitburner vs BitBurnerCentralManager
bitburner vs FizzBuzz Enterprise Edition
bitburner vs bitBurnerTsProject
bitburner vs ts-bitburner-scripts
bitburner vs Exercism - website
bitburner vs codewars.com