Commit Graph

5277 Commits

Author SHA1 Message Date
Snarling
b8496b4c2c remove duplicate handling 2022-09-27 15:34:48 -04:00
Snarling
74be61cbdd remove unnecessary return 2022-09-27 15:34:48 -04:00
Snarling
caf1a99c1d More reliable error message for ScriptDeaths 2022-09-27 15:34:48 -04:00
Snarling
ad356cf28f format/lint 2022-09-27 15:34:48 -04:00
Snarling
572c68738f Unify error handling 2022-09-27 15:34:47 -04:00
Snarling
5798c4c7d3 Unify error handling 2022-09-27 15:32:09 -04:00
hydroflame
8f4636cbb4
Merge pull request #4166 from Snarling/ns1wrapfix
NETSCRIPT: NS1 wrapper no longer fails to properly wrap some functions
2022-09-27 14:36:27 -03:00
Olivier Gagnon
c94f6c1758 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-09-27 13:35:56 -04:00
Olivier Gagnon
2fc17423ff Improve the robustness of the tutorial. 2022-09-27 13:35:51 -04:00
Snarling
21f7b7ad06 Fix ns1 Wrapper 2022-09-27 00:03:16 -04:00
Mughur
c462da9147
Double checking small fixes would be a good idea 2022-09-27 05:02:12 +03:00
Snarling
d55d7a05be Revert "Fix ram usage of scp-overwritten files"
This reverts commit 3dbc848098f10545d66a5dbf9d18b3d286953154.
2022-09-26 10:44:57 -04:00
Snarling
21c919c030 Fix react error in ASCIICity 2022-09-26 10:39:09 -04:00
Duck McSouls
819e102fe1 CCT: no special characters in file names of Coding Contracts
Fixes #4067.  The file name of a Coding Contract follows the format contract-xxx-rewardName.cct.  The part `xxx` means a sequence of random decimal digits.  The part `rewardName` can be an empty string if the player is not part of any faction nor is working for a company.  However, if the player is working for a company or faction whose name has a special character, then the special character would also appear in the generated file name.  We only want alphanumeric characters throughout the whole file name.
2022-09-27 00:01:21 +10:00
Snarling
3dbc848098 Fix ram usage of scp-overwritten files 2022-09-26 09:31:49 -04:00
Mughur
1ee292bde9
CORP: fixed wrongly named division type
"Computer" division type was erroneously named "Hardware"
2022-09-25 06:19:18 +03:00
LJNeon
a464563e1c
chore(ScriptEditor): Remove extra / from files in a folder 2022-09-23 19:23:54 -07:00
hydroflame
69eda4340e
Merge pull request #4146 from LJNeon/office-size-fix
CORPORATION: Don't show repeat office size upgrade button
2022-09-23 16:20:48 -03:00
Olivier Gagnon
a3c92dd04d Wrap up v2.1.0 2022-09-23 15:00:20 -04:00
LJNeon
4aed5da4ee
feat(corp): don't show repeat office size upgrade button 2022-09-23 11:38:58 -07:00
Olivier Gagnon
f43d232928 upgrade version number. 2022-09-23 12:52:30 -04:00
Olivier Gagnon
6390f3618e Added few augs 2022-09-23 12:05:16 -04:00
Olivier Gagnon
fb197be206 Fix hostname generation being weird about dash 0 added 2022-09-23 12:04:21 -04:00
hydroflame
cbe31fa63f
Merge pull request #4135 from Mughur/corp
CORPORATION: FIX #3880, #3876, #3322 and #3138 Bunch of corporation fixes
2022-09-23 12:35:11 -03:00
hydroflame
8a694c4c1e
Merge pull request #4136 from quacksouls/typo
DOC: Some typo fixes in Netscript functions
2022-09-23 12:32:57 -03:00
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