HtheChemist / BitBurnerCentralManager

A prototype thread manager for BitBurner
MIT License
26 stars 12 forks source link

Runtime Error: hacking level not high enough #15

Open flightdragonz opened 2 years ago

flightdragonz commented 2 years ago

runtimeerror-hackingLvl

HtheChemist commented 2 years ago

Are you on Bitnode 1? What is your hacking level?

flightdragonz commented 2 years ago

Im not on Bitnode 1 yet, hacking lvl 420

HtheChemist commented 2 years ago

It is strange that it tries to hack millenium-fitness as it requires 484 hacking. I am going to try to reproduce this locally.

gthazmatt commented 2 years ago

I've also seen this. Not sure if it happened before I finished Bitnode 1 the first time, but I then went to 2 and back to 1, and it has happened again in both of them.

HtheChemist commented 2 years ago

I am starting to wonder if it is because when we switch node, the script does not reset...

wmpedersen commented 2 years ago

I found this issue as well - it seems like it happens because you've nuked a server that you have the programs to do so, but not the hacking level before Orchestrator gets there. I did the same with deltaone and aerocorp. It can be fixed with a little re-jiggering of the TargetManager checkHost method.

On the other hand, hacking a server that you don't have the level for doesn't necessarily preclude you from hacking it, but if you're looking for profit over time it's probably good to check so you're not wasting time and hack chance.