Commit Graph

4628 Commits

Author SHA1 Message Date
hydroflame
8e222fd58e
Merge pull request #3539 from nickofolas/fix/ns-aug-graft-time
API: Fix inconsistent return value in `ns.grafting.getAugmentationGraftTime`
2022-04-25 11:27:09 -04:00
hydroflame
91223072dd
Merge pull request #3541 from stalefishies/compression-contracts
CODINGCONTRACT: Three new compression contracts
2022-04-25 11:26:22 -04:00
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
nickofolas
d36f7bb480 Fix some console warnings 2022-04-24 23:08:37 -05: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
e11a8fddd8 Use lg Container width 2022-04-24 22:06:40 -05:00
nickofolas
79d6d77f98 Add task UI guard 2022-04-24 20:38:07 -05:00
nickofolas
d576d5e063 Reset Sleeve task if faction becomes gang 2022-04-24 20:25:09 -05:00
nickofolas
d0c48585bc Clean up code 2022-04-24 18:51:30 -05:00
nickofolas
ae8b6d088e Update Victory 2022-04-24 18:49:46 -05:00
nickofolas
b772d5157e Update Countdown 2022-04-24 18:18:39 -05:00
nickofolas
d616010f74 Update Intro 2022-04-24 18:13:15 -05:00
nickofolas
433e05bcf8 Improve slash game aug timer accuracy 2022-04-24 18:02:49 -05:00
nickofolas
fe330f9f9f Update root 2022-04-24 16:51:00 -05:00
nickofolas
16d47543c4 Update Game Timer 2022-04-24 16:50:51 -05:00
nickofolas
320d6943de Update Wire Cutting Game 2022-04-24 16:50:19 -05:00
nickofolas
13d7f6d4e9 Update Minesweeper Game 2022-04-24 14:58:59 -05:00
nickofolas
b3879e386f Update Cyberpunk2077 Game 2022-04-24 14:57:18 -05:00
nickofolas
4bf6acf95c Update Cheat Code Game 2022-04-24 14:54:43 -05:00
nickofolas
2d90d41b4e Update Bribe Game 2022-04-24 14:52:58 -05:00
nickofolas
082b4abe71 Update Backward Game 2022-04-24 14:50:55 -05:00
nickofolas
43e2fc8d87 Update Bracket Game 2022-04-24 14:43:19 -05:00
nickofolas
0396e4066c Update Slash Game 2022-04-24 14:38:45 -05:00
nickofolas
217f6d1e57 Update basic Game code 2022-04-24 14:38:39 -05:00
nickofolas
c03b2d5227 Fix phyzical WKS effects being applied when queued 2022-04-24 11:29:45 -05:00
Snarling
9fec222c61 Revert change in startWork
Original change was committed accidentally. PR is focused only on applyForWork.
2022-04-24 06:57:31 -04:00
Snarling
bb5cc82226 Update LogBoxManager.tsx 2022-04-24 04:49:31 -04:00
Snarling
ac719dc0d2 Update PlayerObjectGeneralMethods.tsx 2022-04-23 23:55:47 -04:00
Snarling
759c57b29a applyForJob streamline and fix logic 2022-04-23 23:48:01 -04:00
Snarling
4e64d6df5b Add minimum constraints for tail resize 2022-04-23 19:51:39 -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
Snarling
f05df0659d Improve tail window buttons 2022-04-23 16:48:48 -04:00
nickofolas
fb654dd5a1 Truncate Aug price multiplier more 2022-04-23 12:20:05 -05:00
nickofolas
f676e8bc9b Fix rep and favor alignment for SoA 2022-04-23 11:29:55 -05:00
nickofolas
c6cb70a117 Fix displayed Aug cost for sleeves 2022-04-23 10:49:20 -05:00
borisflagell
90dc8bbc3a Streamlining GangKarmaRequirement constant
As suggested by phyzical :

The GangKarmaRequirement const was declared locally in the PlayerObjectGangMethod.ts file.

