Commit Graph

2910 Commits

Author SHA1 Message Date
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
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
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
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
hydroflame
cc4f07d037
Merge pull request #2175 from Xynrati/patch-3
Removing old comment about removed parameter
2021-12-28 11:59:41 -05:00
Alexander Morland
aaf1ad4ae5
Fixed typo
needed to fix docs
2021-12-28 17:27:21 +01:00
dou
1b7a0224c5 fix joes guns org name and stock name do not match. 2021-12-29 03:06:37 +11:00
Xynrati
26ab62eea6
More comments to be removed 2021-12-28 08:04:50 -08:00
hydroflame
9f9ce40ef0
Merge pull request #2179 from antonvmironov/fix-CorporationInfo.state
Fix CorporationInfo.state
2021-12-28 10:37:42 -05:00
hydroflame
39c7a7781a
Merge pull request #2162 from mikomyazaki/concise_exp_job_gains
Concise exp job gains
2021-12-28 10:37:01 -05:00
hydroflame
f674d2d253
Merge pull request #2169 from maxtimum/feature/add_grep_option_to_ps
Feature/add grep option to ps
2021-12-28 10:35:26 -05:00
hydroflame
b27bb36a95
Merge pull request #2196 from sporkwitch/dev
Update parseAliasDeclaration to match single quote
2021-12-28 10:34:16 -05:00
hydroflame
329221a974
Merge pull request #2183 from MageKing17/patch-1
Get rid of console spam in NetscriptFunctions.ts
2021-12-28 10:34:01 -05:00
hydroflame
952ea89777
Merge pull request #2185 from MageKing17/patch-2
Allow shortcuts to work while doing unfocused work.
2021-12-28 10:33:16 -05:00
hydroflame
5aff5fc944
Merge pull request #2193 from Frank-py/patch-2
Updated Terminal.tsx to add keypress event.
2021-12-28 10:33:04 -05:00
hydroflame
d181ac4104
Merge pull request #2197 from ReeseJones/fixStockDoc
Changed setting to selling in getSaleGain
2021-12-28 10:32:37 -05:00
hydroflame
e583b46b16
Merge pull request #2202 from amclark42/help-analyze-typo-fix
Fix two typos in `help` command text
2021-12-28 10:32:19 -05:00
hydroflame
8b42703f95
Merge pull request #2199 from theit8514/log-window-improvements
Log window improvements
2021-12-28 10:32:04 -05:00
hydroflame
91d9549999
Merge pull request #2200 from 2PacIsAlive/dev
Fix "Terminal capacity" option description typo
2021-12-28 10:31:06 -05:00
hydroflame
a29ffead78
Merge pull request #2211 from anthonydroberts/buy-all-option
Add buy all option to buy terminal command
2021-12-28 10:30:54 -05:00
hydroflame
dd3ab9ca48
Merge pull request #2207 from mikomyazaki/scp-mem-docs
Fixes scp and mem helptext
2021-12-28 10:30:03 -05:00
Tony Roberts
e9fd5f46eb Add buy all option to buy terminal command 2021-12-28 03:15:29 -05:00
Hedrauta
8aae2c9b7f fix typo for #2206 2021-12-28 03:54:04 +01:00
Andrew Cooper
33e4e31099 Fixes scp and mem helptext. 2021-12-28 00:54:35 +00:00
ErzengelLichtes
b13f146bc3 Changed writing specific text to be more generic 2021-12-27 11:36:14 -08:00
BrokenName
90ca9407d5 Update NetscriptFunctions.ts
Undid removal of writePort data validation
2021-12-27 10:38:00 -08:00
BrokenName
7c846abb65 DRY: Consolidated the code for retrieving a port so it will give consistent errors. 2021-12-27 10:06:38 -08:00
Ash Clark
58dd450aca
Fix two typos in help command text 2021-12-27 11:47:02 -05:00
Jared Jolton
e3a9f9edab
Fix "Terminal capacity" option description typo 2021-12-26 20:21:35 -07:00
theit8514
5607561c50 Add minimize button to log windows 2021-12-26 18:52:14 -05:00
theit8514
169d3e6c77 Add title attribute to log title bar 2021-12-26 17:47:32 -05:00
ReeseJones
1087db9f33 changed setting to selling in getSaleGain 2021-12-26 14:35:46 -08:00
Robert Klebes
6a9f6c05ec Update parseAliasDeclaration to match single quote
- Matches foo="bar" and foo='bar'
- Does not match foo="bar' or foo='bar"
2021-12-26 14:14:37 -05:00
Frank-py
73adc71965
Updated Terminal.tsx to add keypress event.
Added keypress event to delete the word after input by pressing "alt" + "d".
2021-12-25 23:11:21 +01:00
MageKing17
eb137455f5
Allow shortcuts to work while doing unfocused work.
A lot of people thought keyboard shortcuts weren't working because the code to make them stop working was only checking if the player was working without checking if the player was also focused. If doing unfocused work, there's no reason not to allow keyboard shortcuts to keep working.
2021-12-24 21:22:46 -08:00
MageKing17
a16cb745c5
Get rid of console spam in NetscriptFunctions.ts
This was filling up the console and making it hard to debug anything other than `exec` calls.
2021-12-24 19:34:34 -08:00
Anton Mironov
3dd818cb7b
Updating doc for CorporationInfo.state
Now includes a list of possible values.
2021-12-24 17:35:23 +01:00
Anton Mironov
23683d3482
Fixes CorporationInfo.state
Before:
CorporationInfo.state was returning "[Object object]".

