alainbryden / bitburner-scripts

My own scripts for playing bitburner
MIT License
603 stars 271 forks source link

daemon.js: Errors in late BN12.XXX when server initial values are outside of min/max values. #336

Closed alainbryden closed 8 months ago

alainbryden commented 8 months ago

"Threads needed" calculations produce negative numbers due to a "special case" (arguably a bug) in the game where at start of BN, the initial server money / security can be outside of the min/max range for that server.