Commit Graph

5602 Commits

Author SHA1 Message Date
hydroflame
2cce14a95b
Merge pull request #4139 from Mughur/Sleeve
MISC: crime gains, sleeve gang augs and faq
2022-09-23 12:32:15 -03:00
hydroflame
1b329df398
Merge pull request #4141 from LJNeon/tformat-fix
API: Remove incorrectly placed 's' in ns.tFormat()
2022-09-23 12:30:18 -03:00
LJNeon
b1c5ddb211
chore(ns.tFormat): Remove incorrectly placed 's' 2022-09-23 07:59:50 -07:00
Mughur
5e0d284cf0 updated sleeve FAQ 2022-09-23 16:01:53 +03:00
Mughur
a389974314 Sleeves now only get actual gang's augs 2022-09-23 15:52:04 +03:00
Mughur
33b304bff5 Crime gains now properly affected by player mults 2022-09-23 15:17:48 +03:00
Duck McSouls
5f47536d54 CCT: inconsistent probability for generation between online and offline
Fixes #4110.  While online, there is 25% chance for a Coding Contract to appear.  The same should apply when a player loads the game after being offline for a period of time.  Currently, loading the game after being offline would give a generation probability of less than 25%.  The mismatch between offline and online gives an unfair advantage to having the game running for an extended period of time.
2022-09-23 21:38:27 +10:00
Duck McSouls
0a644aed58 Typo fix in ns.singularity.workForFaction()
Abbreviation of "you are" is "you're".  Also place a full stop at the end to complete the sentence.  Fixes #4118.
2022-09-23 20:32:53 +10:00
Mughur
d99d37f191 Bunch of corporation fixes 2022-09-23 13:13:33 +03:00
Duck McSouls
98d43acf9f Missing capitalization in ns.gang.ascendMember()
The return description of the function ns.gang.ascendMember() has a missing capitalization.  Fixes #4091.
2022-09-23 20:06:36 +10:00
Duck McSouls
b31c64fb9f Missing capitalization in ns.gang.getAscensionResult()
The return description for the function ns.gang.getAscensionResult() has a missing capitalization. Fixes #4090.
2022-09-23 20:03:46 +10:00
Duck McSouls
b0f1e7a997 Typo fix for focus parameter of ns.singularity.commitCrime()
The focus parameter of the function ns.singularity.commitCrime() relates to committing a crime, not creating a program.  Fixes #4127.
2022-09-23 20:01:21 +10:00
hydroflame
b8f8246294
Merge pull request #4134 from Shiiyu/dev
MISC: FIX #3649 Preventing server starting security level from going above 100
2022-09-23 03:42:09 -03:00
Shiiyu
e1bff8bcb1 fix: 🐛 fix server minimum difficulty changing when server starting difficulty is capped 2022-09-23 02:39:58 -04:00
Shiiyu
cf11612abc style: 🎨 fix - forgot to run format first 2022-09-23 02:07:32 -04:00
Olivier Gagnon
66e80b2efa Added more info about blood program, change some aug descriptions 2022-09-23 01:13:37 -04:00
Shiiyu
ecaa906682 fix: 🐛 fix server starting security going above 100 2022-09-23 00:42:47 -04:00
hydroflame
2a43b90ed3
Merge pull request #4039 from ezylot/patch-1
GANG: Added weight to GangMemberTask construction call
2022-09-23 01:15:29 -03:00
Olivier Gagnon
fde4e7ac38 fix 2962 2022-09-23 00:13:06 -04:00
hydroflame
944ee71ab9
Merge pull request #4065 from Snarling/sleeveBladeContractFix
SLEEVES: FIX #4063 fix crash when player tries to assign more than 3 sleeves to Bladeburner contracts
2022-09-23 00:59:46 -03:00
hydroflame
5101b345ec
Merge pull request #4069 from Mughur/corp
API: Corp functions now return copy of constant arrays instead of the original
2022-09-23 00:58:32 -03:00
hydroflame
ee67aa90f9
Merge pull request #4131 from Mughur/valuation
CORPORATION: Gave investors some economics classes
2022-09-23 00:58:06 -03:00
hydroflame
ed14f2a4d7
Merge pull request #4072 from Snarling/exitExits
NETSCRIPT: FIX #2376 ns.exit now exits immediately
2022-09-23 00:57:15 -03:00
hydroflame
b139d689a5
Merge pull request #4103 from G4mingJon4s/dev
Fix for #2442 and #2795.
2022-09-23 00:56:40 -03:00
Olivier Gagnon
2a0dd6b6f8 Minor improvements to Netscript Port loading and unloading 2022-09-22 23:55:16 -04:00
hydroflame
0044761fd3
Merge pull request #4073 from Hoekstraa/unlimited-ports
API: More ports (previously max 20, now practically unlimited)
2022-09-23 00:51:50 -03:00
hydroflame
a8e640e309
Merge pull request #4084 from Rasmoh/expose_exports
CORPORATION API: FIX #3655 Expose exports from Material
2022-09-23 00:46:28 -03:00
Olivier Gagnon
4f64d3eeb1 use triple equal 2022-09-22 23:45:00 -04:00
hydroflame
9f922de50d
Merge pull request #4101 from Kelenius/UnhardcodeBBAndCorpDisabling
UI: Bitnode stats now show if BB/Corporation are disabled
2022-09-23 00:43:19 -03:00
hydroflame
23c889bafd
Merge pull request #4074 from phyzical/hotfix/4058
CORP API: Fix up param order for limitProductProduction to match docs
2022-09-23 00:36:24 -03:00
hydroflame
5d6eed2b4d
Merge pull request #4082 from Snarling/tailRamExploitFix
SCRIPTS: FIX #4081 Rerunning a script from tail window recalculates ram usage
2022-09-23 00:35:26 -03:00
hydroflame
e65a00daef
Merge pull request #4088 from Kelenius/BladeburnerUIExtraLinesRemoval
UI: Removed three empty lines from BB status screen
2022-09-23 00:34:47 -03:00
hydroflame
e647ebb00f
Merge pull request #4085 from hex7cd/bn7-descr-fix
UI: Add missing space to BN7 description
2022-09-23 00:34:37 -03:00
hydroflame
e49bd3d091
Merge branch 'dev' into feature/add-back-api-export 2022-09-23 00:34:19 -03:00
hydroflame
34534ac282
Merge pull request #4093 from coderanger/sleeve-heal
SLEEVES: FIX #3819 Allow using the regeneration chamber with sleeves to heal them.
2022-09-23 00:33:16 -03:00
hydroflame
c449680256
Merge pull request #4104 from Mughur/dev
MISC: multiple hasAugmentation checks didn't check if the augment was installed
2022-09-23 00:32:16 -03:00
hydroflame
7749b17a45
Merge pull request #4120 from SilverNexus/dev
UI: FIX #4106 Fix incorrect experience display in Crime UI.
2022-09-23 00:31:00 -03:00
Mughur
d4c06eba24 Change corporatio valuation calculations 2022-09-23 05:05:18 +03:00
hydroflame
cc78d62b26
Merge pull request #4121 from phyzical/bugfix/4096
API FIX: getCrimeStats use bitnode multipliers in the output of crime stats
2022-09-22 18:22:54 -03:00
phyzical
4175960fc6
use bitnode multiplers in the output of crime stats 2022-09-20 17:56:05 +08:00
SilverNexus
10a2f180ce Fix #4106 -- Crime EXP is exactly One Fifth? 2022-09-19 20:23:26 -04:00
Mughur
4c5adc8dfb More hasAugmentation fixes 2022-09-14 21:21:49 +03:00
Mughur
75c738cdb0 Fixed NMI aug having effect before installing 2022-09-14 20:54:03 +03:00
G4mingJon4s
22a35af6b6 Added hover style change for better recognition 2022-09-14 15:59:55 +02:00
Mughur
4b859131b4 TRP message is sent only after installing 2022-09-14 16:14:32 +03:00
Mughur
d16576f3a7 TRP message is sent only after installing 2022-09-14 15:49:50 +03:00
G4mingJon4s
c29b4cfda9 Fixes #2795, adding better underlines for links 2022-09-13 20:09:58 +02:00
G4mingJon4s
015fb46703 Fix for #2442, allowing going forward in tutorial 2022-09-13 17:58:47 +02:00
Kelenius
5350e1c3e9 Unhardcoded BN8 BB check; show if corp/BB are disabled in BN stats 2022-09-12 17:48:52 +03:00
Noah Kantrowitz
e4961f452e ✏️ Copy paste typo. 2022-09-10 17:52:06 -07:00
Noah Kantrowitz
232dcab5cd Reset sleeves to max HP when starting a new node. 2022-09-10 17:44:50 -07:00
Noah Kantrowitz
596a04515d Allow using the regeneration chamber with sleeves to heal them.
This also allows using sleeves to generate stamina faster even if at full HP.
2022-09-10 17:39:40 -07:00
Kelenius
aeedcad96d Removed three empty lines from BB status screen 2022-09-07 13:12:40 +03:00
phyzical
ca2f1a62a5
add singularity function for exporting game save 2022-09-07 16:11:51 +08:00
Simon Schuck
0ffde31712
Add missing space to BN7 description
Before: allows you to access Bladeburnersfunctionality through
After: allows you to access Bladeburners functionality through
2022-09-06 06:27:33 +02:00
Rasmoh
cc0fd197c5 Expose exports from Material 2022-09-05 17:25:32 -07:00
Snarling
a600e05c0d Fix typo 2022-09-05 08:29:03 -04:00
Snarling
51d019c16c Decache Ram on Tail Run 2022-09-05 08:19:24 -04:00
Zoë Hoekstra
c7573cd97b
Remove unused imports. 2022-09-02 19:19:00 +02:00
Zoë Hoekstra
335eab0f14
tryWritePort now also uses helper function 2022-09-02 19:14:56 +02:00
phyzical
2a8ddb8147
fix up param order to match docs
hotfix/4058

