The game provides a variety of mechanics and systems that can be changed through coding and solved or automated in whatever way you find suitable. Inspired by games like Else Heart.break(), Hacknet, Uplink, and Deus Ex, Bitburner is a programming-based idle incremental RPG where you, the player, take the role of an unknown hacker in a dark, dystopian world. Prints a raw value or a variable to the Terminal.įormat a string with an array of arguments.After 5 years of development, contributions from hundreds of developers, the critically acclaimed open source programming hacking sim is available on Steam. Prints one or more values or variables to the Terminal. Queue a toast (bottom-right notification). The Singularity Functions are not immediately available to the player and must be unlocked later in the game. Terminate current script and start another in 10 seconds. These functions allow you to control many additional aspects of the game through scripts, such as working for factions/companies, purchasing/installing Augmentations, and creating programs. Returns a boolean denoting whether or not the specified server exists. Get the list of servers connected to a server.Ĭheck if any script with a filename is running. Start another script on the current server. Prints a formatted string to the script’s logs. Prints one or more values or variables to the script’s logs. Get a copy of the data from a port without popping it. Returns whether the player has access to the darkweb.Ĭhecks the status of the logging for the given function. Get the security increase for a number of threads.Ĭheck if you have root access on a server. Get the chance of successfully hacking a server. Based on common mentions it is: Bitburner-official/Bitburner-scripts, Bitburner-scripts or. Get the part of money stolen with a single thread. GrowthAnalyzeSecurity(threads, hostname, cores)Ĭalculate the security increase for a number of threads. I have written a 'small' Bitburner script to automate the post-soft-reset (Install Augmentations, entering after having destroyed a bitnode, etc. Spoof money in a server's bank account, increasing the amount available.Ĭalculate the number of grow threads needed to grow a server by a certain multiplier. Get the execution time of a weaken() call. The third argument mode defines how the data will be written to the file. If the specified file does not exist, then it will be created. This function will write data to that file. Returns the amount of time in milliseconds that have passed since you last installed Augmentations. This function can be used to write data to a text file (.txt) or a script (.js or. Returns the required hacking level of the target server.Ĭalculate your share power. Returns the number of open ports required to successfully run NUKE.exe on the specified server. Returns the minimum security level of the target server. Get the maximum amount of RAM on a server. Get the maximum money available on a server. If your main script is running in a loop you can just add a counter and add the value as an argument to the hack, grow and weak-scripts. Defaults to the running script's server if host is not specified. You can easily run the same script multiple times by adding a unique argument that's being ignored by the script. Returns a server object for the given server. GetRunningScript(filename, hostname, args) Get an array of recently killed scripts across all servers. Get cost of upgrading a purchased server to the given ram. GetPurchasedServerUpgradeCost(hostname, ram) Returns an array with the hostnames of all of the servers you have purchased. Returns the maximum RAM that a purchased server can have. Returns the maximum number of servers you can purchase. Get information about the sources of income for this run. Returns a string with the hostname of the server that the script is running on. Returns the player’s current hacking level. Returns the amount of Faction favor required to be able to donate to a faction. Terminates the current script immediately. You should prefer 'sleep' over 'asleep' except when doing very complex UI work.Īdd callback function when the script dies
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |