Commit Graph

4650 Commits

Author SHA1 Message Date
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
Olivier Gagnon
93e7083301 fix lint 2022-04-11 20:59:37 -04:00
hydroflame
674f3b0c9f
Merge pull request #3318 from smmalis37/empjobs
Fix docs for employeeProd and add employeeJobs.
2022-04-11 20:48:17 -04:00
hydroflame
3f4d00a8c2
Merge pull request #3350 from phyzical/bugfix/3348
Fix for install augmentation stale objects bug
2022-04-11 20:05:46 -04:00
TheMas3212
433873c5e2
run formater 2022-04-12 08:27:53 +10:00
TheMas3212
8d5632eb3e
fix netscript wrapper to wrap all functions, not just the top level 2022-04-12 08:20:34 +10:00
Olivier Gagnon
5cbeae9353 lint 2022-04-11 14:17:27 -04:00
hydroflame
fc9e7244aa
Merge pull request #3197 from TheMas3212/feat/api-wrapper
Initial API Wrapper Work
2022-04-11 13:26:38 -04:00
hydroflame
1b87628a4d
Merge pull request #3387 from nickofolas/improvement/grafting-tweaks
[Improvement] Small grafting tweaks based around Congruity aug, plus some general grafting fixes
2022-04-11 13:22:34 -04:00
hydroflame
92f04903f9
Merge pull request #3385 from anatoly-kussul/cct-array-jumping-game-2
New coding contract type: Array Jumping Game II
2022-04-11 13:21:36 -04:00
hydroflame
d5ad2118dd
Merge pull request #3383 from anatoly-kussul/cct-total-ways-to-sum-2
New coding contract type: Total Ways to Sum II
2022-04-11 13:21:24 -04:00
hydroflame
03650344f4
Merge pull request #3379 from nickofolas/improvement/super-important-lore
[Improvement] Add super important lore tidbit to an Augmentation
2022-04-11 13:21:11 -04:00
hydroflame
eecc96c3cd
Merge pull request #3380 from ApamNapat/make_charisma_spelling_consistent
Charisma is now spelled consistently with other mults
2022-04-11 13:21:01 -04:00
hydroflame
8f2adaf1b7
Merge pull request #3386 from phyzical/bugfix/add-missing-stockmarket-init
add call to missing stock market init when using the api
2022-04-11 13:18:25 -04:00
nickofolas
8da51b7e0a Replace references to crafting with grafting 2022-04-11 11:07:15 -05:00
hydroflame
99ad015d4b
Merge pull request #3389 from ChrissiQ/fix-ui-style-corp-width
️  (Corp UI Accessibility) Limit tabs width to avoid stretching screen.
2022-04-11 11:59:45 -04:00
hydroflame
f8807c5612
Merge pull request #3392 from phyzical/bugfix/fix-bulk-purchase
fix for the bulk purchase
2022-04-11 11:59:27 -04:00
phyzical
e3da5e0e03 added the ability to cancel products when still being developed 2022-04-11 21:55:38 +08:00
phyzical
a66b5bfb69 fixes and pr comments 2022-04-11 21:54:50 +08:00
phyzical
1718b55c27 fix for the bulk purchase 2022-04-11 08:10:58 +08:00
Anatoly Kussul
0855532081 small pharsing changes 2022-04-11 00:11:46 +03:00
Anatoly Kussul
cb756808a2 added coments, removed possible infinite loop, changed problem phrasing 2022-04-11 00:01:52 +03:00
nickofolas
f6af85a38d Fix prettier 2022-04-10 15:57:34 -05:00
nickofolas
4de3caa56a Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/grafting-tweaks 2022-04-10 13:42:41 -05:00
ChrissiQ
2111c2e3d7 ️ (Corp UI Accessibility) Limit tabs width to avoid stretching screen.
The rendering engine doesn't seem to respond properly to a limit of 65% for the tabs
area. Though the tab area visually appears to be limited, the parent container is
still using the full extended width of the tabs, causing page stretch. Using 65vw
instead of 65% for maxWidth causes the calculation to be based on the actual page
width so no stretching occurs.
2022-04-10 12:37:10 -06:00
phyzical
909e5e964f add call to missing stock market init when using the api 2022-04-10 18:19:45 +08:00
Anatoly Kussul
0538bf3299 New coding contract type: Array Jumping Game II 2022-04-10 02:47:40 +03:00
Heinous Tugboat
dd19d6451d Updates sleeve functions so names match 2022-04-09 18:40:01 -04:00
Anatoly Kussul
27180ebccb New coding contract type: Total Ways to Sum II 2022-04-09 22:38:42 +03:00
nickofolas
bf518836a5 Minor grafting tweaks around Congruity aug 2022-04-09 09:24:14 -05:00
nickofolas
4a0998c568 Fix DOM parse warnings 2022-04-09 09:06:32 -05:00
nickofolas
48895c8d2d Fix SF list selection 2022-04-09 08:41:03 -05:00
nickofolas
236a5cd645 Minor code improvements 2022-04-09 08:35:31 -05:00
TheMas3212
f53c90b21c
Change Signature of InternalFunction
Mark properties of Wrapped NetscriptAPI as readonly
2022-04-09 15:15:45 +10:00
Heinous Tugboat
5b96cedd0c Adds SnackbarVariant enum 2022-04-08 23:46:19 -04:00
BB
29c1593263 Charisma is now spelled consistently with other mults 2022-04-09 01:45:38 +02:00
nickofolas
271173dca2 Fix consistency of purchased aug list 2022-04-08 16:58:21 -05:00
nickofolas
693ca7baba Change theme variable used for entropy color 2022-04-08 16:40:06 -05:00
nickofolas
7c9fc3248f Reduce purchased aug tooltip delay 2022-04-08 16:29:15 -05:00
nickofolas
34ca4d236b Add ability to clear queued augs from dev menu 2022-04-08 16:28:43 -05:00
nickofolas
101c34effa Overhaul PlayerMultipliers columns logic 2022-04-08 16:27:16 -05:00
nickofolas
f40af55f46 Change money stat color 2022-04-08 16:10:35 -05:00
nickofolas
79c878dbc3 Add super important lore tidbit to an Augmentation 2022-04-08 13:11:17 -05:00
nickofolas
2d904e08b4 Fix keys 2022-04-08 11:48:37 -05:00
nickofolas
96226f199f Improve purchased Augs section 2022-04-08 11:22:46 -05:00
nickofolas
b9cc6321fd SF -1 related fixes 2022-04-08 10:49:10 -05:00
nickofolas
a4bc793cf1 Hide SF display when no SFs owned 2022-04-08 10:21:40 -05:00
nickofolas
81f971b52e Add coloring to NFG display 2022-04-08 09:43:21 -05:00
nickofolas
5dea27bc28 Fix NFG appearing in installed list 2022-04-08 09:43:09 -05:00
Olivier Gagnon
758b0e1127 fix home ram tooltip 2022-04-08 01:02:36 -04:00
nickofolas
fbf9bc521f Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/stats-augs-ui 2022-04-07 23:55:46 -05:00
Olivier Gagnon
2b994f244d fmtlint 2022-04-08 00:54:54 -04:00
hydroflame
386106f574
Merge pull request #3378 from nickofolas/fix/congruity-availability
[Fix] Removed nickofolas Congruity Implant Augmentation from gangs
2022-04-08 00:53:57 -04:00
Olivier Gagnon
2b2af797a7 fmt and lint 2022-04-08 00:39:45 -04:00
nickofolas
251cdcd6dc Fix nickofolas Congruity Implant being available in gangs 2022-04-07 23:39:11 -05:00
hydroflame
d956e47246
Merge pull request #3331 from Ornedan/shortest-path-cct
New coding contract: Shortest Path in a Grid
2022-04-08 00:38:19 -04:00
hydroflame
1b7abbffaf
Merge pull request #3371 from Hedrauta/Hamming-Coding-Contracts
2 new Coding Contracts
2022-04-08 00:35:19 -04:00
nickofolas
e7ad5c5f9e Remove unnecessary code 2022-04-07 23:33:47 -05:00
nickofolas
e720930f04 Improve sizing of some list-based menus 2022-04-07 23:29:24 -05:00
Olivier Gagnon
a2dddb0e5a Fix soft reset not installing augs anymore 2022-04-08 00:28:37 -04:00
nickofolas
3d296e2bf0 Consistently respect SF5 BN mult unlock 2022-04-07 23:19:05 -05:00
Olivier Gagnon
589e61c5d1 fix lint 2022-04-08 00:07:48 -04:00
nickofolas
e3e77ea2cc Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/stats-augs-ui 2022-04-07 23:07:43 -05:00
hydroflame
4aa012f9c0
Merge pull request #3372 from nickofolas/feature/unique-aug
[Feature] Add special Augmentation for Grafting
2022-04-07 23:35:05 -04:00
nickofolas
9dea381536 Fix SF levels and tweak spacing 2022-04-07 20:44:29 -05:00
nickofolas
960dc354c1 Further tweaks/fixes 2022-04-07 19:06:42 -05:00
TheMas3212
b2e7817a0b
format 2022-04-08 10:02:59 +10:00
TheMas3212
9b53896732
slight change on how wrapping work based on discussion in #development 2022-04-08 09:57:16 +10:00
nickofolas
d728648bfa Stats tweaks 2022-04-07 18:32:11 -05:00
nickofolas
c94b4f4fd3 Initial aug page overhaul work 2022-04-07 17:53:58 -05:00
nickofolas
a9a31662ce Tweak style for stats page 2022-04-07 13:17:27 -05:00
nickofolas
3651a8d379 Add employers modal to stats page 2022-04-07 11:50:23 -05:00
nickofolas
57f04d3911 Fix prettier 2022-04-07 11:45:21 -05:00
nickofolas
ed8e1537d6 Initial overhaul work 2022-04-07 11:31:06 -05:00
nickofolas
78463ed1c0 Tweaks and improvements 2022-04-07 11:25:12 -05:00
Olivier Gagnon
dca1ceaf20 fix aug cost 2022-04-07 10:39:13 -04:00
phyzical
afa2210aa6 Merge branch 'dev' into bugfix/2843 2022-04-07 16:38:48 +08:00
phyzical
d24a26a208 merge dev 2022-04-07 16:37:57 +08:00
phyzical
2b0c618222 fix build error with fix for augmentations not being static 2022-04-07 16:31:31 +08:00
phyzical
c70f59ac54 merge dev 2022-04-07 16:27:23 +08:00
phyzical
43248bbc42 merge dev 2022-04-07 16:25:33 +08:00
phyzical
a4e1b73b19 Merge branch 'dev' into bugfix/3348
# Conflicts:
#	src/Faction/FactionInfo.tsx
#	src/NetscriptFunctions/Singularity.ts
2022-04-07 16:17:28 +08:00
nickofolas
314e37430d Add Augmentation unique to Grafting 2022-04-07 00:48:39 -05:00
Hedrauta
e286ee1de5 2 new Coding Contracts
also run format and lint on it this time 😉
2022-04-07 06:16:14 +02:00
TheMas3212
f0cfc8700a run formater 2022-04-07 10:23:52 +10:00
TheMas3212
8c58f0676d Improve Typesafety on API Wrapper 2022-04-07 10:23:52 +10:00
TheMas3212
40f74e4a98 add wrapped helpers to ctx
add ramcheck into wrapper
2022-04-07 10:23:52 +10:00
TheMas3212
ea2b444b87 Initial API Wrapper Work
onlying wrapping Stanek api currently as test sample
(Rebased onto upstream/dev)
2022-04-07 10:23:46 +10:00
hydroflame
b6d68f7353
Merge branch 'dev' into bugfix/fix-tests 2022-04-06 20:16:51 -04:00
Olivier Gagnon
4fc352a792 fix a few test 2022-04-06 20:12:54 -04:00
Olivier Gagnon
f05b533af5 fix a few test 2022-04-06 20:08:03 -04:00
Olivier Gagnon
724c0669da sleep/asleep return promise true 2022-04-06 19:38:30 -04:00
Olivier Gagnon
48f80f25d6 fmt and lint 2022-04-06 19:30:08 -04:00
hydroflame
ba6304fbd1
Merge pull request #3351 from phyzical/bugfix/augmentations-not-reseting-correctly
changes static arrays to functions to force new creation of augmentations when called
2022-04-06 15:03:45 -04:00
hydroflame
d8b2c003c2
Merge pull request #3307 from steven-r/fix-3281
Fix 3281 - ns.goToLocation is expecting the wrong minimum RAM
2022-04-05 20:03:42 -04:00
hydroflame
d683fa5eda
Merge pull request #3337 from phyzical/feature/3332
added apr1 terminal command
2022-04-05 20:02:26 -04:00
hydroflame
8e2f9a513b
Merge pull request #3335 from ApamNapat/eslint_warnings_fixes
Fixed eslint warnings for unused vars
2022-04-05 20:01:58 -04:00
hydroflame
4cdef2d898
Merge pull request #3349 from phyzical/bugfix/3347
add logic to block sleeve working for gang faction
2022-04-05 20:01:02 -04:00
Qiyi Shan
b9caddeeef
Fix workForFaction invalid worktype case
When invalid work type, the function should return false instead of true
2022-04-05 11:22:02 -04:00
phyzical
42276db351 add fix for augmentations not reseting 2022-04-04 19:50:01 +08:00
phyzical
4a5edb9f3c changes static arrays to functions to force new creation when called 2022-04-04 19:44:25 +08:00
phyzical
2ee73cc8d6 missing space 2022-04-04 18:34:07 +08:00
phyzical
dfe9e98c77 move route to terminal to the inside of the common fucntion
* tested without bandaid still works correctly
* fix default script with installAugmentations
2022-04-04 18:29:43 +08:00
phyzical
8eccdf16e1 add logic to block working for gang faction 2022-04-04 18:10:21 +08:00
Heikki Aitakangas
a7d200f7c6 Strip trailing spaces 2022-04-02 23:28:23 +03:00
Heikki Aitakangas
a6710eb3e5 No need to return WorkerScript from startNetscript*Script promises, their only calling function already has the correct object in a variable 2022-04-02 23:28:23 +03:00
Heikki Aitakangas
cbd59975d4 makeRuntimeRejectMsg expects the 'msg' to be string-like 2022-04-02 23:28:23 +03:00
Heikki Aitakangas
4fd55f099b This should not reject with ScriptDeath, the script is not being killed. Just 'undefined' isn't great either so left a TODO about improving it 2022-04-02 23:28:23 +03:00
Heikki Aitakangas
a578763b89 Use a dedicated ScriptDeath type to signal script termination instead of WorkerScript
Problem with throwing WorkerScript is that the termination signal object can pass
through user code, which permits user to modify that object and all parts of the
game state accessible through it.
2022-04-02 23:28:21 +03:00
Heikki Aitakangas
1ed1f78222 Fixed a wrong comment 2022-04-02 23:27:06 +03:00
phyzical
10fafd39f3 fix the amt issue for modal also 2022-04-02 20:17:30 +08:00
phyzical
a8689cb28b Merge branch 'dev' into bugfix/corp-updates 2022-04-02 20:12:19 +08:00
phyzical
61fc815a6b added apr1 terminal command
* just opens the rickroll modal
2022-04-02 20:08:57 +08:00
phyzical
0fbb8553e6 add fix for bulk buy when purchase amount exceeds warehouse size
* add logic to disable button when input is invalid
2022-04-02 19:38:26 +08:00
BB
c7a95ccb2d Fixed eslint warning for unused vars 2022-04-02 13:11:55 +02:00
phyzical
8d56c41dd6 actual fix for the reseting of limit, need to reset modal internal state 2022-04-02 13:29:56 +08:00
phyzical
fadc1de2bd added logic to not include NF in infil, bladburner, cotmg 2022-04-02 10:50:39 +08:00
phyzical
9e39ca32a5 fix text for sell shares modal text 2022-04-02 10:47:21 +08:00
Heikki Aitakangas
233289af56 Fix lint errors 2022-04-02 05:16:48 +03:00
Heikki Aitakangas
197e875610 Set Shortest Path contract difficulty factor 2022-04-02 04:34:16 +03:00
Heikki Aitakangas
809f8f6687 Tuned Shortest Path contract generation
Now generates about 4/5 puzzles where a path exists and 1/5 with the destination
completely blocked off.
2022-04-02 04:27:42 +03:00
Heikki Aitakangas
fb0cc15794 New coding contract type: 'Shortest Path in a Grid' 2022-04-02 03:18:18 +03:00
Heikki Aitakangas
d69e94002e Add binary heap data structure 2022-04-02 03:18:18 +03:00
BB
c495d39e6b Fixed type of makeRuntimeErrorMsg in INetscriptHelper 2022-04-02 00:30:12 +02:00
Olivier Gagnon
e3e6b449d4 Make Stanek hacknet cost percentage better. 2022-04-01 16:59:23 -04:00
Olivier Gagnon
b86ff7d405 allbuild commit 6c8a46d3 2022-04-01 16:39:58 -04:00
Olivier Gagnon
6c8a46d38b allbuild commit 1bf12d29 2022-04-01 16:05:16 -04:00
Olivier Gagnon
cd09589f25 stanek-formula-rework 2022-04-01 15:45:12 -04:00
phyzical
4224c7defd fix stock price estimate text when selling 2022-04-02 00:37:42 +08:00
phyzical
50cfa99b24 fix for reseting limit production
closes #3175
2022-04-01 23:21:05 +08:00
phyzical
b73570e2f7 added the ability to mass upgrade warehouse 2022-04-01 23:19:08 +08:00
phyzical
e5bb695f6f expose material cost
closes #3173
2022-04-01 22:32:48 +08:00
phyzical
13c486d639 added logic to support material production limit
* added ns functions for limit production and limit material
closes #3180
2022-04-01 22:28:48 +08:00
phyzical
60f56a55ab move modals to a modals folder 2022-04-01 21:55:23 +08:00
phyzical
2efa3ac351 dissalow corporations when multiplier is below 0.15
closes #3003
2022-04-01 21:05:01 +08:00
phyzical
1eca9449a0 removes spaces in at start and end of product name on creation
closes #3007
2022-04-01 20:58:36 +08:00
phyzical
a1871fb0e9 add logic in dev menu to support easy corp, gang and bladeburner
closes #3205
2022-04-01 20:54:07 +08:00
phyzical
ea14646d39 added check for already expanding into city
fixes #3312
2022-04-01 19:50:21 +08:00
Steven Malis
e572c6e139 Add unassigned and training. 2022-04-01 01:44:53 -04:00
Steven Malis
bb62973905 Fix docs for employeeProd and add employeeJobs. 2022-04-01 01:37:27 -04:00
Olivier Gagnon
9b4750aed4 allbuild commit d9499077 2022-04-01 01:18:03 -04:00
hydroflame
d94990779f
Merge pull request #3319 from danielyxie/apr1
Added apr1
2022-04-01 01:13:37 -04:00
Olivier Gagnon
4b867fea3e rename factions formulas to reputation 2022-03-31 15:52:03 -04:00
PSEUDOSTAGE
a5f63e5932
fixed trailing spaces 2022-03-31 15:38:35 -04:00
PSEUDOSTAGE
ad9ff78533
Add calculateFavorToRep and calculateRepToFavor to Formulas.exe
The favorToRep and repToFavor formulas are shown to the player in the factions pages but were not available in Formulas.exe. This change adds a FactionsFormulas interface with the calculateFavorToRep and calculateRepToFavor functions.
2022-03-31 15:28:25 -04:00
PSEUDOSTAGE
a0333d36a5
Add calculateFavorToRep and calculateRepToFavor to Formulas.exe
The favorToRep and repToFavor formulas are displayed to the player in the factions pages but were not available in Formulas.exe. This change adds a FactionsFormulas interface with the calculateFavorToRep and calculateRepToFavor as new functions.
2022-03-31 15:27:02 -04:00
Olivier Gagnon
384cfb0044 Added apr1 2022-03-31 12:04:06 -04:00
Olivier Gagnon
d04e05eac8 allbuild commit 5d36336d 2022-03-31 10:52:24 -04:00
Olivier Gagnon
5d36336db9 allbuild commit 65c8e2b2 2022-03-31 10:50:06 -04:00
Olivier Gagnon
65c8e2b280 Fix aug cost 2022-03-31 10:45:52 -04:00
phyzical
4232741613 change back general augment price adjustment 2022-03-31 22:40:53 +08:00
phyzical
2edfb6e35d merge base 2022-03-31 22:36:47 +08:00
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
phyzical
d56702b742 Merge branch 'feature/add-infiltration-faction' of github.com:phyzical/bitburner into feature/add-infiltration-faction 2022-03-31 19:00:35 +08:00
phyzical
5831409418 move augmentationsCreator to data
* only show multiple on purchase augmentation for non infiltrators
2022-03-31 19:00:15 +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
Jack
e11819f0fd
Merge branch 'dev' into feature/add-infiltration-faction 2022-03-31 08:09:00 +08: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
phyzical
64d095e911 change to any for ns location 2022-03-30 22:24:19 +08:00
Heinous Tugboat
9b0422f9ee Removes extra asterisk in template 2022-03-30 10:18:07 -04:00
phyzical
5486398199 fix prices of augments reseting when refreshing the game 2022-03-30 21:58:27 +08:00
phyzical
6f5d22c1bd fix for off by one with neruflux 2022-03-30 21:53:53 +08:00
phyzical
ee45f91960 move back to original spot 2022-03-30 19:17:24 +08:00
phyzical
7338bb6766 fix for neruflux pricing i think.. 2022-03-30 19:14:51 +08:00
phyzical
a4cd3ad38d minor adjustments to where getNerufluxGenerator is after merge base 2022-03-30 19:13:44 +08:00
phyzical
be24562d34 merge dev 2022-03-30 19:11:34 +08:00
phyzical
07c6051004 merge dev 2022-03-30 19:00:57 +08: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
Jack
b79f466395
Merge branch 'dev' into bugfix/2958 2022-03-30 08:26:18 +08: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
phyzical
79238ea5e9 fix for augmentation pricing 2022-03-29 23:42:57 +08: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
phyzical
fd64746ff8 various fixes and adjustments 2022-03-29 22:43:28 +08: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
phyzical
7c5097ee83 added ns functions
* refactored out logic to be reused by api
2022-03-27 15:53:13 +08:00
phyzical
aa3b692aac Merge branch 'feature/add-infiltration-faction' of github.com:phyzical/bitburner into feature/add-infiltration-faction 2022-03-27 12:27:56 +08:00
phyzical
7f28158005 moved over to player stats
* added new augmentations
2022-03-27 12:26:43 +08:00
DavidGrinberg
4497fbdda0
Update documentation for purchaseTor
Reflect the changes to the logic
2022-03-25 23:02:23 -04:00
Jack
557f0d8bff
Merge branch 'dev' into feature/add-infiltration-faction 2022-03-26 10:59:24 +08:00
phyzical
e11cc1946e UP_ARROW fix 2022-03-26 10:58:28 +08:00
phyzical
d94f391dc6 fix augmentation side effect for bribe game
fix double tick for wire cutting game
2022-03-26 10:50:28 +08: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
phyzical
a0d845ffae mini game fixes 2022-03-25 23:39:14 +08: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
phyzical
e69bb21b5c Merge branch 'feature/add-infiltration-faction' of github.com:phyzical/bitburner into feature/add-infiltration-faction 2022-03-25 19:56:15 +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
Tomas Pavlik
f439f960b7
Accept valid JSON arrays in coding contracts 2022-03-24 16:13:13 +01: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
Jack
f0bf01680b
Update src/Infiltration/ui/WireCuttingGame.tsx 2022-03-24 22:26:24 +08:00
Jack
f2095e35c2
a revert 2022-03-24 22:15:36 +08:00
phyzical
ef06bc30e5 missed refactor 2022-03-24 21:56:53 +08:00
phyzical
d80346f816 incorrect import 2022-03-24 21:52:27 +08:00
phyzical
e8fffc6183 added two additonal augmentations
* refactored augmentation names to enum
2022-03-24 21:19:49 +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
phyzical
80edb744bf added logic to rewward and invite to infiltrators on infil completion 2022-03-23 23:23:01 +08:00
phyzical
0b171822df more updates
* added more keycodes constant support
* implemented new faction mechanics for mini games
* more small refactors
2022-03-23 22:31:56 +08:00
nickofolas
3df3e04f9c Formulas 2022-03-22 17:53:57 -05:00
phyzical
4e73e489ed more refactors 2022-03-22 23:02:15 +08: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
phyzical
673222eaf8 update new augmentation outcomes 2022-03-22 21:30:38 +08: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
phyzical
5ede4a70db removed unused imports 2022-03-22 19:48:18 +08:00
phyzical
78c0cac50b reafactored augmentations helpers to have another file it was getting tooooo big
reused duplicated code
2022-03-22 19:24:32 +08: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
phyzical
dc9c05b345 another multipler based on purchases 2022-03-21 23:17:52 +08:00
phyzical
7d647c0b1b added startinRepRequirement for multiplying
added logic to increase ost based on amount of infiltators augmentations purchased
removed some copyright issues
2022-03-21 23:17:36 +08: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
c6accf1eaf merge base 2022-03-21 21:00:51 +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
phyzical
b4260173e7 more intial infil aug changes 2022-03-21 10:53:36 +08: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
hydroflame
21cab81ba6
Merge pull request #3195 from BrianLDev/issue-3194
Fix #3194: include all division employees in small town achievement calc
2022-03-20 14:15:37 -04:00
hydroflame
7e3a5e76c3
Merge pull request #3193 from t-wolfeadam/feature/corp-api-bonustime
Implement getBonusTime in Corporation API
2022-03-20 14:13:35 -04:00
hydroflame
629707dc32
Merge pull request #3199 from phyzical/bugfix/fix-sleeve-shock-check
purchaseSleeveAug
2022-03-20 14:13:17 -04:00
hydroflame
97685ac7b4
Merge pull request #3200 from phyzical/bugfix/combine-no-faction-check
combine !faction check modals
2022-03-20 14:11:30 -04:00
Heikki Aitakangas
f6a9bd1de7 Fix #3198: give player code a copy of Division.upgrades instead of the live object 2022-03-20 15:12:21 +02:00
phyzical
dc5f709223 combine !faction check modals 2022-03-20 20:58:42 +08:00
phyzical
7fdbc81594 used the getSleeveStats as it seems to be a miss connection between whats displayed and whats used
i.e sleeve.shock of 100 is actually a shock value of 0 for the use
2022-03-20 20:56:33 +08:00
phyzical
58e3ecbf69 added inital augs 2022-03-20 20:47:59 +08:00
Brian Leip
07a3f3b753 Fix #3194: include all division employees in small town achievement calc 2022-03-19 15:28:37 -07:00
t.wolfeadam
5702cb04b6 Implement getBonusTime in Corporation
Used documentation from other 'getBonusTime' methods
2022-03-19 15:22:29 -05:00
Gian P
8be65faf9f Check before unlocking corp upgrade 2022-03-19 16:53:28 -03:00
nickofolas
3aa0b6b948 Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting 2022-03-19 14:16:20 -05:00
nickofolas
1f4f13c8ef Main grafting exposition 2022-03-19 14:12:58 -05:00
nickofolas
4c422347d4 Polish entropy
- Also adds DevMenu entry
2022-03-19 13:59:34 -05:00
phyzical
a25fdb9f75 updated factionInfo 2022-03-20 02:41:13 +08:00
phyzical
b8556c34fb Merge branch 'feature/aug-simplification' into feature/add-infiltration-faction 2022-03-20 02:40:15 +08:00
phyzical
7008919724 augment simplification 2022-03-20 02:29:20 +08:00
nickofolas
c92b159580 Implement entropy accumulation system 2022-03-19 13:15:31 -05:00
Master-Guy
7ec1ced729
dialogBox+stop on NS1 async function throw 2022-03-19 18:21:18 +01:00
Olivier Gagnon
f801dc6d8a allbuild commit /usr/bin/git 2022-03-19 12:58:18 -04:00
nickofolas
c33c23700e Remove resleeving from code 2022-03-19 11:43:58 -05:00
Master-Guy
91841836c9
One more IP reference 2022-03-19 17:35:55 +01:00
nickofolas
a70969df14 Add back button to GraftingRoot 2022-03-19 11:17:28 -05:00
nickofolas
d2dd88c5ca Polish some UI 2022-03-19 11:04:15 -05:00
nickofolas
fef5ab31b2 Implement CraftableAugmentation 2022-03-19 11:03:18 -05:00
phyzical
8d83c27077 Merge branch 'dev' into feature/add-infiltration-faction 2022-03-19 23:56:46 +08:00
phyzical
e5f5ea413b added inital factions for infiltrators 2022-03-19 23:56:29 +08:00
nickofolas
dc5b925f65 Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting 2022-03-19 10:38:21 -05:00
Olivier Gagnon
cbeb6d13d3 fix misnamed factions 2022-03-19 11:37:13 -04:00
nickofolas
c5d86fba4d Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting 2022-03-19 10:27:49 -05:00
hydroflame
15badafd37
Merge pull request #3184 from nickofolas/improvement/sleeve-and-clash-ui
Sleeve and Territory UI refresh
2022-03-19 11:23:28 -04:00
Olivier Gagnon
bdb4d96f43 fix tooltip not dissapearing. 2022-03-19 11:19:59 -04:00
hydroflame
e3bf2d4d42
Merge pull request #3181 from incubusnb/WseAndTix
Wse and tix
2022-03-19 11:13:28 -04:00
nickofolas
4789455b9c Implement basic crafting functionality 2022-03-19 09:31:48 -05:00
nickofolas
78f962318c Add router to grafting root 2022-03-19 08:56:02 -05:00
nickofolas
06425d6d63 Implement new aug filtering for gangs 2022-03-19 08:43:30 -05:00
phyzical
44ea479043 update constants
* added OperationNames
* added faction names
* used citynames where appropriate
2022-03-19 16:09:59 +08:00
parax
458f02051f Added functions to RamCostGenerator.ts 2022-03-18 23:52:13 -06:00
parax
ac38e715aa Fixed Lint Errors 2022-03-18 22:52:09 -06:00
parax
daadecb4e6 Removed requirement to already have WSE access 2022-03-18 22:33:22 -06:00
nickofolas
5918e12f01 Merge branch 'dev' of github.com:danielyxie/bitburner into feature/grafting 2022-03-18 23:23:11 -05:00
nickofolas
919f8480dd Grafting UI framework 2022-03-18 23:22:21 -05:00
hydroflame
adf2615784
Merge pull request #3179 from danielyxie/unique
add info to augs
2022-03-19 00:18:00 -04:00
Olivier Gagnon
8411fa6fcf rm unused function 2022-03-19 00:16:20 -04:00
Olivier Gagnon
a0cf44ad6a add info to augs 2022-03-19 00:15:24 -04:00
parax
e46c67a78a Added NS functions to buy WSE and TIX 2022-03-18 21:58:18 -06:00
hydroflame
77cb7dd775
Merge pull request #3176 from incubusnb/Sleeve
Fixed: purchaseSleeveAug checks shock value
2022-03-18 23:43:43 -04:00
parax
f04ee5a65c Linted file 2022-03-18 21:37:59 -06:00
hydroflame
fd94a1fa69
Merge pull request #3178 from TheMas3212/fix/missing-tFormat-ramcost
Fix bug with missing ramcost for tFormat
2022-03-18 23:32:40 -04:00
TheMas3212
68cc5fba6c
Fix bug with missing ramcost for tFormat 2022-03-19 14:21:52 +11:00
parax
8b52e2ef3d Fixed: purchaseSleeveAug checks shock value 2022-03-18 20:30:54 -06:00
Jack Haden-Enneking
a8064f739e
re-add pre tags to support \n in prompt
#2880 was merged after #2968, causing a regression of #2520. This reapplies the small change from #2968 (thank you @phyzical).
2022-03-18 14:13:21 -07:00
Olivier Gagnon
fc963bb583 allbuild commit /usr/bin/git 2022-03-18 16:35:56 -04:00
Olivier Gagnon
06b2ec8957 allbuild commit /usr/bin/git 2022-03-18 11:18:08 -04:00
Master-Guy
3f1f275581
Renamed new function to largestAbsoluteNumber() 2022-03-18 13:03:13 +01:00
Master-Guy
8bf0641d28 Recently changed file 2022-03-18 11:15:51 +01:00
Master-Guy
9373d65a16
Merge branch 'danielyxie:dev' into issues/2308 2022-03-18 11:12:21 +01:00
Master-Guy
d4f01c8b40 Fix for SRC folder 2022-03-18 11:07:29 +01:00
Master-Guy
65832e72d2 Merge branch 'issues/2308' of https://github.com/Master-Guy/bitburner-1 into issues/2308 2022-03-18 10:49:23 +01:00
Master-Guy
9dd933ecee Changed .keyCode to .key for files in "src" 2022-03-18 10:43:56 +01:00
Master-Guy
1d07bf049f Changed the furthestFrom0() function + added tests 2022-03-18 09:30:25 +01:00
Olivier Gagnon
bfa30dcdbb allbuild commit /usr/bin/git 2022-03-17 18:17:19 -04:00
Olivier Gagnon
f17e685744 allbuild commit /usr/bin/git 2022-03-17 17:52:58 -04:00
Master-Guy
2871bba379 Review comments by ApamNapat 2022-03-17 22:25:30 +01:00
Olivier Gagnon
3cdf0452a4 fix up the new prompt UI 2022-03-17 16:44:44 -04:00
hydroflame
83ef5a940b
Merge branch 'dev' into prompt-additions 2022-03-17 15:38:13 -04:00
Olivier Gagnon
726e9f38cb Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-03-17 14:00:27 -04:00
Olivier Gagnon
8c9603d903 more unknown 2022-03-17 14:00:22 -04:00
Master-Guy
e0377980a5
Merge branch 'dev' into issues/1944 2022-03-17 18:29:18 +01:00
Master-Guy
a575c0cfe3 Tabelize linked output of ls 2022-03-17 17:50:39 +01:00
hydroflame
2411aac1b0
Merge pull request #3153 from Master-Guy/issues/3139
Fix typo
2022-03-17 12:05:57 -04:00
hydroflame
561219a0ab
Merge branch 'dev' into bugfix/2877-2 2022-03-17 12:05:38 -04:00
hydroflame
9453537af4
Merge pull request #3151 from Master-Guy/issues/2877
Remove IP option from connect helptext
2022-03-17 12:04:53 -04:00
hydroflame
12527c501a
Merge pull request #3157 from Master-Guy/issues/2462
Quick fix to prevent division by 0
2022-03-17 12:04:23 -04:00
Master-Guy
93f4c499d4 Quick fix to prevent division by 0 2022-03-17 16:56:32 +01:00
Master-Guy
edd60cff5c Changed .keyCode to .key for files in "src" 2022-03-17 15:29:14 +01:00
phyzical
9949cc9a1e removed ip references 2022-03-17 21:50:23 +08:00
Master-Guy
ef9632bf63 Added 0 cost of asleep() 2022-03-17 13:32:49 +01:00
Master-Guy
eb847d1580 Fix typo 2022-03-17 13:25:47 +01:00
Master-Guy
59ec6213b9 Processed review comments 2022-03-17 13:17:43 +01:00
Master-Guy
01776bffac remove IP option from connect helptext 2022-03-17 13:00:07 +01:00
Master-Guy
90fd496a24 Fixed number formatting and added tests 2022-03-17 12:47:27 +01:00
Olivier Gagnon
28bd5e1b30 convert more user facing functions to unknown 2022-03-16 19:50:56 -04:00
Olivier Gagnon
989d0709ed unknown-ify some code 2022-03-16 19:33:45 -04:00
nickofolas
ea61c36790 Modal content proofreading 2022-03-16 18:29:15 -05:00
nickofolas
a032ee16be Update gang territory UI 2022-03-16 18:20:23 -05:00
nickofolas
a205f42d88 Finalize (?) sleeves 2022-03-16 17:35:04 -05:00
nickofolas
2524b429ec Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/sleeve-ui 2022-03-16 16:48:13 -05:00
BB
4eb59ac70c Turned on no-useless-concat lint and fixed it in code 2022-03-16 20:44:52 +01:00
Olivier Gagnon
3aabbb7aaa dont hide int anymore 2022-03-16 15:42:25 -04:00
Olivier Gagnon
d6ac7f44c2 Sleeves can no longer buy augs that can't help them. 2022-03-16 15:09:31 -04:00
hydroflame
5865f8a1ea
Merge pull request #3082 from CrafterKolyan/patch-3
Fix Static Ram Circumventing for all NS functions
2022-03-16 14:58:00 -04:00
hydroflame
03ab9ed1e2
Merge pull request #2914 from pd/product-industry-research
Fix research tree of product industries post-prestige
2022-03-16 14:54:10 -04:00
hydroflame
9a385dad34
Merge pull request #3129 from InDieTasten/fix-unique-ip-generation
Fix unique ip generation
2022-03-16 14:53:34 -04:00
hydroflame
2ed342b8c2
Merge pull request #3124 from phyzical/feature/3122
expose the inBladeburner on the player object
2022-03-16 14:51:41 -04:00
hydroflame
8c9e14ac0e
Merge pull request #3119 from nickofolas/fix/augmentations-left
Fix `Augmentations Left` with gang factions
2022-03-16 14:51:14 -04:00
hydroflame
f65221b1f1
Merge pull request #3114 from ApamNapat/turn_on_three_more_lints
Mixing spaces and tabs, extra semicolons and lonely ifs are now illegal
2022-03-16 14:51:05 -04:00
hydroflame
f62c0c0cef
Merge pull request #3137 from phyzical/feature/filter-open-scripts
Add the ability to filter open scripts
2022-03-16 14:50:30 -04:00
hydroflame
80251818e0
Merge pull request #3131 from nickofolas/improvement/create-programs-ui
Refresh "Create Programs" page UI
2022-03-16 14:50:05 -04:00
hydroflame
cb668fd30f
Merge pull request #3140 from TheRealMaxion/patch-3
Fix some misleading corporation errors
2022-03-16 14:48:53 -04:00
Olivier Gagnon
328ef3a70a Added achievements data for the 2 new SF minus 1 2022-03-16 14:39:23 -04:00
Olivier Gagnon
321579c6cb Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-03-16 14:34:10 -04:00
Olivier Gagnon
e93be42e7c 2 new exploits 2022-03-16 14:34:05 -04:00
TheRealMaxion
208af6ce9c
Fix some misleading corporation errors 2022-03-16 12:08:00 +01:00
phyzical
61ed4a4d43 Add the ability to filter open scripts
* icon that opens up on click and reset and closes on X
2022-03-15 20:37:11 +08:00
Jack
41974b042c
Merge branch 'dev' into bugfix/2958 2022-03-15 20:34:08 +08:00
hydroflame
e704843d91
Merge pull request #3117 from nickofolas/fix/editor-tabs-height
Add minHeight to editor tabs
2022-03-14 14:36:25 -04:00
BB
1c7c4c29bd Added missing apostrophe 2022-03-13 13:06:20 +01:00
nickofolas
230d68aab2 Implement common stats row element 2022-03-12 15:49:07 -06:00
InDieTasten
17cba1d853 Fix unique ip generation
The previous implementation had a bug in it, where the generated IP
wouldn't be unique, if the generated IP wouldn't be unique two times in
a row.
2022-03-12 18:29:01 +01:00
nickofolas
46e03b454d Only import what's needed from lodash 2022-03-12 11:03:33 -06:00
nickofolas
a93e2b670f Redesign Create Program UI 2022-03-12 10:59:55 -06:00
phyzical
3cbb926fd8 expose the inBladeburner on the player object 2022-03-12 12:36:47 +08:00
Jack
2fa7aa6503
Update src/ScriptEditor/ui/ScriptEditorRoot.tsx
Co-authored-by: nickofolas <60761231+nickofolas@users.noreply.github.com>
2022-03-12 11:40:45 +08:00
nickofolas
7dbb285f8a Simplify conditions 2022-03-11 17:56:34 -06:00
Olivier Gagnon
b265d7ba78 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-03-11 15:19:15 -05:00
Olivier Gagnon
30776e5aca added arcade 2022-03-11 15:19:10 -05:00
nickofolas
7220cab437 More robust augs left calculations
- Should fix all issues with incorrect amount remaining
2022-03-11 13:04:17 -06:00
nickofolas
a1b3dddf9e Add minHeight to editor tabs 2022-03-11 11:10:28 -06:00
hydroflame
e2af0aa41f
Merge pull request #3109 from nickofolas/fix/equip-minwidth
Properly expand gang equipment cards to fill entire screen
2022-03-11 12:08:08 -05:00
BB
5e2ccc71ec Mixing spaces and tabs, extra semicolons and lonely ifs are now forbidden 2022-03-11 16:32:48 +01:00
Jack
6f10d5f8bf
Merge branch 'dev' into bugfix/2958 2022-03-11 17:49:35 +08:00
nickofolas
6db267ff76 Fix trailing whitespace 2022-03-10 23:23:51 -06:00
nickofolas
0236bdc73d
Merge branch 'dev' into feature/monaco-theme-editor 2022-03-10 23:16:44 -06:00
nickofolas
c7e228807b Resolve conflict 2022-03-10 23:11:09 -06:00
nickofolas
07a61c38a4 Clean up imports 2022-03-10 23:02:32 -06:00
nickofolas
7b309c2624 Refactor sleeve stats row to JSX element 2022-03-10 22:47:18 -06:00
nickofolas
62331af141 Properly expand gang equipment cards to fill entire screen 2022-03-10 22:43:01 -06:00
nickofolas
8ce1660f8a Fix missing newline at EOL 2022-03-10 22:21:02 -06:00
nickofolas
5d6952dbac First iteration of sleeves UI improvements 2022-03-10 22:14:11 -06:00
Olivier Gagnon
ca19e15168 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-03-10 23:05:40 -05:00
Olivier Gagnon
81d3246cb8 fix not being able to work on program 2022-03-10 23:05:35 -05:00
hydroflame
0e526853bd
Merge pull request #3108 from nickofolas/patch-1
Initialize `purchasingAugs` state to correct value
2022-03-10 22:45:11 -05:00
Olivier Gagnon
9c3c83dcd5 fix lint 2022-03-10 22:34:54 -05:00
nickofolas
beebcefb18
Initialize purchasingAugs state to correct value
Overwritten in merge commit, just fixing before I forget haha
2022-03-10 21:21:08 -06:00
Olivier Gagnon
dfb29626f3 fix mc 2022-03-10 22:17:01 -05:00
hydroflame
d955398a68
Merge pull request #2757 from ltoni90/bugfix/2719_Corporation_Expressions
Bug fix corporation expressions
2022-03-10 22:15:39 -05:00
hydroflame
f117cc8a74
Merge pull request #2912 from phyzical/bugfix/2899
Added a check for exisiting industry type before expanding
2022-03-10 22:14:18 -05:00
hydroflame
6a09cbd2ce
Merge pull request #2933 from phyzical/bugfix/1954
added filter for possibleFactions to filter factions without tasks
2022-03-10 22:13:24 -05:00