File List:
src/NetscriptFunctions/Corporation.ts
2022-09-02 11:58:12 +08:00
Zoë Hoekstra
d6e5b45db1
Delete now outdated comment 2022-09-01 16:53:58 +02:00
Zoë Hoekstra
10a1c2f00d
Lower limit to MAX_SAFE_INTEGER 2022-09-01 16:33:31 +02:00
Zoë Hoekstra
55df97d3d5
Format 2022-09-01 16:27:31 +02:00
Zoë Hoekstra
ec81fb60c3
Create ports on demand. Increase max to infinity. 2022-09-01 16:13:10 +02:00
Snarling
137f58c36d actually exitOnExit 2022-09-01 08:37:59 -04:00
Snarling
1be015898c exitExits 2022-09-01 08:23:31 -04:00
Olivier Gagnon
2592c6ccd8 allbuild commit 87054f61 2022-08-31 12:26:02 -04:00
Mughur
c467a49a38 corp functions now return copy instead of original 2022-08-31 12:05:36 +03:00
Snarling
e8c8bb76ff Don't let sleeve start invalid contract 2022-08-30 09:26:24 -04:00
Olivier Gagnon
2675fd23ec fix stack trace missing in some errors 2022-08-29 18:14:54 -04:00
Olivier Gagnon
c9a0998cc1 Improve wrong arg user message and add ui.windowSize 2022-08-29 18:07:17 -04:00
Olivier Gagnon
759de85559 Fix unique key problem with ascii elements 2022-08-29 16:59:38 -04:00
Olivier Gagnon
c88ac1c26e fix some stuff with the timestamp settings 2022-08-29 16:47:51 -04:00
Olivier Gagnon
e57fee00d2 fix some stuff with the timestamp settings 2022-08-29 16:45:07 -04:00
Olivier Gagnon
3fe6a6e19d fix settings unfocusing on every key stroke 2022-08-29 16:36:08 -04:00
Olivier Gagnon
fb372bef54 fix documentation for remote api 2022-08-29 15:57:37 -04:00
Olivier Gagnon
b5a2319df7 Refactor game options into separate components 2022-08-29 15:56:38 -04:00
Olivier Gagnon
f07a29c73b fix dynamic ram miscalc not triggering 2022-08-29 15:26:34 -04:00
Olivier Gagnon
04f811276a allbuild commit a0475cc6 2022-08-29 10:35:30 -04:00
hydroflame
a0475cc630
Merge pull request #4049 from MPJ-K/dev
NETSCRIPT: FIX #3963 Prevent bladeburner.setActionLevel from setting invalid action levels
2022-08-29 11:20:28 -03:00
hydroflame
69f6ca364f
Merge pull request #4040 from Mughur/dev
DOCS, UI: update docs a bit more, amending some BN and SF texts
2022-08-29 11:20:10 -03:00
hydroflame
44ab53653f
Merge pull request #4041 from Mughur/sleeve
SLEEVE: FIX #4022, #4024, #4025, #3998
2022-08-29 11:18:01 -03:00
hydroflame
c2796e164a
Merge pull request #4052 from Snarling/ns1wrapper
NETSCRIPT: FIX #4037 ns1 wraps deeper layers correctly.
2022-08-29 11:14:32 -03:00
Olivier Gagnon
0942b7b6ee minor fix in instance calculation 2022-08-29 10:06:20 -04:00
hydroflame
2f7463d092
Merge pull request #4062 from Snarling/sleevesQuitToo
SLEEVES: FIX #4051 Sleeves no longer crash when player quits company sleeve was working
2022-08-29 11:05:27 -03:00
hydroflame
6fc729ddfb
Merge pull request #4060 from ezylot/patch-2
INFILTRATION: Corrected ns formula for infiltration rewards
2022-08-29 11:04:11 -03:00
hydroflame
de12893da6
Merge pull request #4056 from Snarling/dynamicRamCheckFix
NETSCRIPT: FIX #4055 Fix dynamic ram check
2022-08-29 10:57:33 -03:00
Snarling
9d942f3393 sleevesActuallyQuitToo 2022-08-29 04:12:02 -04:00
Snarling
c2af87a769 sleevesQuitToo 2022-08-29 04:02:38 -04:00
Florian Schöffl
282dc28c8d
INFILTRATION: Corrected ns formula for infiltration rewards
In commit 
7c5097ee83d9e2d185960a9c96739a78981bd600 the author extracted the functionality for infiltration rewards into a NS function and made it accessible via formulas.

