Commit Graph

4799 Commits

Author SHA1 Message Date
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
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
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
682d689e55 fix lint error
removed unused import
(fixing commit issue)
2022-05-24 15:10:05 +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
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
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