Commit Graph

270 Commits

Author SHA1 Message Date
catloversg
3813d03fb6 MISC: Rework intelligence override (#2575) 2026-03-19 20:09:37 -07:00
catloversg
f916daf252 MISC: Rework faction rumor (#2569) 2026-03-16 11:49:46 -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
David Walker
b6a29681f4 BUGFIX: Fix webstorm by using a mutationLock (#2542) 2026-03-06 11:11:06 -08:00
catloversg
144fd50774 UI: Add indicator of RFA connection status to overview panel (#2497) 2026-02-24 12:11:20 -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
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
David Walker
26b5c28df6 REFACTOR: Speed up by-ip lookups by introducing a new map entry (#2488)
Thankfully, the existing AllServers map is not exported, so we can
ensure that all the changes are only local to this file.

This also fixes a bug if renameServer was called with the same
name. (Probably calling code checked that case already.)
2026-02-11 10:43:52 -08:00
Michael Ficocelli
6073964768 DARKNET: Darkweb Expansion Project & Bitnode (#2139)
This is BN15. It is a really big change; see the PR for all the details.
2026-02-03 03:40:36 -08:00
catloversg
8b07879ad9 CODEBASE: Update SaveData type to be compatible with TS 5.9 and upgrade TS (#2457) 2026-01-28 12:26:06 -08:00
Michael Ficocelli
19064a1b12 MISC: Improve script args validation message (#2451) 2026-01-18 11:34:49 -08:00
Michael Ficocelli
4218b01dfb IPVGO: Do not update captures on passed analysis boards (#2415) 2025-12-21 13:44:24 -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
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
a47867c406 CODEBASE: Refactor code related to in-game documentation link (#2422)
Nice!
2025-12-17 13:39:44 -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
catloversg
2167a92af1 CODEBASE: Allow specifying migrator when migrating player's scripts (#2418) 2025-12-14 15:58:27 -08:00
imcute_aaaa
77fe36db89 BUGFIX: Coding contracts may have duplicate names (#2399) 2025-11-26 23:59:11 -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
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
Shy
4ad9a96788 MISC: Support css file type (#2378) 2025-11-05 14:05:31 -08:00
catloversg
a69ee132f9 CODEBASE: Prepare for save data migration of next beta version (#2369) 2025-10-30 10:25:34 -07:00
catloversg
d421d4fcf9 MISC: Make TIX access independent from WSE account (#2342) 2025-10-11 17:28:45 -07:00
catloversg
21ddb99fd5 MISC: Export save data before migrating to v3 (#2304) 2025-09-02 22:55:44 -07:00
catloversg
95e38164f7 GANG: Rename equipment that uses real brand names (#2293) 2025-08-26 15:12:46 -07:00
gmcew
15776e36e3 CONTRACTS: Clean up helpers, expand documentation, Hamming wording again (#2296) 2025-08-25 17:16:26 -07:00
catloversg
ff106bb764 BUGFIX: Error message shows blob URL instead of script name (#2265) 2025-07-23 14:30:25 -07:00
catloversg
6bf501fb78 API: Make some APIs throw error when server is invalid (#2261) 2025-07-23 14:20:20 -07:00
catloversg
902367d8b6 MISC: Add removal of API server to list of breaking changes (#2205) 2025-07-22 00:42:46 -07:00
Michael Ficocelli
dd128842af INFIL: Add stat requirements; Add market consequences for spamming infiltration (#2210)
The primary parts are changing the way stats affect infiltration difficulty, to make rewards more intuitive and balanced, and adding a "market demand" mechanism, which kicks in when doing lots of infils quickly. With current parameters, market demand shouldn't affect manual play at all, and won't affect most auto-infil terribly (it depends how they're implemented).

This was a complex change, see PR #2210 for the full context
2025-07-20 11:01:47 -07:00
David Walker
4059be3d8c DOC: Move all docs into en/ subdirectory (#1505)
* DOC: Move all docs into en/ subdirectory

PR #1502 is working on adding a Chinese translation to the docs. In
general, I encouraged this (in #1452) as a path towards getting useful
translated content in the game without requiring a massive
refactor/rearchitecting of everything.

To support this, this takes the first step of moving our docs into an
en/ subdirectory, so that other languages can live alongside. No effort
is made at this time to support or select between alternate languages;
this is a pure-rename refactor.
2025-07-19 19:15:56 -07:00
catloversg
e3ea611928 CORPORATION: Remove VeChain (#2245) 2025-07-17 14:24:19 -07:00
catloversg
3a67db7876 MISC: Update migration instruction for breaking change of ns.nFormat (#2247) 2025-07-17 14:22:10 -07:00
catloversg
b8398ba4c1 CODEBASE: Update dev dependencies (#2246) 2025-07-17 14:21:03 -07:00
catloversg
4a2244d4e7 UI: Show terminal warning instead of popup for breaking changes (#2244)
* UI: Show terminal warning instead of popup for breaking changes

* Run prettier
2025-07-16 17:10:02 -07:00
catloversg
477d01652b CORPORATION: Remove Spring Water industry (#2240) 2025-07-16 01:07:55 -07:00
catloversg
f182030385 CORPORATION: Use different term for dividend modifier instead of tax (#2237) 2025-07-11 12:55:46 -07:00
catloversg
6c7783aa85 CORPORATION: Remove DreamSense upgrade (#2232) 2025-07-10 01:40:36 -07:00
catloversg
9b59fcbb5f BUGFIX: Running scripts may be loaded before main UI (#1726) 2025-07-05 18:10:51 -07:00
catloversg
d7642b34d0 API: Rename FactionName.BachmanAssociates to FactionName.BachmanAndAssociates (#2183) 2025-06-25 13:11:37 -07:00
catloversg
a506554e04 BUGFIX: ns.bladeburner.getActionRepGain returns wrong value (#2186) 2025-06-21 13:35:00 -07:00
Michael Ficocelli
18f84396e2 FEATURE: Add "Recent Errors" tab and improved error modal (#2169) 2025-06-16 16:43:21 -07:00
catloversg
cf72937faf UI: Improve Recovery Mode screen (#2206) 2025-06-16 16:38:51 -07:00
catloversg
2cabb98095 API: Rename BN multiplier RepToDonateToFaction to FavorToDonateToFaction (#2178) 2025-06-03 01:21:59 -07:00
catloversg
7d2686ed1b API: Standardize names of Stock APIs (#2173) 2025-06-02 02:36:36 -07:00
catloversg
b17b0d710b BUGFIX: API break detector does not detect affected code in some cases (#2172) 2025-06-02 02:22:25 -07:00
catloversg
6a23c85e12 UI: Search and read NS API docs in editor tab and documentation tab (#2163) 2025-05-31 23:53:20 -07:00