Commit Graph

8532 Commits

Author SHA1 Message Date
catloversg
933ec964cf
CORPORATION: Print error message when player cannot create corporation (#1820) 2024-12-01 13:50:32 -08:00
catloversg
6e1848dd79
CORPORATION: Add new API to check if player can create corporation (#1598)
* CORPORATION: Add new API to check if player can create corporation
* Update description of createCorporation API
* Return enum instead of true/false
* Use throwIfReachable
* Fix typo in comment
2024-11-30 21:49:19 -08:00
catloversg
67704f2ab0
CODEBASE: Use "esnext" target when transforming code with swc (#1810) 2024-11-30 16:02:32 -08:00
catloversg
0caeb5c5ca
DOCUMENTATION: Clarify prerequisites of augmentations when grafting (#1814) 2024-11-30 15:46:04 -08:00
catloversg
9efc091f8d
CORPORATION: Improve FAQ and .lit file (#1808) 2024-11-30 15:36:02 -08:00
catloversg
7a4b3e23c1
CODEBASE: Show error dialog when finding out old bugs in pre-v2.4.0 (#1816)
* CODEBASE: Show error dialog when finding out old bugs in pre-v2.4.0

* Only show error dialog once
2024-11-30 15:31:44 -08:00
catloversg
9c7223f876
MISC: Enable new lint rules (#1806) 2024-11-27 13:56:58 -08:00
catloversg
fdcdf0e27a
MISC: Add missing comma in changelog (#1805) 2024-11-27 13:55:51 -08:00
David Walker
b829f28f8c
MISC: Update changelog (#1804)
Updated through c6865802
2024-11-27 01:42:34 -08:00
catloversg
c686580289
MISC: Update changelog (#1803) 2024-11-27 01:28:35 -08:00
catloversg
1e6c9d69e2
JEST: Move TerminalMatching.test.ts (#1801) 2024-11-27 01:23:51 -08:00
catloversg
88322a23a7
BUGFIX: Cannot load Bladeburner tasks of Sleeves from pre-v2.6.1 (#1800) 2024-11-27 01:23:20 -08:00
catloversg
22b6458c22
REFACTOR: Handle migration of ActionIdentifier in Bladeburner code instead of GenericReviver (#1799) 2024-11-27 01:22:23 -08:00
catloversg
3846c69204
BUGFIX: Infinite loop when migrating player's scripts from pre-v1.0.0 (#1798) 2024-11-27 01:18:43 -08:00
catloversg
55627d7212
CORPORATION: Fix wrong initial productionMult of new division (#1794) 2024-11-27 01:16:19 -08:00
catloversg
faed78cf2c
CODEBASE: Validate AllGangs and StockMarket after loading with JSON.parse (#1783) 2024-11-27 01:13:47 -08:00
catloversg
7d03a9ef32
CODEBASE: Improve type checks in SaveObject.ts (#1774) 2024-11-27 00:35:09 -08:00
catloversg
6d2e106371
MISC: Change current version to 2.7.0 (#1795) 2024-11-27 00:07:16 -08:00
catloversg
bb0b857f71
JEST: Add tests for b1tflum3 and destroyW0r1dD43m0n API (#1802) 2024-11-27 00:06:11 -08:00
catloversg
9d8ac65aaf
BUGFIX: Generic Reviver does not handle Message class (#1796) 2024-11-24 13:46:18 -08:00
catloversg
294c9cbf4d
MISC: Accept "noscript" as parameter for skipping loading scripts (#1797) 2024-11-24 13:44:30 -08:00
catloversg
05da0efc81
REFACTOR: Mitigate cyclic dependency between Jsonable classes (#1792) 2024-11-23 15:53:31 -08:00
catloversg
45a6ca6b8e
BUGFIX: Wrong usage of delete operator in Settings.load (#1791) 2024-11-23 15:23:57 -08:00
catloversg
596a621c62
BUGFIX: Missing migration code for v0.56.0 (#1790) 2024-11-21 22:57:36 -08:00
catloversg
8c4fcfe045
CODEBASE: Recheck all usages of typecasting with JSON.parse (#1775) 2024-11-20 23:47:02 -08:00
catloversg
70a231e421
BUGFIX: Hashserver UI shows wrong server list when purchasing upgrades (#1782) 2024-11-20 12:53:11 -08:00
catloversg
fe2c98e3cf
BLADEBURNER: Deduct karma when successfully completing action involving killing (#1784) 2024-11-20 12:51:18 -08:00
Jon Hartnett
99aeecbd0e
BUGFIX: Fix ramOverride check (#1787)
ramOverride currently prevents you from actually using exactly all of a server's memory due to a bug in the ram check. Simply replace ">=" with ">" to allow the new ram to equal the max ram.

Test script:
```js
/** @param {NS} ns */
export async function main(ns) {
  ns.tprint(ns.ramOverride(8));
}
```
Expected output (on fresh save):
```js
8
```
Output before this commit:
```js
1.6
```
2024-11-20 12:47:55 -08:00
catloversg
04611a30b6
MISC: Remove duplicate usages of special server's hostname (#1781) 2024-11-19 11:47:34 -08:00
David Walker
5faa418c74
REFACTOR: Better casting in JSONReviver.ts (#1780) 2024-11-19 11:45:26 -08:00
catloversg
d824cd4fa6
CODEBASE: Add comments to Generic_fromJSON (#1776) 2024-11-18 15:36:23 -08:00
gmcew
93a9475b8d
Fix hashnet server list (#1779)
Remove WD if TRP isn't installed.
2024-11-18 14:23:01 -08:00
catloversg
75cf9c88b5
CODEBASE: Fix lint errors 3 (#1758)
This is a really big refactor because it actually *fixes* a lot of the lint errors instead of disabling them.
2024-11-14 08:18:57 -08:00
catloversg
97ca8c5f5e
CODEBASE: Fix lint errors 4 (#1773)
Co-authored-by: Michael Ficocelli <ficocemt@gmail.com>
2024-11-14 07:47:35 -08:00
catloversg
4f84a894eb
MISC: Add error cause to exceptionAlert and Recovery mode (#1772) 2024-11-12 19:27:18 -08:00
catloversg
246d668951
CORPORATION: Rewrite validation code for strings of price and quantity (#1753) 2024-11-12 07:39:21 -08:00
catloversg
9bba6a0a41
CORPORATION: Fix negative stored material (#1771) 2024-11-12 07:24:59 -08:00
catloversg
9013ea935a
BUGFIX: nano and vim use wrong template for text files (#1770) 2024-11-12 07:22:17 -08:00
catloversg
48b25d2223
MISC: Update monaco-editor (#1769) 2024-11-12 07:20:42 -08:00
catloversg
5d26f4fa56
GANG: Show error popup when there are errors (#1763)
* GANG: Show error popup when there are errors

* Only show error once when it's in a hot code path
2024-11-11 07:41:38 -08:00
catloversg
72a63b15cb
API: Return active SF levels in getOwnedSourceFiles and ResetInfo.ownedSF (#1761)
* DOCUMENTATION: Clarify getOwnedSourceFiles when player overrides active levels of SFs
* Return Player.activeSourceFiles instead of Player.sourceFiles
* Get rid of zeroes in the map
2024-11-10 22:56:57 -08:00
catloversg
cb9e281c45
UI: Auto focus hashnet upgrade modal (#1768) 2024-11-10 22:54:51 -08:00
catloversg
40651a757d
CORPORATION: Clarify ns.corporation.bribe() (#1766) 2024-11-10 22:53:27 -08:00
catloversg
c638d858c6
DOCUMENTATION: Clarify FactionWorkRepGain multiplier (#1767) 2024-11-10 16:40:13 -08:00
catloversg
e825492319
CORPORATION: Expose valuation via ns.corporation.getCorporation() (#1765) 2024-11-10 16:32:25 -08:00
catloversg
daec7482fa
UI: Change order of information in stats progress bar (#1764) 2024-11-10 16:30:47 -08:00
catloversg
650cf51acb
DOCUMENTATION: Add more information for deprecated nFormat API (#1762) 2024-11-10 16:27:35 -08:00
catloversg
f4c2b29d40
GANG: Show confirmation popup if player enables territory clashes while being too weak (#1760) 2024-11-09 21:12:17 -08:00
G4mingJon4s
d6874d68aa
UI: Added the ability to change the font size (#1703) 2024-11-09 16:50:18 -08:00
catloversg
90cb8a9551
MISC: Add proper type check to AST walking code (#1757) 2024-11-09 15:34:46 -08:00