Commit Graph

9063 Commits

Author SHA1 Message Date
catloversg
ade79c0f65 UI: Add option to autosave scripts on focus change (#2565) 2026-03-13 19:37:17 -07:00
catloversg
9f6e2ce2d1 MISC: Improve help text of expr command (#2561) 2026-03-13 19:34:40 -07:00
catloversg
50442472b5 BLADEBURNER: Add APIs to get rank gain and rank loss of an action (#2572) 2026-03-13 19:34:13 -07:00
catloversg
bc3e8ff3d5 DOCUMENTATION: Add missing newline after RAM cost (#2570) 2026-03-13 19:23:29 -07:00
catloversg
8bdcaf5f83 API: Improve error messages for invalid sleeve numbers (#2567) 2026-03-12 17:36:16 -07:00
catloversg
b737bb63e6 CODEBASE: Create monaco editor instance with null model (#2563) 2026-03-12 17:19:14 -07:00
catloversg
9eb2863e48 API: Add API to minimize and expand tail windows (#2556) 2026-03-08 14:00:06 -07:00
catloversg
342dea77fa API: Make ns.cloud.purchaseServer() and ns.cloud.deleteServer() use hostname as provided (#2560) 2026-03-08 13:57:13 -07:00
catloversg
e329082a48 API: Cancel sleeve's current task when calling ns.sleeve.travel() (#2559) 2026-03-07 12:10:20 -08:00
catloversg
39a7a31276 API: Add minimum width/height constraints to ns.ui.resizeTail (#2558) 2026-03-07 12:07:56 -08:00
catloversg
e06fb3dd9d API: Print error message when calling ns.ui.closeTail with nonexistent pid or pid of stopped scripts (#2557) 2026-03-07 12:05:21 -08:00
catloversg
f8bb1ed997 UI: Show "undefined" instead of -1 as pid in error popup when catching promise errors (#2555) 2026-03-07 11:34:04 -08:00
David Walker
b6a29681f4 BUGFIX: Fix webstorm by using a mutationLock (#2542) 2026-03-06 11:11:06 -08:00
catloversg
90f6db6d24 MISC: Allow parsing unknown options with data.flags in autocomplete (#2539) 2026-03-04 12:27:12 -08:00
David Walker
dc5c43db2e REFACTOR: Make getPlayer 10x faster (#2548) 2026-03-03 14:21:34 -08:00
catloversg
5e71612fd7 UI: Update toolbar of in-game editor (#2551) 2026-03-03 14:07:08 -08:00
catloversg
45366a1a42 DOCUMENTATION: Update guides (#2550) 2026-03-03 14:05:14 -08:00
David N
17f8c354e0 UI: Add inline script RAM usage text to each active script (#2546) 2026-03-03 13:38:59 -08:00
catloversg
cf1f5224fd BLADEBURNER: Rebalance charisma exp gain of Recruitment action (#2549) 2026-03-03 13:36:11 -08:00
catloversg
c14b4955f6 DOCUMENTATION: Clarify how share power affects reputation gain rate of non-hacking work (#2544) 2026-02-28 11:50:53 -08:00
Michael Ficocelli
3d41c348bc DNET: Rebalance / player feedback (#2533) 2026-02-28 11:48:03 -08:00
Joshua
15e1ab9af7 BLADEBURNER: Adjusted team bonus computation to make one member help (#2541) 2026-02-27 17:19:27 -08:00
catloversg
cfb536cd01 BUGFIX: Fix issues with RFA auto-reconnecting feature (#2535) 2026-02-26 13:34:28 -08:00
catloversg
47d8db8b91 DOCUMENTATION: Follow-up of #2523 (#2529) 2026-02-24 13:30:43 -08:00
catloversg
144fd50774 UI: Add indicator of RFA connection status to overview panel (#2497) 2026-02-24 12:11:20 -08:00
Misha279-UA
c85d9cbe8c CCT: Add "Find Largest Rectangle in a Matrix" coding contract (#2519) 2026-02-24 12:10:42 -08:00
catloversg
6626f0d5d1 DOCUMENTATION: Document quirky behavior of ns.flags when default value is nullish (#2528) 2026-02-24 12:03:10 -08:00
catloversg
d677b4ad18 CODEBASE: Update comment of LoadingScreen of ComplexPage enum (#2527) 2026-02-24 11:59:18 -08:00
catloversg
dbc58f1f58 DOCUMENTATION: Update BitNode recommendation short guide (#2523) 2026-02-23 12:09:21 -08:00
David Walker
8f4313b180 Revert "PIPE: Add pipe support for passing data into and out of terminal commands (#2395)" (#2524)
This reverts commit 92b8b58588.

Accidental merge on my part - the code is in decent shape, but isn't meant to go in for 3.0.
2026-02-22 11:28:10 -08:00
Michael Ficocelli
92b8b58588 PIPE: Add pipe support for passing data into and out of terminal commands (#2395) 2026-02-22 11:18:23 -08:00
catloversg
4a22e16058 WORKFLOW: Fix wrong instruction of generating docs (#2522) 2026-02-21 11:58:50 -08:00
catloversg
0c118ede38 DOCUMENTATION: Use relative links instead of absolute links (#2521) 2026-02-21 11:58:15 -08:00
catloversg
67fd763c30 JEST: Show coding contract names when their tests failed (#2520) 2026-02-21 10:20:31 -08:00
David Walker
42acdc6d84 UI: Tweak CSS/Position of Darknet Docs link (#2517)
Per Discord discussion, the lower left seems to be more visible.
2026-02-21 10:17:15 -08:00
catloversg
00b9034980 UI: Show errors if using nano/vim with patterns that do not match any files (#2515) 2026-02-19 09:53:01 -08:00
David Walker
2b542257a9 MISC: Update changelog (#2514)
Latest commit: 9279b16
2026-02-18 13:52:02 -08:00
Michael Ficocelli
9279b16729 DNET: Adjust balance from player feedback (#2512) 2026-02-18 13:41:48 -08:00
catloversg
8f77dc2df0 UI: Show hints of BitNode documentation and allow opening it in BitVerse (#2513) 2026-02-18 10:08:53 -08:00
catloversg
f7483243fd UI: Use font family setting when rendering MUI Link component (#2511) 2026-02-18 09:59:28 -08:00
catloversg
7c3473e98d MISC: Update changelog and version number (#2509) 2026-02-17 01:27:21 +07:00
David Walker
42bdbbc2c8 MISC: Update blood donations (#2508)
Per Hydroflame's request
2026-02-16 10:12:52 -08:00
catloversg
9a6e80129f UI: Improve navigation system of in-game documentation viewer (#2499)
* UI: Improve navigation system of in-game documentation viewer

* Update based on feedback

* Update based on feedback
2026-02-16 09:00:58 -08:00
catloversg
dd78a2cb44 API: Remove RAM cost of hacknet namespace and set RAM cost of each hacknet API (#2502)
* API: Remove RAM cost of hacknet namespace and set RAM cost of each hacknet API

* Fix Jest tests

* Update based on feedback
2026-02-16 09:00:02 -08:00
catloversg
775a1b1e4b CODEBASE: Refactor ImportSave component (#2505) 2026-02-15 10:57:40 -08:00
catloversg
77d83a2fdc UI: Add option to disable minimap in script editor (#2504) 2026-02-15 10:56:01 -08:00
catloversg
dc0c3b6fa3 JEST: Add tests for checking getAnswer and solver of coding contracts (#2503) 2026-02-15 10:53:58 -08:00
David Walker
b51ed8fd59 BUG: Fix missed cases in offline server handling (#2495)
There were two large holes in the existing offline server handling:

1. It didn't include IPs, so scripts that used IPs instead of hostnames
   would get exceptions thrown for "server not found."
2. Coverage was very low for non-Darknet APIs. Maybe most of them don't
   need to be covered, but many obvious ones like "ps", "killall" and
   "hasRootAccess" were missing. IMO the only reliable answer is one
   that enforces *all* are covered via the type system.

To accomplish the second part, helpers.getServer() was changed to return
null when a server is offline. This intentionally breaks a lot of its
utility, which was to return a server unconditionally. To compensate,
its utility was increased - it now also does unknown argument
processing, allowing it to subsume a common line that all callers were
repeating.

Some callers switched to ctx.workerScript.getServer(), because they
didn't actually need to be using helpers.getServer(). Similarly, a few
callsites switched to GetServerOrThrow(), for the cases where it should
be guaranteed that the server is valid. The rest are returning a
default/failure response when the server is offline. (Except for
contracts, which threw on failure already anyway.)
2026-02-15 10:29:47 -08:00
catloversg
b5ab495837 BUGFIX: Hacknet server UI shows NaN hash rate when 100% RAM is being used (#2500) 2026-02-15 10:27:21 -08:00
David Walker
a0bbdfd871 DARKNET: Refactor/adjust getPixelPosition (#2501)
This simplifies the logic. It also adjusts the position of special
servers slightly; in particular, they are horizontally centered
(appearing in-between the adjacent row, and not merely staggered).

The split into two functions is in preparation for perf improvements
that require calculating this without access to the server.
2026-02-13 20:19:17 -08:00