Commit Graph

692 Commits

Author SHA1 Message Date
catloversg
31e6e4d74b MISC: Enforce stricter param check on ns.getBitNodeMultipliers and ns.hacknet.spendHashes (#2085) 2025-04-14 16:20:36 -07:00
catloversg
a9900072da MISC: Remove support for running NS1 scripts (#2083) 2025-04-11 13:41:48 -07:00
Naga
0aaa28054a NETSCRIPT: Add functionality and support to fully allow Players to use IP addresses in place of hostnames (#1990) 2025-04-10 18:41:37 -07:00
Shy
d28a06e764 API: dynamic imports with ns.dynamicImport() (#2036) 2025-04-09 18:49:01 -07:00
catloversg
b2093a2419 MISC: Clarify conditions of activating Gang, Bladeburner, Stanek's Gift (#2053) 2025-03-31 13:37:35 -07:00
Michael Ficocelli
f6e7ef082c IPVGO: Add support for highlighting nodes and adding small text (#1996) 2025-03-31 13:36:30 -07:00
catloversg
5dc80587a7 DOCUMENTATION: Clarify AutocompleteData.server and ns.formatNumber (#2062) 2025-03-31 13:24:48 -07:00
Naga
1539c428bc NETSCRIPT: Add the 'cat' method to 'ns.singularity' (#1999) 2025-03-23 00:04:26 -07:00
Michael Ficocelli
70a083b34b IPVGO: Improve type checking and documentation (#2028) 2025-03-22 23:59:46 -07:00
Michael Ficocelli
17ffabdfa5 IPVGO: Add new analysis method to set a custom testing board state (#2029) 2025-03-22 23:52:26 -07:00
catloversg
dcce966fb1 DOCUMENTATION: Update TSDoc of ns.purchaseServer and CodingContract types (#2023) 2025-03-12 15:46:38 -07:00
catloversg
8fe0ea1615 MISC: Warn player that they cannot accept Stanek's Gift after joining Bladeburner with SF7.3 (#2005) 2025-03-07 15:14:15 -08:00
catloversg
ff724f3f06 DOCUMENTATION: Clarify values returned in range 0-1 (#1986) 2025-03-01 09:08:42 -08:00
catloversg
f54f7b932c DOCUMENTATION: Clarify value of gang territory (#1978)
* DOCUMENTATION: Clarify decimal form of gang territory

* Update based on feedback
2025-02-28 12:45:36 -08:00
catloversg
fed3cf1af2 DOCUMENTATION: Clarify ns.singularity.quitJob (#1979) 2025-02-27 10:03:46 -08:00
catloversg
05f0ba1ac6 DOCUMENTATION: Clarify ns.singularity.softReset (#1980) 2025-02-27 10:02:04 -08:00
Adam Andreatta
a25ab3dd39 API: Added external api which returns gainExperience (#1955) 2025-02-20 15:57:06 -08:00
catloversg
3bb56efb34 DOCUMENTATION: Clarify ns.scan (#1965) 2025-02-16 18:27:10 -08:00
catloversg
adc39ad825 BUGFIX: ns.corporation.bribe can bribe faction that player is not member of (#1966) 2025-02-16 01:05:22 -08:00
catloversg
2dfaca3db4 DOCUMENTATION: Clarify ns.nuke (#1969) 2025-02-16 00:58:00 -08:00
LJ
30075f3c07 API: Add donationForRep() to Formulas (#1141) 2025-02-11 22:05:32 -08:00
Michael Ficocelli
c8d2c9f769 IPVGO: Support scripts playing against each other as each color on "No AI" boards (#1917)
This is a big change with a *lot* of moving parts.

The largest part of it is enabling scripts to `playAsWhite` as a parameter to many Go functions. In the implementation, this involved a significant rewrite of `opponentNextTurn` promise handling.

A number of other changes and bugfixes are included:
* Fixes the issue where handicap stones are added on game load.
* Better typing for error callbacks.
* Throw errors instead of deadlocking on bad cheat usage.
* Return always-resolved gameOver promise after game end
* Added a new `resetStats` api function.

---------

Co-authored-by: David Walker <d0sboots@gmail.com>
2025-02-02 20:47:16 -08:00
catloversg
d6ee16cdb3 API: Move tail-related APIs to another namespace (#1935)
* API: Move tail-related APIs to another namespace

* Add missing RAM cost config

* Remove setTailFontSize from NS namespace
2025-02-01 21:43:56 -08:00
catloversg
956e3875e9 API: Add getSaveData API (#1390) 2025-01-30 10:36:59 -08:00
catloversg
2965f51879 API: Add a way to get the list of all factions (#1457) 2025-01-28 10:40:11 -08:00
G4mingJon4s
ffae0045a4 CODINGCONTRACT: Add support for other answer formats (#1892) 2025-01-26 09:35:04 -08:00
catloversg
b161142796 API: Add ns.renderTail (#1815) 2025-01-25 09:14:45 -08:00
catloversg
1a54be184e DOCUMENTATION: Make nuke and port opening functions return boolean (#1923) 2025-01-24 08:48:50 -08:00
Mathekatze
7b009991e5 DOCUMENTATION: improve documentation for atExit() (#1916) 2025-01-19 12:49:25 -08:00
catloversg
0f9144a059 CODEBASE: Validate theme, editor theme, and styles (#1789) 2025-01-08 19:20:05 -08:00
G4mingJon4s
c622291eff NETSCRIPT: Added changing tail font size through scripts (#1852) 2025-01-04 16:51:13 -08:00
catloversg
93c07ac107 DOCUMENTATION: Clarify returned value of ns.bladeburner.getActionCountRemaining (#1873) 2025-01-04 16:33:45 -08:00
catloversg
bcbaf3e224 DOCUMENTATION: Clarify type of returned value of ns.gang.getOtherGangInformation (#1882) 2025-01-04 16:21:17 -08:00
Naga
ef87174e3f DOCUMENTATION: Clarify the return descriptions of 'getPurchasedServerCost' and 'getPurchasedServerUpgradeCost' to include the returns for invalid inputs. (#1884) 2025-01-04 16:20:20 -08:00
catloversg
bc0dc15536 DOCUMENTATION: Fix typo of CrimeStats (#1850) 2024-12-18 03:32:21 -08:00
catloversg
c2fe6108e1 DOCUMENTATION: Clarify getGraftableAugmentations API (#1858) 2024-12-18 03:23:56 -08:00
catloversg
bb7a1fbb22 MISC: Add raw command string to autocomplete data (#1846) 2024-12-18 03:16:38 -08:00
catloversg
8aea99e5cd API: Add "No AI" to GoOpponent type (#1845) 2024-12-18 03:14:35 -08:00
catloversg
e6078ab1df UI: Change description and add tooltip for HackMoney-related multipliers (#1823)
* UI: Change description and add tooltip for HackMoney-related multipliers

* Update based on feedback
2024-12-18 02:51:25 -08:00
catloversg
37ddb43b82 API: Allow passing 0 SkillPoints to skillMaxUpgradeCount (#1844) 2024-12-12 03:07:31 -08:00
catloversg
4137a0e522 DOCUMENTATION: Clarify isBusy and stopAction Singularity APIs (#1822) 2024-12-12 02:57:19 -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
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
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
650cf51acb DOCUMENTATION: Add more information for deprecated nFormat API (#1762) 2024-11-10 16:27:35 -08:00
G4mingJon4s
d6874d68aa UI: Added the ability to change the font size (#1703) 2024-11-09 16:50:18 -08:00
catloversg
e5e4e2693f DOCUMENTATION: Clarify getSkillUpgradeCost and fix typo in BaseTask (#1749) 2024-11-03 23:27:59 -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