moriakaice / bitburner

Collection of scripts for https://danielyxie.github.io/bitburner/
ISC License
114 stars 145 forks source link

Growing instead of weakening #23

Open Mikek05 opened 2 years ago

Mikek05 commented 2 years ago

For some reason script got stuck in such condition - all servers ran grow instead of weaken, long 25m timeout with low outcome. That was repeating permanently. After I weakened the target manually script works fine for 3 iterations and then got stuck again.

mainHack.ns: [17:42:09] Starting mainHack.ns mainHack.ns: [17:42:09] Selected omega-net for a target. Planning to weaken the server. Will wake up around 18:07:33 mainHack.ns: [17:42:09] Stock values: baseSecurity: 32; minSecurity: 11; maxMoney: $1,668,785,900 mainHack.ns: [17:42:09] Current values: security: 100; money: $1,668,785,900 mainHack.ns: [17:42:09] Time to: hack: 00:06:21; grow: 00:20:19; weaken: 00:25:24 mainHack.ns: [17:42:09] Delays: 00:18:33 for hacks, 00:04:49 for grows mainHack.ns: [17:42:09] Cycles ratio: 1380132 grow cycles; 121792 weaken cycles; expected security reduction: 6089.6