catloversg
e5a63b4116
MISC: Fix typos in NetscriptDefinitions.d.ts ( #1546 )
2024-08-04 13:09:50 -07:00
David Walker
9c9a69f2e2
NETSCRIPT: Add ramOverride() function ( #1346 )
...
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
catloversg
21e984bda6
DOCUMENTATION: Clarify logging API ( #1444 )
2024-06-28 02:37:04 -07:00
David Walker
384d1c1a2b
NETSCRIPT: A minorly breaking change around script launch, and refactoring. ( #1213 )
2024-04-23 20:21:05 -04:00
Shy
4aaf845fca
API: make ns.atExit add the callback to an array instead of setting it ( #1059 )
2024-03-05 19:22:45 -05:00
Snarling
d801743842
Generate missing docs
2024-03-04 09:51:34 -05:00
Snarling
497618dc2f
Generate missing docs
2024-01-31 19:37:08 -05:00
Michael Ficocelli
7ef12a0323
BITNODE: IPvGO territory control strategy game ( #934 )
2023-12-26 11:45:27 -05:00
Michael Ficocelli
7b00fcc5b1
MISC: spelling and consistency fixes in the NetscriptDefinitions.ts file ( #821 )
2023-10-02 20:14:44 -04:00
muesli4brekkies
c5e2f65cb0
API: Added spawnDelay parameter to ns.spawn options, allowing user defined delay ( #807 )
2023-09-27 01:31:47 -04:00
muesli4brekkies
66ac31ee99
DOCS: Improve/correct some API docs related to ports ( #772 )
2023-09-02 10:57:31 -04:00
missymae#2783
7500ef0da2
DOCUMENTATION: ns.share and getSharePower definition updates ( #734 )
2023-08-16 17:08:55 -04:00
Snarling
006fbd528f
DOCS: Add printRaw and tprintRaw docs ( #663 )
2023-07-07 18:23:26 -04:00
David Walker
4503da6226
UI: LogBox overhaul ( #508 )
2023-05-26 08:07:37 -04:00
G4mingJon4s
113af6e711
Add ns.getFunctionRamCost ( #526 )
2023-05-26 07:46:08 -04:00
Snarling
8f684fa74c
Changelog and markdown update
2023-04-28 14:45:55 -04:00
David Walker
aa7facd4ba
NETSCRIPT: Greatly speed up script launching, and remove the limitation unique args per script ( #440 )
...
* Remove the limitation unique args per script
* Internal changes to how runningScripts are stored on the server, to make common usage faster.
2023-04-27 18:21:06 -04:00
Snarling
6024c81113
NETSCRIPT: add ns.getResetInfo( #490 )
...
* Move lastAugReset and lastNodeReset back to main API under getResetInfo, also included currentNode.
* The associated properties are deprecated on getPlayer()
2023-04-25 05:22:36 -04:00
David Walker
98f7f473b4
NETSCRIPT: Add "temporary" as a RunOption to run/exec/spawn ( #432 )
2023-03-21 18:54:49 -04:00
omuretsu
057aeaea83
Doc update
...
* Added notes about whether ns API layers contain spoilers.
* Add some more info to checkFactionInvitation doc
2023-03-08 01:39:05 -05:00
omuretsu
c2cd5845b2
Refactor ls
2023-03-07 08:04:08 -05:00
omuretsu
75481aa195
Fix growthAnalyzeSecurity doc
...
Also a format fix from a previous sloppy commit
2023-02-28 09:57:02 -05:00
T.J. Eckman
33f0150d25
BUGFIX: Memory Leak in NetscriptPorts ( #399 )
...
Co-authored-by: Snarling <84951833+Snarling@users.noreply.github.com>
2023-02-27 19:54:04 -05:00
Snarling
d3f9554a6e
2.2.2 Release ( #378 )
2023-02-21 09:44:18 -05:00
omuretsu
6b8ae1b351
Change high% display to mult form
...
Also includes some documentation updates from a previous PR (sleeve.setToIdle)
2023-02-19 15:24:27 -05:00
David Walker
dc9b1050bf
Result of npm run doc
...
Includes my change and a bunch of prior changes
2023-02-17 00:14:20 -08:00
Snarling
08e71c732b
Threads are a positive integer ( #366 )
...
* Added new positive integer ns validation helper
* `run`, `exec`, and `spawn` verify threads as a positive integer.
* `run` terminal command also fails if the provided threadcount is not a positive integer.
* Removed some references to .script files in various documentation, and removed some of the NS1 example blocks
2023-02-14 01:32:01 -05:00
Snarling
b0bdf0c7ad
DOC: Improve ns.kill documentation ( #365 )
2023-02-13 21:50:38 -05:00
Snarling
b4074328ec
UI: Added new locale-aware and configurable number formatting ( #354 )
2023-02-11 13:18:50 -05:00
omuretsu
0ec4ef31ab
2.2
2023-01-02 13:20:25 -05:00
Snarling
fb1f95c26e
VARIOUS: Various changes prior to release 2.2 ( #271 )
...
See PR #271 description
2022-12-29 20:28:53 -05:00
Snarling
e7fc0fbb03
Fix documentation for ns.sleeve ( #227 )
2022-11-24 08:19:51 -05:00
Snarling
65cd14e33b
DOC: Add ns documentation for possible sleeve tasks ( #217 )
...
* Add specific types for sleeve tasks
* Moved LocationName enum to overall enums file
* Add LocationName enum to those provided to player
* remove trailing s on CompanyPosNames enum (now CompanyPosName, in line with LocationName)
* Also regenerated all ns documentation. This leads to an expected error when checking for generated files, because PRs should not normally touch markdown files. Also leads to a lint failure in generated file bitburner.d.ts
* also removed some exporting from NetscriptDefinitions.d.ts for anything that wasn't imported somewhere else.
2022-11-20 12:07:22 -05:00
omuretsu
06a985bdf8
Revert "Remove markdown from git tracking ( #139 )"
...
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00
Snarling
bbb6e3f309
Remove markdown from git tracking ( #139 )
...
* Will attempt to add as build artifacts using workflow.
2022-10-21 10:46:21 -04:00
Olivier Gagnon
7a89c0a1bb
regen doc
2022-10-09 18:46:13 -04:00
Olivier Gagnon
c6da513eea
allbuild commit a3c92dd0
2022-09-23 15:03:38 -04:00
Olivier Gagnon
3217f53717
doc
2022-08-17 08:50:05 -04:00
Olivier Gagnon
8159dad5fa
allbuild commit de644247
2022-05-24 08:12:49 -04:00
Olivier Gagnon
b5e4d706b2
🔖 Build v1.6.4
2022-04-13 12:32:26 -04:00
Olivier Gagnon
e1a56f9270
typos
2022-04-13 02:04:51 -04:00
Olivier Gagnon
f555c4567b
update doc
2022-04-13 01:35:35 -04:00
Olivier Gagnon
24ede1c68d
allbuild commit /usr/bin/git
2022-03-29 15:49:31 -04:00
Olivier Gagnon
ceb2a48d9f
update doc
2022-03-17 16:50:46 -04:00
Olivier Gagnon
69cf98ff34
doc
2022-01-18 19:12:52 -05:00
Olivier Gagnon
05cbc25a8f
1.4
2022-01-18 14:03:24 -05:00
Olivier Gagnon
8b69fd7faa
doc
2022-01-15 18:39:37 -05:00
Olivier Gagnon
f4ac7344c4
doc
2022-01-08 13:25:06 -05:00
pan-kuleczka
8428264f05
Fixed ambiguous NS.hackAnalyze() description
2022-01-02 01:09:44 +01:00
Martin Fournier
65d0877edc
Add ns.ui.getTheme() api function
2021-12-20 14:37:10 -05:00