Commit Graph

6082 Commits

Author SHA1 Message Date
hydroflame
1e21689e95
Merge pull request #2154 from danielyxie/dev
bugfix
2021-12-23 11:16:56 -05:00
Martin Fournier
6458440193 Fix #2021: Handle sleeves xp in stats overview 2021-12-23 09:11:08 -05:00
Martin Fournier
ea03889082 Crash render process when javascript won't execute
Prevents the renderer process staying up when the user scripts are
waiting for an unresolved promise.
2021-12-23 07:48:01 -05:00
Hedrauta
693c6480a0 as close as possible
Sadly, i can't color specific variables, because of monaco itself.
Did my best for this. 😉
2021-12-23 07:27:58 +01:00
hydroflame
c056ef2854
Merge pull request #2145 from mikomyazaki/2137-run-cct
Helptext for run now mentions coding contracts
2021-12-22 23:20:27 -05:00
hydroflame
eee72aa8d2
Merge pull request #2148 from TheMas3212/dev
modify BasicHGWOptions definition to mark threads parameter as optional
2021-12-22 22:56:23 -05:00
TheMas3212
e0aaa383a4
modify BasicHGWOptions definition to mark threads parameter as optional
this is used by hack, grow and weaken all of which dont require it to be defined
2021-12-23 14:42:06 +11:00
Andrew Cooper
7805b72457 'help run' docs now mentions coding contracts. 2021-12-23 01:23:57 +00:00
Olivier Gagnon
88151efa61 ext use base64 2021-12-22 19:56:43 -05:00
hydroflame
795f8b4d2b Merge pull request #2140 from danielyxie/mychanges
mychanges
2021-12-22 19:19:39 -05:00
hydroflame
bfdfee2a68
Merge branch 'dev' into mychanges 2021-12-22 16:16:24 -05:00
Olivier Gagnon
d2d6c33fc8 mychanges 2021-12-22 16:15:56 -05:00
hydroflame
dce7217fc5
Merge pull request #2062 from MartinFournier/fix/dangling-process
Handle electron process uncaught exceptions
2021-12-22 15:30:33 -05:00
Martin Fournier
6363c704db Handle electron process uncaught exceptions
Handling the exceptions and closing the app seem to properly kill the
dangling processes that appear at launch in Windows 10. Without this, if
an exception is throw before the window is active (ie: no
steamapp_id.txt file), there will be remaining processes.

