moriakaice / bitburner

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

Update request and Question #22

Open darklingduck opened 2 years ago

darklingduck commented 2 years ago

Will anyone be updating the files for the fact the .ns has been deprecated. All files need to be .js now

Also, I am trying to reserve more memory on my home system so that I can run other files. How do I do this? I have tried modifying the following two line to no avail: homeRamReserved: 20, homeRamReservedBase: 20,

Assistance would be appreciated.

Eyrkki commented 2 years ago

I made a fork off this code, and updated the file types myself. The main ones are those to do with copying to other servers, which are the mainHack, initHacking, Hack, Grow, and Weaken. The files and the contents of the hacking files need to be adjusted, but it only takes a few minutes, and then you can adjust your start to pull from your fork, so you don't accidentally replace your updated files. .ns still works, you just can't use spc to copy over a .ns file, has to be .js.

I've also tried messing with the ram, but haven't figured that out yet either, sorry.

I found a number of forks that have some useful updates as well that I ended up working into mine. It is helpful when this code doesn't seem to be getting as many pull requests/updates lately.

digitalbarrito commented 2 years ago

in mainHack, I believe the line that controls reserving system memory for you to run other things is homeRamExtraRamReserved : . This is what I've used to ensure I had enough ram to run the stockMarketer4s script while the hacks were running:

homeRamReserved: 32, // not at all sure if this value needed to be changed homeRamReservedBase: 32, // not sure if this value needed to be changed homeRamExtraRamReserved: 48, // this value definitely influenced my ability to run additional scripts on top of everything else