Open Xowie89 opened 2 years ago
looks as though the the getgrowtime,gethacktime,and getweakentime changed not that long ago to return milliseconds, not seconds. you need to remove the * 1000 from:
const hackTime = ns.getHackTime(bestTarget) * 1000
const growTime = ns.getGrowTime(bestTarget) * 1000
const weakenTime = ns.getWeakenTime(bestTarget) * 1000
in mainHack.ns
Doesn't it auto update when i run start.ns though?
Edit: Oh I see the files in src have not been updated so its auto updating for 1.0.0.
The script sleeps a ridiculously long time (literally hours) even after installing augments and starting over on the first set of businesses. I don't fully understand it but it appears to want to sleep for 12+ hours before it does anything. My home server is 64 terabytes. Playing on steam.
grow.ns log:
sleep: Sleeping for 96176964.8840369 milliseconds
Seems it doesn't account for scripts you already have running on home that it doesn't kill so I cant run my stock market manager and node manager scripts while it is running (Easy fix on your part just get free ram and not max ram when calculating grow/hack threads). But still it sleeps forever.