Commit Graph

4053 Commits

Author SHA1 Message Date
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
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
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
61fc815a6b added apr1 terminal command
* just opens the rickroll modal
2022-04-02 20:08:57 +08:00
BB
c7a95ccb2d Fixed eslint warning for unused vars 2022-04-02 13:11:55 +02: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
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
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