Commit Graph

245 Commits

Author SHA1 Message Date
catloversg
e5e4e2693f
DOCUMENTATION: Clarify getSkillUpgradeCost and fix typo in BaseTask () 2024-11-03 23:27:59 -08:00
ballardrog
0bf378a1b0
IPVGO: Add getCheatCount(). () 2024-10-27 18:52:23 -07:00
Michael Ficocelli
6df3dcdc82
IPVGO: Add optional board state argument to the go analysis functions () 2024-10-27 17:31:06 -07:00
catloversg
f49d3b32a5
DOCUMENTATION: Clarify cyclesWorked of Task () 2024-10-23 16:18:18 -07:00
catloversg
b72c03acf0
DOCUMENTATION: Clarify "completion" property of GraftingTask () 2024-10-21 21:22:17 -07:00
catloversg
3ce2ae5fd7
API: Change type of skill name parameter of skillMaxUpgradeCount API () 2024-10-21 20:39:56 -07:00
catloversg
e644c0e91e
API: Make condition of donateToFaction consistent () 2024-10-07 23:14:09 -07:00
catloversg
3ef3821a08
DOCUMENTATION: Clarify condition of ns.corporation.bribe () 2024-10-07 23:12:35 -07:00
catloversg
4d60c833cc
MISC: Remove mention of Hacking Mission () 2024-10-06 22:58:24 -07:00
catloversg
32e00aff7a
BUGFIX: Wrong parameter requirement of ns.bladeburner.setTeamSize () 2024-09-30 20:18:25 -07:00
Michael Ficocelli
2a5b0ca4e9
IPVGO: Prevent issues caused by resetting the board while the go AI is in flight () 2024-09-07 18:33:49 -07:00
G4mingJon4s
651b17739c
NETSCRIPT: Add ns.self() as a free info function ()
* added utility info

* moved info to running script

* fix for RAM cost

* description changes

Co-authored-by: David Walker <d0sboots@gmail.com>

* fixed wrong formatting

* Added parent to ignored fields

---------

Co-authored-by: David Walker <d0sboots@gmail.com>
2024-09-07 17:34:24 -07:00
catloversg
0ce5cd35dc
DOCUMENTATION: Fix mangled NS API TSDoc () 2024-09-07 17:29:23 -07:00
Fireball5939
95394b5956
DOCUMENTATION: Improve ns.enableLog() docs to remove a missleading description ()
Changed ns.enableLog documentation to be very similar to ns.disableLog, to remove possible confusion that it only undoes the effects of ns.disableLog
2024-08-26 19:49:44 -07:00
Nicole
b4f2a5c641
set static information netscript costs to 0 () 2024-08-25 10:09:36 -07:00
Nicole
7f5c4e1fe0
API: Reduced RAM cost for ns.getPurchasedServers () 2024-08-22 00:44:21 -07:00
catloversg
614bec1e13
DOCUMENTATION: Fix wrong description of ns.corporation.createCorporation () 2024-08-21 17:50:47 -07:00
Nicole
995e367432
DOCS: Correct function signature for hashUpgradeCost () 2024-08-21 16:47:26 -07:00
catloversg
cacecda72f
API: Add types for parameters of gym-university-bladeburner API (Fix merging error) ()
* API: Add types for parameters of gym-university-bladeburner API
* Fix merging error
2024-08-17 14:08:55 -07:00
David Walker
79bb0d289a
Revert "API: Add types for parameters of gym-university-bladeburner API ()" ()
This reverts commit da8870ed796c916c19cac7c2b6328a75180367fc.
2024-08-16 13:45:54 -07:00
catloversg
da8870ed79
API: Add types for parameters of gym-university-bladeburner API () 2024-08-16 13:29:24 -07:00
catloversg
289f60d8c8
BLADEBURNER: Add API to calculate max upgrade count of skill () 2024-08-16 13:15:20 -07:00
catloversg
a9cb46606c
DOCUMENTATION: Update documentation of Corporation API () 2024-08-16 02:02:23 -07:00
catloversg
1d9e026b6e
DOCUMENTATION: Remove wrong information in ns.weaken ()
* DOCUMENTATION: Remove wrong information in ns.weaken

