Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Update request and Question #22

Open
darklingduck opened this issue Jan 14, 2022 · 2 comments
Open

Update request and Question #22

darklingduck opened this issue Jan 14, 2022 · 2 comments

Comments

@darklingduck
Copy link

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
Copy link

Eyrkki commented Jan 14, 2022

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants