Commit Graph

225 Commits

Author SHA1 Message Date
Olivier Gagnon
6b630753f0 nuke some use of any 2022-07-14 19:00:10 -04:00
Olivier Gagnon
5629c16def extract multipliers in its own type 2022-07-14 18:43:33 -04:00
Olivier Gagnon
0550bc188c refactor some stuff 2022-07-14 17:43:08 -04:00
Olivier Gagnon
fac6633347 remove so many fields and values used by the old system 2022-07-12 23:13:40 -04:00
Olivier Gagnon
e86a42716c lint 2022-07-11 15:58:23 -04:00
hydroflame
4f617e7d3d
Merge pull request #3818 from ApamNapat/fixed_some_typos_and_style_issues
MISC: Fixed some typos and style issues
2022-07-06 14:35:31 -04:00
hydroflame
9f6ba6c802
Merge pull request #3864 from marcowesii/patch-1
DOCUMENTATION: arguments documentation example for ns2 scripts
2022-07-06 14:28:42 -04:00
TheCrazyT
6f7981ff25
Merge branch 'dev' into dev 2022-06-18 22:10:38 +02:00
TheCrazyT
d052d40612
reduce redundant code in Bladeburner.tsx 2022-06-18 21:40:33 +02:00
BB
de01ae20b9 Fixed some typos and style issues 2022-06-07 15:26:33 +02:00
Undeemiss
a0bff34761 Refactored the internal calculateCost function for readability 2022-05-29 11:35:28 -05:00
Undeemiss
06acc423ae Added count to NS cost function, input checking, fixed documentation
Also changed upgradeSkill back to returning a bool instead of a
number.
2022-05-29 11:13:49 -05:00
Undeemiss
f8f3c099e0 Formatted/linted (There are some errors, but they aren't mine afaik) 2022-05-28 21:35:20 -05:00
Undeemiss
8b026f606b Fixed off-by-one error in the fast calculateCost function
The off-by-one error was in the original sum, so it's not obvious
in the simplified version of the sum. Fixing this greatly improved
the accuracy of the simple calculation for small counts, but I'm
leaving the recursive mode in. Maybe I'll lower the threshold,
though. 100 isn't a terribly small number.
2022-05-28 21:26:11 -05:00
Undeemiss
8d9e077b66 calculateCost now works more accurately for count<=100 2022-05-28 21:06:25 -05:00
Undeemiss
908d5e9570 Proof-of-concept, handling purchases of 1e150 lvls at once
Threw something together with a formula that should, for large
purchases, be roughly the same cost as normal. The formula change
may cause noticeable deviation from expected costs for low numbers
of upgrades, though, so I plan to fix that by having high
quantities handled differently than low ones if necessary.
2022-05-28 20:37:33 -05:00
Undeemiss
709fc3ab63 Began attempting to implement a multi-upgrade function for bb 2022-05-28 14:12:07 -05:00
Olivier Gagnon
f2721fefd2 Bladeburner final op no longer directly sends you to the bitverse but instead makes a button appear that sends you there 2022-05-26 12:59:05 -04:00
hydroflame
3ba8e59a9b
Merge pull request #3761 from danielyxie/dev
Fix .script crashing :(((
2022-05-25 16:10:19 -04:00
Olivier Gagnon
c1650e332b lint fixes 2022-05-25 15:08:48 -04:00
Olivier Gagnon
76ccb0ba36 lint 2022-05-25 11:43:43 -04:00
hydroflame
16b0970b27
Merge pull request #3746 from danielyxie/dev
Update infinite loop safety net mechanism
2022-05-24 17:10:00 -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
9a2c743d66
Merge pull request #3710 from danielyxie/dev
Fix blade error
2022-05-22 20:49:07 -04: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
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
hydroflame
5dcdbf81eb
Merge pull request #3683 from danielyxie/dev
Fix 'mv'
2022-05-20 23:52:08 -04:00
Olivier Gagnon
27a8582df8 balance infiltrate synthoids 2022-05-20 18:18:42 -04:00
Olivier Gagnon
7eb4494ac1 fix mc 2022-05-20 15:58:33 -04:00
hydroflame
41b9a858de
Merge pull request #3678 from danielyxie/dev
v1.7.0
2022-05-20 15:21:21 -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
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
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
rderfler
7cf21629a7 Address review
Add ns function setToBladeburnerAction
Formatting updates
fix sleeves using player stamina
Correct supporting sleeve causing error
2022-04-30 15:25:36 -04:00
rderfler
d345188cce Address blackops error
Address blackops error by removing incorrect check for type
2022-04-25 13:57:54 -04:00
rderfler
332b803332 Fmt and lint 2022-04-14 15:28:13 -04:00
rderfler
3886e31a45 Format 2022-04-14 11:59:49 -04:00
rderfler
1239c7ad7f Merge branch 'dev' of https://github.com/rderfler/bitburner into dev 2022-04-14 11:57:19 -04:00
rderfler
0406272942 Clean up
linter
2022-04-14 11:57:01 -04:00
rderfler
7c468663d4
Merge branch 'danielyxie:dev' into dev 2022-04-14 11:48:44 -04:00
rderfler
d1388a62aa Merge branch 'dev' of https://github.com/rderfler/bitburner into dev 2022-04-14 11:41:02 -04:00
rderfler
2613948bad Add bladeburner actions to sleeves
This adds bladeburner actions to sleeves. In addition this bulked out the IPerson functionality and updated bladeburner functions to be more sleeve compatible
2022-04-14 11:40:59 -04:00
hydroflame
a9eaea0568
Merge pull request #3449 from danielyxie/dev
basic doc no longer hacker themed
2022-04-14 02:25:44 -04:00
Olivier Gagnon
3336a6ff61 added openDevMeny 2022-04-13 13:47:48 -04:00
hydroflame
af95f0bfaf
Merge pull request #3432 from danielyxie/dev
keeping up to date
2022-04-13 12:37:41 -04:00
Olivier Gagnon
c76602a5df rm aug woned 2022-04-13 12:24:01 -04:00
hydroflame
c94f31fc2a
Merge pull request #3369 from danielyxie/dev
fmt / fix sleep
2022-04-06 19:43:57 -04:00
Olivier Gagnon
48f80f25d6 fmt and lint 2022-04-06 19:30:08 -04:00
hydroflame
38b15eeeba
Merge pull request #3289 from danielyxie/dev
Cut grafting time in hafl.
2022-03-30 12:13:53 -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
hydroflame
8ccf5a2d43
Merge pull request #3269 from danielyxie/dev
v1.6.0
2022-03-29 15:37:55 -04: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
c681828ec1 few more event key. constant refactors 2022-03-24 23:09:24 +08:00
Olivier Gagnon
1ad27bb95e lint 2022-03-22 10:36:01 -04:00
BB
961a887c56 Removed BladeburnerSkillCost from skill point cost description 2022-03-22 02:09:31 +01:00
hydroflame
4cba813fe4
Merge pull request #3229 from danielyxie/dev
Fix keyboard bug
2022-03-21 20:02:55 -04:00
Dominik Winter
14cdff5edd fix handling for UpArrow in bladeburner console 2022-03-21 21:32:07 +01:00
hydroflame
4b7b34833b
Merge pull request #3213 from danielyxie/dev
critical bug fix
2022-03-21 00:32:32 -04:00
Olivier Gagnon
0171fc236c Fix some augs not getting added. 2022-03-21 00:30:11 -04:00
hydroflame
01a2530863
Merge pull request #3211 from danielyxie/dev
Little fixes and PRs
2022-03-20 23:31:11 -04:00
BB
9c9550ad42 Removed unreachable code 2022-03-20 19:33:10 +01:00
hydroflame
9922ffb3c2
Merge branch 'dev' into issues/2308 2022-03-20 14:22:32 -04:00
hydroflame
07c64b684c
Merge pull request #3190 from danielyxie/dev
few bugfix
2022-03-19 14:25:09 -04:00
phyzical
44ea479043 update constants
* added OperationNames
* added faction names
* used citynames where appropriate
2022-03-19 16:09:59 +08:00
Master-Guy
9dd933ecee Changed .keyCode to .key for files in "src" 2022-03-18 10:43:56 +01:00
hydroflame
7afc7d5c78
Merge pull request #3162 from danielyxie/dev
Few fixes
2022-03-17 16:48:47 -04:00
BB
4eb59ac70c Turned on no-useless-concat lint and fixed it in code 2022-03-16 20:44:52 +01:00
hydroflame
5874fff0bd
Merge pull request #3120 from danielyxie/dev
arcade
2022-03-11 15:23:29 -05:00
hydroflame
b7ffdeb5e2
Merge pull request #3076 from ApamNapat/turned_two_eslint_rules_on
Trailing whitespace and files not ending with \n are now illegal
2022-03-10 22:12:17 -05:00
hydroflame
1ed27bb88a
Merge pull request #3104 from MartinFournier/fix/bladeburner-early-routing
Attempt to fix `bladeburner.process()` early routing issue
2022-03-10 22:10:06 -05:00
Martin Fournier
6588bbb8b1 Attempt to fix bladeburner.process() issue
For a certain user, it appears that the engine attempts to route to the
bitverse screen before the router is properly initialized. I could not
reproduce the problem on my side and we were not able to extract his
save game, so this is a blind shot if it'll work or not.
2022-03-09 15:44:19 -05:00
phyzical
0ba66ad2f4 fix typo on ops page 2022-03-09 22:58:34 +08:00
BB
2f4d879c16 Trailing whitespace and files not ending with \n are now illegal 2022-03-08 22:51:02 +01:00
hydroflame
ef167046eb
Merge pull request #3088 from danielyxie/dev
v1.5.0
2022-03-07 17:51:40 -05:00
Adam Reineke
41fe4e5813
Fix log message in ns.bladeburner.startAction 2022-02-12 21:26:06 -08:00
Waladil
8df09a0568
Fix grammar
Literally just adds an 's' to "Synthoid" in one place that it's grammatically proper to do so.
2022-02-08 11:18:19 -07:00
nickofolas
ab841f7530 Refactor for ... in loops 2022-01-15 18:45:03 -06:00
nickofolas
15ce6a503a Add missing semicolon 2022-01-13 20:23:04 -06:00
nickofolas
e2acd10339 Slight stats redesign 2022-01-13 19:46:39 -06:00
nickofolas
8b95697bd4 Console improvements 2022-01-13 19:46:30 -06:00
nickofolas
01d6edb2a1 Refactor BladeburnerRoot to use display: grid 2022-01-13 19:45:58 -06:00
nickofolas
4195eb759b Update Bladeburner help formatting 2022-01-13 18:51:26 -06:00
Olivier Gagnon
d8a5f5b03c many fixes 2022-01-09 15:24:32 -05:00
nickofolas
88db255f29 Fix whitespace in Bladeburner console 2022-01-03 16:42:49 -06:00
Olivier Gagnon
41593e0dce fix editor not loading 2021-12-21 12:02:06 -05:00
Martin Fournier
2d269c7a4e Fix #2018: Blade console check blackops order
Prevents you from running blackops if you have not completed the
preceeding one.
2021-12-21 10:13:12 -05:00
Martin Fournier
dbe36fd6b7 Fix #1916: Check blade console blackops rank
This prevents the player from starting a blackops without having the
rank requirements
2021-12-21 07:48:09 -05:00
Martin Fournier
f2ccc63b2d Fix #1915: Check blade console skill max level
Prevents you from leveling up a skill past its max level.
2021-12-21 07:48:09 -05:00
Martin Fournier
1427993a25 Fix #1901: Fix blade console command history
Up or down would not properly update the visible input value
2021-12-21 07:48:09 -05:00
Martin Fournier
0b71a83cfe Fix blade console input visibility on scroll
Before this, when scrolling up the input would be hidden.
2021-12-21 07:38:39 -05:00
corver
2f55cd27c5 Fix some Bladeburner typos 2021-12-03 16:45:48 -05:00
Olivier Gagnon
c05518e162 workerscript log takes a function now, hopefully this will increase performance. 2021-11-26 18:30:58 -05:00
Olivier Gagnon
f5d6132dfc fix bladeburner action cancel 2021-11-12 16:54:34 -05:00
Olivier Gagnon
3112dc60c0 few more bugfixes 2021-11-11 23:28:08 -05:00
Olivier Gagnon
15b3a82a41 plenty of bug fix. 2021-11-10 19:28:20 -05:00
Olivier Gagnon
eb6f016ac1 fix corp softcap 2021-11-05 21:01:23 -04:00
Olivier Gagnon
88b4a7d862 bugfix 2021-11-05 17:12:52 -04:00
Olivier Gagnon
14150d3e33 work on making the netscript api tighter 2021-11-03 20:19:52 -04:00
Olivier Gagnon
2578ea51c3 fix blade time 2021-11-03 13:43:03 -04:00
Olivier Gagnon
b2bf3fc21f v1 api breaks 2021-11-02 22:11:22 -04:00