2016-11-02 22:45:10 +01:00
|
|
|
CONSTANTS = {
|
|
|
|
//Max level for any skill. Determined by max numerical value in javascript and the skill level
|
|
|
|
//formula in Player.js
|
2017-03-31 23:47:06 +02:00
|
|
|
MaxSkillLevel: 975,
|
2017-02-09 23:40:55 +01:00
|
|
|
|
|
|
|
//How much reputation is needed to join a megacorporation's faction
|
|
|
|
CorpFactionRepRequirement: 250000,
|
2016-11-29 23:56:05 +01:00
|
|
|
|
2017-03-31 23:47:06 +02:00
|
|
|
|
|
|
|
/* Script related things */
|
2016-11-29 23:56:05 +01:00
|
|
|
//Time (ms) it takes to run one operation in Netscript.
|
|
|
|
CodeInstructionRunTime: 1500,
|
2016-12-15 18:51:23 +01:00
|
|
|
|
|
|
|
//Time (seconds) it takes to run one operation in Netscript OFFLINE
|
|
|
|
CodeOfflineExecutionTime: 10,
|
2016-12-01 23:18:18 +01:00
|
|
|
|
2017-03-31 23:47:06 +02:00
|
|
|
//Maximum number of log entries for a script
|
|
|
|
MaxLogCapacity: 20,
|
|
|
|
|
2017-03-31 14:32:04 +02:00
|
|
|
//Programs
|
|
|
|
PortHackProgram: "PortHack.exe",
|
|
|
|
BruteSSHProgram: "BruteSSH.exe",
|
|
|
|
FTPCrackProgram: "FTPCrack.exe",
|
|
|
|
RelaySMTPProgram: "relaySMTP.exe",
|
|
|
|
HTTPWormProgram: "HTTPWorm.exe",
|
|
|
|
SQLInjectProgram: "SQLInject.exe",
|
|
|
|
|
2016-12-01 23:18:18 +01:00
|
|
|
//Text that is displayed when the 'help' command is ran in Terminal
|
2017-02-16 19:52:11 +01:00
|
|
|
HelpText: "analyze Get statistics and information about current machine <br>" +
|
|
|
|
"clear Clear all text on the terminal <br>" +
|
|
|
|
"cls See 'clear' command <br>" +
|
|
|
|
"connect [ip/hostname] Connects to the machine given by its IP or hostname <br>" +
|
|
|
|
"free Check the machine's memory usage<br>" +
|
|
|
|
"hack Hack the current machine<br>" +
|
|
|
|
"help Display this list<br>" +
|
|
|
|
"hostname Displays the hostname of the machine<br>" +
|
|
|
|
"ifconfig Displays the IP address of the machine<br>" +
|
|
|
|
"kill [script name] Stops a script that is running<br>" +
|
|
|
|
"ls Displays all programs and scripts on the machine<br>" +
|
|
|
|
"nano [script name] Text editor - Open up and edit a script<br>" +
|
|
|
|
"netstat Displays all available network connections<br>" +
|
|
|
|
"ps Display all scripts that are currently running<br>" +
|
|
|
|
"rm Delete a script/program from the machine. (WARNING: Permanent)<br>" +
|
|
|
|
"run [script/program] Execute a program or a script<br>" +
|
2017-03-31 23:47:06 +02:00
|
|
|
"scan See 'netstat' command<br>" +
|
|
|
|
"tail Display script logs (logs contain details about active scripts)"
|
2017-02-16 19:52:11 +01:00
|
|
|
"telnet [ip/hostname] See 'connect' command<br>" +
|
|
|
|
"top Display all running scripts and their RAM usage<br>",
|
2016-12-01 23:18:18 +01:00
|
|
|
|
2017-03-31 23:47:06 +02:00
|
|
|
/* Tutorial related things */
|
|
|
|
TutorialGettingStartedText:
|
|
|
|
|
|
|
|
TutorialNetworkingText:
|
|
|
|
TutorialHackingText:
|
|
|
|
TutorialScriptsText:
|
|
|
|
TutorialTravelingText:
|
|
|
|
TutorialJobsText:
|
|
|
|
TutorialFactionsText:
|
|
|
|
TutorialAugmentationsText:
|
2016-12-21 17:33:00 +01:00
|
|
|
|
2017-01-13 23:20:38 +01:00
|
|
|
|
|
|
|
|
2017-01-31 04:41:42 +01:00
|
|
|
|
2017-01-13 23:20:38 +01:00
|
|
|
|
|
|
|
|
2016-11-02 22:45:10 +01:00
|
|
|
}
|