hooglmonkey.blogg.se

Bitburner any way to automate manually hack
Bitburner any way to automate manually hack












  1. #Bitburner any way to automate manually hack upgrade#
  2. #Bitburner any way to automate manually hack code#
  3. #Bitburner any way to automate manually hack free#

I didn't want to rely on the formulas api so my hacking approach is not as effective as it could be, but I didn't mind that (I might build a version with the formulas api at some point though).The main hacking approach is several paralel executions of one hacking cycle which each steal a configured percentage of the targets money (default is 50%).

#Bitburner any way to automate manually hack code#

I've been highly inspired by other posts on this sub and none of these ideas are original and new, I didn't copy paste any code as I always planned on sharing this once I was happy with its first draft, but if any of you think some stuff is familiar it's because I was most likely inspired by what you've seen before :)

#Bitburner any way to automate manually hack upgrade#

If the worker doesn't have enough run to run at least one iteration of the hack cycle it writes it's target to a port for the master to taint it and then kills itself so a new worker script with another target can be spawned by the masterĬheck the player money and upgrade it's own worker node to the next bigger capacity(always double ram until max has been reached) and then kill itself so the master can spawn a new worker for the upgraded server The worker uses paralel weaken/hack/grow operations to actually generate the money from hacking the target (I will expand on this in it's own section) The worker script which handles the following:Īs this script runs without the formulas api it first weakens the server to it's min securityīefore trying to hack it we also fill it to it's max money capacity

#Bitburner any way to automate manually hack free#

If we have a free worker node (our purchased servers) spawn a worker script with the best free target Listen to a port to taint targets so they won't be assigned for a while (more on this later)

bitburner any way to automate manually hack bitburner any way to automate manually hack

Initially buy it's own servers if we don't have any yet (I plan to also automate the early game so I just have to start the master script and everything regarding hacking will be automated from start to finish)Ĭhose a target among them (the target algorithm is not sophisticated at all, but I haven't come around to expand it and with the hack method it still gains stupid amount of money anyway.) The problem with this approach is that it does not help in early game and still needs another approach to jumpstart the game and earn enough money so we can buy big enough workers to hack the smallest possible target, after this has happened the scripts run fully automatic until the workers are maxed out and generate fucktons of money on the way. But with the chosen mode of attack this still generates more than enough money so I never really got around to trying to implement all workers attacking one target. I've chosen this approach as not to have to manage multiple workers attacking the same (best) target even if it means less profit as I will also attack suboptimal targets.

bitburner any way to automate manually hack

Each worker script manages one purchased server ("worker" from now on) and one target server the worker is going to attack. Hi, I've worked a few days on my self regulating distributed hacking script that automatically handles a bunch of stuff.īasically I run one master script that continuously runs and manages all worker scripts.














Bitburner any way to automate manually hack