Bitburner subreddit infinity12/18/2023 Anything lower than 20ms will not work due to javascript limitations. You can utilize batches to prepare a server by using no hack threads during preparation.ĭepending on your computer’s performance as well as a few other factors, the necessary delay between script execution times may range between 20ms and 200ms, you want to fine-tune this value to be as low as possible while also avoiding your scripts finishing out of order. The following is an image demonstrating batches in action:īatches only function predictably when the target server is at minimum security and maximum money, so your script must also handle preparing a server for your batches. It is possible to create batches with 3 scripts (HGW) but the efficiency of grow will be harmed by the security increase caused by the hack scripts. This is the reason for the delay in the scripts. It is also important that these 4 scripts finish in the order specified above, and all of their effects be precalculated to optimize the ratios between them. A weaken script counters the security increase caused by the grow script.A grow script counters the money decrease caused by the hack script.A weaken script counters the security increase of the hack script. A hack script removes a predefined, precalculated amount of money from the target server.Weaken should occur when security is not at a minimum due to a hack or grow increasing it. Grow should finish when security is minimum, shortly after a hack occurred. Hack should finish when security is minimum and money is maximum. The effects of hack, grow, and weaken, are determined when the time is completed, rather than at the beginning.You only want these effects to start when the security level is minimized. The time taken to execute hack, grow, or weaken is determined when the function is called and is based on the security level of the target server and your hacking level.You only want these effects to occur when the security level is minimized. The effects of hack and grow depend on the server security level, a higher security level results in a reduced effect.Sleep ( a bit ) hack ( target ) // or grow, or weakenĪ few things need to be known before this algorithm can be implemented: Utilizing sleep() or asleep() to ensure that your scripts do not all start at the same time can decrease the chance of issues associated with overhacking occurring. When utilizing this strategy, monitor the amount of money and security on the target server, if the money is not hovering around maximum and the security around the minimum, the ratios should be tweaked until that is the case. The ratios described here are arbitrary and can be greatly improved through the use of the analyze functions, and later, through the use of Formulas.exe. Even though Bitburner is set in a dystopian future where you work alone in front of a green tinted monitor, that doesn't mean we can't create a thriving community to help each other out I've compiled every script that was ever mentioned in a post on the BitBurner subreddit, and placed them into folders for convenience. Meaning if we have space for 100 threads across the entire network 7 threads will go to the hack scripts, 76 threads will go to the grow scripts and 15 threads will go to the weaken scripts. Now we can take the total amount of threads available and split it and allocate, for example:
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |