catloversg
faed78cf2c
CODEBASE: Validate AllGangs and StockMarket after loading with JSON.parse ( #1783 )
2024-11-27 01:13:47 -08:00
catloversg
05da0efc81
REFACTOR: Mitigate cyclic dependency between Jsonable classes ( #1792 )
2024-11-23 15:53:31 -08:00
catloversg
75cf9c88b5
CODEBASE: Fix lint errors 3 ( #1758 )
...
This is a really big refactor because it actually *fixes* a lot of the lint errors instead of disabling them.
2024-11-14 08:18:57 -08:00
catloversg
36c143b687
CODEBASE: Fix lint errors 2 ( #1756 )
2024-11-06 23:09:11 -08:00
catloversg
f6502dd490
CODEBASE: Fix lint errors 1 ( #1732 )
2024-11-03 22:35:14 -08:00
Tom Prince
2f95d21503
UI: Sync UI updates to game updates. ( #1512 )
...
There are a bunch of React components that update at the same rate
that the game engine processes cycles. Rather than have each place
that does so start its own timer to update that often, add a new
react hook that triggers an update shortly after the engine completes
a cycle.
2024-08-01 23:57:43 -07:00
catloversg
783120c886
FEATURE: BitNode options ( #1411 )
2024-07-14 14:30:30 -07:00
catloversg
175af0bd28
BUGFIX: Improve implementation of getRandomInt ( #1282 )
2024-05-18 15:12:06 -07:00
Rinne
e8311d4f05
Changing color of stocks going up ( #1065 )
2024-02-10 06:28:18 -05:00
Caldwell
8c2a23f2ba
MISC: change all nextUpdates to use one Promise ( #1069 )
2024-02-10 06:27:47 -05:00
Caldwell
8b6caeb68b
STOCKMARKET: Added slight randomization to when stock forecasts can flip ( #911 )
2023-12-03 03:45:42 -05:00
Jesse Clark
61c311a126
API: Add nextUpdate() promise for systems with bonus time ( #845 )
2023-10-23 04:24:30 -04:00
Caldwell
269a74d5c0
CODEBASE: update dependencies ( #852 )
2023-10-07 18:52:48 -04:00
hydroflame
931d7e588a
Remove more rtd references ( #702 )
2023-08-06 00:05:03 -04:00
Snarling
1c6369ffa4
NETSCRIPT: Add ns.stock.getConstants ( #692 )
2023-07-31 23:08:42 -04:00
Caldwell
a85efbc4da
STOCKMARKET: Move and Reorganize Constants ( #688 )
2023-07-31 22:12:49 -04:00
Snarling
e2655793f4
TYPESAFETY: CompanyName ( #650 )
2023-07-11 09:23:17 -04:00
Snarling
a4b826683e
TYPESAFETY: Strict internal typing for AugmentationName ( #608 )
2023-06-16 17:52:42 -04:00
Snarling
6732549196
ENUMS: Initial Enum Helper rework + Reorganization ( #596 )
2023-06-12 00:34:20 -04:00
Nikolai Korolev
b72eb125f2
DOC: Fix parameter name in documentation ( #525 )
2023-05-25 16:26:43 -04:00
Snarling
ebae35b1fb
CODEBASE: Expand lint rules, and Aliases are stored as maps ( #501 )
2023-05-05 03:55:59 -04:00
Snarling
04d49e3a6d
SCRIPTS: Script modules are reused when they are imported ( #461 )
...
Also corrects some compile race conditions.
2023-04-07 00:33:51 -04:00
Eric
39d26673c4
Refactor flipForecastForecast ( #437 )
...
Algebraic reduction of Stock.flipForecastForecast() to make it more readable.
2023-03-21 20:36:54 -04:00
Snarling
6a6043c509
CODEBASE: Add custom useRerender hook ( #359 )
2023-02-11 13:22:55 -05:00
Snarling
b4074328ec
UI: Added new locale-aware and configurable number formatting ( #354 )
2023-02-11 13:18:50 -05:00
Mughur
7e183c4e4a
Updated ReadTheDocs links
2023-01-06 15:24:10 +02: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
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
Snarling
19e8946d9a
fix Stock Initializer ( #137 )
...
* stock symbols initializer is called by stockmarket initializer
* remove redundant second initStockMarketFn function
2022-10-20 00:38:19 -04:00
Olivier Gagnon
cbb7f58231
Make the main player object an alias, makes it easier to import
2022-10-09 18:42:14 -04:00
Olivier Gagnon
f6f023eeb4
Fix tons of typos
2022-10-09 01:25:31 -04:00
Snarling
068533cd2f
format, lint, more enums, revert fn rename
2022-10-05 14:52:48 -04:00
Snarling
aa80cf6451
See description
...
Reverted ToastVariant back to an enum internally. Still exposed to player as just possible strings.
Changed all 1-line documentation comments to actually be 1-line. Moved some because they were not providing documentation for the thing they were trying to.
2022-10-04 06:40:10 -04:00
Snarling
50f14b4f58
Commit1
2022-10-03 12:12:16 -04:00
Snarling
83d357e758
commit1
2022-09-27 15:35:40 -04:00
Snarling
5466ab3f69
format+lint
2022-08-20 19:16:11 -04:00
Snarling
7578860ce7
remove more prop chaining
2022-08-20 19:14:54 -04:00
Snarling
0f15431b5f
remove unused eventEmitterForUiReset
2022-08-20 19:08:05 -04:00
Snarling
97961d6896
Reduce prop chaining
2022-08-20 18:52:18 -04:00
Snarling
9d5cf89f68
Remove prop chain for cancelOrder + format
2022-08-20 18:40:21 -04:00
Snarling
2aca8476b6
cancelOrder Params
...
Why is this defined in so many places
2022-08-19 19:49:09 -04:00
Snarling
4001b4cbb0
refactor stock for ctx instead of workerScript
2022-08-19 19:32:30 -04:00
MageKing17
1b8993a3dc
Replace "stock.short" with "stock.shortStock".
...
This was preventing `disableLog("ALL")` from stopping these log messages, since that's not the function's name now.
2022-08-18 13:29:21 -07:00
Olivier Gagnon
faa3e212f3
fix a bunch of small v2 related bugs
2022-07-26 08:08:51 -04:00
Olivier Gagnon
4bee746576
rm any
2022-07-15 01:51:30 -04:00
Olivier Gagnon
6b630753f0
nuke some use of any
2022-07-14 19:00:10 -04:00
Olivier Gagnon
76ccb0ba36
lint
2022-05-25 11:43:43 -04:00
Olivier Gagnon
62d15ff3a1
rm SourceFileFlags
2022-04-14 01:22:50 -04:00
phyzical
909e5e964f
add call to missing stock market init when using the api
2022-04-10 18:19:45 +08:00
Olivier Gagnon
48f80f25d6
fmt and lint
2022-04-06 19:30:08 -04:00