Commit Graph

3958 Commits

Author SHA1 Message Date
phyzical
18af3f8413 moved updateRam to first call to avoid lack of mocks for tests
* added wrapper funcs to simplify updateRam
* added static parser tests and skiped what isnt worker still for next person to try and fix
2022-03-31 21:41:19 +08:00
Stephen Reindl
689059ea83 Fix expected ram calculation for ns.goToLocation() 2022-03-31 12:37:33 +02:00
hydroflame
a0361c9a42
Merge pull request #3304 from danielyxie/revoke-fix
revoke-fix
2022-03-30 21:43:43 -04:00
Olivier Gagnon
3e6d1f6d95 round 2 2022-03-30 21:40:51 -04:00
Olivier Gagnon
695bca73b8 revoke-fix 2022-03-30 21:38:36 -04:00
nickofolas
a80693dab2 Merge branch 'dev' into fix/grafting-pre-reqs 2022-03-30 21:12:44 -04:00
Olivier Gagnon
c511fa644d Re-add augs in gangs but randomly based on BNx.y 2022-03-30 20:58:09 -04:00
hydroflame
ce944bfccb
Merge pull request #3280 from nickofolas/improvement/filter-helper-func
[Improvement] Implement helper function for filtering Faction Augmentations
2022-03-30 20:28:31 -04:00
hydroflame
2a0f1ddc98
Merge pull request #3248 from phyzical/bugfix/3244
recovery screen fix for when augmenting and working
2022-03-30 19:51:28 -04:00
hydroflame
d58a30a3f1
Merge pull request #3300 from bradygroharing/fix/WireCuttingFix
Fixed the dropped ! for the boolean evaluation
2022-03-30 19:48:27 -04:00
hydroflame
2b523b51f5
Merge pull request #3294 from nickofolas/fix/grafting-crash
[Fix] Grafting crash when all Augmentations owned
2022-03-30 19:48:00 -04:00
Olivier Gagnon
4b8791e329 Fix toast 2022-03-30 18:59:30 -04:00
Brady
1e928af5db Fixed the dropped ! for the boolean evaluation 2022-03-30 15:19:08 -06:00
Olivier Gagnon
b0281154fe fix getScriptLogs 2022-03-30 15:29:25 -04:00
Olivier Gagnon
ec87752e79 fix aug cost not properly updating 2022-03-30 14:59:53 -04:00
nickofolas
83a386584c Make compiler happy 2022-03-30 14:37:34 -04:00
nickofolas
73af73fdb4 Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/filter-helper-func 2022-03-30 14:35:27 -04:00
nickofolas
a384b8af52 Fix grafting crash when all Augs owned 2022-03-30 14:29:59 -04:00
Olivier Gagnon
8812451a32 allbuild commit 432c8dd2 2022-03-30 14:14:47 -04:00
Olivier Gagnon
432c8dd206 Fix isRunning 2022-03-30 14:11:21 -04:00
Olivier Gagnon
2985cf1cec fix rm 2022-03-30 13:44:24 -04:00
Olivier Gagnon
3458b57c7d fix tail 2022-03-30 13:37:10 -04:00
Olivier Gagnon
fdcd13c312 fix getRunnignScript 2022-03-30 13:33:04 -04:00
Olivier Gagnon
f8e050ba26 allbuild commit f4a58ff5 2022-03-30 13:16:14 -04:00
Olivier Gagnon
f4a58ff5a9 allbuild commit cc4dd100 2022-03-30 12:11:41 -04:00
hydroflame
8354ba2314
Merge pull request #3286 from phyzical/bugfix/fix-max-warehouse-bulk-purchase
incorrect ternary with bulk purchase
2022-03-30 11:34:48 -04:00
Olivier Gagnon
73023f4f3c Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-03-30 11:34:07 -04:00
Olivier Gagnon
98ae97afea Validate city name coming from netscript 2022-03-30 11:34:03 -04:00
phyzical
3c991a743c incorrect ternary 2022-03-30 23:33:45 +08:00
Heinous Tugboat
9b0422f9ee Removes extra asterisk in template 2022-03-30 10:18:07 -04:00
Olivier Gagnon
ab93cfa887 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-03-30 00:18:05 -04:00
Olivier Gagnon
95f7112987 typo 2022-03-30 00:18:02 -04:00
hydroflame
0e89017794
Merge pull request #3246 from phyzical/refactor-more-key-codes
slice out event key constant refactors
2022-03-30 00:12:36 -04:00
Olivier Gagnon
93f5249916 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-03-29 23:49:46 -04:00
Olivier Gagnon
6d591db0d2 Fix NF not working. 2022-03-29 23:49:39 -04:00
hydroflame
80d5132291
Merge pull request #3245 from phyzical/augmentation-refactors
slice out refactor of augmenation realted stuff from new faction pr
2022-03-29 23:47:27 -04:00
Olivier Gagnon
12d5f55aec unknown-ify the rest of the basic API. 2022-03-29 22:14:56 -04:00
Olivier Gagnon
aa0425a23d unknown-ify half the basic API. 2022-03-29 21:42:27 -04:00
nickofolas
5d27ce7aa3 Impl faction augs filter helper function 2022-03-29 21:10:07 -04:00
Olivier Gagnon
cd1f01846f unknown-ify bladeburner API. 2022-03-29 20:44:27 -04:00
phyzical
b3a52c6224 one minor compile issue 2022-03-30 08:36:27 +08:00
Olivier Gagnon
4d9a8e7bba unknown-ify coding contract API. 2022-03-29 20:29:05 -04:00
Olivier Gagnon
6c9a3a336e unknown-ify corp API. 2022-03-29 20:24:04 -04:00
phyzical
6c530202b2 missed one file removal 2022-03-30 08:19:25 +08:00
phyzical
cee53ee1a7 merge base 2022-03-30 08:18:16 +08:00
Olivier Gagnon
c1401bef27 unknown-ify the gang API. 2022-03-29 20:12:55 -04:00
Olivier Gagnon
bbbaa89f74 unknown-ify singularity API 2022-03-29 20:05:40 -04:00
Olivier Gagnon
725c8234c9 unknown-ify the singularity API. 2022-03-29 19:49:37 -04:00
Olivier Gagnon
cccd39456c allbuild commit 6b25ba5c 2022-03-29 18:28:52 -04:00
Olivier Gagnon
6b25ba5cd8 allbuild commit da27223a 2022-03-29 18:13:08 -04:00
hydroflame
da27223a9b
Merge pull request #3272 from jjclark1982/patch-3
Update RamCostGenerator
2022-03-29 18:06:20 -04:00
Olivier Gagnon
48e73a9131 allbuild commit /usr/bin/git 2022-03-29 18:00:57 -04:00
Olivier Gagnon
a6e256ad5a Step 1 of moving singularity functions 2022-03-29 17:48:45 -04:00
Jesse Clark
fcc121cc21
Fix spelling of grafting functions 2022-03-29 14:34:48 -07:00
Jesse Clark
cde6eca6b5
Set mv ram cost to ScriptReadWriteRamCost
This seems a bit high but avoids an exploit due to setting it lower than `rm`.
2022-03-29 14:27:30 -07:00
Jesse Clark
1d0c5d8fef
Set atExit ram cost to 0 2022-03-29 14:24:38 -07:00
Olivier Gagnon
1789e1b745 allbuild commit /usr/bin/git 2022-03-29 17:19:14 -04:00
Jesse Clark
4d48b7c621
Update Stanek functions in RamCostGenerator 2022-03-29 14:17:42 -07:00
nickofolas
4f7b44df39 Handle pre-requisite augmentations 2022-03-29 17:09:36 -04:00
Olivier Gagnon
24ede1c68d allbuild commit /usr/bin/git 2022-03-29 15:49:31 -04:00
Olivier Gagnon
8dcd60289c allbuild commit /usr/bin/git 2022-03-29 15:45:50 -04:00
Olivier Gagnon
05cf27d3d0 Final fix for 1.6 2022-03-29 15:33:22 -04:00
Olivier Gagnon
ac34829649 pre-1.6 2022-03-29 15:30:22 -04:00
Olivier Gagnon
443b0b6a89 rename functions in staneks gift 2022-03-29 14:20:40 -04:00
Olivier Gagnon
6e12e3a85b typo 2022-03-29 14:09:52 -04:00
Olivier Gagnon
680081c548 post-grafting changes 2022-03-29 14:09:17 -04:00
hydroflame
fb1bce579f
Merge pull request #3170 from nickofolas/feature/grafting
[Feature] Grafting
2022-03-29 13:25:41 -04:00
hydroflame
346ffa259b
Merge pull request #3250 from MartinFournier/feat/warn-autosave-off
Add a warning triggered while auto-saves are off
2022-03-29 11:30:15 -04:00
hydroflame
c618e71a9a
Merge pull request #3251 from waffleattack/patch-7
Clarified error message
2022-03-29 11:27:50 -04:00
hydroflame
3456acc6a8
Update connect.ts 2022-03-29 11:27:34 -04:00
hydroflame
4a6d1c67c8
Merge pull request #3249 from ApamNapat/fix_field_analysis_log
Log info for field analysis now displays actual rank gained
2022-03-29 11:10:53 -04:00
Thomas B
0a9bded0d8
Clarify Error Message
Co-authored-by: ApamNapat <ApamNapat@users.noreply.github.com>
2022-03-28 08:33:05 -04:00
nickofolas
bd3f256536 Update doc for some grafting API funcs 2022-03-27 15:44:25 -04:00
nickofolas
5890ce0cf1 Cleanup comments in Constants.ts 2022-03-27 15:40:24 -04:00
nickofolas
3b32811f5e Grafting API RAM cost & doc update 2022-03-27 15:33:31 -04:00
nickofolas
9f6c827dee Properly return false from craftAug 2022-03-27 15:33:03 -04:00
nickofolas
2aaf880e27 Fix oversight in WIPRoot 2022-03-27 15:23:35 -04:00
DavidGrinberg
4497fbdda0
Update documentation for purchaseTor
Reflect the changes to the logic
2022-03-25 23:02:23 -04:00
DavidGrinberg
c6a2664296
purchaseTor returns true if player already has tor
Change `purchaseTor` to return `true` if the player already has purchased Tor. Previously it would return `false`

