Commit Graph

8959 Commits

Author SHA1 Message Date
Cica
3663b4507f MISC: Update error message when backdooring without admin rights (#2435) 2025-12-27 09:48:55 -08:00
Michael Ficocelli
4218b01dfb IPVGO: Do not update captures on passed analysis boards (#2415) 2025-12-21 13:44:24 -08:00
catloversg
49e231fd41 DEPS: Update dependencies related to monaco (#2432) 2025-12-21 13:42:20 -08:00
gmcew
3e90217cdb UI: Add Script Editor toggle for Sticky Scroll (#2431) 2025-12-21 13:40:14 -08:00
catloversg
d92b5520ec UI: Do not show error popup related to Stanek's Gift data when loading save files from pre-v1.1.0 (#2429) 2025-12-19 12:32:20 -08:00
catloversg
b76ceb725f DOCUMENTATION: Clean up "doc" folder (#2427) 2025-12-19 12:28:09 -08:00
catloversg
903b885ea2 UI: Change notice for breaking changes in v2 (#2426) 2025-12-18 14:59:17 -08:00
catloversg
bd2af9392f UI: Show useful error messages when loading unsupported save data from newer versions (#2425) 2025-12-18 14:51:48 -08:00
catloversg
be7bb0ad7c UI: Add links to documentation pages in tutorial's last step (#2424) 2025-12-18 14:43:44 -08:00
catloversg
a47867c406 CODEBASE: Refactor code related to in-game documentation link (#2422)
Nice!
2025-12-17 13:39:44 -08:00
EntenBu
6f9447e27e DOC: Add FAQ and another JIT batcher illustration to documentation (#2400) 2025-12-17 13:30:58 -08:00
Paul Setzer
968c0c2a8c CONTRACTS: Generate test contracts on executing host by default. Add support for optional parameter to specify the server. (#2417) 2025-12-16 16:23:59 -08:00
CTN
e7768824ba UI: Add option to set fractional digits (#2419) 2025-12-15 11:51:34 -08:00
catloversg
c3eb4f9ad6 DOCUMENTATION: Add instructions to troubleshoot common issues for contributors to CONTRIBUTING.md (#2420) 2025-12-15 11:46:58 -08:00
catloversg
2167a92af1 CODEBASE: Allow specifying migrator when migrating player's scripts (#2418) 2025-12-14 15:58:27 -08:00
sg673
a20053cde8 DOCUMENTATION: Clarify behavior of NS.getScriptLogs() for running scripts (#2408) 2025-12-02 12:39:35 -08:00
maglinvinn
d664d2b41a DOCUMENTATION: Remove references to defunct wiki from Hack/Weaken/Grow (#2404) 2025-11-30 13:31:43 -08:00
Michael Taylor
47b7a6f656 CODEBASE: Update packages-lock.json to not use vulnerable versions (#2405) 2025-11-28 01:19:44 -08:00
gmcew
cf32ea553f Clarification of Singularity costs inside BN4 (#2403)
- change BN description to highlight SF levels impact other BN use of singularity functions
 - add detail to singularity API description to highlight the same
2025-11-27 11:15:02 -08:00
imcute_aaaa
77fe36db89 BUGFIX: Coding contracts may have duplicate names (#2399) 2025-11-26 23:59:11 -08:00
catloversg
329fdc50fb CODEBASE: Follow-up of infil refactor #2316 (#2393) 2025-11-22 23:08:15 -08:00
David Walker
f3e9e3ddc8 BUGFIX: Avoid re-entrency issues with EventEmitter (#2397)
Subscribing or unsubscribing from within an event handler (possibly
transitively) could cause issues or even infinite loops.

This was initially fixed in #2257, which exhibited such problems.
Currently no code is known to have this issue, but it could easily come
up again in the future.
2025-11-22 18:13:44 -08:00
David Walker
50b0cc2808 MISC: Refactor implementation of ports (#2396)
This moves the implementation entirely into the PortHandle class, which
makes the code a bit more streamlined and will allow for other port
implementations in the future.
2025-11-22 17:52:25 -08:00
catloversg
67119e6c9c UI: Improve instructions in recovery mode (#2394) 2025-11-22 09:28:02 -08:00
catloversg
ce8852f3a2 BUGFIX: Company's job list shows wrong starting jobs (#2391) 2025-11-21 20:06:31 -08:00
catloversg
5c271eddf1 BUGFIX: Bladeburner console prints main body's HP instead of sleeve's HP (#2390) 2025-11-21 06:52:19 -08:00
imcute_aaaa
bb50272e54 MISC: Avoid reinventing core bonus calculation and fix formatting issue (#2387) 2025-11-19 14:18:54 -08:00
David Walker
4d230c3121 REFACTOR: Rewrite infiltration to pull state out of React (#2316)
* REFACTOR: Rewrite infiltration to pull state out of React

Upcoming projects (auto-infil, the possibility of making infil a work
task, etc.) require infiltration state to transition with predictable
timing and be under our control, instead of inside React. This refactor
accomplishes this by pulling the state out into accompanying model
classes.

After this, infiltration can theoretically run headless (without UI),
although it doesn't actually, and you would quickly be
hospitalized due to failing all the minigames.

There should be no user-visible changes, aside from the progress-bars
scrolling much more smoothly.

* Fix console warning in InfiltrationRoot

It turns out true isn't actually a safe value to use in JSX, only false works.

* Fix up some comments
2025-11-16 22:55:06 -08:00
Shy
57ca5ffeaf UI: Prevent showing redundant error toasts on failed RFA auto connect attempts (#2381) 2025-11-08 12:26:41 -08:00
gmcew
7c0286222c API: Move and rename purchased server functions to cloud API (#2367)
* Convert purchased server functions to cloud API

- Create `ns.cloud`
- Change `bitnode multipliers` and `server constants` wording for consistency
- change `server`, `ram` and `getting started` docs for consistency
- Added changes to 3.0.0 API Break and `setRemovedFunctions` in NetscriptFunctions.js

Tested by
- running tutorial `purchase-server-8gb.js`, and a more typical player one
- buying manually using vendor (Alpha Ent in Sector 12)
- deleting them all using script, and checked all deleted functions gave correct error
- Imported completed save to ensure auto-transfer of function work

* Revision in line with comments

- changed more `purchased` to `cloud` references
- Added BN mults auto-conversion

* Update getting_started.md

 - Corrected function names for new `cloud API`

* Don't show `cloud API` warning

v3.0.0 API break auto-replaces `cloud` functions, not warning suggested.

* API Break correction

- `cloud` affected API break replacement changed to be more descriptive and functional

* Fix typo and add empty lines

* Update many things (check commit's description)

- Comments
- Terminal message
- UI Text
- TSDoc
- md docs
- Improve error messages in src\NetscriptFunctions\Cloud.ts
2025-11-07 12:10:33 -08:00
Nick Shelley
d1a4ec8337 DOCUMENTATION: Improve wording around host argument of getScriptRam (#2374) 2025-11-07 11:57:33 -08:00
Shy
4ad9a96788 MISC: Support css file type (#2378) 2025-11-05 14:05:31 -08:00
Shy
9cd3ffd308 UI: Expose theme as css custom props (#2380) 2025-11-03 16:58:09 -08:00
EntenBu
e599988af7 MISC: Fix typo in README.md (#2375) 2025-10-30 10:28:59 -07:00
catloversg
174e160348 API: Make ActiveFragment extend Fragment (#2373)
* DOCUMENTATION: Fix wrong return type of ns.stanek.activeFragments

* Make ActiveFragment extend Fragment
2025-10-30 10:27:58 -07:00
catloversg
a69ee132f9 CODEBASE: Prepare for save data migration of next beta version (#2369) 2025-10-30 10:25:34 -07:00
catloversg
a5cb2a97bd UI: Reword tutorial steps to distinguish between instruction and example (#2370)
* UI: Reword tutorial steps to distinguish between instruction and example

* Minor change
2025-10-29 11:47:58 -07:00
Chaddeus
0c5256b83c UI: Correct phrasing in SmartSonar description (#2368) 2025-10-29 11:38:42 -07:00
catloversg
c6e40476bb DOCUMENTATION: Fix missing/wrong TSDoc of APIs having optional host parameter (#2371) 2025-10-29 11:15:10 -07:00
catloversg
3e75577ded BUGFIX: Electron app does not show achievement icons (#2362) 2025-10-23 12:39:11 -04:00
catloversg
1d3b96326e DEPS: Update Electron version (#2360) 2025-10-23 12:31:23 -04:00
catloversg
a703e8753b JEST: Refactor tests that add home server manually (#2358) 2025-10-21 20:57:14 -04:00
Michael Taylor
c6684431b5 UI: Format the shared RAM multipler on the factions (#2355) 2025-10-20 01:53:35 -07:00
catloversg
6837f334fd CODEBASE: Remove redundant check in getServer utility function and serverExists API (#2357) 2025-10-19 11:45:30 -07:00
Petal Ladenson
b495deb458 CLI: Let ServerProfiler.exe autocomplete servers (#2356) 2025-10-19 11:36:47 -07:00
catloversg
222e42000c CLI: Add --temporary flag to run command (#2354) 2025-10-18 12:04:39 -07:00
Michael Taylor
d785f20921 CODEBASE: Minor React related packages update (#2353)
* CODEBASE: Update @types/react & react-dom packages

Update @types/react and @types/react-dom to
17.0.26 (ts3.8) and 17.0.89 (ts3.8) from
17.0.21 (2021) and 17.0.67.

To major changes, no apparent breaking changes,
mostly packaging fixes.

* CODEBASE: Update react-syntax-higher package

Update from 15.5.0 (2022) to 15.6.6 (August 2025) which
fixes a bug with wrapLines (15.6.0, 15.6.1), fixes some
small bugs in 15.6.3 (line count, spelling), and
primarily updates dependencies, in particular prismjs to 1.30.0.

* CODEBASE: Update react-draggable package

Updates from 4.4.6 to
[4.5.0](https://github.com/react-grid-layout/react-draggable/commits/master/),
some small fixes, updated dependencies. Nothing critical, but
nothing breaking or radical as far as I can tell.

* CODEBASE: Update tss-react package

Patch level update of [tss-react](https://www.tss-react.dev/) package,
from 4.9.10 (Apr 2024) to 4.9.19 (Jul 2025). Appears to be primarily
for React 19 and Material UI 7 support. Low-priority, but should be
low-risk.

* CODEBASE: Update react-refresh package

[react-refresh](https://www.npmjs.com/package/react-refresh)
From 0.17.0 to 0.18.0.
2025-10-18 09:15:52 -07:00
catloversg
cb5b80a6d5 DOCUMENTATION: Use alternative fix for newline issue in IPvGO docs (#2350) 2025-10-15 11:58:11 -07:00
catloversg
30a572cfe6 API: Rename "TIX" interface to "Stock" (#2351) 2025-10-14 11:51:54 -07:00
catloversg
7ca364f49f DOCUMENTATION: Fix wrong commands in getting_started.md (#2349) 2025-10-13 08:59:53 -07:00