Added electron-log to additionally log to a text file.
2021-12-22 15:28:55 -05:00
hydroflame
9ea66e8743
Merge pull request #2110 from MartinFournier/feature/themes
Add community themes from discord
2021-12-22 15:22:08 -05:00
hydroflame
7c599f2005
Merge pull request #2123 from MartinFournier/feature/reload-unresponsive
Add dialog when app is unresponsive to reload
2021-12-22 15:21:58 -05:00
hydroflame
fba2265cce
Merge pull request #2118 from Icehawk78/feat/add-ns2-examples-docs
Add ns2 examples to the netscript docs
2021-12-22 15:21:06 -05:00
Martin Fournier
9ce8bdd29b Add dialog when app is unresponsive to reload
Checks the electron event 'unresponsive' and triggers a reload / cancel
dialog. Allows all scripts to be killed, checked by default.
Also adds a warning to the terminal when noScript has been executed.
2021-12-22 15:14:03 -05:00
Nicholas Galauxy
35cfa9492e Fix unintended spacing change 2021-12-22 13:38:32 -06:00
Nicholas Galauxy
ed4d4d091c Update docs to include NS2 examples 2021-12-22 13:36:44 -06:00
hydroflame
a97d2a93cb
Merge pull request #2112 from theit8514/cp-2099
Fix cp from another folder to current folder
2021-12-22 14:30:29 -05:00
hydroflame
dbf8c788e0
Merge pull request #2111 from mikomyazaki/2027-documentation-updates
Documentation updates
2021-12-22 14:30:14 -05:00
hydroflame
76d67fdba5
Merge pull request #2113 from Xynrati/patch-2
Add ns2 example for scp
2021-12-22 14:30:05 -05:00
Martin Fournier
f2141dd83d Add community themes from discord 2021-12-22 13:54:04 -05:00
Xynrati
21ac94dbb3
Add ns2 example for scp 2021-12-22 09:38:21 -08:00
theit8514
06ec11a107 Fix cp from another folder to current folder
src is already passed through getFilepath. Doing it again roots the file in the current directory.
2021-12-22 12:34:08 -05:00
Andrew Cooper
c2e5c9f371 Documentation updates to getgrowtime, gethacktime, getweakentime, hack, hackanalyze and weaken. 2021-12-22 17:25:09 +00:00
hydroflame
7260d5fe35
Merge pull request #2100 from mikomyazaki/empty-editor-to-terminal
Closing the final script in your editor will take you to the terminal
2021-12-22 12:17:32 -05:00
hydroflame
366bffad85
Merge pull request #2098 from FOLLGAD/patch-2
Fix incorrect help entry for "weaken" command
2021-12-22 12:17:11 -05:00
hydroflame
1c7b0ab9a3
Merge pull request #2101 from Hedrauta/fix_commiitCrime_docu_description
Fix for ns.commitCrime description in the Documentation
2021-12-22 12:16:08 -05:00
hydroflame
ce0fb7a383
Merge pull request #2102 from mikomyazaki/2023-hack-analyze-threads-no-money
hackAnalyzeThreads will no longer return NaN under some circumstances
2021-12-22 12:14:57 -05:00
hydroflame
91ac40efd0
Merge pull request #2106 from MartinFournier/fix/ci
Split GitHub workflow into multiple jobs to get clearer results
2021-12-22 12:14:46 -05:00
hydroflame
e83c38b5fb
Merge pull request #2103 from mikomyazaki/dev-options-add-minimise-server-money
Adds dev options to set server(s) cash to zero
2021-12-22 12:14:31 -05:00
hydroflame
50a85b61e2
Merge pull request #2109 from hexnaught/remove-timestamp-newline-buy-list-patch
fix(command:buy) don't wrap in typography
2021-12-22 12:05:39 -05:00
Dan
64dea97e3c fix(command:buy) don't wrap in typography
Warpping the output in typography inserts a newline before/after, this fine until timestamps are enabled and the components don't fall inline, and the typography newline is then visible.

Resolves danielyxie/bitburner#2108
2021-12-22 13:27:06 +00:00
Martin Fournier
d6c1f3bfca Split CI into multiple jobs to get clearer results 2021-12-22 04:45:16 -05:00
Martin Fournier
6b59a58ea3 Fix linter errors 2021-12-22 04:44:07 -05:00
Andrew Cooper
17b11f107f hackAnalyzeThreads will return zero instead of NaN when checking the effect of zero threads on a server with zero cash. 2021-12-22 01:12:45 +00:00
Andrew Cooper
7baacf4e1b Adds dev options to set server cash to zero. 2021-12-22 01:12:08 +00:00
Hedrauta
7f3f5c7648 commitCrime will return milliseconds 😉 2021-12-22 02:00:22 +01:00
Andrew Cooper
f2bdf00aba Closing the final script in your editor will take you to the terminal. 2021-12-22 00:26:01 +00:00
Emil Ahlbäck
e7e1e82394
Update HelpText.ts 2021-12-21 22:16:12 +01:00
Olivier Gagnon
ea0be338e1 dont make new copies when injecting via localhost 2021-12-21 15:40:23 -05:00
Olivier Gagnon
b2b682fa04 fix editor not loading files 2021-12-21 13:44:18 -05:00
Olivier Gagnon
41593e0dce fix editor not loading 2021-12-21 12:02:06 -05:00
hydroflame
79eb2f7e0b
Merge pull request #2092 from theit8514/script-focus-v2
Add focus parameter to workForCompany/workForFaction
2021-12-21 11:02:26 -05:00
hydroflame
5021013cb7
Merge pull request #2078 from billyvg/feat/open-multiple-files-from-cli
feat: open multiple files from cli
2021-12-21 11:02:11 -05:00
hydroflame
c1c7131545
Merge branch 'dev' into feat/open-multiple-files-from-cli 2021-12-21 11:02:06 -05:00
hydroflame
81e3f2afd1
Merge pull request #1986 from billyvg/feat/add-vim-command
feat: add `vim` terminal command
2021-12-21 11:00:33 -05:00
hydroflame
f01b12a56a
Merge pull request #2095 from MartinFournier/fix/bladeburner
Bladeburner console fixes & command checks
2021-12-21 10:59:47 -05:00