8402 Commits

Author SHA1 Message Date
catloversg
329d8ca8e6 BUGFIX: Wrong skill multipliers in Bladeburner (#1615) 2024-08-23 21:04:13 -07:00
bupjae
95bb6a33df DOCUMENTATION: Clarify experience gain of sleeves (#1609) 2024-08-22 12:53:16 -07:00
Nicole
7f5c4e1fe0 API: Reduced RAM cost for ns.getPurchasedServers (#1614) 2024-08-22 00:44:21 -07:00
catloversg
614bec1e13 DOCUMENTATION: Fix wrong description of ns.corporation.createCorporation (#1612) 2024-08-21 17:50:47 -07:00
catloversg
4a3dcf8a26 MISC: Expose internal data in dev build (#1611) 2024-08-21 17:50:11 -07:00
Sol
8d9f63f49f UI: Fix incorrect information given in pserv upgrade error msg. (#1602) 2024-08-21 17:48:55 -07:00
catloversg
818d7446be MISC: Rename getRandomArbitrary (#1605) 2024-08-21 16:50:51 -07:00
Nicole
995e367432 DOCS: Correct function signature for hashUpgradeCost (#1603) 2024-08-21 16:47:26 -07:00
David Walker
f235513742 CHANGELOG: Update changelog for 2.6.3dev (#1601)
Commit d82247a4 was a lazy update, this finishes putting all the entries
in the changelog. The "last updated" date is not changed, since it is
only including changes up to the old date.

Reverts the html-ification introduced in the last changelog update.
2024-08-18 17:28:59 -07:00
Yichi Zhang
2563874acb MISC: Use indirect eval for terminal expr and corporation sell prices/amounts (#1599) 2024-08-17 18:13:31 -07:00
catloversg
94eef8ecde BUGFIX: Fix inconsistencies of error handling in promise-based API (#1377) 2024-08-17 14:23:08 -07:00
Fireball5939
701c5d8e64 API: Fixed ns.singularity.donateToFaction being able to donate to SoA (#1595)
Fixed ns.singularity.donateToFaction bug
Fixed a bug within singularity.donateToFaction where you could use it to donate to Shadows Of Anarchy
Also updated the Node version in package-lock.json to 18
2024-08-17 14:10:01 -07:00
catloversg
cacecda72f API: Add types for parameters of gym-university-bladeburner API (Fix merging error) (#1596)
* API: Add types for parameters of gym-university-bladeburner API
* Fix merging error
2024-08-17 14:08:55 -07:00
David Walker
5b2a4eafcb MISC: Improve several things relating to PID lookups (#1594)
findRunningScriptByPid needlessly took a "server" argument. This caused
there to be a "getRunningScriptByPid" version that did *not*, and it was
looping through all servers in order to function, which is needlessly
inefficient.

By removing the parameter and the needless inefficient helper method,
the following changes:
- Many Netscript functions such as isRunning() and getScript() become faster.
- The terminal "tail" command now works by pid regardless of the current
  server. Note that "kill" already worked this way.

I also improved the docs around "tail", since the pid argument wasn't
in the help.
2024-08-17 14:03:00 -07:00
David Walker
34db6e8b26 NETSCRIPT: Rework disableLog for efficiency (#1589)
The current implementation was naive; disableLog("ALL") was storing a
key for every function, and iterating over a different object to do it
(when iterating over objects is quite slow).

The common cases of Bitburner (and especially batching, where efficiency
matters most) are either never disabling anything, or disabling "ALL".
This optimizes for these two cases, at the expense of slightly more
complicated code to deal with the less-common edge cases.
2024-08-16 19:10:20 -07:00
Nicole
385a9dc11d BUGFIX: Fix Bladeburner city chaos reaching Infinity/NaN (#1588) 2024-08-16 16:28:43 -07:00
David Walker
79bb0d289a Revert "API: Add types for parameters of gym-university-bladeburner API (#1591)" (#1592)
This reverts commit da8870ed796c916c19cac7c2b6328a75180367fc.
2024-08-16 13:45:54 -07:00
catloversg
da8870ed79 API: Add types for parameters of gym-university-bladeburner API (#1591) 2024-08-16 13:29:24 -07:00
catloversg
289f60d8c8 BLADEBURNER: Add API to calculate max upgrade count of skill (#1475) 2024-08-16 13:15:20 -07:00
catloversg
3d15413619 MISC: Increase minimum node version (#1565) 2024-08-16 13:01:09 -07:00
catloversg
4a1506cf7e BUGFIX: Block hacking-related actions on player-owned servers (#1585) 2024-08-16 02:05:22 -07:00
catloversg
a9cb46606c DOCUMENTATION: Update documentation of Corporation API (#1587) 2024-08-16 02:02:23 -07:00
Snarling
d82247a404 Lazy changelog update
Just referencing commit history for changelog right now
2024-08-15 18:09:42 -04:00
catloversg
a48bfba536 BUGFIX: Wrong error message when failing to recruit gang member (#1580) 2024-08-15 13:15:05 -07:00
catloversg
8e278f9262 CI: Update Node version (#1578) 2024-08-15 13:08:21 -07:00
catloversg
9db1084b16 MISC: Cancel infiltration when player is hospitalized (#1579) 2024-08-14 22:20:17 -07:00
catloversg
440c074606 UI: Allow filtering graftable augmentations (#1570) 2024-08-14 22:18:27 -07:00
catloversg
dbeaef94a2 CORPORATION: Fix NaN Total Assets caused by bug in bulkPurchase API (#1573) 2024-08-14 22:09:41 -07:00
catloversg
1d9e026b6e DOCUMENTATION: Remove wrong information in ns.weaken (#1574)
* DOCUMENTATION: Remove wrong information in ns.weaken

* Update based on the feedback
2024-08-14 22:07:42 -07:00
catloversg
e3dc867e08 UI: Notify players about documentation tab after getting SF1.1 (#1571) 2024-08-13 16:04:08 -07:00
catloversg
e7cd2ee19b DEVMENU: Use Autocomplete instead of Select in augmentation tool (#1569) 2024-08-13 15:59:49 -07:00
catloversg
6c2d44b0fe DOCUMENTATION: Fix errors and warnings shown by api-extractor (#1566) 2024-08-13 15:57:15 -07:00
catloversg
5427ae71ca DOCUMENTATION: Fix wrong description of ns.singularity.applyToCompany (#1561) 2024-08-13 15:28:02 -07:00
catloversg
23f98c1ff6 UI: Add success chance of Bladeburner action to Sleeves UI (#1567) 2024-08-11 16:59:08 -07:00
Nicole
7029ac9bcc UI: Add apostrophe to stanek's gift strings (#1568) 2024-08-11 16:38:40 -07:00
David Walker
ff80847af6 MISC: Improve rep calculation accuracy (#1559) 2024-08-09 16:26:01 -07:00
Yichi Zhang
93eb9b0cef Add buyAmount and importAmount to Corporation Material API (#1553) 2024-08-08 18:13:03 -07:00
catloversg
685b7d51f7 ELECTRON: Update Electron to v29 (#1556) 2024-08-08 18:10:55 -07:00
Michael Ficocelli
e16ac34c15 IPVGO: add scoring rules explanations to how to play page and score modal (#1558) 2024-08-08 17:44:19 -07:00
catloversg
59bb58535e DEVMENU: Small change in augmentation tool (#1557) 2024-08-08 17:40:52 -07:00
catloversg
1fdb8bd352 UI: Always show description of faction price multiplier (#1555) 2024-08-08 17:39:53 -07:00
catloversg
ed01fb8e9e BUGFIX: Wrong success range of Bladeburner general action (#1552) 2024-08-08 17:37:22 -07:00
catloversg
75cacc36bc BUGFIX: Outdated formula of favor in tooltip (#1554) 2024-08-08 16:46:19 -07:00
gmcew
2d1747b3e9 CONTRACTS: Hamming Code parity sentence clarification, "Find All Valid Math Expressions" missing line breaks added, example formatting made consistent (#1550) 2024-08-06 15:02:54 -07:00
catloversg
1a8dcad02b BUGFIX: Duplicated program in edge case (#1549) 2024-08-05 13:43:56 -07:00
catloversg
180dae1d2c DOCUMENTATION: Add GoAnalysis and GoCheat (#1548) 2024-08-05 13:42:19 -07:00
catloversg
9a77b47241 MISC: Remove js-sha256 (#1278) 2024-08-05 13:40:16 -07:00
catloversg
eeac3f7dd1 BUGFIX: Duplicated augmentation when buying after grafting (#1536) 2024-08-04 13:11:00 -07:00
catloversg
e5a63b4116 MISC: Fix typos in NetscriptDefinitions.d.ts (#1546) 2024-08-04 13:09:50 -07:00
catloversg
986ac0b627 BUGFIX: Wrong countdown of remaining time for Bladeburner action (#1547) 2024-08-04 13:07:10 -07:00