Commit Graph

8506 Commits

Author SHA1 Message Date
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
catloversg
36c143b687
CODEBASE: Fix lint errors 2 (#1756) 2024-11-06 23:09:11 -08:00
catloversg
e3c10e9f0f
MISC: Always add script's earnings to its parent (#1754) 2024-11-06 18:44:38 -08:00
catloversg
60c4be0496
MISC: Add generic type as returned type for action and checking (#1748) 2024-11-06 18:10:56 -08:00
catloversg
36eb12098f
CORPORATION: Fix typo in documentation (#1752) 2024-11-06 18:03:04 -08:00
catloversg
c7cf0b853b
MISC: Minor code change in SkillElem.tsx (#1751) 2024-11-04 16:24:15 -08:00
catloversg
81e068ba9c
MISC: Include React component stack in Recovery Mode report (#1750) 2024-11-04 16:20:02 -08:00
catloversg
e5e4e2693f
DOCUMENTATION: Clarify getSkillUpgradeCost and fix typo in BaseTask (#1749) 2024-11-03 23:27:59 -08:00
catloversg
772762493f
BLADEBURNER: Change sleeveSize from property to getter (#1746) 2024-11-03 23:19:01 -08:00
catloversg
56c797e23f
BLADEBURNER: Remove duplicate getRecruitmentSuccessChance (#1745) 2024-11-03 23:16:54 -08:00
catloversg
bc02d4f92f
BLADEBURNER: Change skill.canUpgrade and Skills UI (#1744) 2024-11-03 23:08:19 -08:00
JMack6490
5786d7adcb
DOCUMENTATION: Update NetscriptDefinitions.d.ts (#1743)
Added line 5934: using hackAnalyzeThreads on a server you cannot hack returns -1
2024-11-03 22:54:43 -08:00
catloversg
b388865317
UI: Fix typo in CovenantPurchasesRoot.tsx (#1740) 2024-11-03 22:38:19 -08:00
catloversg
c8183e55db
BUGFIX: Crash in theme editor modal (#1735) 2024-11-03 22:38:01 -08:00
catloversg
f6502dd490
CODEBASE: Fix lint errors 1 (#1732) 2024-11-03 22:35:14 -08:00
catloversg
f7ee3a340f
MISC: Remove or change popup shown when system clock moved backward (#1739) 2024-10-30 04:15:43 -07:00
catloversg
a12c48ed43
UI: Disable font ligatures by default (#1729) 2024-10-27 22:39:01 -07:00
ballardrog
0bf378a1b0
IPVGO: Add getCheatCount(). (#1734) 2024-10-27 18:52:23 -07:00
catloversg
b01527a9dc
MISC: Update blood donation (#1736) 2024-10-27 18:40:23 -07:00
Michael Ficocelli
6df3dcdc82
IPVGO: Add optional board state argument to the go analysis functions (#1716) 2024-10-27 17:31:06 -07:00
Michael Ficocelli
ecc2d92edb
IPVGO: uncheck the 'show prior move' feature when a new game is started (#1728) 2024-10-27 17:25:04 -07:00
catloversg
810cfc8b21
MISC: Validate hostname and port of RFA (#1721) 2024-10-23 18:12:04 -07:00
catloversg
f49d3b32a5
DOCUMENTATION: Clarify cyclesWorked of Task (#1725) 2024-10-23 16:18:18 -07:00
catloversg
9a0400d3df
API: Improve built-in print APIs when printing objects containing Map or Set (#1723) 2024-10-23 16:01:58 -07:00
catloversg
d0022aac2b
DEVMENU: Reset other gangs when leaving gang (#1715) 2024-10-23 01:55:22 -07:00
catloversg
b72c03acf0
DOCUMENTATION: Clarify "completion" property of GraftingTask (#1713) 2024-10-21 21:22:17 -07:00
catloversg
3ce2ae5fd7
API: Change type of skill name parameter of skillMaxUpgradeCount API (#1712) 2024-10-21 20:39:56 -07:00