* Update based on the feedback
2024-08-14 22:07:42 -07:00
catloversg
6c2d44b0fe
DOCUMENTATION: Fix errors and warnings shown by api-extractor () 2024-08-13 15:57:15 -07:00
catloversg
5427ae71ca
DOCUMENTATION: Fix wrong description of ns.singularity.applyToCompany () 2024-08-13 15:28:02 -07:00
Yichi Zhang
93eb9b0cef
Add buyAmount and importAmount to Corporation Material API () 2024-08-08 18:13:03 -07:00
catloversg
180dae1d2c
DOCUMENTATION: Add GoAnalysis and GoCheat () 2024-08-05 13:42:19 -07:00
catloversg
e5a63b4116
MISC: Fix typos in NetscriptDefinitions.d.ts () 2024-08-04 13:09:50 -07:00
catloversg
864613c616
MISC: Support JSX, TS, TSX script files () 2024-07-14 14:47:10 -07:00
catloversg
783120c886
FEATURE: BitNode options () 2024-07-14 14:30:30 -07:00
catloversg
2b6ec5cd33
BLADEBURNER: Fix wrong behavior of ns.bladeburner.getSkillUpgradeCost () 2024-07-07 14:49:23 -07:00
catloversg
960fe5aa8b
BUGFIX: Wrong success chance in ns.bladeburner.getActionEstimatedSuccessChance () 2024-07-02 15:07:56 -07:00
catloversg
b1c1fc24a9
GRAFTING: Add new api for checking ongoing grafting () 2024-06-28 19:59:18 -07:00
Sphyxis
61ec7dde80
API: Get Sleeve Success at BB tasks through existing commands () 2024-06-28 19:49:52 -07:00
David Walker
9c9a69f2e2
NETSCRIPT: Add ramOverride() function ()
This adds a way to dynamically change the static RAM limit of a script,
which is also its current RAM usage. This makes it possible for scripts
to dynamically change their memory footprint, opening up new strategies
beyond current ram-dodging.

Calling functions still permanently increases the *dynamic* memory
limit; RAM-dodging is still the optimal strategy for avoiding RAM costs,
in that sense.

This also adds dynamicRamUsage to the info returned by
`getRunningScript`, to allow introspection on the currently needed ram.
2024-06-28 18:42:20 -07:00
David Walker
1c20a24079
MISC: Make spawn able to have 0 delay ()
This eliminates a hole where spawn was unrelaible, because other scripts
could jump in and steal the RAM. It's not an API break, because 0 used
to be an invalid value.
2024-06-28 18:41:41 -07:00
David Walker
06d742a7f3
BUGFIX: Fix rounding issues due to ramOverride edge cases ()
*All* RAM calculations must take place in units of hundredths-of-a-GB in
order for there not to be issues.

Also adds slightly more verbose logging when the dynamic RAM check
fails.
2024-06-28 17:58:17 -07:00
catloversg
21e984bda6
DOCUMENTATION: Clarify logging API () 2024-06-28 02:37:04 -07:00
catloversg
5a8f0e99af
SINGULARITY: Add ns.singularity.getFactionWorkTypes () 2024-06-24 20:43:36 -07:00
catloversg
a780880531
MISC: Add ns.enums to AutocompleteData () 2024-06-13 23:56:27 -07:00
catloversg
344054f10d
DOCUMENTATION: Clarify maximum number of ports () 2024-06-12 19:07:05 -07:00
Albert Llop
ba7d45362f
bladeburner.getTeamSize: fix signature and documentation () 2024-06-09 16:39:01 -07:00
Albert Llop
995294a770
BUGFIX: bladeburner.getActionRepGain: mark level param as optional in signature () 2024-06-09 16:34:53 -07:00
catloversg
e64247571d
IPVGO: Add missing space characters in API documentation () 2024-06-07 13:15:46 -07:00
Michael Ficocelli
a28bb4bd99
IPVGO: Support playing manually as white against your scripts using the No AI type board () 2024-06-02 17:41:31 -07:00
catloversg
b8d3109158
MISC: Change type of location parameter/property () 2024-05-28 11:49:48 -07:00
catloversg
53f187fb89
MISC: Fix wrong text in Tutorial and NetscriptDefinitions.d.ts () 2024-05-27 15:30:32 -07:00
catloversg
48a7eb364f
DOCUMENTATION: Fix wrong examples in NetscriptDefinitions.d.ts () 2024-05-27 14:42:31 -07:00
Michael Ficocelli
efd4152eed
IPVGO: Fix outdated docs () 2024-05-23 20:07:45 -04:00