Commit Graph

543 Commits

Author SHA1 Message Date
David Walker
f1793b187b
SOURCEFILE: Fix calculation of decMult (#385)
Changed SF1 to apply a 1/incMult multiplier to hacknet costs to match how NFG, SF12, etc. handle it. Previously was calculated as a %reduction.
Changed wording on SF9 to include a %reduction in hacknet costs.
Buffed SF9 effect to 12% base from 8%, to make up for weaker hacknet cost mults from SF1.
2023-02-27 20:41:42 -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
CJ Bok
5cef60cd21
Fixed the year for v2.2.2 (#398) 2023-02-26 19:20:04 -05:00
quacksouls
f50b731846
Fix doc typo for "Sanitize Parentheses in Expression" contract (#389) 2023-02-24 22:31:10 -05:00
Mughur
ee3b220858
fix typo (#388) 2023-02-24 14:10:57 +02:00
Mughur
6839a456ac
doc function updates and additions (#387) 2023-02-24 13:57:17 +02:00
Snarling
d3f9554a6e
2.2.2 Release (#378) 2023-02-21 09:44:18 -05: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
Mughur
88eb85da00 fix tFormat.rst filename capitalization 2023-02-08 03:47:42 +02:00
Mughur
67fde6167b Fix tutorial getting started link
change tformat.rst file name
2023-02-08 03:46:42 +02:00
Mughur
6590fa1c97 small doc fixes 2023-02-07 16:26:02 +02:00
Mughur
23199ee705 fix previous commit, improve argument page on docs 2023-01-30 21:42:46 +02:00
Mughur
6369ab434b Doc changes 2023-01-30 20:51:00 +02:00
Mughur
9c365d0da5 small fixes 2023-01-24 23:28:53 +02:00
Mughur
54e8875dd0
Merge pull request #310 from Mughur/docupdate
DOC: small doc fixes
2023-01-07 11:08:15 +02:00
Mughur
dc85850435 small doc fixes 2023-01-07 11:03:43 +02:00
Mughur
f47a588419
Merge branch 'dev' into patch-1 2023-01-06 15:31:19 +02:00
Mughur
fd3655a2fa Massive doc update 2023-01-06 14:43:09 +02:00
alex
53018341aa
DOC: add info about netscript ports, fix typo
also changed some code blocks to use the newer code block style with js syntax highlighting https://sphinx-themes.org/sample-sites/sphinx-rtd-theme/kitchen-sink/blocks/#code-block
2023-01-05 23:06:34 -06:00
Snarling
31bf0c43d1 v2.2.1 (#293)
* handle enums differently
* Enums are frozen and fed directly to the proxy
* Enums are not included in the NSFull definition, allowing samekeys for RamCostTree<API>, InternalAPI<API>, and ExternalAPI<API>
* Rewrote a lot of the ramcalc test, with better typing thanks to the samekeys above
* Fix ns1 for proxy (args, pid, and enums after above changes were not being added to ns1 scripts.)
* Fixed an overview issue where the bars could display inaccurately.
Update changelog and bump version to 2.2.1
2023-01-04 09:45:17 -05:00
omuretsu
1670be1573 Changelog updates for latest hotfix 2023-01-03 12:04:47 -05:00
omuretsu
b2ecd82acc Update changelog 2023-01-03 10:25:05 -05:00
omuretsu
77894cd9e5 Update changelog for hotfixes 2023-01-03 02:50:08 -05:00
Snarling
9820f9e24a
changelog formatting fix pt2 2023-01-02 17:20:49 -05:00
Snarling
7a69639e8e
fix changelog formatting 2023-01-02 17:14:41 -05:00
Mughur
1baa615def
MISC: small fixes (#270)
* infiltration gain bug fix
* fix corp division description
* avoid some issues with Infinity at super high NFG levels
Co-authored-by: Daniel Perez Alvarez <danielpza@protonmail.com>
2023-01-02 13:51:59 -05:00
omuretsu
0ec4ef31ab 2.2 2023-01-02 13:20:25 -05:00
Mughur
addcee73fc
Tutorial: Remove NS1 tutorial, change getting started guide to .js (#258) 2022-12-21 17:49:12 -05:00
Snarling
5ff2cd5357
VERSION: Update game version to 2.2 (#240)
Includes some bug fixes:
* Fix sleeve shock internal/display discrepancy (0-100 vs 0-100)
* Special error message if ns function called without a this
* Change whitespace to pre-wrap for dialog box.
* Fix bug where idle sleeves do not consume cycles but still recover shock from those cycles. Now they do not recover during idle.
* attempted to tag commit as v2.2.0
2022-12-01 16:07:46 -05:00
Snarling
6616f7ba15
DOCS: Update documentation for ns.args (#220) 2022-11-21 12:19:16 -05:00
quacksouls
634611f9db
DOC: Improve CCT documentation for HammingCodes (#167) 2022-10-30 04:24:09 -04:00
quacksouls
279d18d65f
DOC: sleeve: typo fix (#161)
Some typographical fixes in the documentation of sleeves.
2022-10-26 23:30:40 -04:00
quacksouls
e9e9ac1def
DOC: CCT: typo fixes (#145)
Fixes #144.  Some typographical fixes in the description of a Coding Contract.
2022-10-24 08:46:26 -04:00
Olivier Gagnon
af1a1ac58d Rename lots of reference from old to new repo 2022-10-20 03:56:59 +11:00
hydroflame
a5b2512269
Merge pull request #4205 from Snarling/ramTestFix
TESTS: Refined ram calculation tests
2022-10-09 00:23:04 -04:00
Snarling
361466b7fa unasync trywriteport 2022-10-04 07:59:50 -04:00
bdaoust28
eb07eef7be
Update changelog.rst
Now human readable
2022-09-29 15:07:42 -07:00
Alt
033a3a817e
Add link to the TS template. 2022-09-28 09:51:10 +02:00
Olivier Gagnon
c6da513eea allbuild commit a3c92dd0 2022-09-23 15:03:38 -04:00
Olivier Gagnon
a3c92dd04d Wrap up v2.1.0 2022-09-23 15:00:20 -04:00
hydroflame
c396f7fb87
Merge pull request #4064 from quacksouls/dev
DOC: Fix #4033 Why use Coding Contract API
2022-09-23 00:58:59 -03:00
hydroflame
1917e21537
Merge pull request #4080 from njalooo/patch-1
DOCUMENTATION: Fixed Argument order for scp()
2022-09-23 00:47:11 -03:00
Lagicrus
26ee7d9e36 Adds Shadows of Anarchy 2022-09-19 15:55:53 +01:00
njalooo
8fa89d5f81
Fixed typo in Argument order.
As it can be seen in the examples, i've found after testing, that the source must be specified after the destination.
2022-09-05 13:52:30 +02:00
Duck McSouls
05fefe237e Why use the Coding Contract API
Suggest that a player might want to use the Coding Contract API to automate the process of solving a contract.  Also note the cost of using functions in the API.  This addresses issue #4033.
2022-08-30 12:29:57 +10:00
hydroflame
69f6ca364f
Merge pull request #4040 from Mughur/dev
DOCS, UI: update docs a bit more, amending some BN and SF texts
2022-08-29 11:20:10 -03:00
Duck McSouls
6e744b2e76 Typo fix in description of Caesar cipher.
Fix a typographical error in the description of Caesar cipher.  The description is in the documentation on coding contracts.
2022-08-28 14:47:50 +10:00
Mughur
42a03894e5
Update doc/source/guidesandtips/recommendedbitnodeorder.rst
Co-authored-by: Kelenius <kelenius@ya.ru>
2022-08-25 15:16:49 +03:00
Mughur
fa9f34aba2 update docs a bit more 2022-08-25 14:47:31 +03:00
Olivier Gagnon
3d8616b3a7 Did some changes of the remote api and added documentation 2022-08-23 17:50:31 -04:00