Commit Graph

4440 Commits

Author SHA1 Message Date
pan-kuleczka
8428264f05 Fixed ambiguous NS.hackAnalyze() description 2022-01-02 01:09:44 +01:00
Thad Guidry
4096ce4a9d
fix typo for @param host in getScriptRam() 2022-01-01 14:08:45 -06:00
TheMas3212
1dcde649be
fixes #1752 add check when applying for job to make sure company
actually has that job position
2022-01-02 03:08:16 +11:00
TheMas3212
6251678532
clear currentScript to null not undefined 2022-01-02 02:16:32 +11:00
TheMas3212
a20dd47ec6
fixes #2119 close open scripts that exist on deleted servers
this prevents a crash by trying to open the script editor with a script
open that exists on a server that has been deleted

this is achieved by filtering the list of open scripts whenever the
editor is opened and removing any that exist on a server that has been
deleted
it also handles the case of the selected script being one that was
removed in which case it defaults to selecting the first script
2022-01-02 02:10:10 +11:00
John Hollowell
2e0242ccbf
Fix typo in AugmentationHelpers.tsx 2021-12-31 18:59:39 -05:00
Martin Fournier
59d8e1f979 Remove alpha from color picker
rgba is not currently supported in the themes, so might as well remove
the option from the picker.
2021-12-31 10:13:53 -05:00
TheMas3212
8707dc7079
remove extra function signature for ns.kill() 2021-12-31 23:33:23 +11:00
TheMas3212
e3e1770439
Fix Typedef for getScriptIncome/getScriptExpGain
Current Typedef does not allow using the run with no arguments for
totals versions
2021-12-31 23:31:46 +11:00
Martin Fournier
c6ec27781b Fix #2129: Add linebreaks in corp storage tooltips 2021-12-31 06:45:49 -05:00
Martin Fournier
50f41e79e6 Add tooltip on backdoored location name 2021-12-31 06:23:52 -05:00
Martin Fournier
2637653d29 Add new community themes from discord 2021-12-31 05:55:46 -05:00
Martin Fournier
2b7464ebb7 Add validation & confirm prompt for save import 2021-12-31 05:32:52 -05:00
Martin Fournier
b402cc7f6e Add warning on game close if user launched browser 2021-12-31 04:22:04 -05:00
Martin Fournier
2189c5b663 Add documentation for electron app build
Also adds a step in the build to run npm install in the electron
subfolder
2021-12-30 21:45:57 -05:00
TheMas3212
f3aed87fa4
Fix Typing on kill in NetscriptFunctions.ts
forgot to mark hostname as optional
2021-12-31 11:12:43 +11:00
TheMas3212
31ed5d8f64
Add Function Call signatures to ns.kill so typescript is able to call
ns.kill(pid)
previously it will fail to compile due to not providing a host argument
2021-12-31 10:58:56 +11:00
Billy Vong
38366e45db fix(editor): Fix vim mode quit and add "wq"
This changes `:q` to be quit (w/o saving) and added `:wq` to save *and* close.
2021-12-30 13:14:54 -05:00
JotaroS
351d4151bb fixed text style Investopedia 2021-12-30 18:50:22 +01:00
Martin Fournier
bc0791840f Add launch option to directly export save game
If --export-save is set, it will not launch the index.html and instead
launch a blank page. It then reads from the IndexedDb to fetch the
bitburnerSave value and prompts a save file dialog.
2021-12-30 11:51:15 -05:00
Martin Fournier
bf1a2b56ba Use global references for electron event handlers
I messed up the handlers reference in the last commit so the events
were not properly attached. Changed it to use global variables for now.
2021-12-30 09:12:55 -05:00
ErzengelLichtes
8f3da16ecf Use numeral.js to format memory, allow use of GiB with an option
numeral.js has a formatter for both kilobyte and kibibyte, so why use a custom formatter that only goes up to exabyte?
Also added a setting to allow people who really want to see GiB to enable that, even if it doesn't make sense.
2021-12-29 15:51:59 -08:00
hydroflame
b578e09986
Merge pull request #2218 from MartinFournier/feature/http-server-auth
Add authorization token to file system api
2021-12-29 14:26:16 -05:00
FaintSpeaker
d823b5f28f Update the addAlias/addGlobalAlias calls to fetch the correct capturing groups. 2021-12-29 14:04:58 -05:00
FaintSpeaker
7a0fdb9ce9 This regular expression expects 7 potential matches.
1: The whole string
2: the alias name
3 & 4: the command text in two locations
5 & 6: the quoted command text in two styles
7: the group that selects between the two qoted styles.
2021-12-29 13:56:26 -05:00
FaintSpeaker
c5284d3b02 Alter the standardSuccess alert to use the successlight color, to be consistent with all other toast notification behaviours. 2021-12-29 13:51:18 -05:00
FaintSpeaker
fbb2f4b9f3 Add success to the palette that's being passed to create theme. Mui was using default colors without this inclusion, causing the success colors in it's snackbar to be the wrong colors. 2021-12-29 13:50:44 -05:00
FaintSpeaker
c619191173 When refreshing the theme, apply the black color to the body background color. 2021-12-29 12:26:40 -05:00
FaintSpeaker
ddbb37c2d1 Add the black property to the theme interfaces, so that it can be used in the project elsewhere. 2021-12-29 12:12:04 -05:00
FaintSpeaker
edfefcceda Use the white property to replace the hard-coded "white" in the city map. 2021-12-29 12:08:14 -05:00
FaintSpeaker
106b8e13a3 Use the white property to replace the hard-coded "white" in the world map. 2021-12-29 12:07:33 -05:00
Martin Fournier
1b41e3326e Update JoesGuns StockSymbols to match new key 2021-12-29 12:03:29 -05:00
Olivier Gagnon
72d9770a8e Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-29 12:02:23 -05:00
FaintSpeaker
b3c5465ac2 Add the white property to the theme interfaces, so that it can be used in the project elsewhere. 2021-12-29 12:00:02 -05:00
hydroflame
5c5cc9708d
Merge pull request #2172 from theit8514/script-caching
Cache the blobs generated by scripts
2021-12-29 11:53:30 -05:00
hydroflame
636fc7cda0
Merge pull request #2204 from ErzengelLichtes/fix-port-validation
DRY: Consolidated the code for retrieving a port so it will have consistent errors checks.
2021-12-29 11:30:18 -05:00
pigalot
ac129f860a
Merge pull request #1 from danielyxie/dev
Update from main Repo
2021-12-29 14:49:53 +00:00
Martin Fournier
a098289856 Refactor electron app into multiple files
Gracefully handle http-server start error & cleanup logs
2021-12-29 08:46:56 -05:00
Olivier Gagnon
383e56e9c8 floor thread count 2021-12-29 02:51:41 -05:00
hydroflame
91243f4742
Merge pull request #2213 from dou867/dev
fix joes guns org name and stock name do not match.
2021-12-29 02:25:51 -05:00
Olivier Gagnon
04f2cfe522 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-29 02:04:28 -05:00
Olivier Gagnon
0fc95e6215 text editor improvements 2021-12-29 02:04:24 -05:00
hydroflame
9673b6f31d
Merge pull request #2170 from theit8514/mv-overwrite
Fix mv overwriting script files
2021-12-29 01:58:37 -05:00
hydroflame
3c3f482e7b
Merge pull request #2153 from MartinFournier/fix/sleeves-skill-progress
Fix #2021: Handle sleeves xp in stats overview
2021-12-29 01:54:28 -05:00
Martin Fournier
5d7d72a3e2 Add authorization token to file system api 2021-12-28 15:37:22 -05:00
hydroflame
cc4f07d037
Merge pull request #2175 from Xynrati/patch-3
Removing old comment about removed parameter
2021-12-28 11:59:41 -05:00
hydroflame
6eb8b2adf9
Merge pull request #2214 from alkemann/patch-2
Fixed typo
2021-12-28 11:28:16 -05:00
Alexander Morland
aaf1ad4ae5
Fixed typo
needed to fix docs
2021-12-28 17:27:21 +01:00
Xynrati
ab5a2a8297
Update bitburner.ns.getweakentime.md 2021-12-28 08:07:56 -08:00
Xynrati
f98968f8b2
Update bitburner.ns.getgrowtime.md 2021-12-28 08:07:35 -08:00