mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
Gave bit fluming its own message (#974)
This commit is contained in:
parent
3a7ff7880d
commit
5789003d46
@ -10,6 +10,7 @@ import Typography from "@mui/material/Typography";
|
||||
import Tooltip from "@mui/material/Tooltip";
|
||||
import { Settings } from "../../Settings/Settings";
|
||||
import Button from "@mui/material/Button";
|
||||
import { CompletedProgramName } from "@enums";
|
||||
|
||||
const useStyles = makeStyles(() =>
|
||||
createStyles({
|
||||
@ -121,33 +122,52 @@ export function BitverseRoot(props: IProps): React.ReactElement {
|
||||
const [destroySequence, setDestroySequence] = useState(!props.quick);
|
||||
|
||||
if (destroySequence) {
|
||||
return (
|
||||
<CinematicText
|
||||
lines={[
|
||||
"[ERROR] SEMPOOL INVALID",
|
||||
"[ERROR] Segmentation Fault",
|
||||
"[ERROR] SIGKILL RECVD",
|
||||
"Dumping core...",
|
||||
"0000 000016FA 174FEE40 29AC8239 384FEA88",
|
||||
"0010 745F696E 2BBBE394 390E3940 248BEC23",
|
||||
"0020 7124696B 0000FF69 74652E6F FFFF1111",
|
||||
"----------------------------------------",
|
||||
"Failsafe initiated...",
|
||||
`Restarting BitNode-${destroyed}...`,
|
||||
"...........",
|
||||
"...........",
|
||||
"[ERROR] FAILED TO AUTOMATICALLY REBOOT BITNODE",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
]}
|
||||
onDone={() => setDestroySequence(false)}
|
||||
auto={true}
|
||||
/>
|
||||
);
|
||||
let cinematicLines;
|
||||
if (props.flume) {
|
||||
cinematicLines = [
|
||||
`Running ${CompletedProgramName.bitFlume}...`,
|
||||
"...........",
|
||||
"...........",
|
||||
"counter dq 0x0",
|
||||
"mov [counter], EXC",
|
||||
"dec [counter]",
|
||||
"mov EXC, [counter]",
|
||||
"...........",
|
||||
"...........",
|
||||
`[WARN] BitNode-${destroyed} assertion error:`,
|
||||
"Expected inputs to be strictly equal:",
|
||||
"<Number of incoming connections>, <Number of outgoing connections>",
|
||||
"Running full scan...",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
"Hanging connection located, disconnecting...",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
];
|
||||
} else {
|
||||
cinematicLines = [
|
||||
"[ERROR] SEMPOOL INVALID",
|
||||
"[ERROR] Segmentation Fault",
|
||||
"[ERROR] SIGKILL RECVD",
|
||||
"Dumping core...",
|
||||
"0000 000016FA 174FEE40 29AC8239 384FEA88",
|
||||
"0010 745F696E 2BBBE394 390E3940 248BEC23",
|
||||
"0020 7124696B 0000FF69 74652E6F FFFF1111",
|
||||
"----------------------------------------",
|
||||
"Failsafe initiated...",
|
||||
`Restarting BitNode-${destroyed}...`,
|
||||
"...........",
|
||||
"...........",
|
||||
"[ERROR] FAILED TO AUTOMATICALLY REBOOT BITNODE",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
"..............................................",
|
||||
];
|
||||
}
|
||||
return <CinematicText lines={cinematicLines} onDone={() => setDestroySequence(false)} auto={true} />;
|
||||
}
|
||||
|
||||
const nextSourceFileLvl = (n: number): number => {
|
||||
|
Loading…
Reference in New Issue
Block a user