Commit Graph

8904 Commits

Author SHA1 Message Date
catloversg bd4e34fae0 CLI: Do not round down amount of hacked money in "hack" CLI (#2344) 2025-10-10 10:38:50 -07:00
catloversg 5c0f24f5d0 UI: Show server's money in exponential form if it's too small (#2343) 2025-10-10 10:37:35 -07:00
catloversg 2a2b38f4ad UI: Warn player if they run no-arg programs with arguments (#2338) 2025-10-08 14:14:01 -07:00
Michael Taylor f12fc380cc MUI: Update minor version of material UI and Emotion packages (#2339) 2025-10-08 14:11:24 -07:00
Thaccus 625fe46bc3 DOCUMENTATION: Clarify cross-host characteristic of PID and port (#2336) 2025-10-07 13:40:05 -07:00
catloversg 1883af6c38 TOOLS: Enable linting in test folder (#2337) 2025-10-06 23:48:18 -07:00
Michael Ficocelli 0d1f5f3eeb IPVGO: Consistently return error() calls to make sure it is obvious the function halts at that point (#2335) 2025-10-06 14:26:31 -07:00
Michael Taylor 370424af2d JEST: Quiet Jest tests output on expected failures (#2332) 2025-10-05 12:31:15 -07:00
Femboy Fireball 8a2f8bb746 UI: Clarify why you can't buy 4S when disabled (#2311) 2025-10-04 14:45:42 -07:00
catloversg 4b8af02026 WORKFLOW: Add new job to check generated docs (#2329) 2025-10-04 14:41:02 -07:00
catloversg 020b185377 JEST: Enable restoreMocks option and fix lint errors (#2333)
* JEST: Enable restoreMocks option and fix lint errors

* Fix test\jest\Save.test.ts
2025-10-04 14:38:50 -07:00
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