Commit Graph

5141 Commits

Author SHA1 Message Date
Mughur
1a1decf5fd sleeve BB contracts now properly give money 2022-08-25 20:06:19 +03:00
Mughur
bf33734def Sleeve shock goes down, but not to negative 2022-08-25 18:49:01 +03:00
Mughur
2e4e7fadfc fix Sleeve UI gains 2022-08-25 18:19:14 +03:00
Mughur
c5cbbb2fbd fix sleeve bb 2022-08-25 17:23:14 +03:00
Mughur
fa9f34aba2 update docs a bit more 2022-08-25 14:47:31 +03:00
Duck McSouls
84eabad6ac Typo fixes in CodingContract, Hacknet, and Singularity.
Fix some typographical errors in the CodingContract, Hacknet, and Singularity APIs.  I have yet to look over other APIs, but I don't want to make the patch any larger than it currently is.
2022-08-25 10:52:24 +10:00
Snarling
d1aa114e29 Fix build error / additional type for flags 2022-08-24 20:28:38 -04:00
Snarling
650db2dee7 Add type fix for flags 2022-08-24 19:09:18 -04:00
Snarling
bba9317ef6 incorporate read changes 2022-08-24 18:42:42 -04:00
MycroftJr
1135508683 fix ns.read return type 2022-08-24 18:36:50 -04:00
Derek H Osborne
6e02a70eea Removed console.log line 2022-08-24 17:22:16 -05:00
Alain Bryden
359def2b61
Don't stringify answer if already a string 2022-08-24 11:09:35 -03:00
Duck McSouls
d38ef01a94 A typo fix.
Fix a typographical error.  From a first time contributor.
2022-08-24 13:57:42 +10:00
Snarling
4d47785f28 Fix ns documentation for scp and write 2022-08-23 22:06:05 -04:00
Snarling
d8c1ac9176 lint 2022-08-23 18:27:37 -04:00
Snarling
2d8900408d Fix Ansi bugs 2022-08-23 17:54:13 -04:00
Olivier Gagnon
076d79ed5a Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-08-23 17:51:34 -04:00
Olivier Gagnon
3d8616b3a7 Did some changes of the remote api and added documentation 2022-08-23 17:50:31 -04:00
Snarling
445e365959 debounce updateRAM 2022-08-23 16:38:30 -04:00
Olivier Gagnon
89aa23f4b3 Add dummy function to generate a mock server or player for formulas stuff 2022-08-23 16:01:34 -04:00
hydroflame
895944aa19
Merge pull request #3972 from Hoekstraa/rfa
RFA: New Remote File API addition for transmitting files to the game
2022-08-23 16:09:29 -03:00
Olivier Gagnon
a41a6db520 allbuild commit f825cc0b 2022-08-23 12:48:51 -04:00
Olivier Gagnon
7cb48f4612 fix compile error 2022-08-23 12:04:09 -04:00
hydroflame
fe3e34408d
Merge branch 'dev' into dev 2022-08-23 13:01:13 -03:00
hydroflame
604596b907
Merge pull request #3480 from Undeemiss/corp-new-shares
CORPORATION: Limit shareholder priority on newly issued shares
2022-08-23 12:55:09 -03:00
hydroflame
486ab7aad8
Merge branch 'dev' into contractFix 2022-08-23 12:44:21 -03:00
Olivier Gagnon
0e569344e7 rm console log 2022-08-23 11:28:40 -04:00
hydroflame
67be694b68
Merge pull request #3978 from Snarling/atExitFix
NETSCRIPT: FIX #2931 atExit now allows synchronous ns functions
2022-08-23 12:27:43 -03:00
hydroflame
d553a1d2f4
Merge pull request #3981 from Snarling/B&AFix
FILES: FIX #3979 Allow characters & and ' in filenames
2022-08-23 12:25:55 -03:00
hydroflame
849046df3a
Merge pull request #3985 from Snarling/synchronize
NETSCRIPT: ns.scp and ns.write are now synchronous + fix exec race condition
2022-08-23 12:25:24 -03:00
hydroflame
46f5640dcd
Merge pull request #3976 from Snarling/ScriptEditorResponsiveness
UI: FIX #3975, #3882 Script Editor more responsive on resize, and fix dirty file indicator
2022-08-23 12:12:21 -03:00
hydroflame
fc7eb72fc0
Merge pull request #3980 from phyzical/hotfix/3977
CORP FIX: dont take research points for something already researched via api
2022-08-23 12:11:15 -03:00
hydroflame
6969ff52c7
Merge pull request #4010 from Risenafis/fix-create-corp
NETSCRIPT: Correct missing ! for boolean coercion in Corporation.createCorporation().
2022-08-23 12:10:49 -03:00
hydroflame
3e3177d7bd
Merge pull request #4001 from Mughur/dev
MISC: Sleeve crime gain bitnode multiplier fix
2022-08-23 12:10:27 -03:00
hydroflame
1d3eb2ffb5
Merge pull request #4000 from MageKing17/patch-2
NETSCRIPT: Correct missing `!` for boolean coercion in `singularity.workForCompany()`.
2022-08-23 12:09:49 -03:00
hydroflame
ed76c5e15d
Merge pull request #4019 from MageKing17/patch-4
API: All the player sub-objects need to be copied for `getPlayer`.
2022-08-23 12:07:34 -03:00
hydroflame
01b5ba1be5
Merge pull request #4012 from MageKing17/patch-3
DOCS: Correct documentation for `run()` with 0 threads.
2022-08-23 12:07:19 -03:00
hydroflame
cc29de7969
Merge pull request #4002 from RollerKnobster/hotfix/3992-toast-handle-null-duration
NETSCRIPT: fix #3992 allow null duration in toast ns function
2022-08-23 12:06:56 -03:00
hydroflame
7269919aa9
Merge pull request #4023 from Snarling/companyWorkSingFix
WORK: Add singularity check for finishing company work
2022-08-23 12:05:44 -03:00
Snarling
d4c7edf351 Fix fullscreen pages 2022-08-23 02:37:53 -04:00
Snarling
c626377904 Add singularity check for finishing company work 2022-08-22 20:16:45 -04:00
MageKing17
80aafc7d48
All the player sub-objects need to be copied.
Not just `mults`. Also, `hacking_chance_mult` still being at the base level appears to be a mistake.
2022-08-21 12:22:58 -07:00
MageKing17
0a4c64a8fa Correct documentation for run() with 0 threads.
For consistency, the same phrasing has been applied to the documentation for `exec()` and `spawn()`.
2022-08-20 18:47:37 -07:00
Snarling
5466ab3f69 format+lint 2022-08-20 19:16:11 -04:00
Snarling
7578860ce7 remove more prop chaining 2022-08-20 19:14:54 -04:00
Snarling
0f15431b5f remove unused eventEmitterForUiReset 2022-08-20 19:08:05 -04:00
Snarling
97961d6896 Reduce prop chaining 2022-08-20 18:52:18 -04:00
Snarling
9d5cf89f68 Remove prop chain for cancelOrder + format 2022-08-20 18:40:21 -04:00
Risenafis
b224321222
fix selfFund was reversed 2022-08-20 23:37:39 +09:00
Snarling
2aca8476b6 cancelOrder Params
Why is this defined in so many places
2022-08-19 19:49:09 -04:00
Snarling
4001b4cbb0 refactor stock for ctx instead of workerScript 2022-08-19 19:32:30 -04:00
Snarling
1dc1a7ed6f lint 2022-08-19 18:36:24 -04:00
Snarling
823cdf70ca Fix compile race conditions 2022-08-19 18:21:31 -04:00
Roman Ivaniuk
5c0c130b4b 3992 Fix: handle null duration in toast ns function
extend SnackbarEvents typing to allow null in third argument
also remove typos in Electron.tsx init functions comments
2022-08-19 14:38:46 +03:00
Mughur
84e2ae78c3 Sleeve crime gain bitnode multiplier fix 2022-08-19 10:03:20 +03:00
MageKing17
28d7284323
Correct missing ! for boolean coercion.
`singularity.workForCompany()` was negating its `_focus` argument, unlike similar functions, which used double-negation to coerce to boolean. This was almost certainly a typo, since before PR-#3967 it used `_ctx.helper.boolean()` without negation, just like the other singularity functions.
2022-08-18 22:04:11 -07:00
MageKing17
1b8993a3dc
Replace "stock.short" with "stock.shortStock".
This was preventing `disableLog("ALL")` from stopping these log messages, since that's not the function's name now.
2022-08-18 13:29:21 -07:00
Olivier Gagnon
3067703c63 Trying to fix int bug 2022-08-18 13:40:39 -04:00
Olivier Gagnon
a88f14cd16 Fix broken ns filenames 2022-08-18 12:36:30 -04:00
Snarling
07e9cb9277 refactor scp function 2022-08-17 20:31:26 -04:00
Snarling
f6a8d5d337 synchronize scp and write 2022-08-17 18:55:12 -04:00
Snarling
95a1c18139 synchronize write and scp 2022-08-17 17:11:59 -04:00
Olivier Gagnon
a8bef50ef5 Added a few formulas to calculate work gains 2022-08-17 14:32:52 -04:00
Snarling
9e2e459cc2 Allow & and ' in filenames 2022-08-17 08:14:15 -04:00
phyzical
016dbe67d9
add an early out if already researched
hotfix/3977

