gmcew
7c0286222c
API: Move and rename purchased server functions to cloud API ( #2367 )
...
* Convert purchased server functions to cloud API
- Create `ns.cloud`
- Change `bitnode multipliers` and `server constants` wording for consistency
- change `server`, `ram` and `getting started` docs for consistency
- Added changes to 3.0.0 API Break and `setRemovedFunctions` in NetscriptFunctions.js
Tested by
- running tutorial `purchase-server-8gb.js`, and a more typical player one
- buying manually using vendor (Alpha Ent in Sector 12)
- deleting them all using script, and checked all deleted functions gave correct error
- Imported completed save to ensure auto-transfer of function work
* Revision in line with comments
- changed more `purchased` to `cloud` references
- Added BN mults auto-conversion
* Update getting_started.md
- Corrected function names for new `cloud API`
* Don't show `cloud API` warning
v3.0.0 API break auto-replaces `cloud` functions, not warning suggested.
* API Break correction
- `cloud` affected API break replacement changed to be more descriptive and functional
* Fix typo and add empty lines
* Update many things (check commit's description)
- Comments
- Terminal message
- UI Text
- TSDoc
- md docs
- Improve error messages in src\NetscriptFunctions\Cloud.ts
2025-11-07 12:10:33 -08:00
Nick Shelley
d1a4ec8337
DOCUMENTATION: Improve wording around host argument of getScriptRam ( #2374 )
2025-11-07 11:57:33 -08:00
Shy
4ad9a96788
MISC: Support css file type ( #2378 )
2025-11-05 14:05:31 -08:00
catloversg
174e160348
API: Make ActiveFragment extend Fragment ( #2373 )
...
* DOCUMENTATION: Fix wrong return type of ns.stanek.activeFragments
* Make ActiveFragment extend Fragment
2025-10-30 10:27:58 -07:00
catloversg
c6e40476bb
DOCUMENTATION: Fix missing/wrong TSDoc of APIs having optional host parameter ( #2371 )
2025-10-29 11:15:10 -07:00
catloversg
cb5b80a6d5
DOCUMENTATION: Use alternative fix for newline issue in IPvGO docs ( #2350 )
2025-10-15 11:58:11 -07:00
catloversg
30a572cfe6
API: Rename "TIX" interface to "Stock" ( #2351 )
2025-10-14 11:51:54 -07:00
Adam Weeden
0335d8bc70
STANEK: Add FragmentType to NS Enums ( #2341 )
2025-10-13 08:57:19 -07:00
catloversg
030be41df9
CODEBASE: Refactor Stanek's Gift UI code and change internal FragmentType enum ( #2346 )
2025-10-12 13:23:45 -07:00
catloversg
950c21d734
API: Update type of Player.factions, GangGenInfo.faction and CorpMaterialConstantData.name ( #2347 )
2025-10-12 13:00:21 -07:00
catloversg
d421d4fcf9
MISC: Make TIX access independent from WSE account ( #2342 )
2025-10-11 17:28:45 -07:00
Thaccus
625fe46bc3
DOCUMENTATION: Clarify cross-host characteristic of PID and port ( #2336 )
2025-10-07 13:40:05 -07:00
Ante
f9a6cc841e
CORPORATION: Expose production limit of material and product ( #2330 )
2025-10-01 01:04:39 -07:00
acidduk
b025a4d0c1
Update NetscriptDefinitions.d.ts ( #2289 )
...
Improve function description
2025-08-15 23:37:13 -07:00
catloversg
f0ca10e1b1
CORPORATION: Prevent purchasing product-only research for material industries ( #2283 )
2025-08-06 04:07:04 -07:00
Victor Oliveira
2d8401eaae
Change alert to accept multiple args as other print functions ( #2278 )
2025-08-04 09:25:06 -07:00
catloversg
970368d11d
API: Expose gang's discount rate ( #2272 )
2025-08-01 09:32:51 -07:00
catloversg
8976d54532
API: Add ns.singularity.getHackingLevelRequirementOfProgram ( #2271 )
2025-07-30 14:44:06 -07:00
gmcew
952fc28b67
UI: Corrected ns.tail examples to ns.ui.openTail ( #2270 )
...
Changed to ns.ui.openTail in the example text where needed.
2025-07-29 13:06:32 -07:00
catloversg
8729dc3d1b
MISC: Update messages related to text files ( #2266 )
2025-07-24 22:39:55 -07:00
Chris Farfan de los Godos
8f69a6c0ee
COMMAND: Improving error message for mv when a script is Running
...
* Adjusted error message to include information about making sure scripts are not running when trying to use mv on them.
* nom run format
* Added behaviour info to NetscriptDefinitions.d.ts
* `npm run doc`
* un-nested/inversed the check
* `npm run format`
2025-07-23 16:27:01 -07:00
catloversg
e3ea611928
CORPORATION: Remove VeChain ( #2245 )
2025-07-17 14:24:19 -07:00
catloversg
41548d8b7b
DOCUMENTATION: Fix wrong param/return type and clarify ns.sleep, ns.asleep, ns.singularity.exportGame ( #2242 )
2025-07-16 17:06:34 -07:00
catloversg
477d01652b
CORPORATION: Remove Spring Water industry ( #2240 )
2025-07-16 01:07:55 -07:00
catloversg
f182030385
CORPORATION: Use different term for dividend modifier instead of tax ( #2237 )
2025-07-11 12:55:46 -07:00
gmcew
3fc65a2de4
CONTRACTS: Proposal for Contract Progression System ( #2230 )
2025-07-10 14:25:36 -07:00
catloversg
6c7783aa85
CORPORATION: Remove DreamSense upgrade ( #2232 )
2025-07-10 01:40:36 -07:00
catloversg
fe13c3e2ca
DOCUMENTATION: Fix outdated description of Bladeburner interface ( #2226 )
2025-07-05 18:15:40 -07:00
catloversg
d7642b34d0
API: Rename FactionName.BachmanAssociates to FactionName.BachmanAndAssociates ( #2183 )
2025-06-25 13:11:37 -07:00
catloversg
30b8c0faee
CORPORATION: Remove mention of unusable research "sudo.Assist" ( #2187 )
2025-06-21 13:33:24 -07:00
catloversg
1eca42c75e
API: Make ns.codingcontract.createDummyContract throw error if type is invalid ( #2188 )
2025-06-20 12:08:49 -07:00
catloversg
00e2169c92
DOCUMENTATION: Specify param type of many Corporation APIs ( #2190 )
2025-06-20 12:06:37 -07:00
Kevin Sandow
694581cb52
MISC: Fix NetscriptDefinitions.d.ts formatting/escaping warnings ( #2189 )
2025-06-20 11:19:58 -07:00
Kevin Sandow
e44414850e
MISC: Update NetscriptDefinitions.d.ts to include typings for hightlightPoint() and clearPointHighlight() ( #2175 )
2025-06-20 11:16:23 -07:00
catloversg
a794fddaf7
MISC: Add file metadata (timestamps) ( #2199 )
2025-06-16 16:34:06 -07:00
catloversg
e5bfa641e1
DOCUMENTATION: Remove mention of NS2 in NetscriptDefinitions.d.ts ( #2200 )
2025-06-15 00:00:54 -07:00
catloversg
2cabb98095
API: Rename BN multiplier RepToDonateToFaction to FavorToDonateToFaction ( #2178 )
2025-06-03 01:21:59 -07:00
catloversg
bdc08cf992
DOCUMENTATION: Fix missing and outdated info of optional parameter ( #2176 )
2025-06-03 01:13:54 -07:00
catloversg
7d2686ed1b
API: Standardize names of Stock APIs ( #2173 )
2025-06-02 02:36:36 -07:00
catloversg
6a23c85e12
UI: Search and read NS API docs in editor tab and documentation tab ( #2163 )
2025-05-31 23:53:20 -07:00
catloversg
296295b490
API: Add more enums to ns.enums ( #2165 )
2025-05-30 03:37:59 -07:00
catloversg
9824166dbf
CORPORATION: Rename division.type to division.industry ( #2152 )
2025-05-28 04:47:26 -07:00
catloversg
e31b174137
MISC: Add versionNumber to ns.ui.getGameInfo() ( #2155 )
2025-05-25 16:56:22 -07:00
Arjan-akkermans
551934ee25
IPVGO: Updated DocString for the gameState object to correctly state that a null move is returned when the opponent passes or when there is no previous move. ( #2158 )
2025-05-25 11:40:58 -07:00
Chris Farfan de los Godos
552d13ad6d
SINGULARITY: Adding getUnlockedAchievements function ( #2156 )
2025-05-24 13:47:34 -07:00
catloversg
5a052e902c
MISC: Remove mention of Netscript 1.0/2.0/JS in NetscriptDefinitions.d.ts ( #2150 )
2025-05-23 14:04:34 -07:00
catloversg
4e5044124c
CORPORATION: Rename setAutoJobAssignment API to setJobAssignment ( #2146 )
2025-05-22 12:42:16 -07:00
catloversg
47153bd31c
MISC: Print logs when ns.hacknet.spendHashes fails and update param type of APIs using hash upgrade ( #2145 )
2025-05-21 08:38:39 -07:00
catloversg
37d9284d33
MISC: Remove deprecated tail-related APIs ( #2143 )
2025-05-19 20:10:15 -07:00
catloversg
24b31975e7
MISC: Remove fuzzy matching when checking params ( #2091 )
2025-05-18 16:08:19 -07:00