Commit Graph

5531 Commits

Author SHA1 Message Date
hydroflame
8f7bbaf62c
Merge pull request #3723 from borisflagell/FIX#3132
UI: Fixes #3132 several Sleeve can no longer works concurrently in the same company
2022-07-21 02:27:59 -04:00
hydroflame
2fd3451780
Merge pull request #3724 from borisflagell/FIX#3661
API: Fix #3661 Add missing memory property to Sleeve API
2022-07-21 02:26:55 -04:00
hydroflame
10af7ddac7
Merge pull request #3700 from Daniel-Barbera/dev
UI: FIX #3514 Clear recently killed tab on BN end event
2022-07-21 02:19:26 -04:00
hydroflame
a48ae726ba
Merge pull request #3778 from s2ks/hamming
CODINGCONTRACT: HammingCodes description and implementation fixes
2022-07-21 02:16:35 -04:00
hydroflame
3b5d78792b
Merge pull request #3760 from nickofolas/fix/corporation-nformat
CORPORATION: Fix #3261 Industry overview number formatting
2022-07-21 02:15:46 -04:00
hydroflame
5d3955de50
Merge pull request #3795 from borisflagell/FIX#3794
SLEEVE: FIX #3794 Sleeve were getting less shocked when hospitalized (was positive, should have detrimental)
2022-07-21 02:15:17 -04:00
hydroflame
a513a842e3
Merge pull request #3797 from Ansopedian/dev
BUGFIX: Singularity.goToLocation support for non-city-specific locations
2022-07-21 02:14:42 -04:00
Olivier Gagnon
43b8cfec5c fix test suite 2022-07-21 02:13:47 -04:00
Olivier Gagnon
d01fd55bde lint fmt 2022-07-21 01:58:47 -04:00
hydroflame
2772511525
Merge pull request #3779 from borisflagell/CorpoNumeral
CORPORATION: Add big number format support in some Corporation's modal
2022-07-21 01:42:35 -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
hydroflame
9946a2a667
Merge pull request #3841 from crimsonhawk47/fix-ip-exists-function
BUGFIX: Fix #3803 Servers can no longer have duplicate IPs
2022-07-21 01:33:35 -04:00
hydroflame
ab674980bd
Merge pull request #3852 from TheCrazyT/dev
BLADEBURNER: FIX reduce redundant code in Bladeburner.tsx
2022-07-21 01:32:44 -04:00
hydroflame
d2c92c4116
Merge pull request #3881 from evil-tim/ctrl-c-bash-hotkey
UI: Fix #3854 ctrl+c does not clear terminal input
2022-07-21 01:27:03 -04:00
Olivier Gagnon
207e55c7b8 add colon x to vim mode 2022-07-21 01:25:43 -04:00
Olivier Gagnon
ec17cfdaf3 merge corp not async 2022-07-20 17:27:11 -04:00
Olivier Gagnon
ef42ee7232 few more api break 2022-07-20 17:03:08 -04:00
Staszek Welsh
75a9151e74 Merge branch 'dev' into corp-remove-async 2022-07-20 21:12:27 +01:00
Olivier Gagnon
94aa547459 more api break sad 2022-07-20 15:14:26 -04:00
hydroflame
17c2f06ae0
Merge pull request #3802 from stalefishies/corp-dividends
CORPORATION: (BREAKING) Dividend fixes and exposing dividends info via scripts
2022-07-20 15:08:41 -04:00
Olivier Gagnon
4f86bc644c fix faction work not working correctly 2022-07-20 15:08:04 -04:00
Olivier Gagnon
c9b9c2c55b merge dev 2022-07-20 12:16:42 -04:00
Olivier Gagnon
8312710b0d fix contracts 2022-07-20 11:50:26 -04:00
Olivier Gagnon
894929efdb fix ustring issue 2022-07-20 11:41:02 -04:00
Olivier Gagnon
e0a24cf381 fix args not beign passed to scripts 2022-07-20 11:34:49 -04:00
Olivier Gagnon
28b9c821d2 fix few as any 2022-07-20 02:36:21 -04:00
Olivier Gagnon
49f6fda1e4 remove last colon any for now 2022-07-20 01:48:54 -04:00
Olivier Gagnon
0e74b1a5d6 remove last colon any for now 2022-07-20 01:37:41 -04:00
Olivier Gagnon
b4e5829cf8 rm unused arg 2022-07-20 01:21:07 -04:00
Olivier Gagnon
4518eabc29 Remove some any and add getAugmentationBasePrice 2022-07-20 01:20:11 -04:00
Olivier Gagnon
ceb9fa1249 fix more any 2022-07-20 01:13:06 -04:00
Olivier Gagnon
71d8e35bb5 more anys 2022-07-19 23:26:21 -04:00
Olivier Gagnon
30291f7899 build fix for player in formulas 2022-07-19 23:05:46 -04:00
Olivier Gagnon
f220965a73 more anys 2022-07-19 22:54:38 -04:00
Olivier Gagnon
ce2ebf576e fix an any 2022-07-19 22:44:45 -04:00
Olivier Gagnon
83c26903c0 add argument for commitCrime focus 2022-07-19 22:30:07 -04:00
Olivier Gagnon
810f3a87b9 rm more anys 2022-07-19 21:53:43 -04:00
Olivier Gagnon
26986c2d3e fix work crashing when installing 2022-07-19 21:42:54 -04:00
Olivier Gagnon
96654d4c0a rm some anys 2022-07-19 21:38:50 -04:00
Olivier Gagnon
dfadfe6eb2 working with monaco anys 2022-07-19 20:10:30 -04:00
Olivier Gagnon
0c07dddb36 fix a bunch of any in NetDef 2022-07-19 19:20:14 -04:00
Olivier Gagnon
0848d2fdaa fix 2 any 2022-07-19 19:08:22 -04:00
Olivier Gagnon
70d5390e4d most anys in NetFunc 2022-07-19 19:04:06 -04:00
Olivier Gagnon
7dacf947bd one more 2022-07-19 18:30:59 -04:00
Olivier Gagnon
c3a10d5d95 fix more anys 2022-07-19 18:25:06 -04:00
Olivier Gagnon
2442402af5 fix more anys 2022-07-19 16:46:03 -04:00
Olivier Gagnon
22c6a10eae rm console log 2022-07-19 14:29:01 -04:00
Olivier Gagnon
bb8af88b77 prep v2 2022-07-19 14:21:12 -04:00
Olivier Gagnon
b409e58447 fix exp not loading, kinda 2022-07-19 13:09:56 -04:00
Olivier Gagnon
c977a9def7 tidy up eslint.js 2022-07-19 12:19:32 -04:00
Olivier Gagnon
a9d5ff9bc9 lint 2022-07-18 03:31:17 -04:00
Olivier Gagnon
7455b80466 fix any in CotMG helper 2022-07-18 03:26:07 -04:00
Olivier Gagnon
55c5190986 fix any in BaseServer 2022-07-18 03:20:11 -04:00
Olivier Gagnon
8773b8e18d fix any in determineAllPossibilitesForTabCompletions 2022-07-18 03:19:10 -04:00
Olivier Gagnon
6afeb6972f fix any in IBladeburner 2022-07-18 03:16:36 -04:00
Olivier Gagnon
ceed844523 fix any in Console 2022-07-18 03:13:31 -04:00
Olivier Gagnon
9057bcc8fb fix any in StatsElement 2022-07-18 03:11:49 -04:00
Olivier Gagnon
fbd6b1b28c fix any in NetscriptPorts 2022-07-18 03:09:19 -04:00
Olivier Gagnon
7195c1b540 fix any in AllServers 2022-07-18 03:06:17 -04:00
Olivier Gagnon
691770fa9b fix any in SkillPage 2022-07-18 03:04:58 -04:00
Olivier Gagnon
40ad1a4758 fix any in SkillElem 2022-07-18 03:03:07 -04:00
Olivier Gagnon
91ca43707a fix any in INetscriptHelper 2022-07-18 03:01:55 -04:00
Olivier Gagnon
610bcd6315 fix any in NetscriptPort 2022-07-18 03:00:51 -04:00
Olivier Gagnon
5c3ecb9a23 fix any in PromptManager 2022-07-18 02:59:04 -04:00
Olivier Gagnon
aacdde8082 fix any in StatsTable 2022-07-18 02:57:11 -04:00
Olivier Gagnon
97c5332a59 fix any in LogBoxManager 2022-07-18 02:53:01 -04:00
Olivier Gagnon
ae54092334 fix any in CharacterStats 2022-07-18 02:47:11 -04:00
Olivier Gagnon
88d9a76b04 yet another any 2022-07-18 02:43:59 -04:00
Olivier Gagnon
e9788536ed yet another any 2022-07-18 02:36:51 -04:00
Olivier Gagnon
5f229c9c67 yet another any 2022-07-18 02:33:21 -04:00
Olivier Gagnon
97105b8e76 rm another any 2022-07-18 02:31:09 -04:00
Olivier Gagnon
1b90b42881 rm more any 2022-07-18 02:28:21 -04:00
hydroflame
cfcdc254c9
Merge pull request #3907 from oddiz/patch-1
GANG: Removed a console.log
2022-07-16 17:23:19 -04:00
hydroflame
c5518d9d02
Merge pull request #3910 from faangbait/patch-1
fix for #3909
2022-07-16 17:23:07 -04:00
Olivier Gagnon
ced37e3731 allbuild commit 6b18bfb1 2022-07-16 01:18:56 -04:00
hydroflame
f339e49aa7
Merge pull request #3787 from Undeemiss/bladeburner-multi-upgrade
BLADEBURNER: Added bulk upgrades to upgradeSkill NS API
2022-07-15 23:40:55 -04:00
Olivier Gagnon
5b8eea66d4 rm some any 2022-07-15 23:34:27 -04:00
faangbait
3b59f07f88
fix for #3909
#3909 

