moriakaice / bitburner

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

grow/hack/weaken.ns not getting copied properly #18

Closed EyrkkiSkye closed 2 years ago

EyrkkiSkye commented 2 years ago

Just updated via steam, and suddenly the grow/hack/weaken.ns aren't being copied over anywhere. I can manually do it, but it seems to be copying blank files because I use ls and there's a bunch of blank space before the .ns I manually copied over.

Went and re-ran mainHack.ns and in the log, it does say

WARNING: File 'hack.ns' overwritten on 'n00dles'

That being the .ns I manually copied over... And using ls again it looks like nothing changed.. So somehow it can overwrite, but copying originally doesn't seem to want to happen. Neither grow.ns or weaken.ns made it over despite the log stating that they were copied over. Noticed there was a fix to scp having issues with multiple files, and not sure if that fix may have potentially caused this issue.

EyrkkiSkye commented 2 years ago

When manually done through the terminal scp seems to work just fine for copying the files over, just doesn't seem to want to work correctly via script.