Changing this to true puts the behavior inline with the already existing behavior of `purchaseProgram`, which returns true if you have already purchased the program. Additionally this lets us call `purcahseTor` with the same logic that we use to call `purchaseProgram`
2022-03-25 13:06:12 -04:00
Thomas B
fe0b6d5982
Clarified error message 2022-03-25 09:41:23 -04:00
Martin Fournier
2262d6d8dd Add a warning triggered while auto-saves are off
The check auto-save engine loop will show a warning toast if the auto-saves are disabled (at 0s) and not suppressed. This warning includes a button to re-enable them.

Adds a user setting to suppress those warnings.
Adds information to save button tooltip.
2022-03-25 09:18:35 -04:00
Jack
57b59de9be
fix arrows 2022-03-25 20:10:20 +08:00
BB
2bdc00bc9e Log info for field analysis now displays actual rank gained instead of 0.1 regardless of modifiers 2022-03-24 19:00:38 +01:00
phyzical
2bebb4e228 reroute to terminal instead 2022-03-24 23:20:11 +08:00
phyzical
6ad2f156d7 recovery screen fix for when augmenting and working 2022-03-24 23:13:54 +08:00
phyzical
c681828ec1 few more event key. constant refactors 2022-03-24 23:09:24 +08:00
phyzical
a65c82ff22 slice out refactor of augmenation realted stuff from new faction pr
* moved some of augmentation helper stuff to new file augmentation creator
* simplified init augmenations
* converted augmentation names to enum
2022-03-24 22:33:38 +08:00
nickofolas
b437adb16c Simplify API check 2022-03-23 15:48:39 -05:00
nickofolas
3476f0f0eb Grafting API (no RAM costs yet) 2022-03-23 12:35:15 -05:00
nickofolas
1c696b5518 Update purchaseAugmentation rules 2022-03-23 12:04:49 -05:00
nickofolas
6a8426abd2 Allow every aug in gangs in BN2 2022-03-23 11:17:03 -05:00
nickofolas
5416038fd7 Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting 2022-03-23 11:10:18 -05:00
nickofolas
3df3e04f9c Formulas 2022-03-22 17:53:57 -05:00
hydroflame
1c801c5651
Merge pull request #3217 from phyzical/bugfix/dom-nesting-error-with-ul
fix for dom nesting with elements like ul
2022-03-22 10:46:35 -04:00
hydroflame
3af0a32436
Merge pull request #3222 from MartinFournier/chore/rm-unused
Remove old & unused files from repository
2022-03-22 10:43:16 -04:00
hydroflame
6905651b22
Merge pull request #3219 from phyzical/bugfix/1775-2
fix to log manager take 2
2022-03-22 10:42:21 -04:00
hydroflame
4c64863314
Merge pull request #3220 from phyzical/bugfix/3214
add similar sort to the faction joined list
2022-03-22 10:41:59 -04:00
hydroflame
2edc01776d
Merge pull request #3225 from waffleattack/patch-6
Cap Staneks gift at 25x25 to prevent crashes
2022-03-22 10:37:04 -04:00
Olivier Gagnon
1fae48e1ce lint 2022-03-22 10:36:56 -04:00
Olivier Gagnon
1ad27bb95e lint 2022-03-22 10:36:01 -04:00
Thomas B
5d2f2d4373
Update StaneksGift.ts 2022-03-22 08:38:28 -04:00
Thomas B
8b8b098fb6
Update Constants.ts 2022-03-22 08:37:11 -04:00
Thomas B
70306ce61b
Merge branch 'danielyxie:dev' into patch-6 2022-03-22 08:36:11 -04:00
Thomas B
67ca1fc3e5
Update Constants.ts 2022-03-22 08:35:22 -04:00
BB
961a887c56 Removed BladeburnerSkillCost from skill point cost description 2022-03-22 02:09:31 +01:00
Dominik Winter
14cdff5edd fix handling for UpArrow in bladeburner console 2022-03-21 21:32:07 +01:00
nickofolas
d6e0180116 Add confirmation modal to crafting 2022-03-21 14:54:39 -05:00
nickofolas
16fa4c8d7f Update BN10 description 2022-03-21 14:44:50 -05:00
nickofolas
720e2112c6 prettier and remove formulas dir 2022-03-21 14:40:17 -05:00
nickofolas
010a4f1aa3 Fix Entropy application after grafting 2022-03-21 14:30:03 -05:00
nickofolas
c68093f71c Show Entropy in Augmentations page 2022-03-21 14:25:58 -05:00
Thomas B
9381cb4a67
Cap Stanek at 25x25 2022-03-21 12:46:38 -04:00
nickofolas
59a67c0f93 Update Entropy lore 2022-03-21 11:44:58 -05:00
Thomas B
a57042276b
Cap Staneks Gift at 25x25 2022-03-21 12:44:26 -04:00
nickofolas
d820625721 Remove fragment and fix typo 2022-03-21 11:17:06 -05:00
nickofolas
dfca624e35 Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting 2022-03-21 11:08:48 -05:00
Jack
4c862ef313
Update src/Faction/ui/FactionsRoot.tsx 2022-03-21 23:11:04 +08:00
phyzical
796881f35d fix the correct base point for sorting 2022-03-21 21:23:34 +08:00
phyzical
5532b81285 add similar sort to the faction invite list 2022-03-21 20:13:28 +08:00
phyzical
54e8f701a1 change to 100 ms 2022-03-21 20:02:59 +08:00
phyzical
7271f37ec5 added logic to pick up log when its closed via event emotter 2022-03-21 19:56:54 +08:00
Martin Fournier
28f11a3211 Remove unused files 2022-03-21 07:48:07 -04:00
phyzical
14b4b08294 fix for dom nesting with elements like ul 2022-03-21 19:17:12 +08:00
Olivier Gagnon
0171fc236c Fix some augs not getting added. 2022-03-21 00:30:11 -04:00
Olivier Gagnon
699ae2e967 with SLEEVE_8, fix workForFaction 2022-03-20 23:27:53 -04:00
Olivier Gagnon
05fe14a5ed Fix some key not working 2022-03-20 23:11:26 -04:00
hydroflame
81d1c02fdf
Merge pull request #3210 from danielyxie/prettier-ci
Added dark web functions to ns api
2022-03-20 22:50:42 -04:00
Olivier Gagnon
fb7c65957d Added dark web functions to ns api 2022-03-20 22:49:46 -04:00
hydroflame
e56f7356cd
Merge pull request #2883 from chrisrabe/fix/hackanalyzethreads-infinity
fix: fixed hackAnalyzeThreads returning infinity
2022-03-20 22:23:15 -04:00
hydroflame
ecffc8655a
Merge pull request #3209 from danielyxie/prettier-ci
prettier ci
2022-03-20 22:21:00 -04:00
Olivier Gagnon
00d1d294ed fix lint errors 2022-03-20 22:14:32 -04:00
hydroflame
8506dcfed5
Merge pull request #3115 from ApamNapat/remove_unreachable_code
Removed unreachable code
2022-03-20 21:46:23 -04:00
hydroflame
290f36b600
Merge pull request #2881 from dwRchyngqxs/reverse_grow_newton
growthAnalyze (choice 2 / documented math) - only merge one of these
2022-03-20 21:40:02 -04:00
hydroflame
9eee30170f
Merge pull request #3189 from Master-Guy/issues/2725
dialogBox+stop on NS1 async function throw
2022-03-20 21:27:57 -04:00
hydroflame
04d45a1f0e
Merge pull request #3192 from gianfun/check-corp-upgrade-before-purchase
Check before unlocking corp upgrade
2022-03-20 21:27:21 -04:00
Olivier Gagnon
10f7d0ebbc fix react error 2022-03-20 21:26:10 -04:00
Olivier Gagnon
edb347e566 rm current task from gang 2022-03-20 21:22:21 -04:00
hydroflame
2ad1016df8
Merge pull request #3191 from phyzical/feature/aug-simplification
augment simplification
2022-03-20 21:18:35 -04:00
hydroflame
15fae213ab
Merge pull request #2872 from SagePtr/getserver-hasownproperty
Add hasOwnProperty check to GetServer
2022-03-20 21:16:04 -04:00
hydroflame
27603e7a66
Merge pull request #2739 from surdaft/bugfix/2734-theme-apply-fails
WIP: 2734: Fix regex to enable alpha transparency hex codes (8 digits)
2022-03-20 21:14:50 -04:00
hydroflame
251aa6d862
Merge pull request #2848 from SagePtr/share-change
[Balance] Add CalculateShareMult to Field Work and Security Work
2022-03-20 21:14:03 -04:00
BB
9c9550ad42 Removed unreachable code 2022-03-20 19:33:10 +01:00
hydroflame
7b075f31ee
Merge pull request #2868 from zeddrak/patch-4
(Not Tested) Show current task on gang management screen
2022-03-20 14:28:52 -04:00
hydroflame
b295dd084d
Merge pull request #2878 from phyzical/bugfix/fix-ui-gang-member-task
Fix for ui of gang members current task when set via api
2022-03-20 14:25:23 -04:00
hydroflame
a980cb495f
Merge pull request #3150 from Master-Guy/issues/3080
Fixed number formatting and added tests
2022-03-20 14:23:16 -04:00
hydroflame
9922ffb3c2
Merge branch 'dev' into issues/2308 2022-03-20 14:22:32 -04:00
hydroflame
d2dedace2e
Merge pull request #3152 from Master-Guy/issues/1944
Issues/1944
2022-03-20 14:21:28 -04:00
hydroflame
8faacfc4ef
Merge pull request #3158 from Master-Guy/features/2462
Tabelize linked output of `ls`
2022-03-20 14:20:53 -04:00
Olivier Gagnon
0fbcc30555 rm unused improt 2022-03-20 14:20:17 -04:00
hydroflame
7a2bf64fce
Revert "Fix #3194: include all division employees in small town achievement calc" 2022-03-20 14:16:03 -04:00