Commit Graph

206 Commits

Author SHA1 Message Date
SagePtr
40f2d16f44 Show "Can run scripts" to "NO" for zero-RAM servers in "analyze" command 2022-01-29 18:10:59 +02:00
Martin Fournier
588c3e42d7 Refactor download.ts (export "download *" command)
Export the "download *" helper to be able to be called from Electron.
2022-01-26 03:40:22 -05:00
hydroflame
ea9871fef0
Merge pull request #2641 from MartinFournier/feature/save-command-history
Copy terminal command history into game save
2022-01-26 00:47:02 -05:00
Martin Fournier
e7aa977eb0 Persist terminal command history in game save
Copy the terminal commands into the player object so that they are saved
between game reloads.

Adds a 'history' command to display history, and a 'history -c' command
to clear it from both the current terminal & the player's save.
2022-01-23 17:09:54 -05:00
zeddrak
4ffe5508dc
HacknetServer Grow/Weaken error messages
It may be intentional to use hack for all 3 (ie, assume the player makes the connection that can't hack, also means can't grow or weaken), in which case, disregard.
On the other hand, it could've easily been a copy/paste artifact, and this would be more explicitly clear, so thought it was worth bringing up.
2022-01-22 14:47:33 -08:00
hydroflame
27a54217eb
Merge pull request #2653 from nickofolas/fix/refactor-loops
Refactor `for ... in` loops
2022-01-17 16:01:04 -05:00
hydroflame
247c02856a
Merge pull request #2658 from smolgumball/clickable-ls-style-tweak
Fix issues with timestamps on same line as clickable script rows in `ls`
2022-01-17 15:55:22 -05:00
nickofolas
7a31b19c88 Fix formatting lost in merge commit 2022-01-16 20:40:11 -06:00
smolgumball
cb82907817 Fix issues with timestamps on same line as clickable script rows in ls 2022-01-15 21:29:12 -07:00
nickofolas
ab841f7530 Refactor for ... in loops 2022-01-15 18:45:03 -06:00
hydroflame
0c7070ad32
Merge pull request #2548 from smolgumball/ls-clickable-scripts
feat: add clickable script links to `ls` command
2022-01-15 17:49:23 -05:00
hydroflame
6bf6d1f217
Merge branch 'dev' into add-simple-globs-nano-vim 2022-01-15 17:38:25 -05:00
nickofolas
d136198738 Add autocomplete to help command 2022-01-14 15:25:30 -06:00
Martin Fournier
aa3a253b14 Cancel debounced events on terminal unmount 2022-01-14 14:32:30 -05:00
nickofolas
c7b3b9918e Update help text formatting 2022-01-13 18:47:21 -06:00
hydroflame
979d785af6
Merge pull request #2572 from nickofolas/fix-relative-autocomplete
Fix autocomplete in directories
2022-01-11 18:20:45 -05:00
nickofolas
5764b783de Fix autocomplete in directories 2022-01-11 17:04:14 -06:00
Jeffrey A. Robinson
b5392df7a9 Analyze now outputs if a server has a backdoor installed or not 2022-01-11 13:03:23 -08:00
Russell Stringer
26ef94b062 Fixes autocomplete when running script in a directory without using leading slash
Fixes #1681
2022-01-11 12:05:32 -05:00
hydroflame
9da46668c7
Merge pull request #2544 from nickofolas/autocomplete-partial-executable
Autocomplete partial executables
2022-01-11 11:13:45 -05:00
hydroflame
923dbdc9d1
Merge pull request #2549 from markusariliu/patch-1
clarify error
2022-01-11 11:13:17 -05:00
Martin Fournier
25839d592d Fix mem padding when using GiB 2022-01-11 05:12:59 -05:00
markusariliu
bb85568cbf
clarify error
The error message for running multiple instances of the same script with the same args should be updated to clarify that the args is the issue not just the multiple instances
2022-01-10 21:54:38 -08:00
smolgumball
c8db709287 Add hostname safety 2022-01-10 21:00:52 -07:00
smolgumball
358f5ee8ee Add simple clickable links to ls command
Only supports `nano` as I couldn't figure out how to infer `vim`
support without an explicit `nano` or `vim` command being run.
2022-01-10 20:40:02 -07:00
nickofolas
5cd7e2cfbc Add support for contract completion 2022-01-10 16:39:06 -06:00
nickofolas
8c001bd1ae Allow autocomplete for partial executables 2022-01-10 16:32:50 -06:00
Martin Fournier
7ee2612c17 Allow drag on character overview
Makes the character overview (and tutorial) draggable, persisting the
{x, y, opened} in the user's settings.

- Remove margin & padding from html, body and ensure main content is
full height
- Add setting to disable progress bars
- Refactor options to use new OptionSwitch
- Add exclusions to prettierignore
- Specify line ending in prettier & gitattributes
2022-01-10 07:37:01 -05:00
smolgumball
3f032d7006 Update verbiage to match UI (Script Editor vs. Text Editor) 2022-01-09 20:41:48 -07:00
smolgumball
b6f252cd8c Update terminal help to mention globs; refactor to dedupe nano/vim usage details 2022-01-09 20:26:56 -07:00
smolgumball
74ba063772 Add simple glob support to nano/vim usage 2022-01-09 20:26:26 -07:00
Olivier Gagnon
d8a5f5b03c many fixes 2022-01-09 15:24:32 -05:00
nickofolas
474ab69301 Fix terminal grow/weaken EXP gain 2022-01-08 15:57:44 -06:00
JustAnOkapi
00b838dab2
fix two typos in HelpText
mem -tab
scp +tab
2022-01-08 14:15:40 -06:00
Martin Fournier
f9ed45a895 Pass server to terminal actions that end later
Adds the current server object to the finishAction handler so that if
the player changes during the progress he'll hit the original server
with the command.
2022-01-08 11:29:00 -05:00
Martin Fournier
8b2ad883e4 Add save file warning for detailed ram usage 2022-01-06 21:13:38 -05:00
hydroflame
c722ff5982
Merge pull request #2373 from MartinFournier/feature/mem-verbose
Add detailed ram cost to mem command
2022-01-06 11:25:41 -05:00
Martin Fournier
4fad90ed4d Multiply ram cost by threads 2022-01-05 18:32:29 -05:00
Martin Fournier
b345da9dee Change detailed mem format 2022-01-05 18:04:26 -05: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
Olivier Gagnon
faf8389bef v1.3 2022-01-04 20:46:10 -05:00
Olivier Gagnon
c59a267437 change sf4 2022-01-04 19:09:34 -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
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
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
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
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
Tony Roberts
e9fd5f46eb Add buy all option to buy terminal command 2021-12-28 03:15:29 -05:00
Andrew Cooper
33e4e31099 Fixes scp and mem helptext. 2021-12-28 00:54:35 +00:00