mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
commit
a10ce66cdd
22
dist/vendor.bundle.js
vendored
22
dist/vendor.bundle.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -114,7 +114,7 @@ export const CONSTANTS: {
|
||||
TotalNumBitNodes: number;
|
||||
LatestUpdate: string;
|
||||
} = {
|
||||
Version: "0.58.0",
|
||||
Version: "0.58.1",
|
||||
|
||||
// Speed (in ms) at which the main loop is updated
|
||||
_idleSpeed: 200,
|
||||
@ -281,64 +281,6 @@ export const CONSTANTS: {
|
||||
TotalNumBitNodes: 24,
|
||||
|
||||
LatestUpdate: `
|
||||
v0.58.0 - 2021-10-27 Road to Steam (hydroflame & community)
|
||||
-------------------------------------------
|
||||
|
||||
** Announcement **
|
||||
|
||||
* To prepare for Steam we will fix some inconsistencies in the Netscript API. Ideally we can also write a
|
||||
save file migration that will automatically convert all breaking changes in your scripts without any
|
||||
player input.
|
||||
|
||||
** BREAKING (kindof) **
|
||||
|
||||
* All stock market functions are now under the 'stock' namespace, like 'hacknet'
|
||||
However when you load your game with v0.58.0 for the first time it should automatically convert everything.
|
||||
|
||||
** SF -1 **
|
||||
|
||||
* new SF -1: Reality Alteration
|
||||
|
||||
** Gang **
|
||||
|
||||
* Ascension formula now better
|
||||
* Karma requirement now much lower in most nodes
|
||||
* Territory heavily penalizes gains
|
||||
* T.R.P. not available outside BN2.
|
||||
|
||||
** Netscript **
|
||||
|
||||
* It is no longer possible to send anything but strings or numbers to other scripts. (prevents exploits)
|
||||
* Improve code for some netscript functions (@omuretsu)
|
||||
|
||||
** Script Editor **
|
||||
|
||||
* Added Solarized light/dark as theme (@CalvinTrops)
|
||||
* Added theme clo
|
||||
* Fixed sleeve namespace smart autocomplete.
|
||||
|
||||
** Hacknet Servers **
|
||||
|
||||
* Cores affect grow/weaken like they do on home computer
|
||||
|
||||
** Infiltration **
|
||||
|
||||
* Slash game modified to be easier.
|
||||
|
||||
** Misc. **
|
||||
|
||||
* Fix typo in corp (@Saynt_Garmo)
|
||||
* Fixed a bug where corp wouldn't let you buyback shares. (@Saynt_Garmo)
|
||||
* Fixed a bug where sleeves couldn't perform some crimes. (@Saynt_Garmo)
|
||||
* Hospitalization and Eating noodles are now toasts (@Saynt_Garmo)
|
||||
* Fixed some repeated code (@omuretsu)
|
||||
* Fixed Character Overview preventing clicks underneath it even when hidden. (@omuretsu)
|
||||
* Fixed typo in tutorial. (@omuretsu)
|
||||
* Create Programs and Factions invitation badges now dissapear when you open their respective pages.
|
||||
* Add killall script in character overview.
|
||||
* Fixed bug in corp that made last city production be the production for all cities for newly created product.
|
||||
* Fix bug that allowed reputation to transfer to new jobs.
|
||||
* Fixed memory leak with ns2.
|
||||
* nerf noodle bar
|
||||
v1.0.0 cutover on 2021-11-10
|
||||
`,
|
||||
};
|
||||
|
@ -290,12 +290,15 @@ function loadGame(saveString: string): boolean {
|
||||
try {
|
||||
const ver = JSON.parse(saveObj.VersionSave, Reviver);
|
||||
evaluateVersionCompatibility(ver);
|
||||
|
||||
console.log(ver);
|
||||
console.log(CONSTANTS.Version);
|
||||
if (window.location.href.toLowerCase().includes("bitburner-beta")) {
|
||||
// Beta branch, always show changes
|
||||
createBetaUpdateText();
|
||||
} else if (ver != CONSTANTS.Version) {
|
||||
createNewUpdateText();
|
||||
createNewUpdateText();
|
||||
createNewUpdateText();
|
||||
}
|
||||
} catch (e) {
|
||||
createNewUpdateText();
|
||||
@ -304,15 +307,22 @@ function loadGame(saveString: string): boolean {
|
||||
createNewUpdateText();
|
||||
}
|
||||
|
||||
createNewUpdateText();
|
||||
createNewUpdateText();
|
||||
createNewUpdateText();
|
||||
return true;
|
||||
}
|
||||
|
||||
function createNewUpdateText(): void {
|
||||
dialogBoxCreate(
|
||||
"New update!<br>" +
|
||||
"Please report any bugs/issues through the github repository " +
|
||||
"or the Bitburner subreddit (reddit.com/r/bitburner).<br><br>" +
|
||||
CONSTANTS.LatestUpdate,
|
||||
setTimeout(
|
||||
() =>
|
||||
dialogBoxCreate(
|
||||
"New update!<br>" +
|
||||
"Please report any bugs/issues through the github repository " +
|
||||
"or the Bitburner subreddit (reddit.com/r/bitburner).<br><br>" +
|
||||
CONSTANTS.LatestUpdate,
|
||||
),
|
||||
1000,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,13 @@ export class Terminal implements ITerminal {
|
||||
commandHistory: string[] = [];
|
||||
commandHistoryIndex = 0;
|
||||
|
||||
outputHistory: (Output | Link | RawOutput)[] = [new Output(`Bitburner v${CONSTANTS.Version}`, "primary")];
|
||||
outputHistory: (Output | Link | RawOutput)[] = [
|
||||
new Output(`Bitburner v${CONSTANTS.Version}`, "primary"),
|
||||
new Output(
|
||||
`v1.0.0 cutover on 2021-11-10, see https://github.com/danielyxie/bitburner/blob/v1.0.0/doc/source/v1.0.0_migration.rst`,
|
||||
"primary",
|
||||
),
|
||||
];
|
||||
|
||||
// True if a Coding Contract prompt is opened
|
||||
contractOpen = false;
|
||||
@ -546,7 +552,13 @@ export class Terminal implements ITerminal {
|
||||
}
|
||||
|
||||
clear(): void {
|
||||
this.outputHistory = [new Output(`Bitburner v${CONSTANTS.Version}`, "primary")];
|
||||
this.outputHistory = [
|
||||
new Output(`Bitburner v${CONSTANTS.Version}`, "primary"),
|
||||
new Output(
|
||||
`v1.0.0 cutover on 2021-11-10, see https://github.com/danielyxie/bitburner/blob/v1.0.0/doc/source/v1.0.0_migration.rst`,
|
||||
"primary",
|
||||
),
|
||||
];
|
||||
TerminalEvents.emit();
|
||||
TerminalClearEvents.emit();
|
||||
}
|
||||
|
@ -7,5 +7,6 @@ export function dialogBoxCreate(txt: string | JSX.Element): void {
|
||||
AlertEvents.emit(txt);
|
||||
} else {
|
||||
AlertEvents.emit(<span dangerouslySetInnerHTML={{ __html: txt }} />);
|
||||
console.log('emit"');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user