The exposed function does however not use the same input parameters as the Victory screen after infiltration since he uses the difficulty and not the starting difficulty.

Difficulty is clamped to [0;3], so the formulas api showed for high difficulty servers a vastly lower result.
2022-08-29 02:35:39 +02:00
Zoë Hoekstra
793255aecd
Remove replacement of "export " to "" 2022-08-28 22:39:01 +02:00
Snarling
185549e7e4 fix dynamic ram check 2022-08-28 07:44:41 -04:00
Mughur
cf09057836 BB action rewards now tied to who does the action 2022-08-28 13:20:27 +03:00
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
Aerophia
954710bf54
Update AugmentationsPage.tsx 2022-07-25 18:53:34 -05:00
Aerophia
d0938bba06
Update AugmentationsPage.tsx 2022-07-25 18:49:08 -05:00
Aerophia
5cc54a8a34
Add files via upload 2022-07-25 18:40:00 -05:00
Aerophia
7474e50fe8
Add files via upload 2022-07-25 18:35:43 -05:00
Aerophia
7c8c94d808
Add files via upload 2022-07-22 12:32:10 -05:00
Aerophia
c2ffb09514
Update Singularity.ts 2022-07-22 12:28:51 -05:00
Aerophia
1f918011dc
Update Singularity.ts 2022-07-22 12:16:48 -05:00
Aerophia
2ad978d8f4
Create Singularity.ts 2022-07-22 12:09:36 -05:00
Aerophia
dad4fcc25e
Update Singularity.ts 2022-07-22 12:09:01 -05:00
Aerophia
2907128291
Update Singularity.ts 2022-07-22 12:07:23 -05:00
Aerophia
757711ce5b
Update Singularity.ts 2022-07-22 10:29:40 -05:00
Olivier Gagnon
c37d78457c Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-07-21 19:37:09 -04:00
Olivier Gagnon
1d46adbce1 allbuild commit fc0fef59 2022-07-21 19:37:05 -04:00
hydroflame
9e25833796
Merge pull request #3606 from RevanProdigalKnight/feature/enhanced-terminal-argument-parsing
MISC: #3596 Enhanced terminal command parsing
2022-07-21 18:36:54 -04:00
Olivier Gagnon
fc0fef598b Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-07-21 18:27:27 -04:00
Olivier Gagnon
631d6ef04a fix few bugs 2022-07-21 18:27:23 -04:00
hydroflame
b66d7e7d51
Merge branch 'dev' into FIX#3366 2022-07-21 16:17:08 -04:00
Olivier Gagnon
590bc37db0 Fix typo in net def 2022-07-21 15:33:50 -04:00
Olivier Gagnon
7f20dc2ee8 fix getPossibleInfiltrations not returning enough info and fix donation saying Invalid input before unlocking 2022-07-21 15:32:54 -04:00
Olivier Gagnon
5c551348ed fix some React errors 2022-07-21 15:24:03 -04:00
Olivier Gagnon
2d522ea1e6 allbuild commit e9254edf 2022-07-21 15:09:55 -04:00
Olivier Gagnon
e9254edf5d crime consume all their time at once 2022-07-21 14:36:29 -04:00
Olivier Gagnon
e55a3f39d4 allbuild commit 6498a720 2022-07-21 02:54:12 -04:00
Olivier Gagnon
6498a720bb Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-07-21 02:42:52 -04:00
Olivier Gagnon
693baf26df add sleeve aug price and rep function 2022-07-21 02:42:48 -04:00
hydroflame
74a8ce1a76
Merge pull request #3759 from Markus-D-M/contracts_encryption
MISC Two new encryption themed contracts - caesar and vigenere
2022-07-21 02:33:52 -04:00
hydroflame
68ecc9613c
Merge pull request #3739 from borisflagell/FIX#3732-v2
API: FIX#3732  Cannot assign two sleeve on "Take on contracts" regardless of contract type.
2022-07-21 02:31:12 -04:00
hydroflame
8f7bbaf62c
Merge pull request #3723 from borisflagell/FIX#3132
UI: Fixes #3132 several Sleeve can no longer works concurrently in the same company
2022-07-21 02:27:59 -04:00
hydroflame
2fd3451780
Merge pull request #3724 from borisflagell/FIX#3661
API: Fix #3661 Add missing memory property to Sleeve API
2022-07-21 02:26:55 -04:00
hydroflame
10af7ddac7
Merge pull request #3700 from Daniel-Barbera/dev
UI: FIX #3514 Clear recently killed tab on BN end event
2022-07-21 02:19:26 -04:00
hydroflame
a48ae726ba
Merge pull request #3778 from s2ks/hamming
CODINGCONTRACT: HammingCodes description and implementation fixes
2022-07-21 02:16:35 -04:00
hydroflame
3b5d78792b
Merge pull request #3760 from nickofolas/fix/corporation-nformat
CORPORATION: Fix #3261 Industry overview number formatting
2022-07-21 02:15:46 -04:00
hydroflame
5d3955de50
Merge pull request #3795 from borisflagell/FIX#3794
SLEEVE: FIX #3794 Sleeve were getting less shocked when hospitalized (was positive, should have detrimental)
2022-07-21 02:15:17 -04:00
hydroflame
a513a842e3
Merge pull request #3797 from Ansopedian/dev
BUGFIX: Singularity.goToLocation support for non-city-specific locations
2022-07-21 02:14:42 -04:00
Olivier Gagnon
43b8cfec5c fix test suite 2022-07-21 02:13:47 -04:00
Olivier Gagnon
d01fd55bde lint fmt 2022-07-21 01:58:47 -04:00
hydroflame
2772511525
Merge pull request #3779 from borisflagell/CorpoNumeral
CORPORATION: Add big number format support in some Corporation's modal
2022-07-21 01:42:35 -04:00
hydroflame
0d95533470
Merge pull request #3810 from Undeemiss/multi-hash-sell
BLADEBURNER: Add batch functionality to NS spendHashes API
2022-07-21 01:39:02 -04:00
hydroflame
9946a2a667
Merge pull request #3841 from crimsonhawk47/fix-ip-exists-function
BUGFIX: Fix #3803 Servers can no longer have duplicate IPs
2022-07-21 01:33:35 -04:00
hydroflame
ab674980bd
Merge pull request #3852 from TheCrazyT/dev
BLADEBURNER: FIX reduce redundant code in Bladeburner.tsx
2022-07-21 01:32:44 -04:00
hydroflame
d2c92c4116
Merge pull request #3881 from evil-tim/ctrl-c-bash-hotkey
UI: Fix #3854 ctrl+c does not clear terminal input
2022-07-21 01:27:03 -04:00
Olivier Gagnon
207e55c7b8 add colon x to vim mode 2022-07-21 01:25:43 -04:00
Olivier Gagnon
ec17cfdaf3 merge corp not async 2022-07-20 17:27:11 -04:00
Olivier Gagnon
ef42ee7232 few more api break 2022-07-20 17:03:08 -04:00
Staszek Welsh
75a9151e74 Merge branch 'dev' into corp-remove-async 2022-07-20 21:12:27 +01:00
Olivier Gagnon
94aa547459 more api break sad 2022-07-20 15:14:26 -04:00
hydroflame
17c2f06ae0
Merge pull request #3802 from stalefishies/corp-dividends
CORPORATION: (BREAKING) Dividend fixes and exposing dividends info via scripts
2022-07-20 15:08:41 -04:00
Olivier Gagnon
4f86bc644c fix faction work not working correctly 2022-07-20 15:08:04 -04:00
Olivier Gagnon
c9b9c2c55b merge dev 2022-07-20 12:16:42 -04:00
Olivier Gagnon
8312710b0d fix contracts 2022-07-20 11:50:26 -04:00
Olivier Gagnon
894929efdb fix ustring issue 2022-07-20 11:41:02 -04:00
Olivier Gagnon
e0a24cf381 fix args not beign passed to scripts 2022-07-20 11:34:49 -04:00
Olivier Gagnon
28b9c821d2 fix few as any 2022-07-20 02:36:21 -04:00
Olivier Gagnon
49f6fda1e4 remove last colon any for now 2022-07-20 01:48:54 -04:00
Olivier Gagnon
0e74b1a5d6 remove last colon any for now 2022-07-20 01:37:41 -04:00
Olivier Gagnon
b4e5829cf8 rm unused arg 2022-07-20 01:21:07 -04:00
Olivier Gagnon
4518eabc29 Remove some any and add getAugmentationBasePrice 2022-07-20 01:20:11 -04:00
Olivier Gagnon
ceb9fa1249 fix more any 2022-07-20 01:13:06 -04:00
Olivier Gagnon
71d8e35bb5 more anys 2022-07-19 23:26:21 -04:00
Olivier Gagnon
30291f7899 build fix for player in formulas 2022-07-19 23:05:46 -04:00
Olivier Gagnon
f220965a73 more anys 2022-07-19 22:54:38 -04:00
Olivier Gagnon
ce2ebf576e fix an any 2022-07-19 22:44:45 -04:00
Olivier Gagnon
83c26903c0 add argument for commitCrime focus 2022-07-19 22:30:07 -04:00
Olivier Gagnon
810f3a87b9 rm more anys 2022-07-19 21:53:43 -04:00
Olivier Gagnon
26986c2d3e fix work crashing when installing 2022-07-19 21:42:54 -04:00
Olivier Gagnon
96654d4c0a rm some anys 2022-07-19 21:38:50 -04:00
Olivier Gagnon
dfadfe6eb2 working with monaco anys 2022-07-19 20:10:30 -04:00
Olivier Gagnon
0c07dddb36 fix a bunch of any in NetDef 2022-07-19 19:20:14 -04:00
Olivier Gagnon
0848d2fdaa fix 2 any 2022-07-19 19:08:22 -04:00
Olivier Gagnon
70d5390e4d most anys in NetFunc 2022-07-19 19:04:06 -04:00
Olivier Gagnon
7dacf947bd one more 2022-07-19 18:30:59 -04:00
Olivier Gagnon
c3a10d5d95 fix more anys 2022-07-19 18:25:06 -04:00
Olivier Gagnon
2442402af5 fix more anys 2022-07-19 16:46:03 -04:00
Olivier Gagnon
22c6a10eae rm console log 2022-07-19 14:29:01 -04:00
Olivier Gagnon
bb8af88b77 prep v2 2022-07-19 14:21:12 -04:00
Olivier Gagnon
b409e58447 fix exp not loading, kinda 2022-07-19 13:09:56 -04:00
Olivier Gagnon
c977a9def7 tidy up eslint.js 2022-07-19 12:19:32 -04:00
Olivier Gagnon
a9d5ff9bc9 lint 2022-07-18 03:31:17 -04:00
Olivier Gagnon
7455b80466 fix any in CotMG helper 2022-07-18 03:26:07 -04:00
Olivier Gagnon
55c5190986 fix any in BaseServer 2022-07-18 03:20:11 -04:00
Olivier Gagnon
8773b8e18d fix any in determineAllPossibilitesForTabCompletions 2022-07-18 03:19:10 -04:00
Olivier Gagnon
6afeb6972f fix any in IBladeburner 2022-07-18 03:16:36 -04:00
Olivier Gagnon
ceed844523 fix any in Console 2022-07-18 03:13:31 -04:00
Olivier Gagnon
9057bcc8fb fix any in StatsElement 2022-07-18 03:11:49 -04:00
Olivier Gagnon
fbd6b1b28c fix any in NetscriptPorts 2022-07-18 03:09:19 -04:00
Olivier Gagnon
7195c1b540 fix any in AllServers 2022-07-18 03:06:17 -04:00
Olivier Gagnon
691770fa9b fix any in SkillPage 2022-07-18 03:04:58 -04:00
Olivier Gagnon
40ad1a4758 fix any in SkillElem 2022-07-18 03:03:07 -04:00
Olivier Gagnon
91ca43707a fix any in INetscriptHelper 2022-07-18 03:01:55 -04:00
Olivier Gagnon
610bcd6315 fix any in NetscriptPort 2022-07-18 03:00:51 -04:00
Olivier Gagnon
5c3ecb9a23 fix any in PromptManager 2022-07-18 02:59:04 -04:00
Olivier Gagnon
aacdde8082 fix any in StatsTable 2022-07-18 02:57:11 -04:00
Olivier Gagnon
97c5332a59 fix any in LogBoxManager 2022-07-18 02:53:01 -04:00
Olivier Gagnon
ae54092334 fix any in CharacterStats 2022-07-18 02:47:11 -04:00
Olivier Gagnon
88d9a76b04 yet another any 2022-07-18 02:43:59 -04:00
Olivier Gagnon
e9788536ed yet another any 2022-07-18 02:36:51 -04:00
Olivier Gagnon
5f229c9c67 yet another any 2022-07-18 02:33:21 -04:00
Olivier Gagnon
97105b8e76 rm another any 2022-07-18 02:31:09 -04:00
Olivier Gagnon
1b90b42881 rm more any 2022-07-18 02:28:21 -04:00
hydroflame
cfcdc254c9
Merge pull request #3907 from oddiz/patch-1
GANG: Removed a console.log
2022-07-16 17:23:19 -04:00
hydroflame
c5518d9d02
Merge pull request #3910 from faangbait/patch-1
fix for #3909
2022-07-16 17:23:07 -04:00
Olivier Gagnon
ced37e3731 allbuild commit 6b18bfb1 2022-07-16 01:18:56 -04:00
hydroflame
f339e49aa7
Merge pull request #3787 from Undeemiss/bladeburner-multi-upgrade
BLADEBURNER: Added bulk upgrades to upgradeSkill NS API
2022-07-15 23:40:55 -04:00
Olivier Gagnon
5b8eea66d4 rm some any 2022-07-15 23:34:27 -04:00
faangbait
3b59f07f88
fix for #3909
#3909 

