Skip to content

Commit

Permalink
Fix #398: Make daemon.js usable on 8 GB RAM
Browse files Browse the repository at this point in the history
- New! Will leverage 'harakiri-sushi' (16GB ram server nukable immediately without hack tools) as a reserved space to run helpers and temp-tools.
- Tools can specify an override min-ram-requirement to take into account their dynamic ram footprint, and make sure they are deployed on a server with enough room.
- Don't try to kickstart hack XP with less than 16 GB ram, this was leading to a fatal error before
- Fix bug when new servers are added and their cached data isn't populated.
- Found a bug with hacknet servers not being sorted to the end of the list (to avoid using them unless necessary). Think I fixed it, but haven't been able to test it yet.
- Fixed issues with computing the correct number of grow/weaken threads needed, especially when ram is very tight.
- Tweaked logs to appear less noisy, especially for new players launching scripts in low-ram conditions.
  • Loading branch information
alainbryden committed Oct 21, 2024
1 parent c0e97b9 commit 8787ae7
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 62 deletions.
Loading

0 comments on commit 8787ae7

Please sign in to comment.