Skip to content

Conversation

@JMillen
Copy link

@JMillen JMillen commented Aug 29, 2023

Fixed bug with threads returning floating point numbers. Fixed the "scp()" element being misused.

Fixed bug with threads returning floating point numbers, fixed "scp()" element being used incorrectly.
This reverts commit 4607240.
Fixed bug with threads returning floating point numbers, fixed "scp()" element being used incorrectly.
@CHughessy
Copy link

CHughessy commented Oct 20, 2023

I get this runtime error for not being able to run ns.gainRootAccess :

RUNTIME ERROR
hack-manager.js@home (PID - 57)

ns.gainRootAccess is not a function
stack:
TypeError: ns.gainRootAccess is not a function
at little_prep (home/hack-manager.js:45:16)
at async Module.main (home/hack-manager.js:333:9)
at async L (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Bitburner/resources/app/dist/main.bundle.js:2:1056236)

but I'm sure that there's no mistakes in either hack-manager.js or utils.js.

@CHughessy
Copy link

removing the "ns." from "ns.gainRootAccess" has defined it as an import function now i get the following error:

RUNTIME ERROR
hack-manager.js@home (PID - 8)

ns.fileExists is not a function
stack:
TypeError: ns.fileExists is not a function
at gainRootAccess (home/utils.js:19:9)
at little_prep (home/hack-manager.js:45:13)
at async Module.main (home/hack-manager.js:333:9)
at async L (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Bitburner/resources/app/dist/main.bundle.js:2:1056236)

but im not sure how i would modify utils.js to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants