Mughur
ce5d777f59
Merge branch 'danielyxie:dev' into sleeve
2022-08-28 10:47:49 +03:00
Mughur
1724f0e3ff
Merge branch 'danielyxie:dev' into dev
2022-08-28 10:47:40 +03:00
Snarling
ef1f376c09
format, lint, remove unused "running" property on ws
2022-08-27 22:32:48 -04:00
Snarling
6f36e9cdc5
Fix/Unify NS1 wrapper
2022-08-27 20:56:12 -04:00
Olivier Gagnon
1fdc36b1e7
Merge branch 'dev' of github.com:danielyxie/bitburner into dev
2022-08-26 17:49:54 -04:00
Olivier Gagnon
5f41226c21
Fix scp and write in ns1
2022-08-26 17:49:27 -04:00
MPJ / Quadryo
197081dd3e
Fix #3963
...
Adds a previously missing `throw` to allow `bladeburner.setActionLevel()` to properly produce errors and prevent invalid action levels from being set.
2022-08-26 20:59:26 +02:00
Kelenius
e16140fe9c
Improvements to crime work UI
2022-08-26 21:03:30 +03:00
Zoë Hoekstra
45c15c9953
Extract result type and correct it for getAllFiles
2022-08-26 11:31:37 +02:00
Zoë Hoekstra
ceb4a05289
Fix type of RFAMessages with non-String results
2022-08-26 11:17:47 +02:00
Mughur
7b7858d8e3
Only the wanted commits this time
2022-08-26 12:03:25 +03:00
Mughur
e361866ab8
Merge branch 'danielyxie:dev' into sleeve
2022-08-26 00:35:05 +03:00
Mughur
9d1b48e076
Fixing my previous mistakes
2022-08-26 00:30:27 +03:00
hydroflame
2463fc2012
Merge pull request #4028 from Snarling/scpAndWriteDocFix
...
NETSCRIPT: Update netscript definition file for scp, write, read, and flags
2022-08-25 16:37:07 -03:00
hydroflame
e554a6ac13
Merge pull request #4027 from Snarling/ANSIFix
...
TERMINAL: Fix ansi display bugs
2022-08-25 16:35:44 -03:00
Mughur
a6d4ef4147
sleeve.getTask() retuns which crime name
2022-08-25 20:28:05 +03:00
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
Florian Schöffl
0c93764ef8
Added weight to GangMemberTask construction call
...
Added hackWeight: 100 to GangMember Task construction call to prevent error messages from the constructor checks.
Since we only compare with roughlyIs() this will have no impact on functionality
2022-08-25 11:08:33 +02: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
mihilt
c07f525d4a
fix: undo a wrong correction
2022-08-09 18:48:53 +09:00
phyzical
3465f12f1d
Add auser friendly message to avoid throwing recovery screen
...
feature/prompt-error-support
File List:
src/ui/React/PromptManager.tsx
2022-08-09 15:57:36 +08:00
mihilt
f8252a30e2
fix: fix some errors
...
- fix RAM size correctly
- fix terminal username correctly
2022-08-08 21:17:34 +09:00
Snarling
09322bd54a
lint
2022-08-07 21:56:48 -04:00
Snarling
1af97ec5aa
fix running/worker script comparison
2022-08-07 11:40:42 -04:00
Snarling
9f6ccc94b1
format & lint
2022-08-02 11:32:04 -04:00
Snarling
47d51391e3
fix typechecking and documentation for attempt
2022-08-02 11:30:28 -04:00
Snarling
b700b0246b
Fix contract input handling
2022-08-02 11:11:49 -04:00
phyzical
f441d390e1
left over code from old infil implementation
...
hotfix/3938
File List:
src/ScriptEditor/NetscriptDefinitions.d.ts
2022-08-01 16:09:47 +08:00
faangbait
2b9d62d8ce
Remove "based" from positive adjectives in infil
...
Slang term that's had three opposite meanings in my lifetime alone.
2022-07-31 15:17:06 -05:00
Mughur
451bd0fb54
add missing corp researches to constant
2022-07-30 19:08:17 +03:00
Mughur
a88f36e2f4
add corp get functions, fix coffee hover text
2022-07-30 18:57:33 +03:00
Olivier Gagnon
39cf0cb57f
allbuild commit 8e859d84
2022-07-29 17:05:56 -04:00
Olivier Gagnon
8e859d84b7
allbuild commit 07c7f064
2022-07-29 16:29:15 -04:00
Olivier Gagnon
07c7f0641a
allbuild commit c8440ef2
2022-07-28 14:35:55 -04:00
Olivier Gagnon
c8440ef268
allbuild commit 2b4a1bb7
2022-07-28 11:37:28 -04:00
Olivier Gagnon
3b35b07860
remove unused fields on sleeves
2022-07-28 03:08:39 -04:00
Olivier Gagnon
4549b0d467
finish sleeve rework
2022-07-28 02:46:34 -04:00
Olivier Gagnon
ebe953b498
work on sleeve new work system
2022-07-27 20:37:32 -04:00
Olivier Gagnon
315b2adf30
Make invalid hostname better
2022-07-27 00:59:43 -04:00
Olivier Gagnon
7f72d77428
clean some sleeve stuff
2022-07-27 00:50:21 -04:00
Olivier Gagnon
65400dd215
v2apibreak work on .script better
2022-07-27 00:28:32 -04:00
Olivier Gagnon
32bd629317
lint
2022-07-27 00:08:07 -04:00
Olivier Gagnon
326d9fd7ef
Move player skills and exp to their struct
2022-07-26 23:54:17 -04:00
Olivier Gagnon
3e4f26ac0a
allbuild commit e6d14eff
2022-07-26 15:30:12 -04:00
Olivier Gagnon
e6d14eff68
preparation for v2 launch
2022-07-26 15:09:11 -04:00
Olivier Gagnon
214b2645ad
allbuild commit 8afacee9
2022-07-26 10:41:04 -04:00
Olivier Gagnon
6b43ecafb1
fix sleeve not being able to buy augs
2022-07-26 08:25:18 -04:00
Olivier Gagnon
18c3572423
removed the ability to bribe for shares
2022-07-26 08:20:22 -04:00
Olivier Gagnon
ebae95dd4a
Fix grafting times
2022-07-26 08:12:59 -04:00
Olivier Gagnon
faa3e212f3
fix a bunch of small v2 related bugs
2022-07-26 08:08:51 -04:00
Aerophia
2799031687
Update AugmentationsPage.tsx
2022-07-25 19:00:04 -05:00
Aerophia
6aa9b24173
Update AugmentationsPage.tsx
2022-07-25 18:57:28 -05:00