Commit Graph

917 Commits

Author SHA1 Message Date
Michael Ficocelli
bab6280735 DNET: Add JS object properties as server names; refactor save/load/server storage to support this (#2482) 2026-02-10 00:13:47 -08:00
catloversg
4c7e3d0833 UI: Show karma in Stats page and explain what it is in documentation (#2475) 2026-02-05 10:07:51 -08:00
Michael Ficocelli
b9068ab328 DOCS: Fix some IPvGO docs that do not reflect winstreak rep converted to favor (#2463) 2026-02-03 04:55:38 -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
kaoticengineering
afddd284fc UI: Add settings to change currency symbol and whether to show it after money value (#2453) 2026-01-28 12:16:28 -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
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
CTN
e7768824ba UI: Add option to set fractional digits (#2419) 2025-12-15 11:51:34 -08:00
catloversg
67119e6c9c UI: Improve instructions in recovery mode (#2394) 2025-11-22 09:28:02 -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
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
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
catloversg
bb8552fa81 UI: Prevent text from overflowing when script's args are too long in Active Scripts page (#2324) 2025-09-27 23:25:52 -07:00
David Walker
e1352e67b1 UI: Better status bar animations (#2317)
* UI: Better status bar animations

This is an alternate implementation of #2286. It does the same
wrap-around behaviour for when the progressbar crosses into the next
level, but it skips animation entirely if the effective skill level goes
down, or if more than one level is gained at a time.

The implementation uses the animate() DOM api instead of manipulating
styles, which completely avoids the issues of having CSS style buildup.
This API is designed for exactly what we're trying to do.

I also pushed rerender handling down from CharacterOverview to
StatsProgressBar, which simplifies things and is helpful for doing the
animation implementation.
2025-09-27 23:05:21 -07:00
Michael Taylor
dcd2f33f7c CODEBASE: Update api-documentor and api-extractor (#2320)
* Update api-documentor and api-extractor. #1566 follow-up.

I have verified that the HTML/markdown table generation bug in
[#4878](https://github.com/microsoft/rushstack/issues/4878) in rushstack
for api-documentor has been fixed as per rushstack#5256. The testcase
[repro](https://github.com/catloversg/api-documenter-bug-pr-4578) now
produces the correct expected output.

I have confirmed that the generated output in bitburner from
`npm run doc` now generated HTML tables, and correctly inserts
a blank line between the </table> and the follow line (e.g. Returns).

Stylisticly it could use some whitespace, but it is correctly rendered.

This commit is only the updated packages, not the updated generated
documentation. I assume that is automatically generated by the GitHub
workflow.

* Follow up to 5f732a6f35, include `npm run doc` changed docs.

* Add missing license info

* Fix React warning

---------

Co-authored-by: CatLover <152669316+catloversg@users.noreply.github.com>
2025-09-26 14:52:39 -07:00
catloversg
f8329813e5 BUGFIX: Active Scripts page may mix up UI after prestige (#2303) 2025-08-29 12:19:44 -07:00
catloversg
c124c45270 UI: Close coding contract popup on prestige (#2285) 2025-08-11 02:30:44 -07:00
catloversg
82e3b3f9ae BUGFIX: Dropdown list appears behind modal when it's used in modal (#2282) 2025-08-06 04:04:08 -07:00
catloversg
cd320c307d UI: Add tooltip for reputation/favor in page of faction's augmentation list (#2268) 2025-07-24 22:43:26 -07:00
David Walker
fdafa191ac BUGFIX: Fix ctrl-clicking after the doc_en refactor (#2256)
This refactors getPage so that the same code can be used as part of
openDocExternally. This is necessary, since looking things up in
AllPages is potentially required to determine which language-version of
the external page to link to.
2025-07-20 10:50:42 -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
581048a757 UI: Place tooltips and popups in front of log windows (#2253) 2025-07-19 14:49:46 -07:00
catloversg
b8398ba4c1 CODEBASE: Update dev dependencies (#2246) 2025-07-17 14:21:03 -07:00
catloversg
64ae5eb40c UI: Show money in exponential form instead of "0.000" for dividends when it's > 0 but still too small (#2243) 2025-07-17 13:53:32 -07:00
catloversg
5e3a2cce0f BUGFIX: Exporting game via menu of Steam app does not give export bonus (#2241) 2025-07-16 17:05:34 -07:00
gmcew
f2e7babcf3 CONTRACTS: Fix nbsp rendering as text rather than a space (#2225) 2025-07-06 10:10:36 -07:00
catloversg
9b59fcbb5f BUGFIX: Running scripts may be loaded before main UI (#1726) 2025-07-05 18:10:51 -07:00
catloversg
e3968a1fb9 UI: Scroll to top when opening new NS API doc page in popup mode (#2181) 2025-06-25 13:24:18 -07:00
catloversg
78046ed21d DEVMENU: Auto expand last opened tools (#2182) 2025-06-25 13:11:12 -07:00
catloversg
510a9a6be5 BUGFIX: Documentation navigator does not handle external URL properly (#2202) 2025-06-21 13:31:52 -07:00
catloversg
bebee7b1ef BUGFIX: Current work is not shown in edge cases (#2208) 2025-06-20 11:27:19 -07:00
catloversg
098bf0ffce DOCUMENTATION: Support showing images in markdown docs (#2207) 2025-06-20 11:24:06 -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
3c8099dc6b MISC: Mention bug-report channel on Discord for reporting bugs (#2201) 2025-06-14 23:47:28 -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
6a23c85e12 UI: Search and read NS API docs in editor tab and documentation tab (#2163) 2025-05-31 23:53:20 -07:00
catloversg
197e7f79cb CODEBASE: Fix typo of "CorruptableText" (#2144) 2025-05-19 20:07:09 -07:00
catloversg
43e5589e61 MISC: ns.hacknet.spendHashes handles invalid targets in same way as UI (#2102) 2025-05-17 22:39:10 -07:00
Michael Ficocelli
4749acdd4f IPVGO: Improve favor gain from wins to balance around the rep value of favor (#2131) 2025-05-17 02:36:58 -07:00
catloversg
eea6733e3b MISC: Export crash report when a fatal error occurs (#2106) 2025-05-10 22:45:37 -07:00
catloversg
b1b560b6c6 BUGFIX: BitVerse does not show all BN multipliers in some cases (#2045) 2025-05-10 22:40:28 -07:00
catloversg
7db15a6bd2 CODEBASE: Remove wrong and irrelevant comments/code (#2111) 2025-05-10 02:22:47 -07:00
catloversg
494ef0dff3 UI: Add option to enable/disable syncing Steam achievements (#2117) 2025-05-10 02:13:41 -07:00
catloversg
a9900072da MISC: Remove support for running NS1 scripts (#2083) 2025-04-11 13:41:48 -07:00
catloversg
5d23764316 MISC: Remove useless iframe in April Fool's Day popup (#2065) 2025-04-03 13:41:39 -07:00