Each program takes up a certain amount of memory, which the player has to manage, as there is only a limited amount of memory to share. The general procedure is to first run a scan to see what protections the computer has and then run programs matching what the scan revealed. The core of the gameplay is to connect to other computers and run dedicated programs to break the security and acquire superuser privileges on the computer. Along with the terminal, the computers in the game simulate a Unix-like file system, through which the player can explore the computer, and even destroy them by deleting critical system files. Both interfaces are essential for gameplay, though the player can use either as their "main" interface. The main gameplay is done through two large interfaces, a graphical display, and a Unix terminal. The windows have multiple tiling configurations with their own wallpapers and color schemes, which can be found as files as the game progresses. Windows are tiled in a fashion highly reminiscent of the i3 window manager. The game simulates a Unix-like operating system, with every main element of the game's interface having its own window. Prints a raw value or a variable to the Terminal.įormat a string with an array of arguments.Hacknet is a 2015 video game that allows the player to perform simulated computer hacking. Prints one or more values or variables to the Terminal. Queue a toast (bottom-right notification). Terminate current script and start another in 10 seconds. Returns a boolean denoting whether or not the specified server exists. Get the list of servers connected to a server.Ĭheck if any script with a filename is running. Start another script on the current server. Prints a formatted string to the script’s logs. Prints one or more values or variables to the script’s logs. Get a copy of the data from a port without popping it. Returns whether the player has access to the darkweb.Ĭhecks the status of the logging for the given function. Get the security increase for a number of threads.Ĭheck if you have root access on a server. Get the chance of successfully hacking a server. Get the part of money stolen with a single thread. GrowthAnalyzeSecurity(threads, hostname, cores)Ĭalculate the security increase for a number of threads. Spoof money in a server's bank account, increasing the amount available.Ĭalculate the number of grow threads needed to grow a server by a certain multiplier. Get the execution time of a weaken() call. Returns the amount of time in milliseconds that have passed since you last installed Augmentations. Returns the required hacking level of the target server.Ĭalculate your share power. Returns the number of open ports required to successfully run NUKE.exe on the specified server. Returns the minimum security level of the target server. Get the maximum amount of RAM on a server. Get the maximum money available on a server. Defaults to the running script's server if host is not specified. Returns a server object for the given server. GetRunningScript(filename, hostname, args) Get an array of recently killed scripts across all servers. Get cost of upgrading a purchased server to the given ram. GetPurchasedServerUpgradeCost(hostname, ram) Returns an array with the hostnames of all of the servers you have purchased. Returns the maximum RAM that a purchased server can have. Returns the maximum number of servers you can purchase. Get information about the sources of income for this run. Returns a string with the hostname of the server that the script is running on. Returns the player’s current hacking level. Returns the amount of Faction favor required to be able to donate to a faction. Terminates the current script immediately. You should prefer 'sleep' over 'asleep' except when doing very complex UI work.Īdd callback function when the script dies
0 Comments
Leave a Reply. |