After:
CorporationInfo.state returns an actual state like START, PURCHASE, PRODUCTION, SALE, EXPORT
2021-12-24 17:32:51 +01:00
maxtimum
07b00bc377 add -g, --grep flags to ps command, documentation 2021-12-23 22:31:07 -08:00
theit8514
fd93c6d338 Fix linting errors 2021-12-23 23:26:05 -05:00
theit8514
8f77f720e6 Cache the blobs generated by scripts 2021-12-23 23:06:01 -05:00
theit8514
2d949c076b Fix mv overwriting script files 2021-12-23 21:31:59 -05:00
maxtimum
deb6d6cc0a add option to pass grep pattern to ps 2021-12-23 17:39:45 -08:00
Hedrauta
3eedd9df88 empty host = current host 2021-12-24 00:23:38 +01:00
Olivier Gagnon
ed86577d6c imports are more flexible 2021-12-23 15:57:32 -05:00
Olivier Gagnon
16c51e8e8e Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-23 15:35:45 -05:00
Olivier Gagnon
87d6c18254 ext push now save folder correctly 2021-12-23 15:34:01 -05:00
Andrew Cooper
12ba68a375 XP gain summaries now only show non-zero xp gains. 2021-12-23 19:15:39 +00:00
Andrew Cooper
4861ac4153 Fixes penalty message for quitting work early. 2021-12-23 19:15:22 +00:00
hydroflame
b33af9df20
Merge pull request #2150 from Hedrauta/new-Editor-theme_dracula
New Editor Theme: Dracula ( from VSCode )
2021-12-23 13:36:16 -05:00
Olivier Gagnon
fcb876695d remove leading slash when saving via http 2021-12-23 12:23:50 -05:00
Martin Fournier
6458440193 Fix #2021: Handle sleeves xp in stats overview 2021-12-23 09:11:08 -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
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
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
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
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
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
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
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
hydroflame
26106fa71d
Merge pull request #2077 from MartinFournier/feature/get-theme
Add ns.ui.getTheme() api function
2021-12-21 10:57:58 -05:00
hydroflame
4be5e45740
Merge pull request #2073 from billyvg/fix/window-resizing
fix: Update editor height when resizing window
2021-12-21 10:56:51 -05:00