Commit Graph

3010 Commits

Author SHA1 Message Date
Thad Guidry
cc9a88df80
fix grammar typo and simplify dark web instructions 2022-01-05 16:15:48 -06:00
Martin Fournier
4b06bdd89c Add detailed ram cost to mem command 2022-01-05 16:41:48 -05:00
Sage Pointer
0bd8d3cb8f Fix some achievements not triggered if hacked with backdoor command
Moving to BitVerse and returning from function happened before setting backdoorInstalled property to true, so Achievement Handler believed the current BitNode was not finished (unless we applied backdoor through hack command, which has correct code).
2022-01-05 22:23:10 +02:00
Martin Fournier
46fe8cc94c Change SuppressSaveToast to only work on auto-save
Before this, this setting also suppressed the toast for the manual clicks.
2022-01-05 14:56:28 -05:00
Olivier Gagnon
7e6976986f rm sf4 penalty 2022-01-05 12:37:49 -05:00
hydroflame
b718fc3ef7
Merge pull request #2343 from MartinFournier/feature/set-theme
Add ns.ui.setTheme() and ns.ui.resetTheme()
2022-01-05 10:17:51 -05:00
hydroflame
78de076e9c
Merge pull request #2345 from woody-lam-cwl/cache-level-tooltip
Fix #2278
2022-01-05 10:17:05 -05:00
hydroflame
ef3c7494cc
Merge pull request #2354 from TheMas3212/fix-1862
Fixes 1862 Combat gang members can do hacking tasks via API and vice versa
2022-01-05 10:16:52 -05:00
hydroflame
f798115259
Merge branch 'dev' into nan-donation 2022-01-05 10:15:40 -05:00
hydroflame
74ef8994bb
Merge pull request #2353 from TheMas3212/fix-1860
Fix 1860 donate to gang faction possible via singularity
2022-01-05 10:14:49 -05:00
theit8514
41adedf1bc Update getOwnedSourceFiles RAM cost
Not a singularity function
2022-01-05 07:12:41 -05:00
TheMas3212
c9f0c9c553
Fixes 1862 Combat gang members can do hacking tasks via API and vice versa 2022-01-05 22:02:25 +11:00
TheMas3212
860e77f109
Add check to see if player is in gang before getting Gang Faction 2022-01-05 21:41:04 +11:00
TheMas3212
538a440b7e
Fixes #1860 donate to gang faction possible via singularity
also fixes bug i found while testing this where its possible to donate
to a faction you arent a member of
2022-01-05 21:36:09 +11:00
Olivier Gagnon
fc888505ae rm console log 2022-01-05 01:13:48 -05:00
Olivier Gagnon
feb2a651f6 fix tiem compression 2022-01-05 01:13:11 -05:00
Olivier Gagnon
925bed4430 fix scp 2022-01-04 22:25:41 -05:00
Woody Lam
3ca36fca95 Fix #2275 accepts NaN donation bug 2022-01-05 02:05:56 +00:00
Woody Lam
9a0062b376 Show correct hash capacity gain on cache level upgrade tooltip 2022-01-05 02:02:45 +00:00
Olivier Gagnon
faf8389bef v1.3 2022-01-04 20:46:10 -05:00
Martin Fournier
c9ca1e9d37 Add ns.ui.setTheme() and ns.ui.resetTheme() 2022-01-04 20:33:18 -05:00
Olivier Gagnon
4860d6dc83 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-01-04 19:09:38 -05:00
Olivier Gagnon
c59a267437 change sf4 2022-01-04 19:09:34 -05:00
hydroflame
07b12ca6fb
Merge pull request #2332 from woody-lam-cwl/nuke-runtime-error
Fix #2329 NUKE.exe runtime error
2022-01-04 19:04:11 -05:00
hydroflame
1f46d69430
Merge pull request #2334 from woody-lam-cwl/getweakentime-typo
Fix #2330 typo
2022-01-04 19:03:31 -05:00
Woody Lam
d7cd5b0d96 Fix #2230 typo (again) 2022-01-04 22:40:41 +00:00
nickofolas
c445df4168 Allow notifications to be dismissed by clicking 2022-01-04 16:25:00 -06:00
Woody Lam
f65e546c32 Fix #2329 NUKE.exe runtime error 2022-01-04 21:40:21 +00:00
theit8514
a5d69248dd Replace regex import with acorn AST parser 2022-01-04 13:55:01 -05:00
hydroflame
772317a4f1
Merge pull request #2317 from nickofolas/validate-ram-purchase
Validate RAM amount in ns.purchaseServer()
2022-01-04 12:58:27 -05:00
hydroflame
225de0faf6
Merge pull request #2316 from nickofolas/fix-newline
Fix whitespace in Bladeburner console
2022-01-04 12:57:17 -05:00
hydroflame
0dbb067eae
Merge pull request #2318 from nickofolas/fix-throw-undefined
Fix throw {nullish} errors
2022-01-04 12:57:04 -05:00
hydroflame
0d02ce6308
Merge pull request #2326 from MartinFournier/feature/editor-wordwrap-option
Add wordWrap option to Monaco
2022-01-04 12:54:50 -05:00
hydroflame
042189b187
Merge pull request #2324 from Dexalt142/editor-theme-one-dark
feat (editor theme): atom one dark theme
2022-01-04 12:54:34 -05:00
Olivier Gagnon
c9d40ccf95 added new exploit 2022-01-04 12:21:17 -05:00
Olivier Gagnon
449df63dd8 fix tuto 2022-01-04 10:58:47 -05:00
Martin Fournier
f0161367af Add wordWrap option to Monaco 2022-01-04 09:41:44 -05:00
Dexalt142
914b06ec88 feat (editor theme): atom one dark theme 2022-01-04 18:39:09 +07:00
nickofolas
fff1de63d3 Fix throw (nullish) errors 2022-01-03 17:26:22 -06:00
nickofolas
23b21e63a0 Validate RAM amount in ns.purchaseServer() 2022-01-03 17:00:32 -06:00
nickofolas
88db255f29 Fix whitespace in Bladeburner console 2022-01-03 16:42:49 -06:00
Olivier Gagnon
dfae337d26 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-01-03 15:49:05 -05:00
Olivier Gagnon
7655b91e2a rm some bullshit 2022-01-03 15:45:56 -05:00
hydroflame
0368456d1e
Merge pull request #2313 from MartinFournier/fix/import-save
Fix import save issue with large files
2022-01-03 15:44:53 -05:00
hydroflame
8191716562
Merge pull request #2306 from MartinFournier/fix/storage-tooltip
Fix new lines in corp storage tooltip
2022-01-03 15:44:31 -05:00
hydroflame
69ed320b93
Merge pull request #2287 from daanflore/dev
Saw in vscode that some typedefenitions where not the same as how they work in the game
2022-01-03 15:44:08 -05:00
hydroflame
8e0b5e3ecd
Merge pull request #2288 from pan-kuleczka/dev
ns.hackAnalyze definition fix to match markdown
2022-01-03 15:43:48 -05:00
hydroflame
ea3a1e5a2a
Merge pull request #2309 from erplsf/dev
fix ns.run args type definition
2022-01-03 15:43:29 -05:00
Martin Fournier
dfabc0ac11 Fix import save issue with large files
The base64 regex was throwing a maximum stack size exceeded error with
large files.
The whole check was a bit redundant since we already try to parse the
file from base64 just below.
2022-01-03 11:02:29 -05:00
Martin Fournier
6c3618cb65 Check userAgent before running electron init 2022-01-03 10:33:58 -05:00
Martin Fournier
6d8df6744e Add toasts & terminal funcs to electron app
Attach functions to the window object so that the wrapper can executeJs
to display messages to the player
2022-01-03 10:32:01 -05:00
Andriy Mykhaylyk
38923af436
fix ns.run args type definition 2022-01-03 16:10:22 +01:00
Martin Fournier
057a229759 Fix new lines in corp storage tooltip
Use react fragments instead of strings so that the <br /> is not
escaped.
2022-01-03 09:31:07 -05:00
daan flore
8c851b577a Adding correct types at run args command 2022-01-02 20:40:57 +01:00
daan flore
409fa29b65 Merge branch 'dev' of https://github.com/daanflore/bitburner-1 into dev 2022-01-02 19:24:19 +01:00
daan flore
74ee7f371d String value should also be possible to write 2022-01-02 19:24:16 +01:00
pan-kuleczka
62c19c9078 hackAnalyze definition fix to match markdown 2022-01-02 18:56:52 +01:00
daanflore
f1592a77fb
Merge branch 'danielyxie:dev' into dev 2022-01-02 18:55:27 +01:00
daan flore
f8607ce73e Adding dorgotten typescript defenitions to file 2022-01-02 18:54:11 +01:00
Olivier Gagnon
d0214c1fed fix some weird eval 2022-01-02 12:41:54 -05:00
Olivier Gagnon
4fb1dbf2e3 fix some weird eval 2022-01-02 12:13:01 -05:00
Olivier Gagnon
1e0e9f7bd7 change button text 2022-01-02 11:55:06 -05:00
hydroflame
cd9fad06d0
Merge pull request #2231 from ErzengelLichtes/use-numeraljs-for-ram
Use numeral.js to format memory, allow use of GiB with an option
2022-01-02 11:43:33 -05:00
hydroflame
d4eab92ed0
Merge pull request #2224 from MartinFournier/fix/joesguns-symbol
Update JoesGuns StockSymbols to match new key
2022-01-02 11:42:54 -05:00
hydroflame
01cb0cca81
Merge pull request #2227 from FaintSpeaker/alias-regex-not-matching-exactly
Alias command regular expression mismatch
2022-01-02 11:41:50 -05:00
hydroflame
a1ec54ff90
Merge pull request #2241 from billyvg/fix/vim-save
fix(editor): Fix vim mode quit and add `wq`
2022-01-02 11:40:40 -05:00
hydroflame
52c82f026c
Merge pull request #2240 from JotaroS/stock-market-ui-fix
UI Fix: text style on Investopedia
2022-01-02 11:40:32 -05:00
hydroflame
a6be7ecc3e
Merge pull request #2243 from TheMas3212/dev
Add Function Call signatures to ns.kill so typescript is able to call ns.kill correctly
2022-01-02 11:39:56 -05:00
hydroflame
1a07399312
Merge pull request #2248 from MartinFournier/feature/confirm-save-import
Add validation & confirm prompt for save import
2022-01-02 11:39:10 -05:00
hydroflame
8cfb355ca2
Merge pull request #2250 from MartinFournier/feature/backdoored-loc-tooltip
Add tooltip on backdoored location name
2022-01-02 11:38:01 -05:00
hydroflame
c5248fabb3
Merge pull request #2249 from MartinFournier/feature/add-themes
Add new community themes from discord
2022-01-02 11:37:51 -05:00
hydroflame
d53b87b8ce
Merge pull request #2251 from MartinFournier/fix/corp-storage-tooltip
Fix #2129: Add linebreaks in corp storage tooltips
2022-01-02 11:37:45 -05:00
hydroflame
ca51e2144f
Merge pull request #2253 from MartinFournier/fix/disable-alpha-color-picker
Remove alpha from color picker
2022-01-02 11:37:30 -05:00
hydroflame
c8667b5194
Merge pull request #2259 from jhollowe-forks/jhollowe-patch-1
Fix typo in AugmentationHelpers.tsx
2022-01-02 11:37:19 -05:00
hydroflame
4486d7d454
Merge pull request #2266 from TheMas3212/fix-1752
fixes #1752 add check when applying for job to make sure company actually has that job position
2022-01-02 11:36:44 -05:00
Brandon Bothell
dd4b548917
docs: comma for good measure 2022-01-02 02:40:03 -05: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
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
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
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