Commit Graph

9171 Commits

Author SHA1 Message Date
Michael Ficocelli 19064a1b12 MISC: Improve script args validation message (#2451) 2026-01-18 11:34:49 -08:00
catloversg c55577929c BLADEBURNER: Make some editorial changes in Black Operations' description (#2449) 2026-01-17 14:43:07 -08:00
catloversg c8e3eb2050 CODEBASE: Generate display data for math notation at built time and remove runtime mathjax dependency (#2447) 2026-01-17 14:41:24 -08:00
catloversg be16b2a375 BLADEBURNER: Reduce threshold of showing warning of low population (#2450) 2026-01-17 14:35:53 -08:00
David Walker 3d7d2d7734 REFACTOR: Move Result to the public API (#2398)
* REFACTOR: Move Result to the public API

This refactors Result<T> to be part of the public NetscriptDefinitions.
It is not used by anything in this PR, but it is planned to be used in
the autoinfil APIs, or lacking that, future APIs, so this should not be
exposing anything prematurely.

* Add @public as api-extractor suggested and generate docs

* Use import type

---------

Co-authored-by: CatLover <152669316+catloversg@users.noreply.github.com>
2026-01-17 14:30:49 +07:00
EntenBu 95528ebb09 Add a question and a grammatical fix in faq.md (#2446)
"Made with beginners in mind" might be a bit of an overstatement, but I'm not gonna quibble on the wording. (IMO we are less "let me hold your hand while you learn how to cast your fishing rod" and more "I shoved you into the pond, grab some fish or smth idk")
2026-01-12 15:58:55 -08:00
catloversg d0474a7adf DEPS: Update dependencies to fix vulnerability warnings (#2445) 2026-01-11 13:31:21 -08:00
Jonathon Chase d7ee3cc3bb Update README.md to correct Frequently Asked Questions link. (#2444) 2026-01-08 13:25:24 -08:00
Adam Weeden 7af9dca6bc CONTRACTS: Display contract answers on completely failed contracts (#2440) 2026-01-08 13:21:52 -08:00
Nicholas Colclasure edf3d11b72 LORE: Add literature expanding the augment prestige lore (#2433) 2026-01-03 13:49:42 -08:00
EntenBu fc2931bc15 DOC: Change wording in Singularity.installAugmentation (#2439)
This commit changes a minor wording in the API commit. "uninstalled" implies "removed" hence the change
2026-01-03 13:45:40 -08:00
gmcew df6c507369 MISC: Fix typos and duplicating ms per cycle constant (#2436) 2025-12-28 16:09:35 -08:00
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