Commit Graph

130 Commits

Author SHA1 Message Date
Snarling 9b483bdd8a Servers are sorted on Active Scripts page (#1102) 2024-02-16 21:06:18 -05:00
Shy ef334cb851 BUGFIX: make hacknet node a bit bigger and change unit to em (#1094)
PR #1070 caused some overflow when having hacknet servers.
2024-02-15 16:33:08 -08:00
Shy fbc41d0278 make hacknet node grid dynamic (#1070) 2024-02-10 04:15:27 -05:00
Snarling e7b68676f5 UI: Hash upgrade descriptions use number formatting options (#996) 2023-12-27 03:26:40 -05:00
Jesse Clark 902306530c CORPORATION: Use accounting methods for all funds transactions (#949) 2023-12-07 21:22:21 -05:00
missymae#2783 ff0118f2f4 UI: Update general devmenu page (#835) 2023-10-23 04:01:21 -04:00
Yichi Zhang 1b81fe8766 CORPORATION: Rework valuation calculation (#789) 2023-09-19 08:47:16 -04:00
aschmider c4482a70f9 HACKNET: Fix spendHashes ignoring count for Company Favor upgrade (#791) (#792) 2023-09-12 03:55:43 -04:00
Eli Doran b4f33fe655 Remove an unnecessary for loop in HacknetServer upgradeRam (#754) 2023-08-28 14:51:20 -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
Snarling 2ae3ac52f1 CORPORATION: Corp changes prior to 2.3 finalization (#503) 2023-05-15 18:06:57 -04:00
omuretsu 4e07900c5a Fix hacknet level base cost constant 2023-05-05 23:22:54 -04:00
Snarling ebae35b1fb CODEBASE: Expand lint rules, and Aliases are stored as maps (#501) 2023-05-05 03:55:59 -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
T.J. Eckman 751fe82f92 HASHNET: Company Favor (#469) 2023-04-08 23:24:09 -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
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
Tyasuh ac8ea6b5ef split hacknet node from server in name, with SF9 (#327) 2023-01-16 15:59:33 -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
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 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 38063f62a7 build fix, lint, remove some instanceof checks 2022-09-27 16:09:32 -04:00
Snarling 6e3a6be106 Remove some redundant typing 2022-09-27 15:35:42 -04:00
Snarling 91a69d7d8f format & lint 2022-09-27 15:35:40 -04:00
Snarling 83d357e758 commit1 2022-09-27 15:35:40 -04:00
Snarling 572c68738f Unify error handling 2022-09-27 15:34:47 -04:00
hydroflame 0d95533470 Merge pull request #3810 from Undeemiss/multi-hash-sell
BLADEBURNER: Add batch functionality to NS spendHashes API
2022-07-21 01:39:02 -04:00
Olivier Gagnon 6b630753f0 nuke some use of any 2022-07-14 19:00:10 -04:00
Olivier Gagnon 5629c16def extract multipliers in its own type 2022-07-14 18:43:33 -04:00
Undeemiss 1bbb0610ab Fix bug where player not refunded hashes for invalid server targets 2022-05-31 21:20:13 -05:00
Undeemiss 620e6986aa Remove unnecessary refund for nonexistent hash upgrades 2022-05-31 21:15:29 -05:00
Undeemiss f0dc532513 Add optional count parameter to hashCost and spendHashes 2022-05-31 21:13:03 -05:00
Nezrahm 178015a140 Make hashnet perfectly convert overflow 2022-05-29 20:10:25 +02:00
Olivier Gagnon 76ccb0ba36 lint 2022-05-25 11:43:43 -04:00
hydroflame d43904ff5c Merge pull request #3532 from borisflagell/UI-FIX-#2256-
UI: FIX #2256 Hacknet server's upgrade tooltip  were not handling RAM…
2022-05-04 12:09:27 -04:00
borisflagell ad4c84be93 Update HacknetServerElem.tsx
Prettier pass
2022-04-23 15:18:43 +02:00
borisflagell 1d3483c8c1 Update HacknetServerElem.tsx
OCD at work : putting the undimmed value above dimmed one for constency sake.
2022-04-23 15:17:24 +02:00
borisflagell d4f8f2d035 Update HacknetServerElem.tsx
Prettier pass.
Lint test : no warning, no error.
2022-04-23 15:01:24 +02:00
borisflagell 08a7f82e73 Update HacknetServerElem.tsx
Added some contrast between real and theoric displayed hashrate. As suggested by phyzical & nickofolas.
2022-04-23 14:59:46 +02:00
borisflagell 2461e41a79 Update HashUpgradesMetadata.tsx
removing an unecessarily added space.
2022-04-23 14:17:12 +02:00
borisflagell bf91789be9 Update HashUpgradesMetadata.tsx
Nevermind, I'm retarded. 10e12 is 10t. as e12 is already 1t by itself.
2022-04-23 14:15:53 +02:00
borisflagell 978351df26 Update HashUpgradesMetadata.tsx
Update "Increase maximum money" description to document a change made in v0.56.0 : adding a soft cap on max money increase above the $1t mark.

(well, the changelog did actually say above 10t, but current source code use 10e12...)
2022-04-23 14:06:29 +02:00
borisflagell a7045a2343 Update HacknetServerElem.tsx
Actually ran prettier this time.
Apparently fixed my lint install : no error, no warning.
2022-04-21 19:20:16 +02:00
borisflagell 4fa65322fe Update HacknetServerElem.tsx
Run prettier.
Run lint : no error. One warning about typescript versionning.
2022-04-21 18:37:47 +02:00
borisflagell ceac0090cf UI: FIX #2256 Hacknet server's upgrade tooltip were not handling RAM usage correctly.
Fix #2256 by using the correct formula to calculate the hashrate increase.

Slightly revamp tooltip to display both theoric and effective increase.
Add a discreet tooltip to the Production line which display details about hashrate and ram usage.

Tested by running two script by intermittence on a loop on the hacknet server.
Value displayed stay coherent all along.
2022-04-21 18:19:04 +02:00