Commit Graph

439 Commits

Author SHA1 Message Date
catloversg 5ac327697b CLI: Allow using E notation in expr CLI (#2209) 2025-06-20 11:12:37 -07:00
catloversg 856ce9a5c9 BUGFIX: Coding contract UI does not handle error properly when answer format is invalid (#2171) 2025-06-02 02:33:57 -07:00
HansLuft778 67017c5782 TERMINAL: Add RAM usage and detailed file size to ls -l output (#2135) 2025-06-02 02:23:22 -07:00
catloversg f45f73c641 MISC: Add "--tail" to default autocomplete options (#2103) 2025-05-17 22:34:13 -07:00
catloversg 7db15a6bd2 CODEBASE: Remove wrong and irrelevant comments/code (#2111) 2025-05-10 02:22:47 -07:00
catloversg db810dd938 BUGFIX: Mitigate crash in Terminal page in edge cases (#2099) 2025-04-20 13:45:28 -07:00
catloversg a9900072da MISC: Remove support for running NS1 scripts (#2083) 2025-04-11 13:41:48 -07:00
Naga 0aaa28054a NETSCRIPT: Add functionality and support to fully allow Players to use IP addresses in place of hostnames (#1990) 2025-04-10 18:41:37 -07:00
catloversg 23ad55554e UI: Add "Run" action to run current script in editor (#1987) 2025-03-04 02:43:31 -08:00
catloversg 8ed83f3d37 MISC: Add key binding feature (#1830) 2025-02-27 22:59:12 -08:00
Michael Ficocelli 1982e7195b UI: Add disambiguation to the confusing "1s / ls" tutorial step (#1972)
* UI: Add disambiguation to the confusing "1s / ls" tutorial step, and a general "did you mean" to the terminal

* UI: Add disambiguation to the confusing "1s / ls" tutorial step, and a general "did you mean" to the terminal

* Prevent duplicate suggestions

* Update src/Terminal/Terminal.ts

Co-authored-by: David Walker <d0sboots@gmail.com>

* Prevent duplicate suggestions

---------

Co-authored-by: David Walker <d0sboots@gmail.com>
2025-02-27 10:34:16 -08:00
G4mingJon4s b61e93b246 CODINGCONTRACT: Move internals to a separate folder (#1932) 2025-02-11 22:04:23 -08:00
catloversg 67aff2a6a0 BUGFIX: Wrong plural form in modal of coding contract (#1939) 2025-02-01 21:42:56 -08:00
catloversg a4217b448a MISC: Standardize behavior of connect CLI and Singularity API (#1933) 2025-01-31 11:20:17 -08:00
PerpetuaLux 1fa2c55860 BUGFIX: Changed no such file run command error to include all executable types (#1918) 2025-01-24 09:13:54 -08:00
catloversg 8c19165323 BUGFIX: Grow log shows invalid values in edge cases (#1872) 2025-01-08 18:48:45 -08:00
catloversg a145ee74bc UI: Remove RAM usage percentage in "free" CLI if it's NaN (#1897) 2025-01-07 21:20:35 -08:00
catloversg f49d21cd71 UI: Clarify messages related to "buy" command (#1902) 2025-01-07 21:12:44 -08:00
catloversg 3db190c9a0 MISC: Consistently use ManualHackMoney in terminal hack and script hack (#1868) 2025-01-04 16:44:55 -08:00
catloversg bb7a1fbb22 MISC: Add raw command string to autocomplete data (#1846) 2024-12-18 03:16:38 -08:00
catloversg 9c4b0c004c UI: Make minor changes in buttons and error messages of tutorial (#1837)
* UI: Make minor changes in buttons and error messages of tutorial

* Update

* Change "Skip Tutorial" to "Exit Tutorial"
2024-12-18 02:46:37 -08:00
catloversg 75cf9c88b5 CODEBASE: Fix lint errors 3 (#1758)
This is a really big refactor because it actually *fixes* a lot of the lint errors instead of disabling them.
2024-11-14 08:18:57 -08:00
catloversg 9013ea935a BUGFIX: nano and vim use wrong template for text files (#1770) 2024-11-12 07:22:17 -08:00
catloversg 36c143b687 CODEBASE: Fix lint errors 2 (#1756) 2024-11-06 23:09:11 -08:00
catloversg f6502dd490 CODEBASE: Fix lint errors 1 (#1732) 2024-11-03 22:35:14 -08:00
catloversg bc51733fbe MISC: Improve exception alert (#1709) 2024-10-21 20:36:29 -07:00
catloversg 97489629d9 CLI: Add warning when installing backdoor on backdoored server (#1705) 2024-10-20 20:36:02 -07:00
G4mingJon4s 651b17739c NETSCRIPT: Add ns.self() as a free info function (#1636)
* added utility info

* moved info to running script

* fix for RAM cost

* description changes

Co-authored-by: David Walker <d0sboots@gmail.com>

* fixed wrong formatting

* Added parent to ignored fields

---------

Co-authored-by: David Walker <d0sboots@gmail.com>
2024-09-07 17:34:24 -07:00
catloversg ac0c9bd7e8 BUGFIX: Missing error handler when calling libarg (#1625) 2024-08-24 14:08:42 -07:00
David Walker f235513742 CHANGELOG: Update changelog for 2.6.3dev (#1601)
Commit d82247a4 was a lazy update, this finishes putting all the entries
in the changelog. The "last updated" date is not changed, since it is
only including changes up to the old date.

Reverts the html-ification introduced in the last changelog update.
2024-08-18 17:28:59 -07:00
Yichi Zhang 2563874acb MISC: Use indirect eval for terminal expr and corporation sell prices/amounts (#1599) 2024-08-17 18:13:31 -07:00
catloversg 94eef8ecde BUGFIX: Fix inconsistencies of error handling in promise-based API (#1377) 2024-08-17 14:23:08 -07:00
David Walker 5b2a4eafcb MISC: Improve several things relating to PID lookups (#1594)
findRunningScriptByPid needlessly took a "server" argument. This caused
there to be a "getRunningScriptByPid" version that did *not*, and it was
looping through all servers in order to function, which is needlessly
inefficient.

By removing the parameter and the needless inefficient helper method,
the following changes:
- Many Netscript functions such as isRunning() and getScript() become faster.
- The terminal "tail" command now works by pid regardless of the current
  server. Note that "kill" already worked this way.

I also improved the docs around "tail", since the pid argument wasn't
in the help.
2024-08-17 14:03:00 -07:00
Snarling d82247a404 Lazy changelog update
Just referencing commit history for changelog right now
2024-08-15 18:09:42 -04:00
catloversg 1ed47b4bc9 BUGFIX: Tab completion uses wrong command list (#1537) 2024-08-03 23:52:29 -07:00
catloversg 829eda2e5a MISC: Add help text for changelog command (#1540) 2024-08-03 23:43:14 -07:00
Yichi Zhang 0dd42a1d57 TERMINAL: Stop terminal scp from revealing and copying to unreachable servers (#1542) 2024-08-03 23:38:00 -07:00
Tom Prince 2f95d21503 UI: Sync UI updates to game updates. (#1512)
There are a bunch of React components that update at the same rate
that the game engine processes cycles. Rather than have each place
that does so start its own timer to update that often, add a new
react hook that triggers an update shortly after the engine completes
a cycle.
2024-08-01 23:57:43 -07:00
catloversg 864613c616 MISC: Support JSX, TS, TSX script files (#1216) 2024-07-14 14:47:10 -07:00
catloversg 313d6a28b6 MISC: Remove obsolete description of killall (#1453) 2024-07-04 00:03:18 -07:00
catloversg e66a8e319f MISC: Remove debug code (#1448) 2024-07-01 13:16:47 -07:00
David Walker 06d742a7f3 BUGFIX: Fix rounding issues due to ramOverride edge cases (#1339)
*All* RAM calculations must take place in units of hundredths-of-a-GB in
order for there not to be issues.

Also adds slightly more verbose logging when the dynamic RAM check
fails.
2024-06-28 17:58:17 -07:00
muesli4brekkies 357cc568e9 TERMINAL: Tweaks and bugfixes to grep (#1431) 2024-06-28 15:13:49 -07:00
David Walker 99b22a221c BUGFIX: Fix issues and edge-cases with rm (#1404) 2024-06-16 18:27:46 -07:00
muesli4brekkies 4936d14639 TERMINAL: Add grep command (#1381) 2024-06-14 00:00:48 -07:00
catloversg a780880531 MISC: Add ns.enums to AutocompleteData (#1389) 2024-06-13 23:56:27 -07:00
G4mingJon4s bec6e82d7f EDITOR: changed editor tabs to have their own editor mode (#1372) 2024-06-12 19:19:40 -07:00
G4mingJon4s 805ca06922 TERMINAL: Added deleting entire directories using rm (#1378) 2024-06-12 19:17:39 -07:00
catloversg 9a2bb16548 MISC: Fix wrong help text of cd command (#1376) 2024-06-09 16:39:56 -07:00
catloversg 7321d64383 BUGFIX: Fix manual hack exploit (#1324)
Formula is updated to be still relevant, but not crushing
2024-06-04 18:32:24 -07:00