mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-08 03:24:48 +01:00
Fixed bug that caused blank black screen when destroying/resetting BitNodes
This commit is contained in:
56266
dist/engine.bundle.js
vendored
56266
dist/engine.bundle.js
vendored
File diff suppressed because one or more lines are too long
111029
dist/vendor.bundle.js
vendored
111029
dist/vendor.bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Bitburner</title>
|
<title>Bitburner - development</title>
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="dist/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="dist/apple-touch-icon.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="dist/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="dist/favicon-32x32.png">
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="dist/favicon-16x16.png">
|
<link rel="icon" type="image/png" sizes="16x16" href="dist/favicon-16x16.png">
|
||||||
@ -471,7 +471,8 @@
|
|||||||
|
|
||||||
<!-- Tutorial content -->
|
<!-- Tutorial content -->
|
||||||
<div id="tutorial-container" class="generic-menupage-container">
|
<div id="tutorial-container" class="generic-menupage-container">
|
||||||
<a id="tutorial-getting-started-link" class="a-link-button" href="http://bitburner.wikia.com/wiki/Chapt3rs_Guide_to_Getting_Started_with_Bitburner" target="_blank"> Getting Started </a>
|
<a id="tutorial-getting-started-link" class="a-link-button"
|
||||||
|
href="http://bitburner.wikia.com/wiki/Chapt3rs_Guide_to_Getting_Started_with_Bitburner" target="_blank"> Getting Started </a>
|
||||||
<a id="tutorial-networking-link" class="a-link-button"> Servers & Networking </a>
|
<a id="tutorial-networking-link" class="a-link-button"> Servers & Networking </a>
|
||||||
<a id="tutorial-hacking-link" class="a-link-button"> Hacking </a>
|
<a id="tutorial-hacking-link" class="a-link-button"> Hacking </a>
|
||||||
<a id="tutorial-scripts-link" class="a-link-button"> Scripts </a>
|
<a id="tutorial-scripts-link" class="a-link-button"> Scripts </a>
|
||||||
@ -480,7 +481,8 @@
|
|||||||
<a id="tutorial-jobs-link" class="a-link-button"> Companies and Infiltration </a>
|
<a id="tutorial-jobs-link" class="a-link-button"> Companies and Infiltration </a>
|
||||||
<a id="tutorial-factions-link" class="a-link-button"> Factions </a>
|
<a id="tutorial-factions-link" class="a-link-button"> Factions </a>
|
||||||
<a id="tutorial-augmentations-link" class="a-link-button"> Augmentations </a>
|
<a id="tutorial-augmentations-link" class="a-link-button"> Augmentations </a>
|
||||||
<a id="tutorial-shortcuts-link" class="a-link-button" href="https://bitburner.wikia.com/wiki/Shortcuts" target="_blank"> Keyboard Shortcuts </a>
|
<a id="tutorial-shortcuts-link" class="a-link-button"
|
||||||
|
href="https://bitburner.wikia.com/wiki/Shortcuts" target="_blank"> Keyboard Shortcuts </a>
|
||||||
|
|
||||||
<a id="tutorial-back-button" class="a-link-button"> Back </a>
|
<a id="tutorial-back-button" class="a-link-button"> Back </a>
|
||||||
<p id="tutorial-text"> </p>
|
<p id="tutorial-text"> </p>
|
||||||
|
@ -506,11 +506,10 @@ let CONSTANTS = {
|
|||||||
|
|
||||||
LatestUpdate:
|
LatestUpdate:
|
||||||
`
|
`
|
||||||
v0.40.5
|
v0.41.0
|
||||||
* Added codingcontract.getContractType() Netscript function
|
* b1t_flum3.exe now takes significantly less time to create
|
||||||
* Bug Fix: codingcontract.getData() Netscript function now returns arrays by value rather than reference
|
* Bug Fix: Fixed a bug that sometimes caused a blank black screen when destroying/resetting/switching BitNodes
|
||||||
* Bug Fix: Decreased highest possible data value for 'Find Largest Prime Factor' Coding Contract (to avoid hangs when solving it)
|
* Bug Fix: Netscript calls that throw errors will now no longer cause the 'concurrent calls' error if they are caught in the script. i.e. try/catch should now work properly in scripts
|
||||||
* Bug Fix: Fixed a bug that caused game to freeze during Coding Contract generation
|
|
||||||
`
|
`
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ const Programs = {
|
|||||||
level: 1,
|
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: function() {return Player.sourceFiles.length > 0 && Player.hacking_skill >= 1},
|
req: function() {return Player.sourceFiles.length > 0 && Player.hacking_skill >= 1},
|
||||||
time: CONSTANTS.MillisecondsPerFiveMinutes / 5,
|
time: CONSTANTS.MillisecondsPerFiveMinutes / 20,
|
||||||
}),
|
}),
|
||||||
// special because you can't create it.
|
// special because you can't create it.
|
||||||
Flight: new Program("fl1ght.exe"),
|
Flight: new Program("fl1ght.exe"),
|
||||||
|
@ -18,7 +18,6 @@ import {yesNoBoxCreate, yesNoBoxGetYesButton,
|
|||||||
//Returns promise
|
//Returns promise
|
||||||
function writeRedPillLine(line) {
|
function writeRedPillLine(line) {
|
||||||
return new Promise(function(resolve, reject) {
|
return new Promise(function(resolve, reject) {
|
||||||
|
|
||||||
var container = document.getElementById("red-pill-content");
|
var container = document.getElementById("red-pill-content");
|
||||||
var pElem = document.createElement("p");
|
var pElem = document.createElement("p");
|
||||||
container.appendChild(pElem);
|
container.appendChild(pElem);
|
||||||
@ -54,6 +53,10 @@ function writeRedPillLetter(pElem, line, i=0) {
|
|||||||
|
|
||||||
let redPillFlag = false;
|
let redPillFlag = false;
|
||||||
function hackWorldDaemon(currentNodeNumber, flume=false) {
|
function hackWorldDaemon(currentNodeNumber, flume=false) {
|
||||||
|
// Clear Red Pill screen first
|
||||||
|
var container = document.getElementById("red-pill-content");
|
||||||
|
removeChildrenFromElement(container);
|
||||||
|
|
||||||
redPillFlag = true;
|
redPillFlag = true;
|
||||||
Engine.loadRedPillContent();
|
Engine.loadRedPillContent();
|
||||||
return writeRedPillLine("[ERROR] SEMPOOL INVALID").then(function() {
|
return writeRedPillLine("[ERROR] SEMPOOL INVALID").then(function() {
|
||||||
@ -301,7 +304,7 @@ function createBitNodeYesNoEventListeners(newBitNode, destroyedBitNode, flume=fa
|
|||||||
Player.gainIntelligenceExp(-5);
|
Player.gainIntelligenceExp(-5);
|
||||||
}
|
}
|
||||||
redPillFlag = false;
|
redPillFlag = false;
|
||||||
var container = document.getElementById("red-pill-container");
|
var container = document.getElementById("red-pill-content");
|
||||||
removeChildrenFromElement(container);
|
removeChildrenFromElement(container);
|
||||||
|
|
||||||
//Set new Bit Node
|
//Set new Bit Node
|
||||||
|
Reference in New Issue
Block a user