* @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.
* @param host - Host of the server containing the contract. Optional. Defaults to current server if not provided.
* @param opts - Optional parameters for configuring function behavior.
* @returns True if the solution was correct, false otherwise. If the returnReward option is configured, then the function will instead return a string. If the contract is successfully solved, the string will contain a description of the contract’s reward. Otherwise, it will be an empty string.
*/
@@ -3017,7 +3017,7 @@ interface CodingContract {
*
* @remarks RAM cost: 5 GB
* @param fn - Filename of the contract.
* @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.
* @param host - Host of the server containing the contract. Optional. Defaults to current server if not provided.
* @returns Name describing the type of problem posed by the Coding Contract.
* weaken("foodnstuff", { threads: 5 }); // Only use 5 threads to weaken
* ```
* @remarks RAM cost: 0.15 GB
* @param host - Hostname of the target server to weaken.
* @param opts - Optional parameters for configuring function behavior.
* @returns The amount by which the target server’s security level was decreased. This is equivalent to 0.05 multiplied by the number of script threads.
* //If this function returns 50, this means that if your next hack call is run on a script with 50 threads, it will steal $1m from the foodnstuff server.
* ```
* @remarks RAM cost: 1 GB
* @param host - Hostname of the target server to analyze.
* @param hackAmount - Amount of money you want to hack from the server.
* @returns The number of threads needed to hack the server for hackAmount money.
* @param files - Filename or an array of filenames of script/literature files to copy.
* @param destination - Host or IP of the destination server, which is the server to which the file will be copied.
* @param destination - Host of the destination server, which is the server to which the file will be copied.
* @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied.
* @param files - Filename or an array of filenames of script/literature files to copy.
* @param source - Host or IP of the source server, which is the server from which the file will be copied. This argument is optional and if it’s omitted the source will be the current server.
* @param destination - Host or IP of the destination server, which is the server to which the file will be copied.
* @param source - Host of the source server, which is the server from which the file will be copied. This argument is optional and if it’s omitted the source will be the current server.
* @param destination - Host of the destination server, which is the server to which the file will be copied.
* @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied.
* @param host - Host or IP of target server. This is optional. If it is not specified then the function will use the current server as the target server.
* @param host - Host of target server. This is optional. If it is not specified then the function will use the current server as the target server.
* @returns True if specified file exists, and false otherwise.
* @param script - Filename of script. This is case-sensitive.
* @param host - Host or IP of target server the script is located on. This is optional, If it is not specified then the function will se the current server as the target server.
* @param host - Host of target server the script is located on. This is optional, If it is not specified then the function will se the current server as the target server.
* @returns Amount of RAM required to run the specified script on the target server, and 0 if the script does not exist.
* The function takes in an optional hackLvl parameter that can be specified to see what the hack time would be at different hacking levels.
*
* @remarks RAM cost: 0.05 GB
* @param host - Host or IP of target server.
* @param host - Host of target server.
* @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level.
* @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).
* @returns Returns the amount of time in seconds it takes to execute the hack Netscript function. Returns Infinity if called on a Hacknet Server.
* The function takes in an optional hackLvl parameter that can be specified to see what the grow time would be at different hacking levels.
*
* @remarks RAM cost: 0.05 GB
* @param host - Host or IP of target server.
* @param host - Host of target server.
* @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level.
* @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).
* @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.
* The function takes in an optional hackLvl parameter that can be specified to see what the weaken time would be at different hacking levels.
*
* @remarks RAM cost: 0.05 GB
* @param host - Host or IP of target server.
* @param host - Host of target server.
* @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level.
* @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).
* @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.