From 1f4f6bd179d4bc05354240d807f5d9b638b37918 Mon Sep 17 00:00:00 2001 From: acogdev Date: Tue, 19 Mar 2019 09:52:28 -0600 Subject: [PATCH] Update purchaseServer docs to account for BitNode 10 BitNode 10 reduces the maximum RAM a purchased server can have so encouraging the use of getPurchasedServerMaxRam() instead of a hardcoded value of 2 ^ 20 --- doc/source/netscript/basicfunctions/purchaseServer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/netscript/basicfunctions/purchaseServer.rst b/doc/source/netscript/basicfunctions/purchaseServer.rst index caa316550..250077ef6 100644 --- a/doc/source/netscript/basicfunctions/purchaseServer.rst +++ b/doc/source/netscript/basicfunctions/purchaseServer.rst @@ -4,7 +4,7 @@ purchaseServer() Netscript Function .. js:function:: purchaseServer(hostname, ram) :param string hostname: Hostname of the purchased server - :param number ram: Amount of RAM of the purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20) + :param number ram: Amount of RAM of the purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of getPurchasedServerMaxRam() :RAM cost: 2.25 GB Purchased a server with the specified hostname and amount of RAM.