All constants used by the game.
An object with all hacknet server constants used by the game.
Calculate cost of upgrading hacknet server cores.
starting cores
Optional extraCores: numberamount of cores to purchase (defaults to 1)
Optional costMult: numberplayer cost reduction (default to 1)
The calculated cost.
Calculate hash gain rate.
level of the server.
ramUsed of the server.
maxRam of the server.
cores of the server.
Optional mult: numberplayer production mult (default to 1)
The calculated hash gain rate.
Calculate cost of upgrading hacknet server level.
starting level
Optional extraLevels: numberamount of level to purchase (defaults to 1)
Optional costMult: numberplayer cost reduction (default to 1)
The calculated cost.
Calculate cost of upgrading hacknet server ram.
starting ram
Optional extraLevels: numberamount of level of ram to purchase (defaults to 1)
Optional costMult: numberplayer cost reduction (default to 1)
The calculated cost.
Hacknet Server formulas