Commit Graph

8893 Commits

Author SHA1 Message Date
Femboy Fireball
18b062663d ELECTRON: Allow automatically hiding the top menu in Electron (#2325) 2025-10-03 12:45:18 -07:00
catloversg
7225a2b22e BUGFIX: Color picker appears behind theme editor (#2321)
* BUGFIX: Color picker appears behind theme editor

* Remove unnecessary newline
2025-10-02 16:24:04 -07:00
catloversg
66a5c9568b TOOLS: Update doc.sh (#2331)
* TOOLS: Update doc.sh

* Update as suggested
2025-10-01 12:37:04 -07:00
Ante
f9a6cc841e CORPORATION: Expose production limit of material and product (#2330) 2025-10-01 01:04:39 -07:00
catloversg
060e929b68 UI: Print error detail to terminal if script cannot be compiled or there is runtime error while autocompleting (#2328)
* UI: Print error detail to terminal if script cannot be compiled while autocompleting

* Print error if there is runtime error
2025-09-28 22:45:58 -07:00
catloversg
9c2a5c25cb CODEBASE: Add more debug info for troubleshooting corporation issues (#2327) 2025-09-28 14:34:35 -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
David Walker
5f51f355c6 UI: Improve dev menu for augmentations (#2315)
* UI: Improve dev menu for augmentations

The button layout was confusing, there was no quick way to install augs,
and uninstalled augs didn't properly lose their stat effects.
2025-09-27 23:04:59 -07:00
catloversg
4c3c56623d BUGFIX: Stat levels are not recalculated after grafting augs or accepting Stanek's Gift (#2322) 2025-09-27 23:04:18 -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
Michael Taylor
09ecd915c2 DEVENV: Update NodeJS to v22 (#2318)
* move to minimum nodejs 22 (from 18)
2025-09-23 11:46:26 -07:00
catloversg
b1bdfc4a9e WORKFLOW: Update NodeJs version in workflows (#2319) 2025-09-23 17:55:26 +07:00
catloversg
2637baffc7 CD: Split build-artifacts.yml into 2 workflows (#2309) 2025-09-06 11:41:39 -07:00
catloversg
9d5342732c JEST: Add Jest test to test migration from v2 to v3 (#2305) 2025-09-05 23:40:02 -07:00
Snarling
0c64c3620d ELECTRON: Build universal macOS binary (#2306) 2025-09-05 23:35:29 -07:00
Michael Ficocelli
cad38f015c IPVGO: Prevent tiny islands surrounded by offline nodes during initial board generation (#2310) 2025-09-05 23:26:57 -07:00
catloversg
21ddb99fd5 MISC: Export save data before migrating to v3 (#2304) 2025-09-02 22:55:44 -07:00
catloversg
f8329813e5 BUGFIX: Active Scripts page may mix up UI after prestige (#2303) 2025-08-29 12:19:44 -07:00
catloversg
8bd1c4af24 MISC: Update version number (#2300) 2025-08-27 17:33:18 -07:00
catloversg
bde1d95d88 MISC: Update changelog (#2299) 2025-08-27 17:32:24 -07:00
catloversg
af75bd96e7 UI: Add configurable option for auto-reconnecting to RFA client (#2297) 2025-08-26 23:58:38 -07:00
Adam Weeden
bd3c6c10ef EDITOR: Add the ability to Beautify on Save (optionally) (#2287) 2025-08-26 16:35:41 -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
Michael Ficocelli
ef8cbc3e0c IPVGO: Ensure that player promises are changed to "gameOver" once the game is over (#2198) 2025-08-24 13:13:27 -07:00
gmcew
b8e39fe05c DOC: Update 'Hacking Algorithms' page (#2288)
* Update hackingalgorithms.md

* Update src/Documentation/doc/en/programming/hackingalgorithms.md

d0s corrections

Co-authored-by: David Walker <d0sboots@gmail.com>

* Update src/Documentation/doc/en/programming/hackingalgorithms.md

d0s corrections

Co-authored-by: David Walker <d0sboots@gmail.com>

* Suggest changes

* Add heading for Proto-batcher

Co-authored-by: David Walker <d0sboots@gmail.com>

* Run prettier

---------

Co-authored-by: David Walker <d0sboots@gmail.com>
Co-authored-by: CatLover <152669316+catloversg@users.noreply.github.com>
2025-08-23 11:14:16 -07:00
Michael Ficocelli
02f2f1be74 IPVGO: Ensure getValidMoves correctly handles playing as white (#2292) 2025-08-22 13:12:09 -07:00
acidduk
b025a4d0c1 Update NetscriptDefinitions.d.ts (#2289)
Improve function description
2025-08-15 23:37:13 -07:00
catloversg
c124c45270 UI: Close coding contract popup on prestige (#2285) 2025-08-11 02:30:44 -07:00
catloversg
f0ca10e1b1 CORPORATION: Prevent purchasing product-only research for material industries (#2283) 2025-08-06 04:07:04 -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
Adam Weeden
13e3ad190d BUGFIX: Refresh the server info after a contract promise returns (#2281) 2025-08-05 20:47:35 -07:00
Victor Oliveira
2d8401eaae Change alert to accept multiple args as other print functions (#2278) 2025-08-04 09:25:06 -07:00
acidduk
89b8497859 Update ArrayJumpingGame.ts (#2277)
Improve contract description
2025-08-04 09:00:44 -07:00
catloversg
970368d11d API: Expose gang's discount rate (#2272) 2025-08-01 09:32:51 -07:00
David Walker
d4cb50fbf1 BUGFIX: Fix calculateExp so that it won't return a too small result (#2274)
* BUGFIX: Fix calculateExp so that it won't return a too small result

Due to floating point rounding issues, when applying the inverse
operation and flooring, roughly half the time we would get the next
lower skill level. This quickly finds a slightly higher result that
gives the correct inverse.

* clearer test layout
2025-07-31 12:54:31 -07:00
catloversg
8976d54532 API: Add ns.singularity.getHackingLevelRequirementOfProgram (#2271) 2025-07-30 14:44:06 -07:00
gmcew
952fc28b67 UI: Corrected ns.tail examples to ns.ui.openTail (#2270)
Changed to ns.ui.openTail in the example text where needed.
2025-07-29 13:06:32 -07:00
catloversg
7928800bbc MISC: Update changelog (#2269) 2025-07-24 22:59:03 -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
catloversg
8729dc3d1b MISC: Update messages related to text files (#2266) 2025-07-24 22:39:55 -07:00
catloversg
fee75b44d4 BUGFIX: ns.mv writes to destination file even if it cannot delete source file (#2267) 2025-07-24 22:38:55 -07:00
Chris Farfan de los Godos
8f69a6c0ee COMMAND: Improving error message for mv when a script is Running
* Adjusted error message to include information about making sure scripts are not running when trying to use mv on them.

* nom run format

* Added behaviour info to NetscriptDefinitions.d.ts

* `npm run doc`

* un-nested/inversed the check

* `npm run format`
2025-07-23 16:27:01 -07:00
catloversg
ff106bb764 BUGFIX: Error message shows blob URL instead of script name (#2265) 2025-07-23 14:30:25 -07:00
Chris Farfan de los Godos
7019145f3b MISC: Fix typo in KARMA_1000000 achievement 2025-07-23 14:22:33 -07:00
catloversg
6bf501fb78 API: Make some APIs throw error when server is invalid (#2261) 2025-07-23 14:20:20 -07:00
catloversg
cfa8f59602 DOCUMENTATION: Update Remote API docs (#2258) 2025-07-23 14:16:24 -07:00
catloversg
85094d4fb4 DOCUMENTATION: Mention TypeScript support and update example in React docs (#2263) 2025-07-22 13:25:00 -07:00
catloversg
1ac95144be ELECTRON: Specify mime type when loading wasm files (#2262) 2025-07-22 13:24:00 -07:00