Open CthuutLoops opened 1 year ago
TYPE ERROR hack-manager.js@home (PID - 9)
exec: threads should be a positive integer, was 7320.958053450061
Stack: hack-manager.js:L366@Module.main
L366: ns.exec('targeted-grow.js', prep_server, gt, gt, 0, hack_target);
i think its the gt variable from L339: gt = ns.growthAnalyze(hack_target, initial_growth_amount);
exec() says it round to the nearest integer but apparently its not.
I'm not sure if this is an issue for your script or bitburner
Just heard from that exec doesnt round for threads anymore in an update.
u should add a Math.Round at 217 line of hack-manager i think
TYPE ERROR hack-manager.js@home (PID - 9)
exec: threads should be a positive integer, was 7320.958053450061
Stack: hack-manager.js:L366@Module.main
L366: ns.exec('targeted-grow.js', prep_server, gt, gt, 0, hack_target);
i think its the gt variable from L339: gt = ns.growthAnalyze(hack_target, initial_growth_amount);
exec() says it round to the nearest integer but apparently its not.
I'm not sure if this is an issue for your script or bitburner