Commit Graph

5929 Commits

Author SHA1 Message Date
hydroflame
c7582a354f
Merge pull request #3547 from borisflagell/Hashnet-server-increase-max-money
UI: lightweight description update on "increase maximum money" hash spending option.
2022-04-25 11:24:17 -04:00
hydroflame
6a8f1ae60c
Merge pull request #3558 from borisflagell/UI-FIX-grafting-allowing-to-go-in-debt-
UI: FIX #3313 Streamline the GraftingRoot page by making it rerender.
2022-04-25 11:24:03 -04:00
hydroflame
cd84d3e0db
Merge pull request #3550 from nickofolas/fix/flume-bitverse-level
BITNODE: FIX #3546 BitVerse now shows proper BN level when accessed via flume
2022-04-25 11:23:42 -04:00
hydroflame
f1d7e021b3
Merge pull request #3555 from nickofolas/fix/infil-aug-check
INFILTRATION: Fix phyzical WKS aug effects being applied before aug is installed
2022-04-25 11:22:39 -04:00
borisflagell
684f4126e5 Update GraftingRoot.tsx
Fixes #3313

Add rerendering to the GraftingRoot page. => Graft button will now dynamically enable/disable when player's money update above/below aug's price.
2022-04-25 05:36:45 +02:00
nickofolas
c03b2d5227 Fix phyzical WKS effects being applied when queued 2022-04-24 11:29:45 -05:00
hydroflame
ab034f6f1a
Merge pull request #3549 from nickofolas/fix/infiltration-games
INFILTRATION: Fix minigame cycle
2022-04-24 02:40:30 -04:00
nickofolas
4ac2d82e14 Fix BN level on flume 2022-04-23 18:50:39 -05:00
nickofolas
b076a6489a Fix infiltrations only using wirecutting game 2022-04-23 18:44:04 -05: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
hydroflame
69781359d5
Merge pull request #3543 from danielyxie/infiltrators
INFILTRATION: New faction, Shadows of Anarchy, provides various augs to help infiltrations.
2022-04-22 17:37:17 -04:00
hydroflame
ab0d37c990
Merge branch 'dev' into infiltrators 2022-04-22 17:33:35 -04:00
Olivier Gagnon
de05245e2a lint 2022-04-22 17:31:46 -04:00
Olivier Gagnon
bc890c31c5 lint 2022-04-22 17:20:01 -04:00
Olivier Gagnon
f6e5f719d1 infiltration API fixes. 2022-04-22 17:12:14 -04:00
Olivier Gagnon
9fdfb77dd4 Update infiltrators 2022-04-22 15:30:49 -04:00
hydroflame
5490d8c837
Merge pull request #3533 from Undeemiss/minor-typo-on-old-doc
DOCUMENTATION: FIX #3516 "cannot" misspelled as "cannnot"
2022-04-21 17:08:29 -04:00
Undeemiss
11f65fdcba Fixed typo of "cannot" as "cannnot" 2022-04-21 15:24:36 -05:00
hydroflame
9b6b9e96cd
Merge pull request #3531 from Undeemiss/2-coloring-description
CODINGCONTRACT: Updated description of 2-coloring contract
2022-04-21 11:50:05 -04:00
Undeemiss
dabf7098db
Reworded "plotting functions" as simply "plotting" 2022-04-21 10:40:21 -05:00
Undeemiss
399f8614e8 Formatted and linted; I forgot to last commit 2022-04-21 10:35:14 -05:00
Undeemiss
f482e0c4a9 Updated description of 2-coloring contract
Fixed a couple of incorrect statements in the 2-coloring contract
description, as well as rephrasing some things for clarity.
2022-04-21 10:32:57 -05:00
hydroflame
b7e319f360
Merge pull request #3530 from Undeemiss/2-coloring-contract
CODINGCONTRACT: New "Proper 2-Coloring of a Graph" contract
2022-04-21 00:48:46 -04:00
hydroflame
11fef3825c
Merge pull request #3519 from taralx/patch-3
MISC: Adjust deps to current usage
2022-04-21 00:32:34 -04:00
Undeemiss
6685e8dc46 Added a description for the 2-coloring contract 2022-04-20 22:06:32 -05:00
Undeemiss
8d026e4f10 Randomized the order of the edges as well as the vertices
Previously, edge order would stay constant while vertex order was
shuffled. This way, there is even less opportunity for a player to
reverse-engineer the initial bipartite graph.
2022-04-20 21:23:55 -05:00
Undeemiss
951221578a Implemented no solution case of 2-coloring contract checker
Implemented a greedy 2-coloring algorithm to check whether a given
graph is 2-colorable. The algorithm is only used if the player
provides "[]" as their answer; other answers will be checked using
the previously implemented validation code.
2022-04-20 20:54:07 -05:00
Undeemiss
bdfd102085 Partially implemented solver for 2-coloring contract
Implemented the case for the 2-coloring solver to validate that
entered colorings are proper. Still needs a case for when no
solution exists.
Also, changed the data from type [number, number][] to
[number, [number, number][]], so that the number of vertices in
the graph can be the first parameter.
2022-04-20 17:01:35 -05:00
hydroflame
80f037bfdb
Merge pull request #3523 from taralx/patch-5
MISC: upgrade to eslint v8
2022-04-20 13:06:32 -04:00
hydroflame
307ec7961a
Merge pull request #3524 from Snarling/realignAutocomplete
UI: FIX #3522 realigned autocomplete popup
2022-04-20 13:05:27 -04:00
hydroflame
84eb4379d8
Merge pull request #3525 from Snarling/GhostDirectoryFix
TERMINAL: FIX #3492 Allow cd .. even when destination directory is empty
2022-04-20 13:05:19 -04:00
Olivier Gagnon
070a68a3b0 allbuild commit 2922eb49 2022-04-20 12:28:24 -04:00
Snarling
3f53a1f090 Format+lint 2022-04-20 10:05:55 -04:00
Snarling
16e507127a Allow cd .. into empty directories 2022-04-20 10:03:51 -04:00
Snarling
5898e27529 Change alignment of autocomplete popper 2022-04-20 09:19:33 -04:00
phyzical
adbd6c3486 spelling mistakes and description updates 2022-04-20 20:12:43 +08:00
phyzical
8e1300d69d Merge branch 'dev' into feature/add-infiltration-faction
# Conflicts:
#	src/Netscript/RamCostGenerator.ts
2022-04-20 20:10:05 +08:00
Undeemiss
a97f864e14 Implemented generator for 2-coloring contract
Implemented the generator for a new contract type. For now, has
a description and solution checker designed only for testing. The
generator creates a bipartite graph with random edges, then
attempts to add one additional edge without regard for the partite
sets. It then randomizes the vertices of the graph to make reverse-
engineering the original partite sets impossible.

The shuffling algorithm is adapted from stack overflow code, but
really, what isn't?
2022-04-20 00:24:18 -05:00
hydroflame
4ea7a4d7a8
Merge pull request #3517 from taralx/patch-1
MISC: make jQuery use explicit
2022-04-19 22:31:30 -04:00
hydroflame
ee5a3ea52c
Merge pull request #3521 from taralx/patch-4
MISC: update @types/numeral and fix type errors
2022-04-19 22:29:56 -04:00
hydroflame
db15744f5f
Merge pull request #3513 from Undeemiss/join-stanek-api
STANEK: FIX #3282 Added NS function stanek.acceptGift
2022-04-19 22:29:10 -04:00
JP Sugarbroad
53d8807e78 upgrade to eslint v8
We need newer typescript parsers, which needs newer eslint.
2022-04-19 17:18:43 -07:00
JP Sugarbroad
d5be70e886 update @types/numeral and fix type errors 2022-04-19 17:07:51 -07:00
Olivier Gagnon
2922eb4923 Added bitnode difficulty descriptions on the bitverse. 2022-04-19 19:24:37 -04:00
JP Sugarbroad
9be9b26916 Adjust deps to current usage
depcheck is useful here. Has some false reports, but there are some
unused packages and some missing ones. Also I moved types to dev-
dependencies because we don't use them at runtime.
2022-04-19 16:20:35 -07:00
JP Sugarbroad
01d7ac6967 make jQuery use explicit 2022-04-19 16:14:16 -07:00
Olivier Gagnon
7674c7f693 rm console log 2022-04-19 17:21:22 -04:00
Olivier Gagnon
eb778aafa9 refactor bitnode multiplier code to have less side effect. 2022-04-19 17:17:08 -04:00