File List:
src/Corporation/Actions.ts
2022-08-17 17:46:18 +08:00
Snarling
32afaae3e2 Improve atExit error message 2022-08-16 20:37:50 -04:00
Snarling
0c358c588e ns.atExit errors more readable, allows ns functions 2022-08-16 20:16:57 -04:00
Snarling
e6f9f9ed75 const openScripts (format) 2022-08-16 15:19:33 -04:00
Snarling
57fa1b743a const openScripts 2022-08-16 15:17:44 -04:00
Snarling
8cbb8aac2e Remove unnecessary assignments & spreads 2022-08-16 12:24:50 -04:00
Olivier Gagnon
699342572c fix some save file not loading properly 2022-08-16 12:14:12 -04:00
Olivier Gagnon
5d3ed2e0c5 allbuild commit 07538d65 2022-08-16 12:01:42 -04:00
Snarling
fbee07ffd7 Fix dirty indicator 2022-08-16 10:41:40 -04:00
Snarling
fd3ff76976 Improve ScriptEditor responsiveness 2022-08-16 02:32:25 -04:00
Olivier Gagnon
07538d6509 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-08-15 09:41:46 -04:00
Olivier Gagnon
f78c0d6a6d Fix intelligence bugf 2022-08-15 09:38:10 -04:00
Zoë Hoekstra
765cfd0c9a
Clear interval when functional connectionBauble gets unmounted 2022-08-11 19:48:14 +02:00
Zoë Hoekstra
a6ee9a8c76
Format 2022-08-11 19:48:14 +02:00
Zoë Hoekstra
725fb05bb3
Replace ConnectionBauble Class Component with Functional one 2022-08-11 19:48:14 +02:00
Zoë Hoekstra
88d8f13847
Cleanup + lint/format 2022-08-11 19:48:13 +02:00
Zoë Hoekstra
2628dc1ae8
Start RFA connection on gamestart, test connection on bauble creation immediately 2022-08-11 19:48:13 +02:00
Zoë Hoekstra
5fc67c328b
Add setting UI for port/reconnect, swap wrong API handlers 2022-08-11 19:48:12 +02:00
Zoë Hoekstra
d20f621b47
Add RFA backend 2022-08-11 19:48:12 +02:00
Snarling
f1f7be6adc Remove unused types 2022-08-10 10:02:41 -04:00
Snarling
b433c366d7 performance update 2022-08-09 19:10:55 -04:00
Snarling
28d9c70796 format&lint 2022-08-09 19:04:05 -04:00
Snarling
c6cb4ca033 Type correctness 2022-08-09 19:02:33 -04:00
Snarling
ea7c2c4981 fixing other commits after rebase 2022-08-09 18:25:02 -04:00
Snarling
648b7e84bf Some cleanup 2022-08-09 18:09:26 -04:00
Snarling
931ea730a5 Move entire ns object to top-level 2022-08-09 18:09:26 -04:00
Snarling
589b9df2a7 remove console.logging from roughlyIs 2022-08-09 18:09:26 -04:00
Snarling
01e63b10a1 move ctx.log to NetscriptHelpers 2022-08-09 18:09:26 -04:00
Snarling
8f8d9a1d23 format+lint 2022-08-09 18:09:25 -04:00
Snarling
208495e269 Initial commit 2022-08-09 18:09:24 -04:00
Snarling
3a2e676c9b Move error functionality to new wrapper 2022-08-09 18:09:24 -04:00
hydroflame
74f3d6507f
Merge pull request #3942 from Mughur/dev
API: add corp get<constant> functions, UI: fix coffee hover text
2022-08-09 12:04:03 -03:00
hydroflame
b19f6c5f82
Merge pull request #3970 from phyzical/feature/prompt-error-support
FIX: Prompt Add user friendly message to avoid throwing recovery screen for invalid choices
2022-08-09 12:02:40 -03:00
hydroflame
a4ca891a82
Merge pull request #3946 from faangbait/patch-1
Remove "based" from positive adjectives in infil
2022-08-09 12:01:50 -03:00
hydroflame
383c48c02e
Merge pull request #3948 from phyzical/hotfix/3938
HOTFIX: Fix infil definitions.d.ts
2022-08-09 12:00:28 -03:00
hydroflame
c5487a0265
Merge pull request #3964 from Snarling/argsFix
SCRIPTS: FIX #3962 The correct script will be closed even if the player modifies args (v2.0)
2022-08-09 11:59:02 -03:00