Commit Graph

6227 Commits

Author SHA1 Message Date
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
nickofolas e6df46e520 Fix spelling 2022-04-22 23:27:05 -05:00
nickofolas 46613a07cb Change rotate method to work in chrome 2022-04-22 22:58:03 -05:00
phyzical 15dca70afd one more conflict with hydros changes to SOA 2022-04-23 10:47:19 +08:00
phyzical 00bb387036 few regressions from hydros changes 2022-04-23 10:34:41 +08:00
phyzical cdfbda1379 merge dev 2022-04-23 10:26:51 +08:00
nickofolas 304151f910 Fix TRP being listed as graftable 2022-04-22 19:59:27 -05:00
nickofolas a7d980c2dd Polish sleeve aug modal and faction aug page 2022-04-22 19:48:40 -05:00
nickofolas b193953b98 Augs prereqs now include all augs in succession 2022-04-22 19:18:35 -05:00
nickofolas cb34afbe5b Remove old sleeve owned augs grid 2022-04-22 18:21:58 -05:00
nickofolas fd6c5fa1dc Implement display for owned augs 2022-04-22 18:20:50 -05:00
nickofolas 60bfc6d2a7 First round of modal fixes 2022-04-22 18:02:26 -05:00
nickofolas bb78326dd9 Skip pre-reqs and exclusives in sleeve modal 2022-04-22 17:09:14 -05:00
nickofolas 46e5738f0a Change exclusive aug icon 2022-04-22 17:04:14 -05:00
nickofolas 4d1f5c657a Check isSpecial for exclusive aug tooltip 2022-04-22 16:58:06 -05:00
nickofolas de78060ff9 Update sleeve modal width 2022-04-22 16:51:42 -05:00
nickofolas f6a9eb746a Move elements around for clarity 2022-04-22 16:51:36 -05:00
nickofolas ec53a80551 Update after merge 2022-04-22 16:47:12 -05:00
nickofolas 7347aac225 Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/purchase-augs-ui 2022-04-22 16:45:15 -05:00
hydroflame ab0d37c990 Merge branch 'dev' into infiltrators 2022-04-22 17:33:35 -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
nickofolas e77654158b Redesign the redesign 2022-04-22 15:14:34 -05:00
Olivier Gagnon 9fdfb77dd4 Update infiltrators 2022-04-22 15:30:49 -04:00
nickofolas f12a117f06 Further design updates 2022-04-22 13:21:20 -05:00
nickofolas 7853144b18 Initial changes to purchaseable augs 2022-04-22 12:50:51 -05:00
Staszek Welsh 174d17a5e2 Add compression coding contracts
Add three new contracts:

 * Compression I: RLE Encoding
 * Compression II: LZ Decoding
 * Compression III: LZ Encoding

as well as associated utility functions
2022-04-22 17:31:52 +01:00
nickofolas bececf7a6f Move purchaseable aug files around 2022-04-22 11:19:47 -05:00
JP Sugarbroad c6327ee682 add better typing to Electron.tsx 2022-04-21 23:50:49 -07:00
nickofolas 8b34d2776a Implement standardized grafting time calcs 2022-04-21 21:48:18 -05:00
Undeemiss b7f78b11dd BREAKING: Capitalized the E in the hamming code encoding contract 2022-04-21 21:38:04 -05:00
nickofolas 304e7e69d5 Implement graft time calc helper function 2022-04-21 21:31:43 -05: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 421e7b8c74 Update FactionRoot.tsx
Run Prettier

Manually fixed trailing space for lint test
2022-04-21 18:51:04 +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
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
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
borisflagell e05617d9d3 UI FIX #3415
fixes #3415
2022-04-21 00:18:15 +02: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 307ec7961a Merge pull request #3524 from Snarling/realignAutocomplete
UI: FIX #3522 realigned autocomplete popup
2022-04-20 13:05:27 -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