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
Hedrauta
4264b07d75
only stop working if working at that company
...
bc you can be employed at multiple companies 😆
2021-12-24 02:57:25 +01:00
maxtimum
deb6d6cc0a
add option to pass grep pattern to ps
2021-12-23 17:39:45 -08:00
Hedrauta
33d8e6d3fe
workaround? fix for #1921
...
simple do: if the player does work for company, quit WIP... otherwise let WIP still run
2021-12-24 02:19:28 +01: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
hydroflame
1830287a6e
Merge pull request #2079 from sschmidTU/dev
...
Fix typo (order -> orders)
2021-12-21 10:49:33 -05:00
hydroflame
7a9e8936ee
Merge pull request #2083 from 65-7a/txt-file-editor-patch
...
Script editor fixes for .txt files
2021-12-21 10:49:08 -05:00
hydroflame
4183ed6f2b
Merge pull request #2087 from 2PacIsAlive/dev
...
Fix typo on Augmentations page
2021-12-21 10:45:55 -05:00
Martin Fournier
2d269c7a4e
Fix #2018 : Blade console check blackops order
...
Prevents you from running blackops if you have not completed the
preceeding one.
2021-12-21 10:13:12 -05:00
theit8514
d873f7279b
Add focus parameter to workForCompany/workForFaction
...
Defaults to true to keep previous behavior.
2021-12-21 08:13:18 -05:00
Martin Fournier
dbe36fd6b7
Fix #1916 : Check blade console blackops rank
...
This prevents the player from starting a blackops without having the
rank requirements
2021-12-21 07:48:09 -05:00
Martin Fournier
f2ccc63b2d
Fix #1915 : Check blade console skill max level
...
Prevents you from leveling up a skill past its max level.
2021-12-21 07:48:09 -05:00
Martin Fournier
1427993a25
Fix #1901 : Fix blade console command history
...
Up or down would not properly update the visible input value
2021-12-21 07:48:09 -05:00
Martin Fournier
0b71a83cfe
Fix blade console input visibility on scroll
...
Before this, when scrolling up the input would be hidden.
2021-12-21 07:38:39 -05:00
Jared Jolton
bd375851a4
Fix typo on Augmentations page
2021-12-20 22:28:55 -07:00
Dan
8ccb128e6f
docs(ns.getPlayer): update doc to have ram cost
...
Resolves danielyxie/bitburner#2084
2021-12-21 01:44:32 +00:00
65-7a
a6aebd4a29
Change model to plaintext for txt files
2021-12-21 10:35:03 +11:00
65-7a
56e540802b
Disable RAM calculation for txt files
2021-12-21 10:21:22 +11:00
Billy Vong
bb2f8e883c
feat: Support opening multiple files from command line
2021-12-20 16:55:17 -05:00
sschmidTU
9a1437559a
fix typo (order -> orders)
2021-12-20 22:39:33 +01:00
Billy Vong
d30edc7f59
feat: Add vim
terminal command
2021-12-20 16:20:50 -05:00
Olivier Gagnon
009bae5870
catch scripts taht end too early
2021-12-20 16:06:19 -05:00
Olivier Gagnon
b57ac45698
doc
2021-12-20 15:59:46 -05:00
Olivier Gagnon
41a7109baa
fix
2021-12-20 15:48:26 -05:00
Martin Fournier
65d0877edc
Add ns.ui.getTheme() api function
2021-12-20 14:37:10 -05:00
Olivier Gagnon
ddd0eaaf5c
weaken message
2021-12-20 14:13:56 -05:00
Billy Vong
63891351be
remove TODO
2021-12-20 14:05:59 -05:00
Billy Vong
60749eefa7
remove console + format
2021-12-20 14:05:22 -05:00
Billy Vong
ee177393fa
fix: Update editor height when resizing window
2021-12-20 14:04:42 -05:00
Olivier Gagnon
4ec021c8f0
cores explanation
2021-12-20 14:03:25 -05:00
Olivier Gagnon
e9886cc6bc
fix uncaught promise
2021-12-20 13:57:07 -05:00
Olivier Gagnon
5dc9ac040a
toast time config
2021-12-20 13:29:04 -05:00
hydroflame
25f78f2b30
Merge pull request #1984 from billyvg/feat/add-vim-mode
...
feat: Add vim mode to script editor
2021-12-20 12:03:05 -05:00
Dan
388a3f56c3
feat(command:buy): show owned items in buy list
...
Just a little output change when you `buy -l`, to show you which items
you already own.
I couldn't access the theme when importing it here for use, it kept
crashing the app so the [OWNED} shows up always as green.. Which isn't
the end of the world considering the money always shows up in Yellow.
I think this area of code/output could do with a little bit of love at
some point.
Resolves danielyxie/bitburner#2069
2021-12-20 16:51:08 +00:00
Billy Vong
3fd904ff87
format
2021-12-20 10:48:32 -05:00
Billy Vong
6641ca9c73
fix ts
2021-12-20 10:45:44 -05:00
Billy Vong
517066a710
fix missed conflicts
2021-12-20 10:44:17 -05:00
Billy Vong
d372166c8b
Merge branch 'dev' into feat/add-vim-mode
2021-12-20 10:36:58 -05:00
hydroflame
8be201cd93
Merge pull request #2064 from MartinFournier/feature/focus-editor-on-open
...
Give focus to editor when opening or changing tabs
2021-12-20 10:19:14 -05:00
hydroflame
ab0ed5d6a4
Merge pull request #2061 from 65-7a/allow-cat-on-scripts-patch
...
Allow cat to work on scripts
2021-12-20 10:18:17 -05:00
Martin Fournier
e60996b86c
Focus editor when opening or changing tabs
2021-12-20 07:15:53 -05:00
Martin Fournier
08a4a1649f
Linting ScriptEditor
2021-12-20 07:01:34 -05:00
65-7a
3df0fd3945
Add script files to tab completion for cat
2021-12-20 21:11:58 +11:00
65-7a
14532cd0a8
Allow cat to work on scripts
2021-12-20 21:11:28 +11:00
BuildTools
302af48be4
Fixed merge conflict
2021-12-20 01:44:51 -06:00
BuildTools
6d90025370
Adapted PR #2055 to the refacted script editor code
2021-12-20 01:40:01 -06:00
BuildTools
e5c4c8f64b
Rebased
...
Added hostname to tab name
Removed -tas arg from the rm command
2021-12-20 01:40:01 -06:00
BuildTools
cbfdfa5753
Removed testing log statements
2021-12-20 01:40:01 -06:00
BuildTools
3120d97cfa
Update
2021-12-20 01:40:01 -06:00
BuildTools
6dc7dc42c5
resolved merge issue
2021-12-20 01:39:20 -06:00
hydroflame
3255768259
Merge pull request #1993 from Nick-Colclasure/file-read-patch
...
Fix problems finding root files in cat and ns.read
2021-12-20 01:56:20 -05:00
hydroflame
7215e73f41
Merge pull request #2055 from hexnaught/s-key-editor-save-patch
...
Change editor save keybind to be CTRL/CMD + S
2021-12-20 01:50:05 -05:00
hydroflame
e4345ebf68
Merge pull request #2057 from hexnaught/remove-partial-exe-on-buy-patch
...
Remove any partially built/created .EXE files on buy from darknet
2021-12-20 01:08:07 -05:00
hydroflame
2267845e2d
Merge pull request #2049 from Kejikus/dev
...
Issue #2048 fix
2021-12-20 01:07:12 -05:00
Dan
b95261d905
fix(darkweb:buy) remove partial exe on buy
...
Remove any matching partial .exe item when buying it from the dark web.
Resolves danielyxie/bitburner#2024
2021-12-20 05:55:35 +00:00
Dan
6ec7fcb9fa
refactor(keybinds): change editor save keybind S
...
We need to stop the event from bubbling up to the browser and opening a
'save html' window to keep support in the browser, other than that,
straight forward change to swap keybinding to 'S' for saving in the
editor.
Resolves danielyxie/bitburner#2053
2021-12-20 04:34:27 +00:00
hydroflame
82f6bbee13
Merge pull request #2046 from MartinFournier/fix/tests
...
Fix jest unit tests & add a github action workflow to build, test & lint
2021-12-19 22:35:25 -05:00
hydroflame
565e7677f8
Merge pull request #2045 from 2PacIsAlive/dev
...
Fix typo for Neuregen Augmentation
2021-12-19 22:33:31 -05:00
hydroflame
d1abe27484
Merge pull request #2047 from TheCoderJT/nuke-github-clarity
...
Fix Docs: made it more clear what nuke exe does
2021-12-19 22:32:41 -05:00
MageKing17
e521415273
Update NetscriptFunctions.ts
...
Just a simple change to make `alert` and `toast` reuse `argsToString` instead of `toNative` and `JSON.stringify` directly.
Fixes #2015 .
2021-12-19 16:58:49 -08:00
Nicholas Colclasure
61dde4cfac
Fix issue introduced handling files in subdirectories ._.
2021-12-19 13:03:50 -08:00
Kejikus
fcbf8a3824
Fixed bug with limited height of terminal screen
...
Needs testing.
2021-12-20 00:03:13 +03:00
Jordan Turner
f678574a6c
made it more clear what nuke exe does
2021-12-19 13:47:34 -07:00
Jared Jolton
06acccdfe1
Fix typo for Neuregen Augmentation
2021-12-19 13:42:09 -07:00
Martin Fournier
3b99da8474
Lint current problems & fix ignore paths
2021-12-19 13:17:44 -05:00
Martin Fournier
d1696148c4
Fix tests syntax for jest
...
Most tests could not run with jest because of syntax difference between
the old test runner.
2021-12-19 12:37:42 -05:00
hydroflame
890b1df593
Merge pull request #2041 from hexnaught/job-shortcut-key-patch
...
Only run job shortcut if the player has a job
2021-12-19 10:28:42 -05:00
hydroflame
3ed5aa8045
Merge pull request #2038 from MartinFournier/fix/skill-progress
...
Fix skills tooltip edge cases
2021-12-19 10:22:43 -05:00
Dan
2f9eb324b4
fix(shortcut): job shortcut only run when have job
...
The shortcut was always allowed to run, meaning when the player doesn't
have a job, they were sent to the job screen with no job and lost the
view context/sidebar.
- Add utility method to check if the player 'hasJob', being at least 1
job.
- Check if player has job when the key combination is pressed
Resolves danielyxie/bitburner#2013
2021-12-19 15:20:02 +00:00
Martin Fournier
05ed3f5461
Fix skills tooltip edge cases
2021-12-19 05:51:35 -05:00
millennIumAMbiguity
a9cf635a84
Improve the readability of text in the theme editor.
...
Copy the string above if you want to backup or share your theme with others. -> Backup your theme or share it with others by copying the string above.
Use the buttons below to replace the current theme with a pre-built template -> Replace the current theme with a pre-built template using the buttons below.
2021-12-19 11:14:16 +01:00
hydroflame
3a21beb708
Merge pull request #2003 from MartinFournier/feature/predetermined-themes
...
Add easily switchable predefined themes
2021-12-19 00:40:59 -05:00
hydroflame
a76f67ade5
Merge pull request #2010 from hexnaught/server-purchase-naming-patch
...
Fix issue of space in server name and server counting when made with same name
2021-12-19 00:35:24 -05:00
hydroflame
24f0c9e65d
Merge pull request #2007 from hexnaught/alias-hyphen-allowed-patch
...
Allow hyphens in command aliases
2021-12-19 00:28:11 -05:00
hydroflame
e6b84a73b2
Merge pull request #2031 from MageKing17/patch-1
...
Update ls.tsx
2021-12-19 00:24:58 -05:00
hydroflame
b6df183953
Merge pull request #2008 from hexnaught/lowercase-exe-call-patch
...
Allow `.exe` (programs) to be ran in a case-insensitive `run`
2021-12-19 00:23:52 -05:00
hydroflame
bc7f94ddda
Update check.ts
2021-12-19 00:23:01 -05:00
MageKing17
1dcc17c4fb
Update ls.tsx
...
`args[numArgs - 1]` is the last argument in the list, so correct usage was being flagged as incorrect, and incorrect usage wasn't working anyway because the filter was `"undefined"`.
Additionally, the function seemed confused as to whether or not `ls` counted as an argument (AFAICT, it isn't).
Fixes #1994 .
2021-12-18 21:22:34 -08:00
Dan
6d79561859
fix(servers): fix issue of space in server name
...
Replace the space in a server name with a hyphen (-), also noticed some
interesting behaviour with the 'count up naming', so tweaked that.
Resolves danielyxie/bitburner#1999
2021-12-19 04:03:14 +00:00
Dan
b8b3897e64
fix(commands): tweak wording for consistency
2021-12-19 03:23:26 +00:00
Dan
b2add6c26b
fix(commands): error feedback, wording consistency
...
Found most (hopefully all) places where the error message wording
incorrectly was shown to the tune of 'no script exists', where it should
have been showing to the effect of 'script is not running'.
Also cleaned up some of the consistency in the wording and added a
'helper' export for knowing valid script extensions used in validation
of 'isScriptFilename', so we can have consistent error messaging.
Resolves danielyxie/bitburner#1966
2021-12-19 03:10:43 +00:00
Dan
24c7fb2b92
fix(cli:run) case insensitive calls to program run
...
Allow the user to run programs (.exe) in a case insensitive manor
Resolves danielyxie/bitburner#1958
2021-12-19 02:41:21 +00:00
Dan
1f6954b393
fix(command:alias) allow hyphen in aliases
...
- Allow hyphens in aliases
- Remove redundant underscore, covered by '\w'
Resolves danielyxie/bitburner#2000
2021-12-19 02:09:47 +00:00
Olivier Gagnon
790ffeb8a1
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-12-18 18:15:19 -05:00
Olivier Gagnon
555216a39b
Add confirmation to installing
2021-12-18 18:13:49 -05:00
hydroflame
aad4024e0f
Merge branch 'master' into dev
2021-12-18 16:29:22 -05:00
Martin Fournier
db64d9869c
Add easily switchable predefined themes
...
Includes the default theme and a Monokai-ish variant
2021-12-18 16:28:15 -05:00
Olivier Gagnon
02605090df
v1.2.0
2021-12-18 16:28:09 -05:00
hydroflame
853125009b
Merge pull request #1977 from Rez855/feature/multi-tab-script-editor
...
Added the ability to open multiple script files at a time
2021-12-18 14:53:35 -05:00
hydroflame
b739d60490
Merge pull request #1979 from MartinFournier/feature/skill-progress-bars
...
Fix #1889 : Add skill progress to overview
2021-12-18 14:44:18 -05:00
hydroflame
d5201885aa
Merge pull request #1997 from pobiega/fix/nformat-return-type
...
ScriptEditor NetScriptDefinitions: nFormat should return string
2021-12-18 14:40:20 -05:00
hydroflame
0ff110492e
Merge pull request #1982 from wynro/add-ALL-to-enableLog
...
Add support for ALL argument in enableLog function
2021-12-18 14:39:44 -05:00
hydroflame
c723c7ecd2
Merge pull request #1957 from billyvg/feat/add-ctrl-u-clear-line
...
feat: Add `ctrl+u/k/w` hotkeys
2021-12-18 14:35:12 -05:00
hydroflame
a9b0dd0d3f
Merge pull request #1992 from 2PacIsAlive/dev
...
Fix typo in AutolinkProgram description
2021-12-18 10:56:33 -05:00
hydroflame
1dafa03a71
Merge pull request #1995 from Adraxas/dev
...
Fix NS.exec signature
2021-12-18 10:56:01 -05:00
BuildTools
59498f780a
Small css tweaks
2021-12-18 07:11:59 -06:00
Martin Fournier
733f04c343
Add an option to suppress the 'Saved Game' toast
2021-12-18 08:01:15 -05:00
Robin Rexstedt
87d8f67df1
make nFormat return a string
2021-12-18 13:12:23 +01:00
BuildTools
2265f797c4
Added the ability to open multiple script files at a time
...
Fixed a bug where ram would stay the same when switching between scripts
Fixed bug where updating ram could cause the GUI to crash
The editor will now go to the last edited line when switching tabs.
Tidied up the script editor UI
2021-12-18 04:10:25 -06:00
Jared Jolton
5e5e2c60aa
Fix typo in AutolinkProgram description
2021-12-17 21:58:05 -07:00
Nicholas Colclasure
8ba5199e54
Fix problems finding root files in cat and ns.read
...
Cat ends up translating the path it receives from relative to absolute twice, which I fix by changing the filename to an absolute path before it's passed to getTextFile with a leading "/" so that it doesn't interpret the filename as being relative.
Read I fixed by causing getTextFile to remove the leading "/" from files that are in the root directory, since that is required to translate their name into the native "filesystem"s format.
2021-12-17 20:40:46 -08:00
Adraxas
069d76df25
Fix NS.exec signature
2021-12-17 18:40:00 -08:00
hydroflame
504a8a4be5
Merge pull request #1971 from MartinFournier/feature/hashes-upgrades
...
Fix #1863 : Add getHashUpgrades hacknet function
2021-12-17 15:50:46 -05:00
Billy Vong
b3f9380ebd
prettier
2021-12-17 12:56:48 -05:00
hydroflame
2b5cc03e79
Merge pull request #1968 from MageKing17/patch-1
...
Quickly fix silly typo mentioned on Discord.
2021-12-17 12:55:58 -05:00
hydroflame
5b79712817
Merge pull request #1985 from billyvg/fix/prevent-ctrl-alt-j-navigation
...
Prevent `ctrl+alt+j` from navigating to Jobs
2021-12-17 12:55:08 -05:00
Billy Vong
6fb5565b08
remove unused code
2021-12-17 12:48:50 -05:00
Martin Fournier
84c77c1d2c
Fix #1889 : Add skill progress to overview
...
Adds a progress bar for each stat to show how close to level up you are.
2021-12-17 12:44:18 -05:00
Billy Vong
f4ea1ae970
Merge branch 'dev' into fix/prevent-ctrl-alt-j-navigation
2021-12-17 12:39:57 -05:00
Billy Vong
cdd85c09e1
Merge branch 'dev' into feat/add-vim-mode
2021-12-17 12:38:16 -05:00
Billy Vong
659211e1ff
Prevent ctrl+alt+j
from navigating to Jobs
...
This is a browser hot key to open the Chrome Developer Tools.
2021-12-17 12:35:47 -05:00
Billy Vong
fb5d374279
feat: Add vim mode to script editor
...
This adds an option to turn on vim mode using the `monaco-vim` library.
2021-12-17 12:34:00 -05:00
Guillermo Robles
b14432329a
Add support for ALL argument in enableLog function
...
- Fixes : #1928
2021-12-17 17:33:33 +01:00
Martin Fournier
da0cc6d8f1
Fix #1974 : Change default input to deferred
...
The value does not change automatically now, there's a "Set" button in
the popup to trigger the onColorChange event.
2021-12-17 11:00:00 -05:00
Martin Fournier
217b94d0a0
Fix #1863 : Add getHashUpgrades hacknet function
...
Adds a new functions ofr hacknet servers that returns the list of
available hash upgrades.
2021-12-17 05:35:17 -05:00
MageKing17
e8b4d15078
Update TutorialRoot.tsx
...
Correct "NS1 vs NS1" typo.
2021-12-17 00:35:23 -08:00
Olivier Gagnon
ae6f8c5ee7
make tutorial better
2021-12-16 20:54:50 -05:00
Olivier Gagnon
81e291ef6a
change color of terminal input
2021-12-16 20:20:07 -05:00
Olivier Gagnon
99f3566e52
bugfix
2021-12-16 20:09:19 -05:00
Billy Vong
9b64551197
Merge branch 'dev' into feat/add-ctrl-u-clear-line
2021-12-16 17:07:39 -05:00
Billy Vong
2e9a42d74c
add comment
2021-12-16 17:03:49 -05:00
Billy Vong
2804b6ae56
remove console
2021-12-16 17:03:15 -05:00
Billy Vong
d4bf6100a3
feat: Add ctrl+u/k/w
hotkeys
...
Adds the `ctrl+u/k/w` hotkeys to clear line before and after, as well as deleting word before cursor. I implemented deleting word after cursor, but I have not repod the functionality in bash, so I did not add the hotkey.
2021-12-16 16:59:24 -05:00
hydroflame
55d386a504
Merge pull request #1952 from MartinFournier/feature/git-commit-version
...
Fix #1880 : Show git commit of bundled app
2021-12-16 15:45:25 -05:00
hydroflame
88666ec3fa
Merge pull request #1953 from danielyxie/dev
...
doc
2021-12-16 15:30:22 -05:00
Olivier Gagnon
33e918fc49
doc
2021-12-16 15:28:53 -05:00
Martin Fournier
e8e2760c73
Fix #1880 : Show git commit of bundled app
2021-12-16 15:25:59 -05:00
Olivier Gagnon
e16fba2418
scan doc
2021-12-16 15:21:00 -05:00
hydroflame
c38992be8d
Merge pull request #1949 from danielyxie/dev
...
build
2021-12-16 12:58:30 -05:00
Olivier Gagnon
5718800b91
doc update
2021-12-16 12:41:18 -05:00
Olivier Gagnon
6ef99e138c
fix BN exploit
2021-12-16 12:40:24 -05:00
Olivier Gagnon
3c67da02f3
typo
2021-12-16 12:33:44 -05:00
Olivier Gagnon
9292484ed0
minor tweak
2021-12-16 12:29:41 -05:00
Olivier Gagnon
a1af0318d8
minor error message tweak
2021-12-16 12:20:04 -05:00
hydroflame
b05645a61c
Merge pull request #1936 from TheCoderJT/issue1920
...
Issue1920
2021-12-16 12:19:23 -05:00
hydroflame
43aba18b77
Merge pull request #1933 from Saynt-Garmo/dev
...
Issue 1911
2021-12-16 12:18:16 -05:00
Olivier Gagnon
52f2e52456
minor tweak to scp error message
2021-12-16 12:14:48 -05:00
hydroflame
0a63de4539
Merge pull request #1932 from theit8514/cp-1922
...
Update cp and mv terminal commands #1922
2021-12-16 12:14:15 -05:00
Olivier Gagnon
16431f1031
minor tweak to doc
2021-12-16 12:13:00 -05:00
hydroflame
2da9f87031
Merge pull request #1895 from TheCoderJT/editingGitDocs
...
Editing git docs
2021-12-16 12:11:05 -05:00
Olivier Gagnon
91c7811a36
format
2021-12-16 12:04:09 -05:00
Olivier Gagnon
d7f9cb8cec
make setFocus a little more robust
2021-12-16 12:02:46 -05:00
Hedrauta
9e9a1ca882
Update codingcontracttypes.ts
2021-12-16 16:05:46 +01:00
Jordan Turner
e1e032b61f
added semi colons they were missing at the end of some examples
2021-12-15 22:15:29 -07:00
Jordan Turner
db9b0a8ec8
added await before the ns2 method calls
2021-12-15 22:01:44 -07:00
Jordan Turner
3926913790
updated appearach of example sections based on alainbryden suggestion
2021-12-15 21:47:18 -07:00
theit8514
2e133bcf0a
Fix return type of isFocused
2021-12-15 20:55:47 -05:00
theit8514
d59601f848
Add return value and code style cleanup
2021-12-15 20:48:19 -05:00
theit8514
cd4c98d942
Only change to terminal when focused
2021-12-15 20:44:08 -05:00
theit8514
c50c92f9b5
Update SF requirement to match documentation
2021-12-15 20:33:48 -05:00
theit8514
2726420709
Add errors and only change page when focus changes
2021-12-15 20:33:48 -05:00
theit8514
07d449afc2
Ensure focus does not change between calls to work
2021-12-15 20:33:48 -05:00
theit8514
ad57f3dc73
Work functions do not take focus
...
setFocus readded and updated to send the user to the Work page if focusing.
2021-12-15 20:33:48 -05:00
Jordan Turner
ac79d0aea4
adjusted the wording and added dynamic player server location
2021-12-15 17:52:08 -07:00
Jordan Turner
4836617745
made the terminal error more clear based on issue 1920
2021-12-15 17:19:45 -07:00
tyasuh.taeragan@gmail.com
ce0de40e59
Issue 1934
2021-12-15 18:10:29 -05:00
tyasuh.taeragan@gmail.com
61e962ec12
Issue 1911
2021-12-15 17:59:03 -05:00
theit8514
8ef227595a
Add support for relative paths in mv
...
Fixes mv command deleting file on overwrite
2021-12-15 17:46:36 -05:00
theit8514
4e022c68e9
Add support for relative paths in cp
...
Fix cp error messages
Add support for directory destinations (e.g. copy file.js directory)
2021-12-15 17:36:15 -05:00
Jordan Turner
632e1f70f3
added rs to backricks to color code syntax
2021-12-15 10:25:54 -07:00
Jordan Turner
687682fcbd
added syntax useage to github ns page
2021-12-15 10:10:32 -07:00
Olivier Gagnon
5b38ee3cfb
fix undying script bug
2021-12-14 19:39:55 -05:00
Olivier Gagnon
4d80813707
bugfix
2021-12-14 15:56:11 -05:00
Olivier Gagnon
de9fb24156
Fix scripts dying of weird causes.
2021-12-13 22:26:22 -05:00
Olivier Gagnon
c1e3a170ab
Augmentations page shows stats reductions
2021-12-13 20:28:21 -05:00
Olivier Gagnon
e5b4dd8e90
Files should be saved on the server that opened them.
2021-12-13 20:08:58 -05:00
Olivier Gagnon
50bc9496ec
fix gym not giving discoutns
2021-12-13 19:46:08 -05:00
Olivier Gagnon
1b42b51e5f
few bugfix
2021-12-13 18:44:52 -05:00
Olivier Gagnon
7b8e486e3a
fix typo in doc
2021-12-13 15:50:01 -05:00
theit8514
3437a0a730
Await scp multiple script copy
2021-12-12 19:50:53 -05:00
Olivier Gagnon
7d6947ee01
fix unknown script die for known reason
2021-12-12 14:57:44 -05:00
Olivier Gagnon
e117548895
fix some stack traces not printing file name
2021-12-12 14:49:02 -05:00
Olivier Gagnon
4460bf1613
fix shortcuts
2021-12-12 14:02:45 -05:00
Olivier Gagnon
11ba8c91be
getServer of hacknet doesn't return undefined
2021-12-12 13:47:05 -05:00
Olivier Gagnon
dea8abef1d
better error message for bad args
2021-12-12 13:30:28 -05:00
Olivier Gagnon
5f696aba72
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2021-12-12 12:48:26 -05:00
Olivier Gagnon
69a9448e47
fix typos
2021-12-12 12:46:56 -05:00
DJMatch3000
445fbd59c7
Player Stats ui bugfix
...
Fixed a mix-up with Bladeburner stats on the Player Stats page
2021-12-10 15:45:17 -05:00
Olivier Gagnon
172998bef5
boost noodle bar
2021-12-09 16:47:26 -05:00
Olivier Gagnon
2eaa33c9f3
nerf manualHack int gain but differently
2021-12-09 16:30:03 -05:00
Olivier Gagnon
769aad8ead
nerf manualHack int gain
2021-12-09 16:26:49 -05:00
Olivier Gagnon
394a286646
formulas for ascension
2021-12-09 12:52:51 -05:00
Olivier Gagnon
5e916ee3bd
tighten bn13
2021-12-09 10:45:33 -05:00
Olivier Gagnon
7e6a0bbf56
make BN13 harder
2021-12-09 10:15:50 -05:00