It's now part of the GangConstants object in the gang/data/constant.ts file.

Allowing it to be referenced in the FactionRoot.tsx tooltip.
2022-04-23 15:55:15 +02:00
borisflagell
ff3493e184
Update src/PersonObjects/Player/PlayerObjectGangMethods.ts
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-04-23 15:39:19 +02: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
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
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
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
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
Undeemiss
6d55bfe795 Removed redundant check for whether the player is in CotMG 2022-04-19 13:39:56 -05:00
Undeemiss
707e643c7d Merge branch 'dev' of https://github.com/Undeemiss/bitburner into join-stanek-api 2022-04-19 13:38:14 -05:00
Undeemiss
b3e83dd976 Added check for aug status to stanek.acceptGift
Added a check to stanek.acceptGift for aug status. It's not
particularly elegant, but I copied the checks from the ui. Also
changed the way CotMG status is checked to be more robust.
2022-04-19 13:33:07 -05:00
Undeemiss
46a90e6271 Added ns function stanek.acceptGift
Added a new ns function stanek.acceptGift to the game, with a ram
cost of 2gb. The function attempts to join the CotMG and install
the gift, then returns true iff the player is in the CotMG and has
the gift installed.
2022-04-19 12:08:38 -05:00
hydroflame
657a9a9a96
Merge pull request #3511 from nickofolas/improvement/backup-color
UI: Change text color of Augmentations page backup button
2022-04-19 11:10:05 -04:00
hydroflame
d37a4eea38
Merge pull request #3510 from Risenafis/fix-covenant-icon
UI: Fix the achievement covenant icon was not shown
2022-04-19 11:09:52 -04:00
nickofolas
75ce3f2346 Use same BN level logic as save name generator 2022-04-19 09:57:26 -05:00
nickofolas
aee413e2e3 Change text color of backup save button 2022-04-19 09:50:25 -05:00
Risenafis
bb978b9420
fix covenant achievement icon path 2022-04-19 22:03:20 +09:00
hydroflame
40febcf22e
Merge pull request #3488 from Snarling/touchScreenTailFix
UI: FIX #3341 Enable touch-clicks in react-draggable
2022-04-18 20:52:09 -04:00
hydroflame
ae3c6194f1
Merge pull request #3505 from nickofolas/improvement/settings-ui
UI: Overhaul GameOptions UI
2022-04-18 20:51:50 -04:00
Snarling
bd07dea516 Fix quitting active job
When quitting active job, if there is another job, set the first remaining job as active.
2022-04-18 19:55:37 -04:00
nickofolas
af461d5e45 Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/settings-ui 2022-04-18 12:04:46 -05:00
nickofolas
7054c9daef Fix editor theme migration 2022-04-18 11:44:00 -05:00
hydroflame
b49b5ba269
Revert "MISC: HammingCodingContracts need rework" 2022-04-18 12:01:10 -04:00
Olivier Gagnon
d5b296ddc3 update donations 2022-04-18 11:04:40 -04:00
Olivier Gagnon
3286d85744 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-04-18 11:04:19 -04:00
hydroflame
5d23926556
Merge pull request #3479 from Hedrauta/patch-1
MISC: HammingCodingContracts need rework
2022-04-18 11:03:41 -04:00
hydroflame
69feb790cb
Merge pull request #3490 from DavidGrinberg/bugfix/3489
Singularity: Fix #3489 Disable checkTixApiAccess for purchase4SMarketData
2022-04-18 11:03:08 -04:00
hydroflame
30920bec09
Merge pull request #3483 from TheMas3212/fix/employee-leak
API: Fix leak of real Employee object in hireEmployee
2022-04-18 11:02:13 -04:00
Snarling
f466a880eb Fix style + Format/Lint 2022-04-18 07:55:59 -04:00
Snarling
02ccda197c WIP 2022-04-18 07:41:09 -04:00
David Grinberg
d934bb88ad Disable checkTixApiAccess for purchase4SMarketData
This restriction doesn't apply on UI. It doesn't make sense to apply it to singularity api
2022-04-17 22:35:31 -04:00
Snarling
5c53b39edc Try to fix formatting? 2022-04-17 17:40:37 -04:00
nickofolas
bb0a0148f7 Rearrange some settings 2022-04-17 15:36:19 -05:00
nickofolas
2d4251ca9b Sidebar dev links tweaks 2022-04-17 15:29:37 -05:00
nickofolas
359c967087 Doc 2022-04-17 15:27:42 -05:00
nickofolas
7f2ab4f27a Revert noList prop 2022-04-17 15:26:43 -05:00
nickofolas
4073050333 Rename enum 2022-04-17 15:09:47 -05:00
nickofolas
f222dc5277 Some polish 2022-04-17 15:08:58 -05:00
nickofolas
da18115b80 Sidebar updates 2022-04-17 15:08:40 -05:00
Snarling
2e7b7c9d86 Enable touch-clicks in react-draggable
Add onTouchEnd events for click functions inside react-draggable. Necessary because react-draggable prevents default click behavior.
2022-04-17 15:57:35 -04:00
nickofolas
9db90709fd Bulk of design overhaul 2022-04-17 12:51:14 -05:00
nickofolas
02d0d0df53 Options page component 2022-04-17 12:51:00 -05:00
nickofolas
3f46f14e63 Tabs enum 2022-04-17 12:50:43 -05:00
phyzical
c3946af666 moved the disabled button over to the buy material modal
to allow bulk purchasing while smart supply is on
2022-04-17 10:59:38 +08:00
TheMas3212
4cf0314766
Fix leak of real Employee object in hireEmployee 2022-04-17 05:16:42 +10:00
H3draut3r
2d0cccfa3f HammingCodingContracts need rework 2022-04-16 18:30:38 +02:00
Zoë Hoekstra
43807fb757
Add code for handling when dest. script is running 2022-04-15 19:44:08 +02:00
TheMas3212
7696f582eb
replace a number of references to workerscript.log with _ctx.log that i
missed in Singularity.ts
2022-04-15 21:23:35 +10:00
phyzical
82610c0c44 Merge branch 'feature/add-infiltration-faction' into feature/refactor-augmentation 2022-04-15 14:26:00 +08:00
phyzical
8db74f343a merge base 2022-04-15 14:25:13 +08:00
phyzical
1478e7a5b1 lint 2022-04-15 11:17:49 +08:00
phyzical
ec8437cadd freeze the cost to stop sneeky sneekers 2022-04-15 11:17:27 +08:00
phyzical
0bff9be8a7 missed one reference to making baseCost static 2022-04-15 11:14:16 +08:00
hydroflame
209c46310e
Merge pull request #3466 from Undeemiss/nitesec-test-hostname
MESSAGES: Added the name of NiteSec's server to their .msg
2022-04-14 19:16:25 -04:00
Undeemiss
3dfb2afb58 Added the name of NiteSec's server to their .msg 2022-04-14 18:14:15 -05:00
Olivier Gagnon
6f4de879fa Increase donation count 2022-04-14 18:58:39 -04:00
hydroflame
6ce1bab5fe
Merge pull request #3461 from Hoekstraa/3263
API: Add repFromDonation() to the Formula API
2022-04-14 18:26:38 -04:00
rderfler
9e6e97d1fb fmt and merge upstream 2022-04-14 15:49:21 -04:00
rderfler
3cd8f8a223 merged from upstream 2022-04-14 15:47:00 -04:00
rderfler
332b803332 Fmt and lint 2022-04-14 15:28:13 -04:00
Olivier Gagnon
7685f52f8e fix import and make rainbow return the answer. 2022-04-14 15:23:49 -04:00
Olivier Gagnon
52e27e317e Added blood donation bonus 2022-04-14 15:17:46 -04:00
Zoë Hoekstra
accb9f7e23
Add repFromDonation formula to the API 2022-04-14 20:01:31 +02:00
phyzical
db97125d22 remove level, base cost and rep requirment from base augmentation obj
* added in place calculations for cost and level of augmentations given player context
* removed redundant logic for dynamically calculating cost,rep and level against the augmentation object
* replaced references to startingCost to baseCost as it is now always whatever it started at
2022-04-15 01:39:38 +08:00
phyzical
c3a3994658 rename augmentation to static augmentation 2022-04-15 01:19:51 +08:00
hydroflame
18fafff91f
Merge pull request #3460 from Undeemiss/stanek-collision
STANEK: FIX #3277 Can no longer overlap rotated fragments
2022-04-14 12:27:31 -04:00
Undeemiss
749b93608b Fixed Stanek fragment collision detection
Relaxed some overzealous short-circuiting to ensure fragments
on the Stanek's Gift board properly check for collisions.
2022-04-14 11:13:50 -05:00
Olivier Gagnon
69c5e42e30 remove redundant naming scheme 2022-04-14 12:13:01 -04:00
TheMas3212
de3359dfad
switch to checkEnum 2022-04-15 02:07:47 +10:00
TheMas3212
e07b92a408
fix 2993 sleeve.travel with invalid city names 2022-04-15 02:00:34 +10:00
rderfler
9d18118208 Format, but git forgot this last time 2022-04-14 12:00:17 -04:00
rderfler
3886e31a45 Format 2022-04-14 11:59:49 -04:00
rderfler
1239c7ad7f Merge branch 'dev' of https://github.com/rderfler/bitburner into dev 2022-04-14 11:57:19 -04:00
rderfler
0406272942 Clean up
linter
2022-04-14 11:57:01 -04:00
hydroflame
18a6477342
Merge pull request #3456 from TheMas3212/fix/3395
fix #3395 donating to special factions possible via singularity
2022-04-14 11:51:40 -04:00
rderfler
7c468663d4
Merge branch 'danielyxie:dev' into dev 2022-04-14 11:48:44 -04:00
rderfler
d1388a62aa Merge branch 'dev' of https://github.com/rderfler/bitburner into dev 2022-04-14 11:41:02 -04:00
rderfler
2613948bad Add bladeburner actions to sleeves
This adds bladeburner actions to sleeves. In addition this bulked out the IPerson functionality and updated bladeburner functions to be more sleeve compatible
2022-04-14 11:40:59 -04:00
TheMas3212
89baba2e24
fix #3395 donating to special factions possible via singularity 2022-04-15 01:32:18 +10:00
hydroflame
1ce9f5d9d8
Merge pull request #3453 from Chris380/feature/clickable_lit_and_msg_files
Make .lit and .msg files clickable
2022-04-14 11:10:27 -04:00
TheMas3212
a0cab9a163
Fix inconsistancy with trying to work for gang factions while running a gang 2022-04-15 00:35:51 +10:00
Chris380
bfa19eb7ba Make .lit and .msg files clickable 2022-04-14 16:23:45 +02:00
phyzical
07afda8fbb remove redundant var 2022-04-14 21:58:25 +08:00
phyzical
9c23fc89d1 merge base 2022-04-14 21:27:08 +08:00
Olivier Gagnon
8dab9f7871 fmt 2022-04-14 02:35:30 -04:00
Olivier Gagnon
c8df4fff00 Change faction info display 2022-04-14 02:07:13 -04:00
Olivier Gagnon
957c07d9d2 rm the last of source file flags 2022-04-14 01:33:05 -04:00
Olivier Gagnon
62d15ff3a1 rm SourceFileFlags 2022-04-14 01:22:50 -04:00
Olivier Gagnon
eae4eb2a31 comment 2022-04-14 00:23:48 -04:00
Olivier Gagnon
d8382ec762 Corp upgrades are now defined types 2022-04-14 00:21:33 -04:00
Olivier Gagnon
a6ed2b9ed1 doc 2022-04-13 23:53:50 -04:00
Olivier Gagnon
494ad68c4c Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-04-13 19:33:12 -04:00
Olivier Gagnon
7c129f1050 revert corp nerf 2022-04-13 19:33:04 -04:00
hydroflame
89f73d88d1
Merge pull request #3443 from TheMas3212/fix/singularity-sf4-checks
fix b1tflum3 and destroyW0r1dD43m0n singularity functions to check for sf4
2022-04-13 19:06:53 -04:00
Olivier Gagnon
abdd8c48d1 nerf Wilson Analytics 2022-04-13 18:26:19 -04:00
Olivier Gagnon
76e539bbb8 bump corpo avg profit length 2022-04-13 18:14:16 -04:00
TheMas3212
775d93b693
fix b1tflum3 and destroyW0r1dD43m0n singularity functions to check for
sf4, also refactored the file slightly for consistency to make sure the
sf4 check is the first thing every function does
2022-04-14 08:13:28 +10:00
Olivier Gagnon
88ae27e84d nerf investors fraud 2022-04-13 18:08:35 -04:00
Olivier Gagnon
49164b5d36 branch 'dev' of github.com:danielyxie/bitburner into dev 2022-04-13 17:50:04 -04:00
Olivier Gagnon
9f3423bd46 save file migration 2022-04-13 17:50:01 -04:00
hydroflame
5e111df832
Merge pull request #3438 from nickofolas/feature/monaco-theme-editor
[Feature] Monaco Theme Editor
2022-04-13 17:43:59 -04:00
Olivier Gagnon
811ae1a751 more stanek doc 2022-04-13 17:40:11 -04:00
hydroflame
e2296aa963
Merge branch 'dev' into stanek-examples 2022-04-13 17:38:59 -04:00
Olivier Gagnon
a98f28fe92 change stanek description 2022-04-13 17:38:34 -04:00
hydroflame
f1b2af7360
Merge pull request #3442 from nickofolas/fix/demo-stanek-grid
[Fix] Dummy Stanek grid width
2022-04-13 17:35:37 -04:00
Olivier Gagnon
9281cbe559 ns func to flume and destroy wd 2022-04-13 17:34:02 -04:00
nickofolas
4a0fb59e56 Fix dummy stanek width 2022-04-13 16:04:31 -05:00
Undeemiss
605851ddbd Corrected example grids found in stanek help
Updated the descriptions of all four example Stanek grids, updated
the contents of the third, and added spacing between the grids so
that it is clearer which grid each description refers to.
2022-04-13 15:46:09 -05:00
hydroflame
93eb5e2d78
Merge pull request #3247 from Savlik/dev
Accept valid JSON arrays in coding contracts
2022-04-13 16:29:26 -04:00
hydroflame
244bb5737e
Merge branch 'dev' into bugfix/corp-updates 2022-04-13 16:20:22 -04:00
nickofolas
e69e45c283 Better imports 2022-04-13 14:52:30 -05:00
nickofolas
58c4861c56 lint 2022-04-13 14:45:26 -05:00
hydroflame
ab0f89cea1
Merge pull request #3436 from Undeemiss/duplicate-programs
Create program action no longer creates duplicates
2022-04-13 15:43:21 -04:00
nickofolas
567fcf8fb6 prettier 2022-04-13 14:42:07 -05:00
nickofolas
1f9414fd0e Resolve conflict 2022-04-13 14:32:30 -05:00
nickofolas
137539c1db Add missing newline at end of file 2022-04-13 14:32:30 -05:00
nickofolas
d1edbe9a43 Save data sanitization
- Run in `Editor.beforeMount`, as well as when the
options modal is closed
- Recursively validates all token colors and
replaces them with bright red if they're invalid
2022-04-13 14:32:30 -05:00
nickofolas
739ca27ab9 Add Paper styling to modal 2022-04-13 14:32:30 -05:00
nickofolas
6f60589779 Tie up loose ends
- Ensure that customTheme is redefined whenever the options modal
is closed, regardless of saved or not
- Reset the pending value for the theme editor whenever modal is clsoed
2022-04-13 14:32:30 -05:00
nickofolas
a66ed00998 Change global theme import rows to 10 and format 2022-04-13 14:32:30 -05:00
nickofolas
10513ba5bc Update label for common.accent 2022-04-13 14:32:30 -05:00
nickofolas
16cf227498 Implement Monaco theme editor 2022-04-13 14:32:30 -05:00
nickofolas
b3f37b2583 Add types token 2022-04-13 14:32:30 -05:00
nickofolas
881d4816cc Theme attribute cleanup 2022-04-13 14:32:30 -05:00
nickofolas
ec0f20b14f Framework for custom theme 2022-04-13 14:32:30 -05:00
Undeemiss
87936598e2 Create program action no longer creates duplicates 2022-04-13 13:03:10 -05:00
Olivier Gagnon
3336a6ff61 added openDevMeny 2022-04-13 13:47:48 -04:00
Undeemiss
80b61ea17e Reran npm format and lint to fix formatting 2022-04-13 12:19:58 -05:00
Olivier Gagnon
b5e4d706b2 🔖 Build v1.6.4 2022-04-13 12:32:26 -04:00
Olivier Gagnon
fbb99c1712 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-04-13 12:24:04 -04:00
Olivier Gagnon
c76602a5df rm aug woned 2022-04-13 12:24:01 -04:00
hydroflame
96d76a84ba
Merge pull request #3431 from Undeemiss/sing-connect-backdoor
Allowed ns.singularity.connect to connect to backdoored servers directly
2022-04-13 12:22:17 -04:00
Undeemiss
dfc2ca6669 Allowed ns.singularity.connect to connect to backdoored servers directly
Added some small comments for readability and added a new case to
ns.singularity.connect that allows connecting to backdoored servers
directly regardless of if the current server is adjacent to them.
2022-04-13 11:03:17 -05:00
hydroflame
0d11a18ca9
Merge pull request #3428 from Chris380/bugfix/2367_reject_cd_to_invalid_folders
Reject cd to invalid folders
2022-04-13 11:27:35 -04:00
hydroflame
cca8aa45d6
Merge pull request #3425 from Chris380/bugfix/3111_growthAnalyzeSecurity_thread_limit
Bugfix/3111 growthAnalyzeSecurity thread limit
2022-04-13 11:26:22 -04:00
Olivier Gagnon
a029aee404 fmtlint 2022-04-13 11:18:22 -04:00
hydroflame
e1405a1dd2
Merge pull request #3429 from nickofolas/feature/ns-grafting-get-augs
[Feature] Add `ns.grafting.getGraftableAugmentations` function
2022-04-13 11:17:31 -04:00
Olivier Gagnon
501b69bbc2 tighten messages types wth enums 2022-04-13 11:10:56 -04:00
Olivier Gagnon
c21223ca40 Added type declaration to Messages 2022-04-13 11:06:49 -04:00
hydroflame
3b5e877801
Merge pull request #3424 from Undeemiss/smarter-icarus
Reduced icarus.msg spam and added new truthgazer.msg
2022-04-13 11:06:26 -04:00
nickofolas
51e5d38c7b Add grafting API function to get graftable augs 2022-04-13 09:43:27 -05:00
chris380
d93ab92f69 Reject cd to invalid folders 2022-04-13 16:07:41 +02:00
Chris380
99923e0f62
Update src/NetscriptFunctions.ts
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:58:43 +02:00
chris380
1dac3fea31 fixed formatting + import 2022-04-13 15:54:48 +02:00
Chris380
baa14f7b4d
Update src/ScriptEditor/NetscriptDefinitions.d.ts
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:48:44 +02:00
Chris380
04abb60708
Update src/ScriptEditor/NetscriptDefinitions.d.ts
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:48:29 +02:00
Chris380
e0f4ec6594
Update src/NetscriptFunctions.ts
Co-authored-by: Nikolai Korolev <CrafterKolyan@mail.ru>
2022-04-13 15:47:31 +02:00
phyzical
7bb23f9a97 lint 2022-04-13 18:56:35 +08:00
phyzical
90d1c22aca changes all references to "heath reduction to damage reduction" 2022-04-13 18:54:13 +08:00
phyzical
7f288665d3 linting 2022-04-13 18:52:32 +08:00
phyzical
3eb9c4a2e2 regression fix 2022-04-13 18:52:01 +08:00
phyzical
6b48ff8f21 merge base 2022-04-13 18:50:42 +08:00
Jack
2f9ab67cd2
Merge branch 'dev' into bugfix/corp-updates 2022-04-13 16:35:18 +08:00
chris380
44c71347d7 formatting 2022-04-13 09:22:46 +02:00
chris380
355d2bd8f9 use minimum of given and maximum threads 2022-04-13 09:19:09 +02:00
chris380
4c113c19eb take into account max threads needed 2022-04-13 09:16:59 +02:00
Undeemiss
dfadfcea09 Smarter icarus.msg, new truthgazer.msg, fix long-standing message bug
Sorry for putting this all in one commit; it all happened at the same time
as a direct conscequence of trying to get icarus.msg to be smarter.
There's a compilation error on MessageHelpers.ts:24, but the game
seems to run fine so I'm committing and coming back to it later.
2022-04-13 01:53:22 -05:00
Olivier Gagnon
e1a56f9270 typos 2022-04-13 02:04:51 -04:00
Alexander Jarman
dd6d4ec104
Merge branch 'dev' into htugboat/toast-part-deux 2022-04-13 01:55:13 -04:00
Heinous Tugboat
492c7012ea Renames SnackbarVariant to ToastVariant, adds enum to ns 2022-04-13 01:54:13 -04:00
Olivier Gagnon
d7822b389e 🔖 Build v1.6.3 2022-04-13 01:40:29 -04:00
Olivier Gagnon
aa447d3051 🔖 Build v1.6.1 2022-04-13 01:37:53 -04:00
Olivier Gagnon
f555c4567b update doc 2022-04-13 01:35:35 -04:00
hydroflame
03b05f53fe
Revert "[Feature] Script Editor Theme Customization" 2022-04-13 01:12:56 -04:00
hydroflame
413576100a
Merge pull request #2876 from nickofolas/feature/monaco-theme-editor
[Feature] Script Editor Theme Customization
2022-04-13 01:12:15 -04:00
Olivier Gagnon
729fdf7510 fk it 2022-04-13 01:00:00 -04:00
hydroflame
eee8d3e283
Merge pull request #3381 from HeinousTugboat/htugboat/toast-enum
Adds SnackbarVariant enum
2022-04-13 00:34:09 -04:00
Olivier Gagnon
d895124267 lint 2022-04-13 00:27:43 -04:00
hydroflame
16dd31331d
Merge pull request #3421 from Undeemiss/message-refactor
Removed redpillFlag and refactored MessageHelpers.ts
2022-04-13 00:27:14 -04:00
hydroflame
770a76e7e5
Merge pull request #2979 from phyzical/bugfix/2843
updated material dmd based on old tag
2022-04-13 00:24:29 -04:00
Olivier Gagnon
f1a3fb7d3e fix buying programs and writing them at the same time. 2022-04-13 00:21:51 -04:00
Undeemiss
f47f2239bd Added "Check Messages" button to dev menu 2022-04-12 22:29:06 -05:00
Undeemiss
64a5cd038e Formatted and linted 2022-04-12 20:56:21 -05:00
Undeemiss
e30e6ef47f Fixed reference to now-deleted setter for redpillFlag 2022-04-12 20:53:10 -05:00
Undeemiss
0d26976f1a Refactored icarus.msg check 2022-04-12 20:47:00 -05:00
Undeemiss
001e8f6d06 Removed redPillFlag and minor refactors to MessageHelpers.ts
Removed redPillFlag, replacing its use with appropriate UI checks.
converted MessageFilenames to enum and removed unnecessary type checks.
2022-04-12 20:32:01 -05:00
Olivier Gagnon
eaf0098cc7 move singularity to its own namespace but still support the old. 2022-04-12 20:55:28 -04:00
hydroflame
c8c271a334
Merge pull request #3401 from TheMas3212/feat/wrap-singularity
Wrap Singularity API with wrapper
2022-04-12 20:53:55 -04:00
Olivier Gagnon
3e357ab9a7 Added demos in stanek 2022-04-12 20:23:03 -04:00
Olivier Gagnon
2b4b59b371 fmy 2022-04-12 19:10:58 -04:00
hydroflame
df3314c2f2
Merge pull request #3416 from Undeemiss/stanek-info
Added info button to Stanek's Gift page
2022-04-12 19:09:38 -04:00
Undeemiss
1c58f29fe9 Added info button to Stanek's Gift page
Added a small button that can be clicked to bring up a concise,
to the point description of how the Stanek's Gift mechanic works.
2022-04-12 17:54:42 -05:00
hydroflame
b017fd2300
Merge pull request #3000 from JonathanBeverley/corp-expose-things-in-ui
Expose product and material details in API match UI
2022-04-12 17:49:29 -04:00
Olivier Gagnon
de8b38b299 few stanek improvements. 2022-04-12 17:18:36 -04:00
Olivier Gagnon
52e01fc026 fix a few things about getRecentScritps 2022-04-12 14:45:48 -04:00
hydroflame
68abd27d2c
Merge branch 'dev' into add-ns-getRecentScripts 2022-04-12 14:21:18 -04:00
Olivier Gagnon
8958046421 fix test 2022-04-12 14:06:24 -04:00
hydroflame
243cdceb8c
Merge pull request #3390 from nickofolas/improvement/stats-augs-ui
[Improvement] Overhaul Stats and Augmentations UI
2022-04-12 13:43:09 -04:00
hydroflame
0513aed239
Merge pull request #3403 from Chris380/bugfix/2486_auto_complete_connect_backdoored_server
Bugfix/2486 auto complete for connect and backdoored server
2022-04-12 13:37:43 -04:00
hydroflame
aa1ab030a3
Merge pull request #3404 from Chris380/bugfix/3057_hashCost_example_code
Fixed hashCost() example code
2022-04-12 13:37:32 -04:00
Olivier Gagnon
864816bd22 fix unknown 2022-04-12 13:37:19 -04:00
hydroflame
c38ab9e65f
Merge pull request #3405 from Chris380/bugfix/3111_hackAnalyzeSecurity_thread_limit
take into account max thread needed
2022-04-12 13:35:13 -04:00
Risenafis
e27994367d fix HammingCodes description 2022-04-13 01:13:21 +09:00
chris380
fa29d2d9a8 take into account max thread needed 2022-04-12 17:42:49 +02:00
chris380
a49f68b0de Fixed hashCost() example code 2022-04-12 16:23:05 +02:00
chris380
93f59f0df2 formatting updated 2022-04-12 15:11:38 +02:00
chris380
16720ec3b7 update connect help text 2022-04-12 15:08:04 +02:00
chris380
6a941d57ed Add backdoored servers to connect autocompletion 2022-04-12 15:03:45 +02:00
TheMas3212
b2689eaa5a
Wrap Singularity API with wrapper
also refactored the RamCosts IMap as it didnt quite work properly due to
how the wrapper calculates function names
2022-04-12 16:51:10 +10:00
Olivier Gagnon
2d74b493ee Add sourceURL in comment to fill in stack trace 2022-04-11 21:46:17 -04:00
Olivier Gagnon
a11e2868df fmt 2022-04-11 21:45:55 -04:00
hydroflame
a17b81dff3
Merge pull request #2925 from Ornedan/necro-script-fix
Necro script fix
2022-04-11 21:36:07 -04:00