You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2023. It is now read-only.
had an issue with playerServers.js buying the lowest level server when I could afford more. This may not be the intended way but it worked for me.
at line 133 I changed: let biggestCurrentServer = (ns.getServerMaxRam(purchasedServers[purchasedServers.length - 1]), ns.getServerUsedRam(purchasedServers[purchasedServers.length - 1]))
to let biggestCurrentServer = Math.max(ns.getServerMaxRam(purchasedServers[purchasedServers.length - 1]), ns.getServerUsedRam(purchasedServers[purchasedServers.length - 1]))