mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 01:03:01 +02:00
fix sleeve memory bug
This commit is contained in:
@@ -20,9 +20,7 @@ export class Program {
|
||||
}
|
||||
|
||||
htmlID(): string {
|
||||
const name = this.name.endsWith(".exe")
|
||||
? this.name.slice(0, -".exe".length)
|
||||
: this.name;
|
||||
const name = this.name.endsWith(".exe") ? this.name.slice(0, -".exe".length) : this.name;
|
||||
return "create-program-" + name;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,8 +71,4 @@ function initCreateProgramButtons() {
|
||||
}
|
||||
}
|
||||
|
||||
export {
|
||||
displayCreateProgramContent,
|
||||
getNumAvailableCreateProgram,
|
||||
initCreateProgramButtons,
|
||||
};
|
||||
export { displayCreateProgramContent, getNumAvailableCreateProgram, initCreateProgramButtons };
|
||||
|
||||
@@ -25,8 +25,7 @@ export const programsMetadata: IProgramCreationParams[] = [
|
||||
name: "NUKE.exe",
|
||||
create: {
|
||||
level: 1,
|
||||
tooltip:
|
||||
"This virus is used to gain root access to a machine if enough ports are opened.",
|
||||
tooltip: "This virus is used to gain root access to a machine if enough ports are opened.",
|
||||
req: requireHackingLevel(1),
|
||||
time: CONSTANTS.MillisecondsPerFiveMinutes,
|
||||
},
|
||||
@@ -36,8 +35,7 @@ export const programsMetadata: IProgramCreationParams[] = [
|
||||
name: "BruteSSH.exe",
|
||||
create: {
|
||||
level: 50,
|
||||
tooltip:
|
||||
"This program executes a brute force attack that opens SSH ports",
|
||||
tooltip: "This program executes a brute force attack that opens SSH ports",
|
||||
req: requireHackingLevel(50),
|
||||
time: CONSTANTS.MillisecondsPerFiveMinutes * 2,
|
||||
},
|
||||
@@ -87,8 +85,7 @@ export const programsMetadata: IProgramCreationParams[] = [
|
||||
name: "DeepscanV1.exe",
|
||||
create: {
|
||||
level: 75,
|
||||
tooltip:
|
||||
"This program allows you to use the scan-analyze command with a depth up to 5",
|
||||
tooltip: "This program allows you to use the scan-analyze command with a depth up to 5",
|
||||
req: requireHackingLevel(75),
|
||||
time: CONSTANTS.MillisecondsPerQuarterHour,
|
||||
},
|
||||
@@ -98,8 +95,7 @@ export const programsMetadata: IProgramCreationParams[] = [
|
||||
name: "DeepscanV2.exe",
|
||||
create: {
|
||||
level: 400,
|
||||
tooltip:
|
||||
"This program allows you to use the scan-analyze command with a depth up to 10",
|
||||
tooltip: "This program allows you to use the scan-analyze command with a depth up to 10",
|
||||
req: requireHackingLevel(400),
|
||||
time: CONSTANTS.MillisecondsPer2Hours,
|
||||
},
|
||||
@@ -109,8 +105,7 @@ export const programsMetadata: IProgramCreationParams[] = [
|
||||
name: "ServerProfiler.exe",
|
||||
create: {
|
||||
level: 75,
|
||||
tooltip:
|
||||
"This program is used to display hacking and Netscript-related information about servers",
|
||||
tooltip: "This program is used to display hacking and Netscript-related information about servers",
|
||||
req: requireHackingLevel(75),
|
||||
time: CONSTANTS.MillisecondsPerHalfHour,
|
||||
},
|
||||
@@ -120,8 +115,7 @@ export const programsMetadata: IProgramCreationParams[] = [
|
||||
name: "AutoLink.exe",
|
||||
create: {
|
||||
level: 25,
|
||||
tooltip:
|
||||
"This program allows you to directly connect to other servers through the 'scan-analyze' command",
|
||||
tooltip: "This program allows you to directly connect to other servers through the 'scan-analyze' command",
|
||||
req: requireHackingLevel(25),
|
||||
time: CONSTANTS.MillisecondsPerQuarterHour,
|
||||
},
|
||||
@@ -131,8 +125,7 @@ export const programsMetadata: IProgramCreationParams[] = [
|
||||
name: "b1t_flum3.exe",
|
||||
create: {
|
||||
level: 1,
|
||||
tooltip:
|
||||
"This program creates a portal to the BitNode Nexus (allows you to restart and switch BitNodes)",
|
||||
tooltip: "This program creates a portal to the BitNode Nexus (allows you to restart and switch BitNodes)",
|
||||
req: bitFlumeRequirements(),
|
||||
time: CONSTANTS.MillisecondsPerFiveMinutes / 20,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user