I can't compile electron right now, but I think this ought to fix it.
2022-07-15 10:20:30 -05:00
Kaan Şarkaya
854bfcd29a
GANG: Removed console.log
As a player who relies on debug console for script output, this console.log is pretty annoying since it prints frequently.
2022-07-15 13:10:57 +03:00
Olivier Gagnon
59e55de9ca fix all function being async lmao 2022-07-15 02:11:06 -04:00
Olivier Gagnon
1d4d86719e rm any 2022-07-15 01:58:00 -04:00
Olivier Gagnon
4bee746576 rm any 2022-07-15 01:51:30 -04:00
Olivier Gagnon
86c0913bd3 rm some any 2022-07-14 23:03:54 -04:00
Olivier Gagnon
8fe824e8cd allbuild commit c9432e4c 2022-07-14 22:02:49 -04:00
Olivier Gagnon
e58456cd6b allbuild commit 0b22e87e 2022-07-14 21:59:23 -04:00
Olivier Gagnon
c9432e4cd7 rm any 2022-07-14 21:54:49 -04:00
Olivier Gagnon
a0994a088c rm any 2022-07-14 19:09:21 -04:00
Olivier Gagnon
6a11998427 nuke more any 2022-07-14 19:07:10 -04:00
Olivier Gagnon
dd7ceeefdd rm a any 2022-07-14 19:02:59 -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
Olivier Gagnon
0550bc188c refactor some stuff 2022-07-14 17:43:08 -04:00
Olivier Gagnon
a5088f1136 Merge branch 'dev' into work 2022-07-14 16:43:26 -04:00
Olivier Gagnon
00ddeb751c Make tail box display ANSII colors 2022-07-14 16:34:42 -04:00
Olivier Gagnon
ad098e1f05 refactor ANSII colors into it's own component 2022-07-14 16:25:20 -04:00
Olivier Gagnon
28956d8fd6 make crime unfocusable 2022-07-14 15:53:42 -04:00
Olivier Gagnon
fac6633347 remove so many fields and values used by the old system 2022-07-12 23:13:40 -04:00
Olivier Gagnon
598e47766e convert company work to new work system 2022-07-12 22:43:03 -04:00
Olivier Gagnon
2d73f546b0 lint and remove unused var 2022-07-12 01:59:23 -04:00
Olivier Gagnon
f7805c4a51 convert faction work to new work system 2022-07-12 01:54:19 -04:00
Olivier Gagnon
e86a42716c lint 2022-07-11 15:58:23 -04:00
Olivier Gagnon
606f1bf6c4 create program and grafting done 2022-07-10 01:37:36 -04:00
s2ks
b27e7d00fe format 2022-07-08 01:37:42 +02:00
s2ks
063da8aa60 fetch latest from upstream 2022-07-08 01:35:20 +02:00
Olivier Gagnon
647392626e convert taking class ot new work system 2022-07-07 17:28:23 -04:00
Olivier Gagnon
24b6eb4d56 make workinprogress crime 2 digit precision 2022-07-07 02:03:02 -04:00
Olivier Gagnon
3ee7d593d0 Convert crime to new work model 2022-07-07 02:00:23 -04:00
James Villegas
6d8a3e192b Update ctrl+c hotkey to print current text to terminal without executing it to mimic real terminal behavior 2022-07-07 08:11:34 +08:00
hydroflame
7d263e4223
Merge pull request #3889 from stalefishies/purchase-aug-fix
MISC: Add faction membership check to singularity.purchaseAugmentation
2022-07-06 15:35:53 -04:00
hydroflame
f706b48db8
Merge pull request #3872 from ilkecan/add-options-shortcut
UI: Add a keyboard shortcut to switch to Options page
2022-07-06 14:39:25 -04:00
hydroflame
fb31903966
Merge pull request #3873 from ilkecan/createProgram-cancel-message
createProgram: FIX #3846 Return correct message
2022-07-06 14:38:38 -04:00
hydroflame
e5ecf1b502
Merge pull request #3793 from Nezrahm/dev
HACKNET: Make hashnet perfectly convert overflow
2022-07-06 14:38:13 -04:00
hydroflame
4f617e7d3d
Merge pull request #3818 from ApamNapat/fixed_some_typos_and_style_issues
MISC: Fixed some typos and style issues
2022-07-06 14:35:31 -04:00
hydroflame
b067e05738
Merge pull request #3813 from stalefishies/doc-fix
DOCUMENTATION: FIX #2602 Remove incorrect info from getHackTime and friends
2022-07-06 14:33:40 -04:00
hydroflame
eeb01b77d6
Merge pull request #3834 from stalefishies/types-fix
MISC: FIX #3831 Fix NS declarations with incorrect script arg types
2022-07-06 14:31:44 -04:00
hydroflame
c8075ba809
Merge pull request #3858 from douweschulte/dev
Small docs and help updates
2022-07-06 14:30:05 -04:00
hydroflame
9f6ba6c802
Merge pull request #3864 from marcowesii/patch-1
DOCUMENTATION: arguments documentation example for ns2 scripts
2022-07-06 14:28:42 -04:00
hydroflame
ee9cdee512
Merge pull request #3866 from ilkecan/parameterize-script-extension
TUTORIAL: Remove the hardcoded script extension
2022-07-06 14:26:40 -04:00
Olivier Gagnon
b592784712 update donation counter 2022-07-06 12:38:11 -04:00
hydroflame
0d5ce06d4d
Merge pull request #3697 from borisflagell/#3669
STANEK: FIX #3669 Clearing stanek grid using API could crash the page.
2022-07-06 12:37:15 -04:00
Staszek Welsh
395b583905 Add faction membership check to singularity.purchaseAugmentation 2022-07-04 23:44:58 +01:00
James Villegas
6c026e6d5c Ignore ctrl+c bash hotkey if user has selected text to allow copying 2022-07-03 12:18:47 +08:00
James Villegas
9efb209ea3 Implement ctrl+c bash hotkey to clear current input 2022-07-03 11:49:45 +08:00
Snarling
9cb58898f2 Add ilkecan fix for part time work 2022-06-29 15:03:34 -04:00
ilkecan
adda3d68cd createProgram: Return correct message
It doesn't return completion message upon cancellation anymore.
2022-06-29 02:01:01 +00:00
ilkecan
9f8c567d4c Add a keyboard shortcut to switch to Options page 2022-06-29 00:33:39 +00:00
ilkecan
44118c8a72 Remove the hardcoded script name 2022-06-28 23:48:07 +00:00
ilkecan
415ae8ee59 Remove the hardcoded tutorial script extension
Parameterized it according to the chosen NS version.
2022-06-26 20:33:01 +00:00
Douwe Schulte
934a72b94c
Fix Nitpick: scan-analyze description displays with an html tag when doing help #3843 2022-06-22 14:06:05 +02:00
Douwe Schulte
d472c1239b
Missing link to used library in tprintf 2022-06-22 12:37:46 +02:00
TheCrazyT
6f7981ff25
Merge branch 'dev' into dev 2022-06-18 22:10:38 +02:00
TheCrazyT
d052d40612
reduce redundant code in Bladeburner.tsx 2022-06-18 21:40:33 +02:00
Snarling
7acb83ba77 Fix backwards logic on quitJob 2022-06-16 07:44:32 -04:00
Gabriel Hawk
60c6536f8e npm format 2022-06-13 01:13:36 -05:00
Gabriel Hawk
1e2e42af75 ipExists acceses server list correctly 2022-06-13 01:07:21 -05:00
Staszek Welsh
d2d76d40e0 npm run format 2022-06-10 20:03:43 +01:00
Staszek Welsh
ecc56213bc Fix function declarations with incorrect script arg types 2022-06-10 19:54:11 +01:00
BB
de01ae20b9 Fixed some typos and style issues 2022-06-07 15:26:33 +02:00
Staszek Welsh
53743ecb7d Change UI arrows 2022-06-03 22:16:03 +01:00
Staszek Welsh
6c73ea44ef Remove potentially spoilery comments about Hacknet Servers from ns docs 2022-06-03 02:20:35 +01:00
Staszek Welsh
144a56e6e0 Remove incorrect doc comment about second arguments for getHackTime and friends 2022-06-03 02:18:06 +01:00
Staszek Welsh
052aa33f0c Remove debug console.logs 2022-06-03 00:27:05 +01:00
Staszek Welsh
eb71097006 Fix bug where NaNs can leak into product creation productivities 2022-06-03 00:19:43 +01:00
Staszek Welsh
02b07bb332 Fix relevant linter errors and run formatter 2022-06-02 22:54:50 +01:00
Staszek Welsh
b29c8e0039 Stop potential exploit where you switch employees around right before a product finishes 2022-06-02 22:11:34 +01:00
Staszek Welsh
1ed19168f6 Use nicer arrows and alignment in office UI 2022-06-02 17:47:31 +01:00
Staszek Welsh
333975ecf6 Move buy coffee button to office UI section 2022-06-02 14:49:52 +01:00
Staszek Welsh
ba7b76369b Remove industry upgrades
There are only two industry upgrades, one of which is buying coffee
which is not an upgrade, and for the office not the industry. Moving
that to the office leaves just hiring AdVerts, which is better as an
explicitly named set of methods.
2022-06-02 02:43:22 +01:00
Staszek Welsh
18a80d3fe9 Stop potential exploit where you could cheat at coffee/party prices 2022-06-02 00:07:34 +01:00
Staszek Welsh
9ffec86b58 Make buy coffee UI reflect if we're buying coffee 2022-06-02 00:00:30 +01:00
Staszek Welsh
fe83ca0f3f Make throw party UI reflect if we're throwing a party 2022-06-01 23:45:29 +01:00
Staszek Welsh
04efd899a0 Remove async from buyCoffee and throwParty 2022-06-01 23:36:15 +01:00
Staszek Welsh
ffaa38d086 Unify code paths for buying coffee and throwing parties 2022-06-01 23:26:32 +01:00
Staszek Welsh
1ba5902e1e Stop auto employee buttons moving around when the numbers change 2022-06-01 18:34:24 +01:00
Staszek Welsh
7d3a43f7b5 Remove async from employee assignment functions 2022-06-01 18:18:53 +01:00
Staszek Welsh
b9356ea782 Only switch employee jobs at the start of corp cycles 2022-06-01 18:11:33 +01:00
Staszek Welsh
df98bcc748 Remove unnecessary check in corporation.unlock 2022-06-01 13:03:32 +01:00
Staszek Welsh
eb46e4d156 Rename getDividends to getCycleDividends for clarity 2022-06-01 12:59:45 +01:00
Undeemiss
6ba171b0c3 Unknown-ify count parameters 2022-05-31 21:27:04 -05: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
Staszek Welsh
4a3558098c Fix error check in issueDividends expecting 0-100 when it actually takes 0-1 2022-05-30 22:31:51 +01:00
Staszek Welsh
74e4a32f13 Fix shareholder earnings in UI being per cycle instead of per sec 2022-05-30 22:24:52 +01:00
Staszek Welsh
c117b55df9 Expose dividend info through ns.corporation.getCorporation() 2022-05-30 22:21:27 +01:00
Staszek Welsh
e28fe3e31d Use stored corporation.dividendTax in the dividend tax calculation 2022-05-30 22:05:05 +01:00
Staszek Welsh
8d474a7610 Change corporation.dividendPercentage to corporation.dividendRate 2022-05-30 21:45:36 +01:00
Ansopedian
d319b3f982 added singularity.goToLocation support for non-city-specific locations 2022-05-30 14:23:06 +02:00
borisflagell
2f1d47b466 SLEEVE: FIX #3794 2022-05-29 21:17:04 +02:00
Nezrahm
178015a140 Make hashnet perfectly convert overflow 2022-05-29 20:10:25 +02:00
Undeemiss
a0bff34761 Refactored the internal calculateCost function for readability 2022-05-29 11:35:28 -05:00
Undeemiss
06acc423ae Added count to NS cost function, input checking, fixed documentation
Also changed upgradeSkill back to returning a bool instead of a
number.
2022-05-29 11:13:49 -05:00
Undeemiss
f8f3c099e0 Formatted/linted (There are some errors, but they aren't mine afaik) 2022-05-28 21:35:20 -05:00
Undeemiss
8b026f606b Fixed off-by-one error in the fast calculateCost function
The off-by-one error was in the original sum, so it's not obvious
in the simplified version of the sum. Fixing this greatly improved
the accuracy of the simple calculation for small counts, but I'm
leaving the recursive mode in. Maybe I'll lower the threshold,
though. 100 isn't a terribly small number.
2022-05-28 21:26:11 -05:00
Undeemiss
8d9e077b66 calculateCost now works more accurately for count<=100 2022-05-28 21:06:25 -05:00
Undeemiss
908d5e9570 Proof-of-concept, handling purchases of 1e150 lvls at once
Threw something together with a formula that should, for large
purchases, be roughly the same cost as normal. The formula change
may cause noticeable deviation from expected costs for low numbers
of upgrades, though, so I plan to fix that by having high
quantities handled differently than low ones if necessary.
2022-05-28 20:37:33 -05:00
Undeemiss
709fc3ab63 Began attempting to implement a multi-upgrade function for bb 2022-05-28 14:12:07 -05:00
s2ks
3a55e3b9ad Merge branch 'dev' into hamming 2022-05-28 15:31:46 +02:00
s2ks
f066c0f01e correct size calculation 2022-05-28 15:27:32 +02:00
borisflagell
2332138fbd Updated Modal to use new NumberInput Component 2022-05-28 03:15:23 +02:00
borisflagell
6be884a9ad prettier 2022-05-28 02:50:04 +02:00
borisflagell
c6b6ad1ab9 Corporation: Add big number format support in some modal corp
Add big number format support. to the following Corporation's modal :
-BuybackShare
-BribeFaction
-GoPublicModal
-IssueNewShare
-MakeProduct
-SellSahares
2022-05-28 02:50:04 +02:00
Olivier Gagnon
b8750d1058 Make a new InputComponent that can be re-used everywhere to make all text accept the same kind of input 2022-05-27 20:41:14 -04:00
s2ks
c88d3bcf85 format 2022-05-27 22:37:32 +02:00
s2ks
bcc53c48a7 be clear about the form the answer should come in 2022-05-27 22:31:42 +02:00
s2ks
aa321e3305 re-implement HammingEncode/Decode added HammingEncodeProperly
to generate valid hamming codes for "HammingCodes: Encoded Binary to
Integer"
2022-05-27 21:42:39 +02:00
s2ks
4b37603ea5 Attempt to clear up some ambiguity in the descriptions
of the "HammingCodes" coding contracts as well as having the
"HammingCodes: Encoded Binary to Integer" coding contract generate valid
Hamming codes.
2022-05-27 21:36:03 +02:00
borisflagell
c5b68610a1 fix typo in thrown error message 2022-05-27 17:59:37 +02:00
borisflagell
eed6f355fb Update NetscriptDefinitions.d.ts
Fix two instance of in-game API doc referencing the wrong time unit.
2022-05-26 23:39:57 +02:00
Markus-D-M
30687ce74e Typo 2022-05-26 21:08:28 +02:00
Olivier Gagnon
f70297c829 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-05-26 12:59:09 -04:00
Olivier Gagnon
f2721fefd2 Bladeburner final op no longer directly sends you to the bitverse but instead makes a button appear that sends you there 2022-05-26 12:59:05 -04:00
Markus-D-M
1d06273858 Specify api data + Adding description to doc. 2022-05-26 09:40:05 +02:00
Markus-D-M
ec95730a81 Merge branch 'dev' into contracts_encryption 2022-05-26 09:09:34 +02:00
hydroflame
394b2fca5d
Merge pull request #3768 from jeek/dev
Reduce Fulcrum Rep Requirement
2022-05-26 02:14:25 -04:00
T.J. Eckman
734f1167df
Restore Fulcrum Rep Requirement to Default
Instead of setting it specifically to 200e3, removed the argument entirely so it will use the default, which currently happens to be 200e3.
2022-05-26 01:12:40 -04:00
T.J. Eckman
2defd1887d
Reduce Fulcrum Rep Requirement 2022-05-26 01:00:56 -04:00
Olivier Gagnon
4e10e190cb allbuild commit 00adc2ff 2022-05-26 00:57:25 -04:00
Olivier Gagnon
00adc2ffa2 allbuild commit ddf4ab26 2022-05-26 00:34:30 -04:00
Olivier Gagnon
ddf4ab2672 dont generate coding contract offline because SF1.1 2022-05-25 20:49:11 -04:00
Olivier Gagnon
6a2e5b06ad fix manualHack 2022-05-25 20:19:42 -04:00
T.J. Eckman
cfb0967634
Unassigned Employees Boost
Speed up assigning of employees currently without a job.
2022-05-25 18:55:34 -04:00
hydroflame
535812a0fc
Merge pull request #3764 from danielyxie/dev
Remove the infinite loop safety net completely
2022-05-25 18:40:57 -04:00
Olivier Gagnon
216055b3e0 allbuild commit b60f3da8 2022-05-25 18:38:01 -04:00
hydroflame
3ba8e59a9b
Merge pull request #3761 from danielyxie/dev
Fix .script crashing :(((
2022-05-25 16:10:19 -04:00
Olivier Gagnon
cb7f3b17be fix ns1 scripts 2022-05-25 16:01:28 -04:00
Markus-D-M
51ba358464 Update codingcontracttypes.ts
prettier
2022-05-25 21:41:58 +02:00
Markus-D-M
699d792e5b Update codingcontracttypes.ts
two encryption contracts
2022-05-25 21:41:58 +02:00
Olivier Gagnon
ca2e22506b more lint 2022-05-25 15:40:57 -04:00
nickofolas
8630ff3741 Use big number format for industry overview 2022-05-25 14:26:14 -05:00
Olivier Gagnon
c1650e332b lint fixes 2022-05-25 15:08:48 -04:00
Olivier Gagnon
76ccb0ba36 lint 2022-05-25 11:43:43 -04:00
Olivier Gagnon
6fef46d5df Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-05-25 11:16:01 -04:00
Olivier Gagnon
bd6705419c lint 2022-05-25 11:15:34 -04:00
hydroflame
315c949ca2
Merge pull request #3753 from phyzical/feature/3737
MISC: Remove progMult from product create as it is redundant
2022-05-25 11:14:39 -04:00
Olivier Gagnon
63b0b22f92 Fix tor router from anywhere 2022-05-25 11:14:06 -04:00
hydroflame
bef953bf59
Merge pull request #3758 from danielyxie/api-wrap
Fix a few bugs related to api wrapping
2022-05-25 11:12:38 -04:00
Olivier Gagnon
4dd7afac9d allbuild commit 252b0a30 2022-05-25 11:10:25 -04:00
hydroflame
edef7729a2
Merge pull request #3756 from phyzical/bugfix/fix-tests
FIX: tests
2022-05-25 10:49:08 -04:00
phyzical
bc5377ba74
fix tests
bugfix/fix-tests

File List:
src/Terminal/determineAllPossibilitiesForTabCompletion.ts
test/jest/Terminal/Directory.test.js
2022-05-25 19:03:58 +08:00
phyzical
bec40e5274
fix compliation error in dev
bugfix/fix-dev-build

File List:
src/NetscriptFunctions.ts
2022-05-25 17:20:32 +08:00
phyzical
2e7e5ad917
remove progMult as it is redundant
feature/3737

File List:
src/Corporation/Product.ts
2022-05-25 17:09:36 +08:00
hydroflame
31fe43715e
Merge pull request #3743 from fdellwing/patch-1
MISC: Fix #3742 manualHack() should use correct BitNode Multiplier
2022-05-24 20:22:01 -04:00
Olivier Gagnon
972abcbdc8 Wrap all the API 2022-05-24 20:16:39 -04:00
Olivier Gagnon
ae38b11ede made static ram cost typecheck that it's missing no property. 2022-05-24 18:34:00 -04:00
Olivier Gagnon
0da2e74d12 more work on wrapping formulas 2022-05-24 17:51:48 -04:00
Olivier Gagnon
324f752d8a Wrap formulas but doesn't compile 2022-05-24 17:29:44 -04:00
hydroflame
16b0970b27
Merge pull request #3746 from danielyxie/dev
Update infinite loop safety net mechanism
2022-05-24 17:10:00 -04:00
Olivier Gagnon
79e7c47b4d Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-05-24 16:57:39 -04:00
Olivier Gagnon
ce61f06319 allbuild commit 8159dad5 2022-05-24 16:57:25 -04:00
Fabian Dellwing
4d41d2deaf
Fix #3742 2022-05-24 18:28:10 +02:00
Daniel Barbera
f4e28d7bc1 Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev 2022-05-24 18:00:49 +02:00
hydroflame
682b12d05a
Merge pull request #3731 from xRalic/offlinecontracts
MISC: FIX #2709: Generate contracts while offline
2022-05-24 11:44:46 -04:00
Daniel Barbera
27e9cd53e1 #3514: Clear recently killed tab on BN end event 2022-05-24 17:05:25 +02:00
Daniel Barbera
761d0cb03e Remove logging 2022-05-24 17:03:17 +02:00
Daniel Barbera
e7a9273c80 #2709: Generate contracts while offline 2022-05-24 17:03:17 +02:00
Daniel Barbera
37e32ee0f8 #3711: Generate contracts only on network 2022-05-24 16:26:40 +02:00
borisflagell
0abd760d35 API FIX:#3732 Cannot assign two sleeve on "Take on contracts" regardless of contract type.
ns.sleeve.setToBladeburnerAction() was not testing the contract value.
2022-05-24 15:38:05 +02:00
borisflagell
682d689e55 fix lint error
removed unused import
(fixing commit issue)
2022-05-24 15:10:05 +02:00
borisflagell
9091441389 Prettier
(fixing commit issue)
2022-05-24 15:09:43 +02:00
borisflagell
ff75097149 API: Fix #3661 Add missing memory property to Sleeve API
fixes #3661

Add the missing memory stat to NS.SleeveSkills Interface.
Update ns.Sleeve.GetSleeveStats accordingly.
(fixing commit issue)
2022-05-24 15:09:22 +02:00
borisflagell
8af4fb1d5a UI: Fix #3366 Sleeve UI would sometime display the stat in TaskSelector while working out.
fixes #3366

 Sleeve.gymStatType will now be constrainded to the following values by Sleeve.workoutAtGym() :
"none" , "str", "def", "dex", "agi". (could previously be anything inputted by player through API)
Sleeve.updateGainTaskRate() and TaskSelector.tasks's initializer block will now use a switch, expecting one of those value, instead of reevaluating the string.

(fixing commit issue)
2022-05-24 15:08:47 +02:00
hydroflame
cb4fd4cf90
Merge pull request #3722 from borisflagell/FIX#2884
API: FIX#2884 Add the missing className property to Sleeve'sAPI
2022-05-24 08:48:35 -04:00
hydroflame
1884d88840
Merge pull request #3738 from danielyxie/dev
Improve inf loop message
2022-05-24 08:33:49 -04:00
Olivier Gagnon
8159dad5fa allbuild commit de644247 2022-05-24 08:12:49 -04:00
borisflagell
08d8f405c0 UI: Fixes #3132 several Sleeve can no longer works concurrently in the same company
fixes #3132
fixes #3394

Fixed the faulty possibleJob() logic in Sleeve/UI/TaskSelector
2022-05-23 19:31:46 +02:00
borisflagell
051393fac9 API: FIX#2884 Add the missing className property to Sleeve'sAPI
fixes #2884.
2022-05-23 19:20:33 +02:00
hydroflame
27bf6cba39
Merge pull request #3703 from borisflagell/ADD#3376
UI: FIX #3376 Add a Total Profit line on Corporation Overview
2022-05-23 12:21:55 -04:00
hydroflame
55ce05e3f4
Merge pull request #3706 from nickofolas/fix/log-box-wrap
LOGS: Fix text wrap in log boxes
2022-05-23 12:21:38 -04:00
hydroflame
570c6d6b32
Merge pull request #3702 from borisflagell/FIX#3508
BLADEBURNER: FIX #3508 Add GetActionCurrentTime() to Bitburner API
2022-05-23 12:21:27 -04:00
hydroflame
d5f3d2fbf4
Merge pull request #3705 from nickofolas/improvement/address-feedback
AUGMENTATIONS: Address some feedback regarding the new UI
2022-05-23 12:19:17 -04:00
hydroflame
f2d9eb8c08
Merge pull request #3721 from borisflagell/FIX#3720
INFILTRATION: FIX#3720 SoA reputation exploit on Infiltration/Victory screen
2022-05-23 12:16:25 -04:00
hydroflame
d7abbb1885
Merge pull request #3715 from PathToLife/patch-2
UI: FIX #3714 Add tprintf to RamCostGenerator
2022-05-23 12:16:03 -04:00
hydroflame
ad1fadd976
Merge pull request #3712 from SebassNoob/english-fixes-patch
MISC: fix augmentation typos, sentence structure and grammar
2022-05-23 12:15:48 -04:00
borisflagell
ec0350984c INFILTRATION: FIX#3720
On Infiltration's reward screen, when trading for rep :
SoA reward are not longer given out when select "none" in the faction's dropdownmenu.
2022-05-23 17:31:28 +02:00
borisflagell
c582e9c099 fix the new function description in in-game-doc 2022-05-23 13:31:34 +02:00
PathToLife
3f1cb27ec1
Add tprintf to RamCostGenerator 2022-05-23 19:57:23 +12:00
hydroflame
e4903f27f8
Merge pull request #3693 from borisflagell/FIX2555
MISC: FIX #2555 ManualHackMoney Bitnode multiplier being "orphaned"
2022-05-22 21:36:01 -04:00
hydroflame
9a2c743d66
Merge pull request #3710 from danielyxie/dev
Fix blade error
2022-05-22 20:49:07 -04:00
hydroflame
837cceba5b
Merge pull request #3694 from borisflagell/FIX2721
WORK: FIX #2721 Singularity faction work logging.
2022-05-22 20:38:49 -04:00
nickofolas
012edd3b2a Fix log box wrap 2022-05-22 11:54:05 -05:00
nickofolas
d1656c0567 Color reqs and increase density 2022-05-22 11:12:30 -05:00
SebassNoob
774eced317
grammar 2022-05-23 00:05:40 +08:00
SebassNoob
cd8f0cdbda
more ss fixes 2022-05-23 00:03:51 +08:00
SebassNoob
0bc486afcd
fix typos, grammar and sentence structure 2022-05-22 23:51:12 +08:00
borisflagell
5bc1d293ca prettier 2022-05-22 11:59:14 +02:00
borisflagell
82a001c962 UI: FIX #3376 Add a Total Profit line on Corporation Overview
Add a Total Profit line on Corporation Overview.

Feels a bit like a low added-value bloat.
But division did use that pattern already, so I guess it can count as streamlining.
2022-05-22 11:52:45 +02:00
borisflagell
d44d71712f Prettier 2022-05-22 06:40:32 +02:00
borisflagell
8e0af049d9 BLADEBURNER: FIX #3508 Add GetActionCurrentTime() to Bitburner API
Add GetActionCurrentTime() to Bitburner API.
Slightly tweak BItburner.resetAction() to also reset time counters.
2022-05-22 06:40:08 +02:00
nickofolas
ea2f412ef1 Initial densification of Augments list 2022-05-21 19:40:27 -05:00
nickofolas
5f9fb117b0 Remove info icon, show stats on name hover 2022-05-21 18:37:27 -05:00
borisflagell
3ee37bfde5 BLADEBURNER: FIX #3685 Error being thrown when finishing a BlackOps
fixes #3685 - Bladeburner.action property was reset before being used for the last time in Bladeburner.processAction().

Moving
const action = this.getActionObject(this.action);
before the call to
const retValue = this.completeAction(player, player, this.action);
2022-05-22 01:16:20 +02:00
borisflagell
5b4addbb21 Prettier & slight fix
Streamlined DummyGrid to behave like Grid.

Fixed a bad practice issue with ActiveFragmentSummary that displayed an error message in the webbrowser devtool console.
2022-05-22 01:08:53 +02:00
borisflagell
ce5fdb00af STANEK: FIX #3669 Clearing stanek grid using API could crash the page.
Fix #3669 - Query the "activegrid" at each re-rerendering of the Stanek Page. Rather than using React useState and passing it as Props.

Tested with :
ns.clearLog()
ns.tail()
await ns.sleep(2000)

ns.print("Clearing gift")
await ns.sleep(1000);
ns.stanek.clearGift()
2022-05-22 00:57:30 +02:00
borisflagell
8e94878380 WORK: FIX #2721 Singularity faction work logging.
fixes #2721

Player's faction-work-related property were reset to 0 before the singularity's log message was formatted.

I anticipate (really) minor conflict with Work System rework PR.
2022-05-21 23:18:12 +02:00
borisflagell
12ec35823e MISC: FIX #2555 ManualHackMoney Bitnode multiplier being orphaned
Apply the BitnodeMultipliers.ManualHackMoney to money gained via Terminal's hack program.
2022-05-21 22:53:31 +02:00
Stephen Reindl
35978689f9
Fix #3690 by adding missing function RamCostGenerator 2022-05-21 17:24:20 +02:00
hydroflame
b10f11b390
Merge pull request #3682 from nickofolas/fix/unavailable-augs-color
AUGMENTATIONS: Use disabled text color for non-buyable augs
2022-05-20 23:53:34 -04:00
hydroflame
5dcdbf81eb
Merge pull request #3683 from danielyxie/dev
Fix 'mv'
2022-05-20 23:52:08 -04:00
Olivier Gagnon
3699b3aa25 allbuild commit b71418b0 2022-05-20 23:50:28 -04:00
nickofolas
38c1388735 Use disabled color for non-buyable augs 2022-05-20 19:39:19 -05:00
Olivier Gagnon
0d437e5b73 lint 2022-05-20 18:20:04 -04:00
Olivier Gagnon
27a8582df8 balance infiltrate synthoids 2022-05-20 18:18:42 -04:00
Olivier Gagnon
34b099c050 rm reviver from person 2022-05-20 17:44:20 -04:00
Olivier Gagnon
58478f7858 Merge branch 'dev' into sleeve-blade 2022-05-20 17:37:02 -04:00
hydroflame
858e7eab24
Merge pull request #3681 from danielyxie/dev
Fix sing tor
2022-05-20 17:36:50 -04:00
Olivier Gagnon
1d1099cd9e fix sing purchaseTor 2022-05-20 17:28:59 -04:00
Olivier Gagnon
42dcbf889e fix typo 2022-05-20 17:28:21 -04:00
hydroflame
212dbb0bb8
Merge pull request #3679 from danielyxie/dev
Fix dark web migration?
2022-05-20 16:11:00 -04:00
Olivier Gagnon
fd7593f13d allbuild commit 1c3d4fe1 2022-05-20 16:07:07 -04:00
Olivier Gagnon
7eb4494ac1 fix mc 2022-05-20 15:58:33 -04:00
Olivier Gagnon
1c3d4fe1b5 re-merge 3575 2022-05-20 15:46:45 -04:00
Olivier Gagnon
3574f5df3f re-merge 3576 2022-05-20 15:44:49 -04:00
hydroflame
41b9a858de
Merge pull request #3678 from danielyxie/dev
v1.7.0
2022-05-20 15:21:21 -04:00
Olivier Gagnon
f5efdfa807 allbuild commit 4cc518f3 2022-05-20 15:19:36 -04:00
Olivier Gagnon
4cc518f377 fix lint 2022-05-19 02:49:49 -04:00
Olivier Gagnon
40d53c2d1b Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-05-19 02:48:58 -04:00
Olivier Gagnon
c2b4a5b52a Update codebase for stanek 2022-05-19 02:48:50 -04:00
hydroflame
084a29dfe4
Merge pull request #3474 from Hoekstraa/mvfix
UI: FIX #3473 'mv' now says destination script is running instead of returning an error
2022-05-19 02:16:33 -04:00
hydroflame
e6ce9a9c03
Merge pull request #3622 from borisflagell/#1754---stanek
UI: FIX #1754  Stanek effect summary & slight tweak.
2022-05-19 02:12:50 -04:00
hydroflame
18cb1bd4f9
Merge pull request #3653 from Dane-Horn/3651-valid-folder-names-are-not-valid
TERMINAL: FIX #3651 Make directory name regex more flexible
2022-05-19 02:10:38 -04:00
Olivier Gagnon
9af553f63c Fix 2022-05-19 02:09:00 -04:00
Olivier Gagnon
ca1a2aad33 fix conflicts 2022-05-19 01:43:54 -04:00
hydroflame
2cb02bf445
Merge pull request #3660 from Undeemiss/stanek-error
STANEK: Stanek NS functions correctly throw errors when stanek not installed
2022-05-19 01:40:48 -04:00
hydroflame
b80e2d5fd1
Merge branch 'dev' into wrap-api 2022-05-19 01:37:06 -04:00
Olivier Gagnon
fda3f02d73 Fix stanek leaking classes 2022-05-19 01:34:36 -04:00
hydroflame
8f3fc22ae6
Merge pull request #3654 from nickofolas/improvement/grafting-sorting
GRAFTING: Implement sorting options
2022-05-19 01:19:37 -04:00
hydroflame
0ba0ccff4f
Merge pull request #3662 from nickofolas/fix/bn-mults-agility-mult
UI: Fix Agility BitNode multiplier not appearing in UI
2022-05-19 01:18:14 -04:00
nickofolas
18120362cd Reapply entropy properly in stanek 2022-05-18 17:32:37 -05:00
hydroflame
f86eae5276
Merge pull request #3624 from danielyxie/infinite-loop-safety
MISC: Implemented infinite loop safety net.
2022-05-18 15:35:12 -04:00
Undeemiss
b3aa0578fb Minor refactor 2022-05-17 15:54:05 -05:00
Undeemiss
d52e1f44b4 Removed my stupid comment lol (sorry!) 2022-05-17 15:26:26 -05:00
Undeemiss
c01cf85d27 Formatted and linted 2022-05-17 15:25:27 -05:00
Undeemiss
b18c18e19a Updated documentation of closeTail to reflect last commit 2022-05-17 15:22:37 -05:00
Undeemiss
8903cd2a8b Removed closePid(fn, host, ...args) and fixed closePid(pid) 2022-05-17 15:19:35 -05:00
Undeemiss
e17fe6f618 closeTail(fn, host, ...args) can now close dead script tails
closeTail(pid) still cannot
2022-05-17 14:46:30 -05:00
Undeemiss
2b9d408b55 First attempt at an implementation; requires script be running 2022-05-17 13:45:30 -05:00
Undeemiss
5526355a43 Set up the skeleton of an ns.closeTail function 2022-05-16 19:15:38 -05:00
nickofolas
b37c03003a Add missing Agility BN mult to UI 2022-05-15 21:23:05 -05:00
Undeemiss
58be301d06 Fixed broken stanek error 2022-05-15 20:06:52 -05:00
Dane Horn
1a9d3ee998 clean up regex and adjust tests to new criteria 2022-05-15 09:43:40 +02:00
Dane Horn
0988ec8226 adjust regex for directory name
new regex allows for more flexible folder names, while still disallowing '.' and '..'
2022-05-15 09:43:40 +02:00
hydroflame
319798b85c
Merge pull request #3640 from Undeemiss/close-issues
MISC: Close some GitHub issues that do not need action
2022-05-14 11:54:24 -04:00
nickofolas
685c93b06d Add sorting buttons to grafting UI 2022-05-14 09:15:01 -05:00
RevanProdigalKnight
8e092939ce Fix indentation 2022-05-13 21:44:32 -06:00
RevanProdigalKnight
7a6809f66c
Simplify quoted string argument parsing 2022-05-13 21:39:20 -06:00
nickofolas
2a73c27a2c Fix AugmentationRepCost BN mult not being applied 2022-05-13 19:02:32 -05:00
nickofolas
0122ce56b6 Display multipliers as a percentage 2022-05-13 12:00:19 -05:00
nickofolas
430d1dad9d Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/bitnode-multipliers 2022-05-13 11:55:55 -05:00
hydroflame
abd66ad977
Merge pull request #3616 from jaype87/dev
UI: Sort and color Graft Augmentation list
2022-05-13 11:08:04 -04:00
hydroflame
e3a0ae0407
Merge pull request #3617 from phyzical/hotfix/fix-augmentation-costs-rsponse
BUGFIX: getAugmentationCost response backwards
2022-05-13 11:07:48 -04:00
hydroflame
88b7b141f7
Merge pull request #3618 from Hoekstraa/clearTerminal
API: Terminal screen can now be cleared from within scripts with ns.ui.clearTerminal()
2022-05-13 11:07:25 -04:00
hydroflame
386dac4be2
Merge pull request #3619 from Snarling/usedRamFix
MISC: FIX #3593 Float errors can no longer prevent full usage of a server's available ram.
2022-05-13 11:06:49 -04:00
hydroflame
a8a302fc0a
Merge pull request #3641 from nickofolas/fix/log-box-ellipsis
UI: Minor improvements to log boxes
2022-05-13 11:06:05 -04:00
hydroflame
09c0e00b02
Merge pull request #3637 from Undeemiss/stanek-booster-charge-fix
STANEK: Fix #3196 Charging booster fragments throws an error
2022-05-13 11:05:42 -04:00
hydroflame
a8be6d3443
Merge pull request #3633 from Dane-Horn/2829-remove-defeated-npc-gangs-from-terr
UI: FIX #2829 Remove defeated NPC gangs from territory page
2022-05-13 11:05:27 -04:00
hydroflame
a6916bfaa9
Merge pull request #3647 from Vic1970/contributor-Vic1970
BLADEBURNER:  fixes #3648 : Automate console command capitalisation inconsistent
2022-05-13 11:04:35 -04:00
hydroflame
4024f6e10f
Merge pull request #3634 from Dane-Horn/2741-shift-in-typing-infiltration
UI: FIX #2741 Allow using modifier keys inside the typing infiltration
2022-05-13 11:04:11 -04:00
hydroflame
dfb552ae73
Merge pull request #3639 from Undeemiss/blade-simulacrum-install-check
BLADEBURNER: Fix #3594 Blade's Simulacrum worked without being installed
2022-05-13 11:03:52 -04:00
hydroflame
47b4914386
Merge pull request #3638 from Undeemiss/breaking-corporation-softcap-capitalization
MISC: Fix #3125 BREAKING Renamed BN mult CorporationSoftCap to CorporationSoftcap
2022-05-13 11:03:36 -04:00
hydroflame
23ac3d6288
Merge pull request #3642 from nickofolas/fix/options-sliders
OPTIONS: Fix sliders not sliding correctly
2022-05-13 11:02:51 -04:00
Vic1970
636d081abc Update Bladeburner.tsx
add string case conversion to allow capitalised action types in automate command.
2022-05-12 11:01:26 +10:00
Undeemiss
831b2262de Reran format and lint 2022-05-11 16:06:05 -05:00
Undeemiss
a23c55c760 Added a check to prevent doubling coding contract rewards 2022-05-11 15:51:54 -05:00
hydroflame
c799b2918b
Merge pull request #3620 from nickofolas/fix/modal-z-index
UI: Fix z-index of modals overriding everything
2022-05-11 14:54:04 -04:00
borisflagell
7a6bcfc513 slight tweak to the no fragment use case
Removed the "non currently" message displayed when the played got no fragment.
2022-05-11 20:18:05 +02:00
borisflagell
5542d43fb9 Added support of duplicate fragment
Fragments sharing the same effect will now be merged in the summary.
2022-05-11 20:13:03 +02:00
nickofolas
770312b9df Remove redundant arrow function 2022-05-09 19:34:36 -05:00
nickofolas
8baafe438d Fix options sliders not sliding 2022-05-09 19:32:32 -05:00
nickofolas
dd949697df Fix handle position 2022-05-09 19:26:20 -05:00
nickofolas
d4e97d786c Various log box improvements 2022-05-09 18:15:23 -05:00
nickofolas
bc9bce0d2c Tweaks to classes 2022-05-09 17:50:45 -05:00
Undeemiss
c2f381cc6e Fix compilation error
I must have missed this file in the commit while having it changed
in my working directory, because the game compiled fine when I was
testing initially but not when I switched branches and came back.
2022-05-09 16:15:11 -05:00
Undeemiss
6748017dd8 Require Blade's Simulacrum be installed in order to take effect
The check for when an action is started was not set to ignore a
purchased but not yet installed Blade's Simulacrum. That is fixed
here.
2022-05-09 15:17:42 -05:00
Undeemiss
a1754da9f6 Random comment added to my coding contract so I can PR this branch 2022-05-09 15:04:09 -05:00
Undeemiss
b00301f4e1 Renamed BN mult CorporationSoftCap to CorporationSoftcap
Replaced all instances of "CorporationSoftCap" in src/ with
"CorporationSoftcap". If files outside of src/ must be changed, I
do not know what those would be.
2022-05-09 14:45:19 -05:00
Undeemiss
8a68633d9c Throw an error when trying to charge stanek booster fragments 2022-05-09 14:29:42 -05:00
Dane Horn
a778015a21 formatting 2022-05-09 09:56:44 +02:00
Dane Horn
1675a2811c ignore ctrl and alt keypresses 2022-05-09 09:55:41 +02:00
Dane Horn
05f2f267b1 reorder 0 territory gangs to the back of the list and reduce opacity 2022-05-09 08:11:22 +02:00
nickofolas
ebc6b52af5 Properly show stats with a BitNode mult of 0 2022-05-08 20:45:00 -05:00
Dane Horn
86b29237eb add new function to detect key presses that can be ignored 2022-05-08 23:59:00 +02:00
Dane Horn
a64c271175 initial approach removing gangs with <= 0 territory 2022-05-08 22:59:36 +02:00
Alt
a6d578eb2e
Edit RAM cost in comment to equal actual RAM usage 2022-05-08 22:53:34 +02:00
rderfler
b683bc0340 fmt 2022-05-08 14:14:05 -04:00
Trambelus
6d63d6f44a
Fix infiltration rep BN mult calculation 2022-05-08 04:23:32 -04:00
Olivier Gagnon
c6806caca2 Wrap most of the API 2022-05-07 19:08:07 -04:00
nickofolas
dd0ff1b614 Fix check for player gang access 2022-05-07 17:51:02 -05:00
nickofolas
1147df8c75 Format 2022-05-07 17:34:50 -05:00
nickofolas
ce500f9bfa Update SF description to reflect changes 2022-05-07 17:20:45 -05:00
nickofolas
d1498598a9 Fix conditional rendering of BN mults element 2022-05-07 17:16:47 -05:00
nickofolas
6d1a3bb47a Fix naming inconsistencies 2022-05-07 16:54:55 -05:00
nickofolas
05f6e079cd Fix hack money BN mult in PlayerMultipliers 2022-05-07 16:52:46 -05:00
nickofolas
c688e20876 Refactor character stats table 2022-05-07 16:51:34 -05:00
Olivier Gagnon
fb08139903 Implemented infinite loop safety net. 2022-05-07 17:43:45 -04:00
nickofolas
5d89f17e4a Tweak max SF level code 2022-05-07 16:28:01 -05:00
nickofolas
d43ec1d501 Fix computation of BN level 2022-05-07 16:19:31 -05:00
nickofolas
1f8c5164d7 Update BN Mults UI and add section to Stats 2022-05-07 15:52:10 -05:00
nickofolas
b1f945ff8e Refactor CharacterStats a bit 2022-05-07 14:48:26 -05:00
nickofolas
ef29baf563 Refactor PlayerMultipliers.tsx 2022-05-07 12:46:04 -05:00
nickofolas
81912d7876 Fix defaultMultipliers being changed 2022-05-07 10:14:01 -05:00
borisflagell
cc6089092f Fix Test error on Tooltip import (hopefully) 2022-05-07 15:35:27 +02:00
borisflagell
705a56f3bd prettier
Add a summary to the stanek page

Tweak UI

Ran Prettier & lint, added a margin to a stanek page element

revert shit
2022-05-07 15:14:51 +02:00
rderfler
77073836cb Merge remote-tracking branch 'upstream/dev' into dev 2022-05-06 22:44:24 -04:00
nickofolas
3e9bcea9e4 Fix modal z-index 2022-05-06 11:35:23 -05:00
Snarling
fe1dd11269 Only mention number of threads if != 1
Fixes confusion mentioned here: https://discord.com/channels/415207508303544321/921120989000114257/971233305020231722
2022-05-06 09:15:48 -04:00
Snarling
99a0337a14 Dirty fix for available ram float errors
1MB added to available ram when checking if available is sufficient. All actual ram values in game are a multiple of 50MB so an extra 1MB can't ever allow additional script load to be ran.
2022-05-06 08:56:19 -04:00
Zoë Hoekstra
65889079b6
Add log entry when ui.clearTerminal() is ran 2022-05-06 12:41:02 +02:00
Zoë Hoekstra
472c9778df
Add ns.ui.clearTerminal for 0.2 GB 2022-05-06 12:29:21 +02:00
phyzical
10c67ab363 refactor resulted in it being backwards 2022-05-06 16:35:07 +08:00
hydroflame
22b6d0d5a0
Merge pull request #3613 from nickofolas/fix/nfg-level-application
AUGMENTATIONS: Fix NeuroFlux being applied improperly and migrate broken saves
2022-05-06 01:56:13 -04:00
jaype87
1a8e31ed09 fix formating 2022-05-06 01:06:53 +02:00
jaype87
5378e8cc38 sort and color grafting list 2022-05-06 00:44:05 +02:00
nickofolas
449ec4dee2 Add faction name to top of augs page 2022-05-05 09:23:10 -05:00
nickofolas
6d9dcfe81f Merge branch 'dev' of github.com:danielyxie/bitburner into fix/nfg-level-application 2022-05-05 08:34:26 -05:00
nickofolas
73f26e2ae3 Reapply boosts in migration 2022-05-05 01:02:05 -05:00
nickofolas
0d72c363b5 Make it more obvious when augmentations are owned 2022-05-04 20:26:55 -05:00
nickofolas
965d5c7c20 Add migration for broken saves 2022-05-04 20:16:23 -05:00
nickofolas
78104b40ad Fix missing logic for applying NFG 2022-05-04 20:07:12 -05:00
nickofolas
30d1fe29d7 Format 2022-05-04 15:04:01 -05:00
nickofolas
7d75093989 Init work types with new None member 2022-05-04 15:03:02 -05:00
nickofolas
59982370cb Implement CrimeType enum 2022-05-04 14:48:49 -05:00
nickofolas
f45200b25e Implement ClassType and FactionWorkType enums 2022-05-04 14:18:12 -05:00
nickofolas
4a8e99b170 Refactor WorkType to an enum 2022-05-04 13:42:48 -05:00
nickofolas
cc5e89208e Convert WIP root to use switch statement 2022-05-04 12:44:48 -05:00
nickofolas
bcb6176952 Merge branch 'dev' into improvement/work-in-progress-ui 2022-05-04 12:28:33 -05:00
nickofolas
2379233351 Fix faction augs cost check 2022-05-04 11:59:51 -05:00
Olivier Gagnon
36c7ef1ad7 support ASNI 2022-05-04 12:21:16 -04:00
hydroflame
9818a397bc
Merge pull request #2989 from phyzical/bugfix/2958
UI: FIX #2228,#2958 Fix tab highlights and highlight files not on home.
2022-05-04 12:10:43 -04:00
hydroflame
a88d79ef0a
Merge pull request #3486 from phyzical/bugfix/3485
UI FIX #3485 - Allow bulk purchasing when smart supply is enabled
2022-05-04 12:10:00 -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
hydroflame
44641fee07
Merge pull request #3544 from phyzical/feature/refactor-augmentation
REFACTOR:  augmentation cost, rep cost and level to be calculated in place
2022-05-04 12:08:24 -04:00
hydroflame
fc3d89e51f
Merge pull request #3552 from Snarling/jobSwitchFix
COMPANY: Fix #3551 Applying for a new  job will not change active employer if player is performing company work
2022-05-04 12:08:03 -04:00
hydroflame
d96faf7225
Merge pull request #3565 from nickofolas/fix/isSpecial-filter
AUGMENTATIONS: Fix `isSpecial` filter in helper (Removes NeuroFlux, Stanek's Gift, etc from gangs)
2022-05-04 12:02:47 -04:00
hydroflame
5d4241b120
Merge pull request #3568 from nickofolas/fix/grafting-stop-work
GRAFTING: Fix Grafting not being handled in singularity stop work
2022-05-04 12:02:29 -04:00
hydroflame
6ffeb9c78d
Merge pull request #3569 from Undeemiss/aug-names-cleanup
MISC: Remove comments that describe nonexistent augs
2022-05-04 12:02:08 -04:00
hydroflame
105ced26bf
Merge pull request #3570 from DavidGrinberg/dev
CORPORATIONS: Expose makeProducts on NSDivision interface
2022-05-04 12:01:33 -04:00
hydroflame
103befe209
Merge pull request #3571 from Undeemiss/bb-point-achvmnt-name
MISC: Correct BB Skill point achievement name
2022-05-04 12:00:20 -04:00
hydroflame
a3fe965771
Merge pull request #3572 from Undeemiss/exception-typo
MISC: Fixed typo in exceptionAlert.ts
2022-05-04 11:58:27 -04:00
hydroflame
b0c9475b57
Merge pull request #3574 from DavidGrinberg/expose-material-sell-cost
CORPORATIONS: Expose sales cost on NSMaterial interface
2022-05-04 11:58:12 -04:00
Olivier Gagnon
5e9b3b0c4f Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-05-04 11:57:44 -04:00
hydroflame
bffa166fc3
Merge pull request #3577 from phyzical/feature/WEB-3567
FEATURE: added logic to allow quitJob to be called from singularity
2022-05-04 11:57:39 -04:00
hydroflame
70ae38360f
Merge pull request #3578 from phyzical/bugfix/3527
BUGFIX: make bonustime for gang in miliseconds
2022-05-04 11:56:15 -04:00
Olivier Gagnon
100e81c8ab Update documentation for employee 2022-05-04 11:56:04 -04:00
hydroflame
7e5ab8d9a6
Merge pull request #3581 from stalefishies/compression-contract-fix
BUGFIX: Handle edge case in LZ compression code and fix docs
2022-05-04 11:53:29 -04:00
hydroflame
375a537344
Merge pull request #3584 from notacompsciguy/patch-1
MISC: Fixed typos in game options
2022-05-04 11:53:12 -04:00
hydroflame
8b0ab7842d
Merge pull request #3587 from nickofolas/improvement/infiltration-ui
INFILTRATION: Update gameplay UI
2022-05-04 11:52:02 -04:00
hydroflame
3f3e6a6261
Merge pull request #3590 from nzdjb/dev
MISC: Correct typos in getScriptRam docs.
2022-05-04 11:51:17 -04:00
Olivier Gagnon
4056956c2a fix documentation for getDarkwebPrograms 2022-05-04 11:51:03 -04:00
hydroflame
8705199714
Merge pull request #3601 from phyzical/bugfix/3598
BUGFIX: sleeve stale object refence during augmentation
2022-05-04 11:49:53 -04:00
hydroflame
be9f67b38a
Merge pull request #3605 from Hoekstraa/key-to-keycode
UI: FIX #3592 Sidebar and bash shortcuts now work on MacOS with US-like layouts
2022-05-04 11:49:17 -04:00
hydroflame
55392a4db7
Merge pull request #3607 from Hoekstraa/killall-safeguard
API: Add safeguard to ns.killall(), preventing killing itself by default
2022-05-04 11:48:14 -04:00
Olivier Gagnon
84564100e9 increase donation counter 2022-05-04 11:47:11 -04:00
hydroflame
9f18e114d6
Merge pull request #3586 from danielyxie/better-ns-tutorial
MISC: Make tutorial explain ns1 vs ns2 better
2022-05-04 11:46:49 -04:00
Zoë Hoekstra
5dee4980e0
Add safeguard toggle to ns.killall() 2022-05-04 17:11:08 +02:00
RevanProdigalKnight
286ab64d67 Ran formatter 2022-05-04 08:32:55 -06:00
RevanProdigalKnight
8d5f80de26 Fixes linter/build errors from editing last night in GitHub 2022-05-04 08:27:52 -06:00
RevanProdigalKnight
df30771744
Add =
Adds the equal sign (`=`) for use in `src/Terminal/Parser.ts`
2022-05-04 00:47:58 -06:00
RevanProdigalKnight
36db849ff1
Upgrade terminal ParseCommand function
Adds ability to parse arbitrarily-nested strings into single arguments (see comments on lines 48, 64, 76)
Adds ability to parse additional number formats, e.g.: hexadecimal (0x0A), octal (018), and binary (0b1101)
Combines arguments separated with escaped spaces into single string arguments, e.g.: "echo Hello\ World!" -> ["echo", "Hello World!"]
2022-05-04 00:46:15 -06:00
nickofolas
b8cb5f0991 Remove elapsed from crime WIP 2022-05-03 15:27:41 -05:00
Zoë Hoekstra
016a9a873f
Add keycode table and switch to event.code in select places 2022-05-03 15:59:46 +02:00
phyzical
0767043166 added logic to avoid stale object reference on sleeve during augmentation 2022-05-03 19:22:05 +08:00
nickofolas
e8a08424af Fix typo 2022-05-02 17:57:50 -05:00
nickofolas
73d08973f9 Render faction money gain conditionally 2022-05-02 17:56:02 -05:00
nickofolas
d942d27a85 Reduce component usage in sleeve element 2022-05-02 17:49:10 -05:00
nickofolas
57673ae281 Add new progress bar to sleeve UI 2022-05-02 17:48:49 -05:00
nickofolas
e859759ebd First pass on work in progress root 2022-05-02 17:31:40 -05:00
nickofolas
4c15b77d21 Update StatsRow 2022-05-02 17:05:25 -05:00
nickofolas
35fa6dcca1 Basic WorkInfo implementation 2022-05-02 16:34:17 -05:00
nickofolas
05078ffb08 Move ProgressBar component 2022-05-02 15:36:21 -05:00
nickofolas
762acfb7b5 Simplify conditionals 2022-05-02 11:38:20 -05:00
nzdjb
a3162eec0e
docs: Correct typos in getScriptRam docs. 2022-05-01 12:57:38 +12:00
nickofolas
d4f3128829 Adjust infil root height so it isn't scrollable 2022-04-30 15:59:31 -05:00
nickofolas
9ea62981de Update intro ul alignment 2022-04-30 15:11:34 -05:00
rderfler
e12bb6cf4b Make lint happy 2022-04-30 15:31:36 -04:00
rderfler
2f320d00a2
Merge branch 'danielyxie:dev' into dev 2022-04-30 15:26:18 -04:00
rderfler
7cf21629a7 Address review
Add ns function setToBladeburnerAction
Formatting updates
fix sleeves using player stamina
Correct supporting sleeve causing error
2022-04-30 15:25:36 -04:00
nickofolas
def89832cb Fix slash game Aug ending game early 2022-04-30 00:28:00 -05:00
nickofolas
437cd66ffe Update Minesweeper game UI 2022-04-30 00:27:49 -05:00
hydroflame
0b74e2c65f
Update src/ui/InteractiveTutorial/InteractiveTutorialRoot.tsx
Co-authored-by: nickofolas <60761231+nickofolas@users.noreply.github.com>
2022-04-29 18:26:58 -04:00
nickofolas
1bcb0099f4 Update grid matching game 2022-04-29 17:01:38 -05:00
nickofolas
c3a3cca9ae Update Intro 2022-04-29 17:00:13 -05:00
nickofolas
2f12484f9e Update intro arrows 2022-04-29 16:59:38 -05:00
Olivier Gagnon
f10de908d4 Make tutorial explain ns1 vs ns2 better 2022-04-29 17:54:59 -04:00
nickofolas
47abdffb1c Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/infiltration-ui 2022-04-29 16:51:10 -05:00
nickofolas
c613021e8f Better centering and change arrows 2022-04-29 15:56:34 -05:00
Alexander Tsao
ee57e5be11
Minor grammatical fixes in GameOptions
Updated grammar in explainer text for "Force kill all scripts" and "Diagnose files."
2022-04-28 20:55:42 -04:00
Staszek Welsh
55d9810727 Handle edge case in LZ compression code and fix docs 2022-04-28 19:50:17 +01:00
phyzical
bd2d5396a6 prettier 2022-04-28 19:22:37 +08:00
phyzical
facab1d264 make bonustime for gang in miliseconds 2022-04-28 19:20:53 +08:00
phyzical
711955c112 added logic to allow quitJob to be called from singularity 2022-04-28 19:05:56 +08:00
phyzical
033154a32d linting 2022-04-28 18:02:50 +08:00
David Grinberg
b2abec7424 Expose sales cost on NSMaterial interface 2022-04-27 22:37:19 -04:00
Undeemiss
138a945707 Fixed typo in exceptionAlert.ts 2022-04-27 18:45:25 -05:00
Undeemiss
584bc095c1 Fixes bb skill point achievement name ingame
Corrects "You should really spent those." to
"You should really spend those."

I don't think it does anything to the steam achievement name
because I don't know how to test that.
2022-04-27 17:14:56 -05:00
DavidGrinberg
828629b713
Update src/NetscriptFunctions/Corporation.ts
Co-authored-by: Jack <phyzicaly@hotmail.com>
2022-04-27 09:37:02 -04:00
phyzical
af8284381c merge base 2022-04-27 19:00:42 +08:00
David Grinberg
d7ac7f8399 Expose makeProducts on NSDivision interface 2022-04-27 00:55:15 -04:00
Undeemiss
7fab3d8b30 Remove comments that describe nonexistent augs 2022-04-26 23:41:58 -05:00
nickofolas
a87bfb0de6 Handle grafting in singularity stop work 2022-04-26 20:11:41 -05:00
nickofolas
ed711c5d5c Fix isSpecial check letting augs slip through 2022-04-26 10:52:58 -05:00
hydroflame
9c805dabb8
Merge pull request #3540 from taralx/patch-1
MISC: add better typing to Electron.tsx
2022-04-26 11:17:36 -04:00
hydroflame
d0d700077a
Merge pull request #3545 from nickofolas/improvement/purchase-augs-ui
UI: Redesign purchasable Augmentations
2022-04-26 11:16:13 -04:00
hydroflame
44475aaac9
Merge branch 'dev' into breaking-contract-capitalization 2022-04-26 11:15:37 -04:00
hydroflame
633d8b582b
Merge pull request #3562 from nickofolas/fix/infiltration-rep-reward
INFILTRATION: Fix rep reward being substantially higher than intended
2022-04-26 11:11:59 -04:00
phyzical
a7a725de22 merge dev 2022-04-26 20:58:39 +08:00
phyzical
8a9a206895 one more lint 2022-04-26 20:52:57 +08:00
phyzical
21a105eb49 linting 2022-04-26 20:49:12 +08:00
phyzical
510a2c2ff7 augmentation isSpecial adjustments
* adjust faction helper to not longer require blacklisting, instead rely on isSpecial
* added neruflux and TRP as special augs
* made SOA augs special
2022-04-26 20:44:09 +08:00
Undeemiss
8e4ac7be6b Save migration for old contract names
Rename old "HammingCodes: Integer to encoded Binary" contracts to
"HammingCodes: Integer to Encoded Binary" on file load if the save
is old.
2022-04-25 20:12:46 -05:00
nickofolas
4cae862fd2 Fix Infiltration victory rep 2022-04-25 19:39:59 -05:00
rderfler
47ce4f4927 Merge branch 'dev' of https://github.com/rderfler/bitburner into dev 2022-04-25 15:48:42 -04:00
rderfler
46c6884c89 Make Infiltrate synthoids a little more clear
By adding a short description
2022-04-25 15:48:02 -04:00
nickofolas
09458b39e6 Merge branch 'dev' into improvement/purchase-augs-ui 2022-04-25 13:35:58 -05:00
rderfler
f187343fa1
Merge branch 'danielyxie:dev' into dev 2022-04-25 14:08:38 -04:00
rderfler
d345188cce Address blackops error
Address blackops error by removing incorrect check for type
2022-04-25 13:57:54 -04:00
hydroflame
686f458064
Merge pull request #3561 from danielyxie/dev
Keeping up to date.
2022-04-25 13:52:20 -04:00
Olivier Gagnon
ad938b1525 casino roulette actually advances the seed now. 2022-04-25 13:46:09 -04:00
rderfler
5f46775950 Cant stop wont stop studying
Correct merge, and known bug that prevents stopping studying
2022-04-25 13:41:43 -04:00
Olivier Gagnon
75de6c665d Moved window.print redefining at top level to prevent naming collision 2022-04-25 13:37:24 -04:00
Olivier Gagnon
2be1d5ff15 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-04-25 13:37:09 -04:00
rderfler
e381e857a5 Merge remote-tracking branch 'upstream/dev' into dev 2022-04-25 13:32:38 -04:00
Olivier Gagnon
58555c0baf remove pre-defined print in .js files. 2022-04-25 13:29:59 -04:00
nickofolas
9f001b25d2 Merge branch 'dev' into improvement/purchase-augs-ui 2022-04-25 12:11:51 -05:00
PSEUDOSTAGE
ab388777b5
Clarify definition for installAugmentations()
Adds the sentence, "If you do not own uninstalled Augmentations then the game will not reset." to the description for installAugmentations().
2022-04-25 13:02:49 -04:00
hydroflame
11da3106ec
Merge pull request #3557 from nickofolas/fix/sleeve-gangs-crash
SLEEVES: Fix issues with Sleeve UI crashing when Sleeve task faction becomes gang faction
2022-04-25 12:03:43 -04:00
Olivier Gagnon
5dae3314e6 upgrade blood donations 2022-04-25 12:03:00 -04:00
Olivier Gagnon
bab57fb4de make gang button a component 2022-04-25 12:02:37 -04:00
hydroflame
6e9f33470b
Merge pull request #3528 from borisflagell/FIX-#3415-Manage-Gang-button-improvements.-
UI: FIX #3415 Tweak Manage Gang button visibility
2022-04-25 11:27:45 -04:00
hydroflame
471cbc2040
Merge pull request #3548 from Snarling/TailButtonFix
UI: Positioning improved for tail titlebar buttons, and tail window has minimum size constraints.
2022-04-25 11:27:27 -04:00
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
hydroflame
f43c3831be
Merge pull request #3504 from danielyxie/dev
Fix script editor settings.
2022-04-18 12:53:15 -04: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
hydroflame
d37e6df779
Merge pull request #3495 from danielyxie/dev
blood
2022-04-18 11:19:55 -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