Commit Graph

9171 Commits

Author SHA1 Message Date
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
catloversg 902367d8b6 MISC: Add removal of API server to list of breaking changes (#2205) 2025-07-22 00:42:46 -07:00
catloversg effa0ff17b DOCUMENTATION: Update infiltration docs (#2259) 2025-07-22 00:14:35 -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 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 a2a4a2a0b4 BUGFIX: Loading code discards entire Go data due to missing migration code for favor/rep (#2252) 2025-07-19 14:55:49 -07:00
catloversg c02e985c07 BUGFIX: Go history page shows favor bonus instead of reputation bonus (#2251) 2025-07-19 14:51:07 -07:00
catloversg 581048a757 UI: Place tooltips and popups in front of log windows (#2253) 2025-07-19 14:49:46 -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 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 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 41548d8b7b DOCUMENTATION: Fix wrong param/return type and clarify ns.sleep, ns.asleep, ns.singularity.exportGame (#2242) 2025-07-16 17:06:34 -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
catloversg 477d01652b CORPORATION: Remove Spring Water industry (#2240) 2025-07-16 01:07:55 -07:00
catloversg d38a0b453a CORPORATION: Fix typo in #2237 (#2238) 2025-07-12 17:51:34 +07:00
catloversg 073dd43d94 DEVMENU: Reset hacknet server list properly when setting level of SF9 (#2177) 2025-07-11 12:57:38 -07:00
catloversg f182030385 CORPORATION: Use different term for dividend modifier instead of tax (#2237) 2025-07-11 12:55:46 -07:00
gmcew 3fc65a2de4 CONTRACTS: Proposal for Contract Progression System (#2230) 2025-07-10 14:25:36 -07:00
catloversg c5799616ce CODEBASE: Fix inconsistent generated pages.ts (#2236) 2025-07-10 14:21:08 -07:00
catloversg 46d4dc9725 DOCUMENTATION: Clarify condition of joining Daedalus faction (#2234) 2025-07-10 01:42:27 -07:00