alainbryden / bitburner-scripts

My own scripts for playing bitburner
MIT License
586 stars 263 forks source link

RAM usage error #312

Closed Realswitzer closed 1 year ago

Realswitzer commented 1 year ago

Error while calculating ram usage for this script.

In editor, it calculates RAM as "Syntax Error"

This seems to affect all scripts.

alainbryden commented 1 year ago

It seems like pulling the scripts has gone awry. People often have issues when they try to download the scripts to a sub-folder, as the game often changes how it deals with directories and breaks old import statements,

Try using git-pull.js to download the scripts from scratch, and if you can stand to, avoid downloading to a sub-folder, and it might fix the issue.

Realswitzer commented 1 year ago

Forgot to check this again, previous attempt ran at ~/git-pull.js, tried it again and it worked. Unsure what caused it unfortunately, since it wasn't a sub-folder problem. In any case, thanks for the help and fast response.