I can't compile electron right now, but I think this ought to fix it.
2022-07-15 10:20:30 -05:00
Kaan Şarkaya
854bfcd29a
GANG: Removed console.log
As a player who relies on debug console for script output, this console.log is pretty annoying since it prints frequently.
2022-07-15 13:10:57 +03:00
Olivier Gagnon
59e55de9ca fix all function being async lmao 2022-07-15 02:11:06 -04:00
Olivier Gagnon
1d4d86719e rm any 2022-07-15 01:58:00 -04:00
Olivier Gagnon
4bee746576 rm any 2022-07-15 01:51:30 -04:00
Olivier Gagnon
86c0913bd3 rm some any 2022-07-14 23:03:54 -04:00
Olivier Gagnon
8fe824e8cd allbuild commit c9432e4c 2022-07-14 22:02:49 -04:00
Olivier Gagnon
e58456cd6b allbuild commit 0b22e87e 2022-07-14 21:59:23 -04:00
Olivier Gagnon
c9432e4cd7 rm any 2022-07-14 21:54:49 -04:00
Olivier Gagnon
a0994a088c rm any 2022-07-14 19:09:21 -04:00
Olivier Gagnon
6a11998427 nuke more any 2022-07-14 19:07:10 -04:00
Olivier Gagnon
dd7ceeefdd rm a any 2022-07-14 19:02:59 -04:00
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
a5088f1136 Merge branch 'dev' into work 2022-07-14 16:43:26 -04:00
Olivier Gagnon
00ddeb751c Make tail box display ANSII colors 2022-07-14 16:34:42 -04:00
Olivier Gagnon
ad098e1f05 refactor ANSII colors into it's own component 2022-07-14 16:25:20 -04:00
Olivier Gagnon
28956d8fd6 make crime unfocusable 2022-07-14 15:53:42 -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
598e47766e convert company work to new work system 2022-07-12 22:43:03 -04:00
Olivier Gagnon
2d73f546b0 lint and remove unused var 2022-07-12 01:59:23 -04:00
Olivier Gagnon
f7805c4a51 convert faction work to new work system 2022-07-12 01:54:19 -04:00
Olivier Gagnon
e86a42716c lint 2022-07-11 15:58:23 -04:00
Olivier Gagnon
606f1bf6c4 create program and grafting done 2022-07-10 01:37:36 -04:00
s2ks
b27e7d00fe format 2022-07-08 01:37:42 +02:00
s2ks
063da8aa60 fetch latest from upstream 2022-07-08 01:35:20 +02:00
Olivier Gagnon
647392626e convert taking class ot new work system 2022-07-07 17:28:23 -04:00
Olivier Gagnon
24b6eb4d56 make workinprogress crime 2 digit precision 2022-07-07 02:03:02 -04:00
Olivier Gagnon
3ee7d593d0 Convert crime to new work model 2022-07-07 02:00:23 -04:00
James Villegas
6d8a3e192b Update ctrl+c hotkey to print current text to terminal without executing it to mimic real terminal behavior 2022-07-07 08:11:34 +08:00
hydroflame
7d263e4223
Merge pull request #3889 from stalefishies/purchase-aug-fix
MISC: Add faction membership check to singularity.purchaseAugmentation
2022-07-06 15:35:53 -04:00
hydroflame
f706b48db8
Merge pull request #3872 from ilkecan/add-options-shortcut
UI: Add a keyboard shortcut to switch to Options page
2022-07-06 14:39:25 -04:00
hydroflame
fb31903966
Merge pull request #3873 from ilkecan/createProgram-cancel-message
createProgram: FIX #3846 Return correct message
2022-07-06 14:38:38 -04:00
hydroflame
e5ecf1b502
Merge pull request #3793 from Nezrahm/dev
HACKNET: Make hashnet perfectly convert overflow
2022-07-06 14:38:13 -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
b067e05738
Merge pull request #3813 from stalefishies/doc-fix
DOCUMENTATION: FIX #2602 Remove incorrect info from getHackTime and friends
2022-07-06 14:33:40 -04:00
hydroflame
eeb01b77d6
Merge pull request #3834 from stalefishies/types-fix
MISC: FIX #3831 Fix NS declarations with incorrect script arg types
2022-07-06 14:31:44 -04:00
hydroflame
c8075ba809
Merge pull request #3858 from douweschulte/dev
Small docs and help updates
2022-07-06 14:30:05 -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
hydroflame
ee9cdee512
Merge pull request #3866 from ilkecan/parameterize-script-extension
TUTORIAL: Remove the hardcoded script extension
2022-07-06 14:26:40 -04:00
Olivier Gagnon
b592784712 update donation counter 2022-07-06 12:38:11 -04:00
hydroflame
0d5ce06d4d
Merge pull request #3697 from borisflagell/#3669
STANEK: FIX #3669 Clearing stanek grid using API could crash the page.
2022-07-06 12:37:15 -04:00
Staszek Welsh
395b583905 Add faction membership check to singularity.purchaseAugmentation 2022-07-04 23:44:58 +01:00
James Villegas
6c026e6d5c Ignore ctrl+c bash hotkey if user has selected text to allow copying 2022-07-03 12:18:47 +08:00
James Villegas
9efb209ea3 Implement ctrl+c bash hotkey to clear current input 2022-07-03 11:49:45 +08:00
Snarling
9cb58898f2 Add ilkecan fix for part time work 2022-06-29 15:03:34 -04:00
ilkecan
adda3d68cd createProgram: Return correct message
It doesn't return completion message upon cancellation anymore.
2022-06-29 02:01:01 +00:00
ilkecan
9f8c567d4c Add a keyboard shortcut to switch to Options page 2022-06-29 00:33:39 +00:00
ilkecan
44118c8a72 Remove the hardcoded script name 2022-06-28 23:48:07 +00:00
ilkecan
415ae8ee59 Remove the hardcoded tutorial script extension
Parameterized it according to the chosen NS version.
2022-06-26 20:33:01 +00:00
Douwe Schulte
934a72b94c
Fix Nitpick: scan-analyze description displays with an html tag when doing help #3843 2022-06-22 14:06:05 +02:00
Douwe Schulte
d472c1239b
Missing link to used library in tprintf 2022-06-22 12:37:46 +02: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
Snarling
7acb83ba77 Fix backwards logic on quitJob 2022-06-16 07:44:32 -04:00
Gabriel Hawk
60c6536f8e npm format 2022-06-13 01:13:36 -05:00
Gabriel Hawk
1e2e42af75 ipExists acceses server list correctly 2022-06-13 01:07:21 -05:00
Staszek Welsh
d2d76d40e0 npm run format 2022-06-10 20:03:43 +01:00
Staszek Welsh
ecc56213bc Fix function declarations with incorrect script arg types 2022-06-10 19:54:11 +01:00
BB
de01ae20b9 Fixed some typos and style issues 2022-06-07 15:26:33 +02:00
Staszek Welsh
53743ecb7d Change UI arrows 2022-06-03 22:16:03 +01:00
Staszek Welsh
6c73ea44ef Remove potentially spoilery comments about Hacknet Servers from ns docs 2022-06-03 02:20:35 +01:00
Staszek Welsh
144a56e6e0 Remove incorrect doc comment about second arguments for getHackTime and friends 2022-06-03 02:18:06 +01:00
Staszek Welsh
052aa33f0c Remove debug console.logs 2022-06-03 00:27:05 +01:00
Staszek Welsh
eb71097006 Fix bug where NaNs can leak into product creation productivities 2022-06-03 00:19:43 +01:00
Staszek Welsh
02b07bb332 Fix relevant linter errors and run formatter 2022-06-02 22:54:50 +01:00
Staszek Welsh
b29c8e0039 Stop potential exploit where you switch employees around right before a product finishes 2022-06-02 22:11:34 +01:00
Staszek Welsh
1ed19168f6 Use nicer arrows and alignment in office UI 2022-06-02 17:47:31 +01:00
Staszek Welsh
333975ecf6 Move buy coffee button to office UI section 2022-06-02 14:49:52 +01:00
Staszek Welsh
ba7b76369b Remove industry upgrades
There are only two industry upgrades, one of which is buying coffee
which is not an upgrade, and for the office not the industry. Moving
that to the office leaves just hiring AdVerts, which is better as an
explicitly named set of methods.
2022-06-02 02:43:22 +01:00
Staszek Welsh
18a80d3fe9 Stop potential exploit where you could cheat at coffee/party prices 2022-06-02 00:07:34 +01:00
Staszek Welsh
9ffec86b58 Make buy coffee UI reflect if we're buying coffee 2022-06-02 00:00:30 +01:00
Staszek Welsh
fe83ca0f3f Make throw party UI reflect if we're throwing a party 2022-06-01 23:45:29 +01:00
Staszek Welsh
04efd899a0 Remove async from buyCoffee and throwParty 2022-06-01 23:36:15 +01:00
Staszek Welsh
ffaa38d086 Unify code paths for buying coffee and throwing parties 2022-06-01 23:26:32 +01:00
Staszek Welsh
1ba5902e1e Stop auto employee buttons moving around when the numbers change 2022-06-01 18:34:24 +01:00
Staszek Welsh
7d3a43f7b5 Remove async from employee assignment functions 2022-06-01 18:18:53 +01:00
Staszek Welsh
b9356ea782 Only switch employee jobs at the start of corp cycles 2022-06-01 18:11:33 +01:00
Staszek Welsh
df98bcc748 Remove unnecessary check in corporation.unlock 2022-06-01 13:03:32 +01:00
Staszek Welsh
eb46e4d156 Rename getDividends to getCycleDividends for clarity 2022-06-01 12:59:45 +01:00
Undeemiss
6ba171b0c3 Unknown-ify count parameters 2022-05-31 21:27:04 -05:00
Undeemiss
1bbb0610ab Fix bug where player not refunded hashes for invalid server targets 2022-05-31 21:20:13 -05:00
Undeemiss
620e6986aa Remove unnecessary refund for nonexistent hash upgrades 2022-05-31 21:15:29 -05:00
Undeemiss
f0dc532513 Add optional count parameter to hashCost and spendHashes 2022-05-31 21:13:03 -05:00
Staszek Welsh
4a3558098c Fix error check in issueDividends expecting 0-100 when it actually takes 0-1 2022-05-30 22:31:51 +01:00
Staszek Welsh
74e4a32f13 Fix shareholder earnings in UI being per cycle instead of per sec 2022-05-30 22:24:52 +01:00
Staszek Welsh
c117b55df9 Expose dividend info through ns.corporation.getCorporation() 2022-05-30 22:21:27 +01:00
Staszek Welsh
e28fe3e31d Use stored corporation.dividendTax in the dividend tax calculation 2022-05-30 22:05:05 +01:00
Staszek Welsh
8d474a7610 Change corporation.dividendPercentage to corporation.dividendRate 2022-05-30 21:45:36 +01:00
Ansopedian
d319b3f982 added singularity.goToLocation support for non-city-specific locations 2022-05-30 14:23:06 +02:00
borisflagell
2f1d47b466 SLEEVE: FIX #3794 2022-05-29 21:17:04 +02:00
Nezrahm
178015a140 Make hashnet perfectly convert overflow 2022-05-29 20:10:25 +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
s2ks
3a55e3b9ad Merge branch 'dev' into hamming 2022-05-28 15:31:46 +02:00
s2ks
f066c0f01e correct size calculation 2022-05-28 15:27:32 +02:00