Sphyxis
0c4cf81f66
FIX : #896 - Establish a base growth in Bladeburner ( #899 )
2023-11-05 04:43:33 -05:00
Snarling
99afd2ff2a
Fix FactionsDev issue
...
Receive all invites button was only setting the alreadyInvited flag for the selected faction, instead of all factions.
Also some slight refactoring / variable name improvements.
2023-11-05 04:40:30 -05:00
Jesse Clark
9585913e0a
FACTIONS: fix invite requirement for slum snakes ( #915 )
2023-11-05 01:07:05 -04:00
Sphyxis
b06b8bbdde
BLADEBURNER: Updated descriptions ( #906 )
2023-11-03 21:48:46 -04:00
TheAimMan
14b4722210
Clear Stanek before applying entropy on prestige ( #907 )
2023-11-03 21:12:08 -04:00
Sphyxis
2df04bc567
SLEEVES: Set to Idle in UI ( #903 )
2023-11-03 21:01:53 -04:00
omuretsu
e56e3dddf1
Fix stuff I broke in #910
2023-11-02 18:57:22 -04:00
Snarling
2997384403
FACTIONS: Followup changes for Rumors PR ( #910 )
2023-11-02 11:02:12 -04:00
Jesse Clark
fdcb8306d9
FACTIONS: Add "Rumors" system for learning about faction join requirements ( #888 )
2023-11-02 10:20:24 -04:00
Shockwave
023f32bce3
FORMULAS: Removing the possible exception when gymGains/universityGains is called ( #898 )
2023-11-01 20:22:17 -04:00
François Gannaz
87e2f5c23b
TERMINAL: Fix autocompletion when running scripts with the "./" command ( #900 )
2023-10-30 12:32:11 -04:00
TheAimMan
6f67224146
BUGFIX: Add effect definition to fragmentObject ( #891 )
2023-10-30 04:00:31 -04:00
Caldwell
009622069f
add size property to getProduct ( #893 )
2023-10-30 03:56:54 -04:00
TheAimMan
2a149df13e
BUGFIX: Contracts now fail if there are 0 of them remaining ( #889 )
2023-10-30 03:11:51 -04:00
Caldwell
0bdab7bec8
CORPORATION: move product productionCost into cityData ( #887 )
2023-10-30 03:10:45 -04:00
TheAimMan
ca12bddaf5
BUGFIX: Check Corp Research pre-reqs in research api call ( #884 )
2023-10-30 03:09:34 -04:00
omuretsu
d58e2ec7cf
Changelog 10/23/23
2023-10-23 08:34:11 -04:00
Snarling
87925f1900
EDITOR: Reorganization and minor efficiency improvements ( #886 )
2023-10-23 07:02:33 -04:00
David Walker
e339b5dc5f
Tweak Illuminati .lit to provide a join hint ( #883 )
2023-10-23 05:34:04 -04:00
Squirlll
62be77b3f4
UI: grammar/typo fixes ( #878 )
2023-10-23 05:31:27 -04:00
TheAimMan
848fc9905a
BUGFIX: SleeveCrimeWork.ts works through all cyclesWorked if its greater than cyclesNeeded ( #881 )
2023-10-23 05:31:11 -04:00
TheAimMan
5d266e01a6
Fix rm on .cct files ( #880 )
2023-10-23 05:19:49 -04:00
alutman
445c0c3134
Offline hacking income now shown for scripts ( #873 )
2023-10-23 05:00:16 -04:00
alutman
36a8b35cfb
Prevent faction invitations appearing after prestige ( #872 )
2023-10-23 04:55:08 -04:00
TheAimMan
71e37823dd
BUGFIX: Update warehouseSizeUsed after bulk purchase ( #871 )
2023-10-23 04:54:43 -04:00
Snarling
36312c660d
CODE: Enable es2023 features ( #870 )
2023-10-23 04:49:12 -04:00
Caldwell
e992cb966a
CORPORATION: adding prevState and changed state display in the warehouse UI ( #861 )
2023-10-23 04:48:06 -04:00
TheAimMan
eed2c5d6d4
BUGFIX: Update NetscriptHelpers.tsx to verify servers are on network when getServer is called ( #855 )
2023-10-23 04:37:19 -04:00
Jesse Clark
61c311a126
API: Add nextUpdate()
promise for systems with bonus time ( #845 )
2023-10-23 04:24:30 -04:00
Snarling
daa7a22786
UI: General devmenu followup changes ( #885 )
2023-10-23 04:22:11 -04:00
missymae#2783
ff0118f2f4
UI: Update general devmenu page ( #835 )
2023-10-23 04:01:21 -04:00
Jesse Clark
62ab9f33be
UI: Clarify wording in Corporation ( #866 )
2023-10-17 09:59:52 -04:00
omuretsu
d4120fa688
Update changelog date
2023-10-17 09:00:57 -04:00
omuretsu
45cf414e9c
Changelog update 10/17
2023-10-17 07:20:35 -04:00
Snarling
38f693e2c1
ENUMS: Followup for #859 ( #868 )
2023-10-17 07:19:32 -04:00
Caldwell
9c41995e59
increment employees the right way ( #869 )
...
move the incrementation of employees after the avg calc
2023-10-17 07:07:26 -04:00
alutman
1a052a7daf
API: Change singularity.applyToCompany() to use an enum for job field ( #859 )
2023-10-17 05:33:16 -04:00
Tyasuh
686d2e2b9b
Remove territory warfare toggle from main gang management page ( #849 )
2023-10-17 03:47:54 -04:00
missymae#2783
1007ce5e68
API: Add ns.bladeburner.getNextBlackOp() ( #815 )
2023-10-17 02:18:54 -04:00
Caldwell
6fa149ff08
CORPORATION: remove unneeded "state" property from Divisions ( #857 )
2023-10-07 23:25:46 -04:00
Jesse Clark
2f40b66789
CORPORATION: UI to display production and sales multipliers ( #838 )
2023-10-07 23:22:28 -04:00
Caldwell
269a74d5c0
CODEBASE: update dependencies ( #852 )
2023-10-07 18:52:48 -04:00
omuretsu
feb3f1a5db
Dev changelog
2023-10-04 10:50:14 -04:00
omuretsu
32197e024d
Actually fix faction invite spam
2023-10-04 10:32:33 -04:00
omuretsu
7226a9effa
Update changelog.md
2023-10-04 10:30:06 -04:00
Snarling
74fe6af595
Hotfix: Popups no longer show up during infiltration ( #847 )
2023-10-04 09:52:04 -04:00
Noah Harris
e22527e7b7
fix: check for purchased program before enough money ( #839 )
2023-10-03 02:02:28 -04:00
Jesse Clark
f4cd4b3362
Fix check for "True Recursion" achievement ( #827 )
2023-10-03 01:29:09 -04:00
omuretsu
a4e9fd9705
Update SourceFilesDev.tsx
...
Remove unused sfData state variable
Removed the custom coloring for the SF buttons from #830 .
Added a text indicator for the current SF level.
Other minor organizational changes
2023-10-03 01:19:10 -04:00
missymae#2783
aa5d37c7c1
UI: Make Source-Files devmenu page reactive ( #830 )
2023-10-03 00:36:51 -04:00
missymae#2783
673efb427f
UI: Fix some DevMenu react errors, add number of exploits to savegame comparison ( #825 )
2023-10-02 23:28:16 -04:00
Michael Ficocelli
7b00fcc5b1
MISC: spelling and consistency fixes in the NetscriptDefinitions.ts file ( #821 )
2023-10-02 20:14:44 -04:00
Jesse Clark
7f575eb34c
UI: Clean up typesetting of Corp ingredient formulas ( #819 )
2023-10-02 20:13:41 -04:00
Yichi Zhang
3f0c10adf4
STANEK: Re-apply stanek boosts when applying entropy ( #816 )
2023-10-02 20:11:22 -04:00
missymae#2783
3c52984d61
UI: Add a Credits button in options menu ( #836 )
2023-10-02 20:00:52 -04:00
omuretsu
a8e48ddb12
2.5.1 dev start
2023-10-02 19:46:57 -04:00
omuretsu
5c738919fc
Update changelog.md for 2.5.0
2023-10-02 19:30:37 -04:00
Snarling
223d9b9cdb
2.5.0 as release version ( #842 )
2023-10-02 19:18:10 -04:00
omuretsu
6a63f8a02c
Final dev changelog for 2.5.0 cycle?
2023-09-29 21:32:36 -04:00
Jesse Clark
ad6f919d64
CORPORATION: Dramatically lower API RAM costs ( #818 )
2023-09-27 17:38:30 -04:00
muesli4brekkies
c5e2f65cb0
API: Added spawnDelay parameter to ns.spawn options, allowing user defined delay ( #807 )
2023-09-27 01:31:47 -04:00
Michael Ficocelli
7fad6e0778
UI: Rename Territory Warfare gang status to avoid confusion with gang member task of the same name ( #790 )
2023-09-26 21:04:43 -04:00
Snarling
6d3495d05f
Changelog update for 2.5.0 ( #828 )
2023-09-24 09:11:49 -04:00
David Walker
875bddbbdb
BUGFIX: Patch a minor hole in RAM calculation ( #820 )
2023-09-21 21:44:32 -04:00
Snarling
648c180952
UI: Modals no longer update content and become inert while closing ( #817 )
2023-09-21 21:33:18 -04:00
Jesse Clark
3ae3f947ac
CORPORATION: Rework share price calculation + UI improvements ( #782 )
2023-09-20 00:36:48 -04:00
Yichi Zhang
1b81fe8766
CORPORATION: Rework valuation calculation ( #789 )
2023-09-19 08:47:16 -04:00
missymae#2783
e1d2e12747
UI: Improve soft reset dialog, and always confirm soft resets ( #809 )
2023-09-17 16:30:10 -04:00
Jesse Clark
b9d13063ac
Format time in ns.sleep and ns.asleep ( #806 )
2023-09-17 15:40:25 -04:00
missymae#2783
47176b7809
Workout achievement requires work in gym ( #805 )
2023-09-17 15:38:52 -04:00
Caldwell
d914040ae7
CORPORATION: Remove Market TA string in sell dialog text fields ( #784 )
2023-09-12 19:49:51 -04:00
omuretsu
cb93f4d108
Changelog update 12sep
2023-09-12 06:09:18 -04:00
omuretsu
fe0f8cad4d
Import changes
...
Just some import changes in a couple files.
2023-09-12 05:38:25 -04:00
Caldwell
b6eafce563
CORPORATION: remove TA modals and integrate into sell modal ( #796 )
2023-09-12 05:30:45 -04:00
Zelow79
99e5c5e6b0
Added BB Training to sleeve actions ( #713 )
2023-09-12 05:07:36 -04:00
Caldwell
bf5e638891
CORPORATION: Fix "Use same 'Sell Amount' for all cities" toggle for products ( #775 )
2023-09-12 04:31:51 -04:00
Caldwell
d2b3659512
DOC: Add CorporationDivisions multiplier to BitNodeMultipliers API interface ( #798 )
2023-09-12 04:30:19 -04:00
aschmider
a6ff0d3e14
CORPORATION: Fix additive value in party result message ( #793 ) ( #794 )
2023-09-12 03:56:59 -04:00
aschmider
c4482a70f9
HACKNET: Fix spendHashes ignoring count for Company Favor upgrade ( #791 ) ( #792 )
2023-09-12 03:55:43 -04:00
missymae#2783
3c42880185
DOCS: Updates to basic documentations ( #788 )
2023-09-12 02:07:04 -04:00
Noah Harris
7b2e8e5312
UI: clear search suggestions on clearall modification ( #787 )
2023-09-12 02:00:20 -04:00
Michael Ficocelli
b844593e22
UI: Add filter to faction augmentation purchase page ( #783 )
2023-09-12 01:36:47 -04:00
Caldwell
624a0a5b02
CORPORATION: improve State description ( #778 )
2023-09-12 01:25:51 -04:00
Caldwell
bba2ccd83a
CORPORATION: add issueNewSharesCooldown and makesMaterial ( #774 )
2023-09-12 01:23:36 -04:00
Michael Ficocelli
25dae7ec8b
UI: Basic Map and Set support in ns.print/tprint ( #756 )
2023-09-12 01:07:41 -04:00
omuretsu
f95ca64e01
Changelog update 5 sep
2023-09-05 18:34:26 -04:00
Caldwell
0ed88a4317
UI: Stats page uses same number format as overview for skills. ( #776 )
2023-09-05 18:13:41 -04:00
missymae#2783
8d3f2bd750
GANG: Updates to Docs, UI, API ( #773 )
...
API Changes:
Adds ns.gang.getRecruitsAvailable: Gets the number of additional gang members that can currently be recruited
Adds ns.gang.respectForNextRecruit: Gets the respect threshold for recruiting the next gang member
Adds ns.gang.renameMember: Renames a gang member
Plus many doc and ui improvements
2023-09-05 18:07:19 -04:00
missymae#2783
bec737a253
DOCS: Add documentation descriptions for GangMemberInfo properties ( #779 )
2023-09-03 16:50:24 -04:00
muesli4brekkies
66ac31ee99
DOCS: Improve/correct some API docs related to ports ( #772 )
2023-09-02 10:57:31 -04:00
Michael Ficocelli
52769706d2
UI: Keep tail windows and dialogs mounted but hidden on pages where they are not shown ( #769 )
2023-08-31 21:31:59 -04:00
Michael Ficocelli
ae87851889
Improve pagination for Active Scripts page ( #763 )
2023-08-31 20:31:48 -04:00
Caldwell
7c82221a13
CORP: Change some number formatting to look better ( #764 )
...
changed formatCorpStat to formatBigNumber to make big numbers readable
2023-08-31 20:29:04 -04:00
VictorS
b7fdcdf35d
DOCS: Improved documentation for functions that take a FilenameOrPID ( #759 )
2023-08-30 16:36:34 -04:00
missymae#2783
ad9bde40e0
DOCS: Improve documentation for ns.bladeburner.getActionRepGain ( #760 )
2023-08-30 16:28:21 -04:00
Caldwell
8c86e1e07a
fix NaN in Bladeburner success Chance ( #761 )
2023-08-30 14:51:16 -04:00
Valentin Dewilde
1ea555f572
UI: Move pagination to top of active scripts, improve filtering ( #494 )
2023-08-30 14:45:27 -04:00
omuretsu
bc7482b0a2
Changelog update
2023-08-28 15:47:59 -04:00
missymae#2783
12de5505b5
DOCS: Bladeburner in-game documentation update ( #755 )
2023-08-28 15:36:49 -04:00
Michael Ficocelli
62058a7f78
UI: Suppress confusing reputation-earned dialog on augment install ( #739 )
2023-08-28 15:12:13 -04:00
Michael Ficocelli
9a0d688909
NETSCRIPT: Add more helpful error messages to getPurchasedServerCost ( #757 )
2023-08-28 15:03:16 -04:00
Eli Doran
b4f33fe655
Remove an unnecessary for loop in HacknetServer upgradeRam ( #754 )
2023-08-28 14:51:20 -04:00
missymae#2783
4b627cde1e
DOCS: ns.getScriptLog update to use "FilenameOrPID" and related ns.tail change ( #753 )
2023-08-28 14:49:37 -04:00
Caldwell
101fb21c58
UI: Faction augmentation page rerenders automatically ( #744 )
2023-08-28 14:40:34 -04:00
Michael Ficocelli
79b677973b
MESSAGES: Re-implement limit on Icarus messages after a bitnode is completed ( #742 )
2023-08-28 14:38:15 -04:00
Michael Ficocelli
93235570d0
TERMINAL: Prevent recursive aliases from being resolved. ( #741 )
2023-08-28 14:26:25 -04:00
omuretsu
51b03003f6
Fix changelog
2023-08-26 18:35:44 -04:00
omuretsu
281e22c90c
2.4.2dev Start
2023-08-26 18:32:14 -04:00
Snarling
de5ebc993b
RELEASE: 2.4.1 ( #752 )
2023-08-26 18:07:09 -04:00
zornlemma
aaaa980d10
fix: ActiveScripts Page map scripts with same arguments correctly ( #748 )
2023-08-25 15:03:08 -04:00
Michael Ficocelli
7b05bed0d4
FIX: update white-space style to function on electron app ( #745 )
2023-08-23 17:11:27 -04:00
omuretsu
42d70506cc
Fix urls for ctrl-clicking documentation links
2023-08-21 22:48:57 -04:00
omuretsu
d5525f39bc
Update changelog (probably last iteration of 2.4.1dev)
2023-08-21 06:56:11 -04:00
Michael Ficocelli
86b0bd5ac7
TERMINAL: Add option for partial history search ( #736 )
2023-08-21 06:50:17 -04:00
Zelow79
7ea0725a39
UI: Fixed Preview for 2 themes ( #737 )
...
Noticed 2 themes had preview screenshots that weren't from a fresh save.
2023-08-19 15:42:01 -04:00
omuretsu
fbdd8aee58
changelog update
2023-08-16 17:47:32 -04:00
missymae#2783
633f3ef07e
UI: BladeBurner successes to next level tooltip fix ( #728 )
2023-08-16 17:32:04 -04:00
Zelow79
b7ad3395ae
API: Added CompanyName to NetscriptDefinitions ( #731 )
2023-08-16 17:31:41 -04:00
missymae#2783
7500ef0da2
DOCUMENTATION: ns.share and getSharePower definition updates ( #734 )
2023-08-16 17:08:55 -04:00
Zelow79
cef452d35e
add new theme zerenity ( #722 )
...
Added a calm purple and grey theme with some vivid colors here and there.
2023-08-07 02:41:01 -04:00
Snarling
4ca598defb
API: Fix removed functions ( #720 )
2023-08-07 02:38:38 -04:00
omuretsu
d637828759
Changelog update
2023-08-06 09:42:36 -04:00
Caldwell
5c7b30ef15
BUGFIX: fix NFG buying current Level instead of next Level ( #718 )
2023-08-06 09:24:04 -04:00
myCatsName
647b78c9f7
CCT: accept IP solutions with matched single or double quotes, or none ( #712 )
2023-08-06 09:13:01 -04:00
omuretsu
c4fe88e0c7
Update changelog
2023-08-06 00:13:07 -04:00
hydroflame
931d7e588a
Remove more rtd references ( #702 )
2023-08-06 00:05:03 -04:00
myCatsName
aed01b0979
NETSCRIPT: added ns.singularity.getAugmentationFactions ( #706 )
2023-08-06 00:04:36 -04:00
myCatsName
9e55d00b4f
UI: "Contract in Progress" window can no longer get lost ( #716 )
2023-08-05 23:48:00 -04:00
myCatsName
6b7cab6ac4
IssueNewShares Modal spacing typo fix ( #715 )
2023-08-05 20:58:26 -04:00
myCatsName
2e84512881
update helper message for killall ( #709 )
2023-08-05 20:26:37 -04:00
hydroflame
2c0f7f1eda
Merge pull request #694 from bitburner-official/moreResetInfo
...
NETSCRIPT: Add owned aug and SF info to getResetInfo
2023-08-01 09:45:50 -04:00
omuretsu
e5b1fd6b58
Fix wiregame, update changlog
...
WireGame had been reworked to refer to wires using their index, not the wire number, but the aug highlight display was still referring to the wire number, leading to an off-by-one.
2023-08-01 02:42:43 -04:00
omuretsu
75579a2ff1
Add owned aug and SF info to getResetInfo
2023-08-01 01:40:30 -04:00
Snarling
83b7c380ff
DOCUMENTATION: Better npm run doc, plus minor folder reorganization ( #693 )
2023-08-01 00:59:33 -04:00
omuretsu
e624db5238
Update changelog
2023-07-31 23:13:38 -04:00
Snarling
1c6369ffa4
NETSCRIPT: Add ns.stock.getConstants ( #692 )
2023-07-31 23:08:42 -04:00
Caldwell
a85efbc4da
STOCKMARKET: Move and Reorganize Constants ( #688 )
2023-07-31 22:12:49 -04:00
omuretsu
e9bbe57902
Changelog update
2023-07-31 10:38:13 -04:00
omuretsu
888e5f9c8a
Fix bug with sleeve.setToFactionWork
...
Function was not checking that the player was actually in the faction, which allowed sleeves to work for factions the player was not part of.
2023-07-31 10:36:24 -04:00
omuretsu
e7312d97e6
Start 2.4.1 dev
...
* Set isDevBranch back to true
* Updated version number
* Updated changelog in constants
2023-07-31 04:40:46 -04:00
omuretsu
fc86895c30
Some quick 2.4.0 fixes
...
* No longer tells player it is a dev version and shows changelog every load
* Updated snapshot for player save format continuity test (changed due to number of donations changing)
* Fixed some display issues surrounding augmentations page (newlines were not displaying in tooltip, and NFG is sorted at the top again)
2023-07-31 04:26:15 -04:00
Your Name
1e0d3a7747
Merge branch 'dev' of github.com:bitburner-official/bitburner-src into dev
2023-07-30 22:08:44 -04:00
Your Name
b4836e5329
v2.4.0
2023-07-30 22:08:36 -04:00
Azoxey
ac753dd17f
correct more grammatical issues, be more consistent with shortcuts in guide, clean up formatting
2023-07-27 18:49:43 -05:00
Azoxey
2815bf22eb
improve readability (in an editing context) of documentation
2023-07-27 16:05:26 -05:00
Azoxey
d8a5f038e9
fix typos, grammatical errors, remove outdated info
2023-07-27 06:44:13 -05:00
omuretsu
fb542a596c
Fix scan-analyze box drawing
...
Non-matching up-and-right character made some fonts display scan-analyze oddly.
2023-07-13 08:12:16 -04:00
omuretsu
8b008e1b7a
Fix ctrl-click for docs
...
ctrl-clicking doc links leads to dev branch docs if you are playing on dev branch. Makes this behavior usable before stable branch gets updated.
2023-07-12 19:41:00 -04:00
omuretsu
d943f39401
Update changelog 12 July 2023
2023-07-12 19:28:58 -04:00
omuretsu
5da79d5107
Fix broken link
2023-07-12 19:02:34 -04:00
hydroflame
1a8b9a96ec
Documentation added ingame ( #667 )
2023-07-12 17:10:52 -04:00
G4mingJon4s
6bd5ce38d5
Fixed ram evaluation to include more edge-cases ( #665 )
2023-07-11 14:09:23 -04:00
omuretsu
61a27fb9c7
Fix default value for hireEmployee
...
Not providing a position now hires unassigned just like the documentation says
2023-07-11 11:50:55 -04:00
omuretsu
05651aa7f5
Fix faction augmentations screen
...
* Buying an augmentation rerenders the augmentations page (rerender function passed down through props)
* Each unowned purchasable augmentation rerenders periodically to re-check whether it can be bought.
2023-07-11 11:28:23 -04:00
omuretsu
993f234f48
Fix sleeve faction work from ui
...
Bandaid fix. I have a much better fix in mind for this, but it will need to wait until 2.4 since it will include some breaking changes.
2023-07-11 11:03:49 -04:00
Snarling
e2655793f4
TYPESAFETY: CompanyName ( #650 )
2023-07-11 09:23:17 -04:00
G4mingJon4s
e4d3a9020e
Fix static ram calculation when exports are renamed ( #664 )
2023-07-09 08:08:43 -04:00
omuretsu
351a7fc5f8
Update dev changelog 7/7/23
2023-07-07 18:55:25 -04:00
Snarling
006fbd528f
DOCS: Add printRaw and tprintRaw docs ( #663 )
2023-07-07 18:23:26 -04:00
Snarling
3981f72149
Add investment info to API representation of product ( #661 )
2023-07-05 19:50:29 -04:00
Snarling
312e3eb71f
Fix for invalid materials in warehouse ( #660 )
2023-07-05 19:36:22 -04:00
Snarling
26cdc502bf
Fix backwards name for indent option ( #659 )
2023-07-05 18:18:53 -04:00
David Walker
babefc5477
BUGFIX: Fix potential double-free in atExit() ( #655 )
...
Fixes #654
2023-06-30 18:15:37 -04:00
Snarling
48e7bd6471
CODEBASE: Follow-up for lint rules PR + address some eslint disables ( #651 )
2023-06-29 13:22:10 -04:00
Meggal
bc00a1c134
Fix bug smaller than a tardigrate ( #653 )
2023-06-28 16:21:15 -04:00
Aleksei Bezrodnov
1d5a735941
MISC: enforce eslint react checks ( #640 )
2023-06-26 22:29:44 -04:00
Snarling
91bfb154b6
Better docs for ascension result ( #649 )
2023-06-26 04:56:58 -04:00
Aleksei Bezrodnov
1af01401d9
UI: Correct behavior of "back" button on faction augs page
...
Plus router refactoring
2023-06-26 04:24:37 -04:00
Snarling
9a0a843ffc
TYPESAFETY: FactionName ( #644 )
2023-06-25 22:53:35 -04:00
omuretsu
4c9ca49904
Prettier
2023-06-23 10:14:18 -04:00
omuretsu
6f26fb81e8
Fix NFG display text
2023-06-23 10:13:45 -04:00
Nils Ramstöck
4560fb7250
QUICKFIX: Issue #630 ( #635 )
2023-06-20 19:00:06 -04:00
htmlh4cker
d4113e325a
DOCS: fix issue in scp .md ( #636 )
2023-06-20 18:04:06 -04:00
omuretsu
aecdbe8e8f
Fix bad aug reinitialization point
...
This is just a quick fix. Also added some savegame fix code that will soon be removed once the better fix is in.
2023-06-20 07:57:46 -04:00
omuretsu
4b8a4d739b
Revert "quickfix: aug list ( #629 )"
...
This reverts commit c059c35bcaeaf194515d047e648862cc01c88eac.
2023-06-20 07:35:54 -04:00
Aleksei Bezrodnov
c059c35bca
quickfix: aug list ( #629 )
2023-06-20 07:31:45 -04:00
omuretsu
92c41e60e2
Update changelog 19 Jun 2023
2023-06-19 06:31:39 -04:00
Aleksei Bezrodnov
78ca279df7
FIX: singularity faction donation formula ( #619 )
2023-06-19 03:55:03 -04:00
Aleksei Bezrodnov
08e3afd125
FIX: show ram calculation error reason to player ( #627 )
2023-06-19 03:49:32 -04:00
Aleksei Bezrodnov
9e75621cd2
UI: add cursor options to the script editor ( #615 )
2023-06-18 21:17:15 -04:00
Aleksei Bezrodnov
709875d9ca
FIX: script options modal issue #625 ( #626 )
2023-06-17 17:58:56 -04:00
Snarling
c2dacedcb3
Fix UI regression for crime in progress ( #621 )
2023-06-16 22:24:32 -04:00
Snarling
a4b826683e
TYPESAFETY: Strict internal typing for AugmentationName ( #608 )
2023-06-16 17:52:42 -04:00
Aleksei Bezrodnov
12b5c00d14
fix RAM calculation on a different server ( #612 )
2023-06-13 17:19:42 -04:00
Aleksei Bezrodnov
192c1947a6
fix enum value deserialization ( #609 )
2023-06-13 15:04:56 -04:00
rqzcho
2537ded3c2
TERMINAL: Allow new lines in terminal when empty ( #605 )
2023-06-13 14:04:21 -04:00
omuretsu
c7d05cae58
Add parens to replacement for IINV and EINV
2023-06-12 16:04:21 -04:00
Aleksei Bezrodnov
61c8026bd0
fix sleeve university job ( #604 )
2023-06-12 15:19:35 -04:00
omuretsu
70eda40bb6
Changelog update
2023-06-12 01:20:24 -04:00
omuretsu
01e7b2a6a9
Fix possible crash on invalid aug name
...
Fixes error from #591
2023-06-12 01:13:25 -04:00
Aleksei Bezrodnov
969f3170f1
fix WorkInProgress component warnings ( #600 )
...
Also improves WorkInProgress performance by reducing unnecessary rerenders
2023-06-12 01:04:56 -04:00
Aleksei Bezrodnov
b52284806f
UI: show all skills in import save comparison tool ( #599 )
2023-06-12 00:46:54 -04:00
Snarling
6732549196
ENUMS: Initial Enum Helper rework + Reorganization ( #596 )
2023-06-12 00:34:20 -04:00
omuretsu
762f8a23ef
Dev changelog
2023-06-10 16:38:09 -04:00
Aleksei Bezrodnov
d0f2398f01
fix: do not scroll log on scroll log window drag ( #592 )
2023-06-10 16:31:29 -04:00
Aleksei Bezrodnov
174f10d1f5
MISC: tiny corp code style improvement ( #586 )
2023-06-09 19:34:35 -04:00
omuretsu
325224df27
2.3.2dev start
2023-06-07 15:06:47 -04:00
omuretsu
f55551c0cd
2.3.1 release
2023-06-07 14:41:36 -04:00
Kateract
cc5247ac89
Update exportMaterial amount to number | string ( #583 )
2023-06-07 13:48:23 -04:00
Snarling
c67f32cdc1
CORP: Validate city with office for product development ( #579 )
2023-06-07 00:30:10 -04:00
Snarling
cbff2a420b
CORP: Robotics industry NaN fix + better exports validation ( #578 )
2023-06-06 23:50:23 -04:00
quacksouls
4c4c4a0335
DOC: additionalMsec
is no longer experimental ( #576 )
...
The attribute `additionalMsec` of the object `BasicHGWOptions` was experimental in v2.2.2. It is now a stable feature.
2023-06-06 17:19:07 -04:00
Snarling
40b89baca1
MISC: Various small fixes ( #574 )
...
* ns.ls filter can include leading slash in filename
* scp from terminal accepts multiple filenames
* terminal displays root / instead of ~ as base
* cd with no args returns to root
2023-06-06 08:46:07 -04:00
Aleksei Bezrodnov
027db7e867
MISC: optimize corp affordable upgrade level calculation ( #570 )
2023-06-06 01:45:28 -04:00
omuretsu
abbf99f2cb
Dev changelog update
2023-06-04 12:12:55 -04:00
Aleksei Bezrodnov
7050c90378
UI: Fix several issues with script editor tabs ( #554 ) ( #567 )
2023-06-04 12:01:06 -04:00
zerbosh
bda1daf49f
CORPORATION: parse material Sell field once ( #562 )
2023-06-04 10:28:35 -04:00
zerbosh
d8fee8e25a
CORPORATION: fixed Sell Buttons ( #564 )
2023-06-04 00:13:26 -04:00
David Walker
3c6b5a1a83
BUGFIX: Fix corp issues relating to imports ( #568 )
...
Also clarify the Smart Supply options to be more clear on what they do.
2023-06-04 00:11:07 -04:00
Snarling
403beef69e
PRESTIGE: Make bitnode reset synchronous again ( #566 )
...
* Make prestige synchronous
2023-06-03 18:04:45 -04:00
Snarling
ec9e7ffa3a
GANG: Fix respectGainRate being stored incorrectly ( #565 )
2023-06-03 16:44:35 -04:00
Aleksei Bezrodnov
dd9849f53d
BUGFIX: script tab reordering ( #563 )
2023-06-03 14:26:55 -04:00
Aleksei Bezrodnov
99954ebd1e
REFACTORING: ScriptEditor ( #560 )
2023-06-03 13:55:25 -04:00
omuretsu
886f402a43
Fix infinite time to hack on 0-difficulty servers
2023-06-02 12:32:06 -04:00
omuretsu
68405b2873
Changelog update
2023-06-01 15:27:07 -04:00
Kateract
10215a924c
CORP: Add maxProducts property to division, consolidate maxProducts logic ( #551 )
2023-06-01 15:20:54 -04:00
David Walker
0d6015104e
BUGFIX: Proper default title for loaded RunningScripts ( #557 )
2023-06-01 06:42:55 -04:00
David Walker
4d1cdaad32
UI: Add title tooltips to tail window elements ( #558 )
2023-06-01 06:42:06 -04:00
omuretsu
7240bbe8b7
Fix hotfix
2023-05-30 20:47:01 -04:00
omuretsu
8bc67f542a
Satisfy lint
2023-05-30 20:06:13 -04:00
omuretsu
b65bd62345
More hotfixes...
...
* Script editor theme could be corrupted leading to a recovery screen, this should fix that.
* Because script filepath changes were moved before the detection of .ns files, a check was added for .ns files in BaseServer so they get the better name.
2023-05-30 20:00:43 -04:00
Snarling
1aa53739cc
Hotfix 30 May 2023 ( #555 )
2023-05-30 18:48:16 -04:00
omuretsu
469c70ed4b
Update dev changelog
2023-05-29 18:43:16 -04:00
bezrodnov
606b4bee95
UI: Prevent terminal scroll on progress bar update ( fix #94 ) ( #544 )
2023-05-29 14:59:17 -04:00
bezrodnov
ea8f5cede7
add close modal button ( #546 )
2023-05-29 11:54:14 -04:00
David Walker
e51527aa86
BUGFIX: More savegame loading fixes ( #543 )
...
* Fix loading issues back to pre-1.0
* Be more robust about issues with files not being maps
* Avoid non-fatal error when there's no LastExportBonus
2023-05-29 07:10:26 -04:00
Snarling
5f2a1c3f27
TERMINAL: Fix original alias syntax ( #545 )
2023-05-29 06:54:51 -04:00
omuretsu
ae8f26f03b
More hotfix
...
* Fix empty solution for all valid math expressions
2023-05-28 05:25:44 -04:00
Snarling
8e4492685d
Fix scan analyze display ( #539 )
2023-05-27 19:30:24 -04:00
omuretsu
72a631d4ed
Another lint fix
2023-05-27 08:46:28 -04:00
omuretsu
8bf13b6fd3
fileExists no longer case sensitive for programs
2023-05-27 08:39:29 -04:00
omuretsu
ad3b217b8f
lint fix
...
Fix sloppy unlinted hotfix code
2023-05-27 01:58:47 -04:00
omuretsu
e03a366f12
hotfix broken spring water
2023-05-27 01:53:13 -04:00
David Walker
db26d054fc
Various fixes to our upgrade logic ( #536 )
...
Stuff broke over time, especially with the major changes we made leading
up to 2.3. We should test with older saves if/when we make large changes
in the future.
Fixes #532
2023-05-27 00:16:31 -04:00
omuretsu
ab207ce36c
Fix more terminal usage error text
2023-05-26 15:45:49 -04:00
omuretsu
40babcb2ee
more hotfixing
...
Hotfixed usage tips for alias
Hotfixed prestigeHomeComputer to avoid crashing prestige
Added checking at startWorkerScript to try and find instances where script is launched on wrong server
Fixed corp issue with multibuy not providing multibenefits
2023-05-26 14:59:42 -04:00
omuretsu
912fc98d3a
Fix ls clickable links in directory
2023-05-26 12:09:59 -04:00
David Walker
4503da6226
UI: LogBox overhaul ( #508 )
2023-05-26 08:07:37 -04:00
G4mingJon4s
113af6e711
Add ns.getFunctionRamCost ( #526 )
2023-05-26 07:46:08 -04:00
bezrodnov
294603fff8
Fix getAugmentationGraftPrice bug ( #530 )
2023-05-26 04:14:11 -04:00
omuretsu
396e71955e
Fix scp logs
...
Hostname was not being displayed correctly
2023-05-26 04:04:17 -04:00
omuretsu
4f83d6a58a
2.3.1 dev start
2023-05-25 18:55:04 -04:00
omuretsu
7f6b96fda0
Hotfix
...
Prevent crash due to renamed files not being able to re-launch automatically
2023-05-25 18:16:10 -04:00
omuretsu
f75c185d39
Final 2.3.0
2023-05-25 16:45:51 -04:00
David W
97ea35bd5b
Clarify exec needs script to be on remote server ( #512 )
2023-05-25 16:27:56 -04:00
Nikolai Korolev
b72eb125f2
DOC: Fix parameter name in documentation ( #525 )
2023-05-25 16:26:43 -04:00
Snarling
87f2ae459d
UI: Better support for custom player React content ( #513 )
2023-05-22 05:28:24 -04:00
omuretsu
0d55b957f1
Small cat fix
...
cat no longer shows error message for no file found when a message or literature file was found
2023-05-22 01:52:01 -04:00
Aloït R
8dad2e746f
Fix missing bracket ( #519 )
2023-05-21 10:07:29 -04:00
David Walker
9d9f6b4dcd
Fix incorrect progress ( #516 )
2023-05-21 10:04:40 -04:00
Nikolai Korolev
2e9dc32deb
DOC: Specify optional parameters in hacknet functions ( #515 )
2023-05-18 01:28:56 -04:00
omuretsu
75706d273a
Build fix
...
Two files somehow missed saving their renaming.
2023-05-17 18:36:49 -04:00
omuretsu
c1f842e5c7
More corporation renaming
...
Just renaming files / functions. Industries are the static categories that divisions can operate within, divisions are the actual branches of the company. A lot of stuff was still written as if Industries are the actual branches of the company, which is even less accurate now that a corporation is allowed to have multiple divisions operating in the same industry.
Also removed the incorrect tooltip description of what tea does (it's now just a flat +2 increase)
2023-05-17 17:28:24 -04:00
omuretsu
27a6b619eb
Lint fix
...
Also reduce unnecessary imports
2023-05-16 11:41:55 -04:00
omuretsu
00522fb8f3
Fix infinite loop detection
...
Also debounce it with the ram calc to improve performance
2023-05-16 11:27:11 -04:00
omuretsu
b44050cfec
Fix oldcorp loading
2023-05-16 08:36:14 -04:00
omuretsu
f4655b8e1b
Typo fix
2023-05-15 23:12:17 -04:00
omuretsu
6c730d46f4
Dev branch always show changelog regardless of location
2023-05-15 23:05:36 -04:00
omuretsu
df237b0842
Fix Stanek fix
2023-05-15 23:01:19 -04:00
omuretsu
21162c8cdd
Fix stanek not recalculating stats immediately on game load
2023-05-15 22:55:57 -04:00
omuretsu
ce9ceb05a3
Revert hostname in tail titlebar
2023-05-15 20:26:18 -04:00
omuretsu
48396bf8cb
Changelog update 2.3
2023-05-15 18:39:01 -04:00
Snarling
2ae3ac52f1
CORPORATION: Corp changes prior to 2.3 finalization ( #503 )
2023-05-15 18:06:57 -04:00
David Walker
e2e9b084bc
SETTINGS: Add an autoexec setting ( #505 )
2023-05-09 00:13:05 -04:00
omuretsu
4e07900c5a
Fix hacknet level base cost constant
2023-05-05 23:22:54 -04:00
Snarling
ebae35b1fb
CODEBASE: Expand lint rules, and Aliases are stored as maps ( #501 )
2023-05-05 03:55:59 -04:00
Snarling
d25254caf1
BUGFIX: Prevent crash that could occur with server named runningScripts ( #502 )
2023-05-03 20:19:56 -04:00
omuretsu
003be33886
Lint fix
2023-05-03 07:31:29 -04:00
omuretsu
3c996a47ea
Fully remove formatCode function (trim on script save)
2023-05-03 07:21:23 -04:00
David Walker
ad5a1c4bac
NETSCRIPT: Revert FormattedCode type ( #500 )
2023-05-03 07:13:35 -04:00
David Walker
8b7166e4ed
UI: Fix (most) perf issues in Active Scripts ( #498 )
2023-04-30 19:31:29 -04:00
Snarling
802f2f1c66
Blacklist some more special characters
...
Also improved readability of the valid character section by using escapeRegExp
2023-04-28 15:33:05 -04:00
Snarling
8f684fa74c
Changelog and markdown update
2023-04-28 14:45:55 -04:00
Snarling
e1aff1a315
Lint fix
2023-04-28 11:49:05 -04:00
Snarling
350679bc83
Program path bugfix + wget use contentFile
2023-04-28 11:42:35 -04:00
Snarling
8fd4eee8e9
Fix wget with text file target
2023-04-28 11:14:29 -04:00
David Walker
aa7facd4ba
NETSCRIPT: Greatly speed up script launching, and remove the limitation unique args per script ( #440 )
...
* Remove the limitation unique args per script
* Internal changes to how runningScripts are stored on the server, to make common usage faster.
2023-04-27 18:21:06 -04:00
Snarling
f81297dcd6
ls display is responsive ( #492 )
2023-04-26 15:18:26 -04:00
Snarling
d9ef53e2e8
Fix SF12 wrong multipliers applied
2023-04-25 09:31:53 -04:00
Snarling
6024c81113
NETSCRIPT: add ns.getResetInfo( #490 )
...
* Move lastAugReset and lastNodeReset back to main API under getResetInfo, also included currentNode.
* The associated properties are deprecated on getPlayer()
2023-04-25 05:22:36 -04:00
Snarling
62adaf3006
Various bugfix/cleanup ( #489 )
...
* parseCommands no longer removes excess whitespace (it was unneeded and also had a bug in it relating to commands that ended in a quote mark)
* more documentation and some variable renaming
* Fix script editor focus bug on navigating to the editor from sidebar
* Fix initialization for lastNodeReset and lastAugReset
2023-04-24 15:48:49 -04:00
omuretsu
9004b12256
Actually fix quoted string args
2023-04-24 13:21:58 -04:00
omuretsu
c4776753f1
Fix quoted section detection
2023-04-24 13:05:50 -04:00
omuretsu
3106c03b5b
Fix broken run command
2023-04-24 12:54:09 -04:00
David Walker
be4b0267a6
TERMINAL: Greatly improve ANSI handling ( #485 )
...
- Add support for 2;r;g;b color codes (much easier to deal with
than 5;x256 style codes)
- Fix 40-47 (standard background colors) so that they work
- Add support for italic
- Add support for empty arguments interpreted as 0
(0 is still not supported for "reset style", since it's not needed
with our non-standard usage of resetting styles on every escape
sequence, and it might cause compat issues)
- Fix ordering of 0-15 in the x256 colors to match the standard. The
"main" colors (selected via 30-37 for FG and 40-47 for BG) are still
artificially bright for FG, kept for compatibility, but there's no
reason to screw up the x256 colors. (Hopefully usage of that section
should be small anyway.)
2023-04-24 11:04:37 -04:00
David Walker
b3c0027b66
NETSCRIPT: Change error return of hackAnalyzeThreads ( #482 )
...
Fixes #102
2023-04-24 11:04:19 -04:00
Arron Chapman
e7fcda19c1
UI: Added hostname to LogBox title ( #478 )
2023-04-24 10:33:16 -04:00
Snarling
e0272ad4af
FILES: Path rework & typesafety ( #479 )
...
* Added new types for various file paths, all in the Paths folder.
* TypeSafety and other helper functions related to these types
* Added basic globbing support with * and ?. Currently only implemented for Script/Text, on nano and download terminal commands
* Enforcing the new types throughout the codebase, plus whatever rewrites happened along the way
* Server.textFiles is now a map
* TextFile no longer uses a fn property, now it is filename
* Added a shared ContentFile interface for shared functionality between TextFile and Script.
* related to ContentFile change above, the player is now allowed to move a text file to a script file and vice versa.
* File paths no longer conditionally start with slashes, and all directory names other than root have ending slashes. The player is still able to provide paths starting with / but this now indicates that the player is specifying an absolute path instead of one relative to root.
* Singularized the MessageFilename and LiteratureName enums
* Because they now only accept correct types, server.writeToXFile functions now always succeed (the only reasons they could fail before were invalid filepath).
* Fix several issues with tab completion, which included pretty much a complete rewrite
* Changed the autocomplete display options so there's less chance it clips outside the display area.
* Turned CompletedProgramName into an enum.
* Got rid of programsMetadata, and programs and DarkWebItems are now initialized immediately instead of relying on initializers called from the engine.
* For any executable (program, cct, or script file) pathing can be used directly to execute without using the run command (previously the command had to start with ./ and it wasn't actually using pathing).
2023-04-24 10:26:57 -04:00
Snarling
6f56f35943
Add deprecation messages ( #486 )
...
Add back getPlayer().playtimeSinceLastX, but with deprecation messages applied
2023-04-24 10:21:43 -04:00
hydroflame
72037b5dab
Update Constants.ts ( #481 )
2023-04-20 01:55:00 -04:00
Snarling
0df984eea0
CODEBASE: Add Jsonable Map and Set types, move player.sourceFiles to a map ( #473 )
2023-04-18 03:19:45 -04:00
Snarling
c44bdc1018
Remove unreachable code
2023-04-12 21:05:53 -04:00
G4mingJon4s
d01ba91654
SINGULARITY: Added aug and node identifiers (timestamps of last resets) ( #472 )
2023-04-12 13:13:42 -04:00
Snarling
f761eed377
NETSCRIPT: Type correctness for getServer ( #476 )
2023-04-11 15:12:55 -04:00
T.J. Eckman
751fe82f92
HASHNET: Company Favor ( #469 )
2023-04-08 23:24:09 -04:00
David Walker
ed9e6d5ea3
NETSCRIPT: Compiled modules will be even more shared ( #468 )
2023-04-07 21:08:39 -04:00
omuretsu
f74002cce0
Fix and rebuild doc
2023-04-07 07:49:11 -04:00
quacksouls
4ade263ae8
DOC: typo fixes in sleeves API ( #467 )
...
A bunch of typographical fixes in the documentation of the Sleeve API.
2023-04-07 07:45:14 -04:00
Snarling
a6dfdff3ba
Fix build issue
2023-04-07 02:45:19 -04:00
Snarling
04d49e3a6d
SCRIPTS: Script modules are reused when they are imported ( #461 )
...
Also corrects some compile race conditions.
2023-04-07 00:33:51 -04:00
T.J. Eckman
677686fa20
SINGULARITY: getCompanyPositionInfo ( #460 )
2023-04-04 12:00:54 -04:00
Eric
8d52e1b510
Small text fix ( #462 )
2023-04-03 00:21:37 -04:00
T.J. Eckman
df334ea6de
SINGULARITY: Added getCompanyPositions ( #459 )
...
Also workForCompany will throw an error if provided a bad company name, instead of returning false
2023-04-01 21:30:46 -04:00
David Walker
8c4b992d59
TEST: Add a NS2 test (finally) ( #458 )
2023-04-01 07:45:23 -04:00
Tyasuh
c730d6ed82
Fix a bug introduced in #454 ( #456 )
2023-03-31 04:18:58 -04:00
Snarling
b9e227509e
Minor gang stuff ( #454 )
...
* Fix a weird mismatch between gangFormulas and actual gang for calculating wanted penalty
* Gang respect will not fall below 1. Previously, ascension did clamp this at 1 but members dying in warfare allowed respect to reach 0.
* Gang member earned respect is now calculated correctly. Previously the actual gains were calculated, then the respect was added to the gang, and then the member earnedRespect was incorrectly being re-calculated using the increased respect. Now the respect is recorded on the member during the first/actual calculation.
2023-03-30 16:31:50 -04:00
David Walker
8445af5f2b
Moved Player initialization point ( #452 )
...
Now initialized as side effect in PlayerObject, instead of in Player file that is imported everywhere.
2023-03-29 00:30:27 -04:00
omuretsu
798da75d83
renameServer changes
...
* Update doc error, regenerate docs
* Update a bad error message in renamePurchasedServer@serverPurchases.ts
* restore true/false return (removed in #450 due to miscommunication)
2023-03-28 16:10:24 -04:00
Zelow79
eb8bcd00e3
NETSCRIPT: reduce RAM cost for renamePurchasedServer to 0 ( #450 )
2023-03-28 16:01:09 -04:00
Minzenkatze
a1441b31f2
UI: Improvements to Create Program tab ( #449 )
...
* Progress indicator for programs that are in progress
* Button for a program that is currently being worked (unfocused) is just a refocus button
2023-03-28 11:23:36 -04:00
Snarling
dadf42bfe8
Fix hackAnalyzeThreads again
...
But actually this time
2023-03-26 02:56:01 -04:00
Minzenkatze
3c18fd7a51
fixed issue with duplicate programs ( #447 )
2023-03-26 02:42:15 -04:00
David Walker
9353129e84
BUGFIX: Fix the return of weaken() to account for BN mult ( #448 )
2023-03-26 02:16:51 -04:00
Snarling
6290ce562a
Prevent errors thrown from terminal ( #443 )
...
At least from getFilepath function
2023-03-23 12:01:58 -04:00
David Walker
07b18edb5c
REFACTOR: Post-PR changes to NetscriptHelpers.runOptions() ( #442 )
2023-03-23 12:01:20 -04:00
David Walker
2b54c6c9b9
NETSCRIPT: Add ramOverride as a RunOption ( #441 )
...
Allows overriding the static ram calculation. Dynamic ram limit still applies.
2023-03-22 10:09:12 -04:00
Snarling
a774592e64
fix crash when renaming server while connected to that server ( #438 )
2023-03-21 21:21:15 -04:00
Eric
39d26673c4
Refactor flipForecastForecast ( #437 )
...
Algebraic reduction of Stock.flipForecastForecast() to make it more readable.
2023-03-21 20:36:54 -04:00
David Walker
98f7f473b4
NETSCRIPT: Add "temporary" as a RunOption to run/exec/spawn ( #432 )
2023-03-21 18:54:49 -04:00
hydroflame
7ee36cf22c
Fix inconsistent magic number in skill/exp calculation ( #434 )
2023-03-20 05:16:26 -04:00
David Walker
c77b89d4d9
PERFORMANCE: Improve speed of saving when there are lots of scripts ( #430 )
2023-03-17 23:59:27 -04:00
Mughur
be5bba8ad6
small fixes ( #429 )
2023-03-18 03:34:28 +02:00
Mughur
1f98eecb57
CORP: rework ( #428 )
...
* corp overhaul: Corp production quality now depends on materials
* corp overhaul: Product price can be set separately for each city
* corp overhaul: export uses relatives
* corp overhaul: ignore energy in quality
* corp overhaul: getProduct() is city dependant
* corp overhaul: bulkbuy available from start
* corp overhaul: add multibuy for leveled upgrads
* corp overhaul: changes to UI
* corp overhaul: base quality 1, reqmat changes
* corp overhaul: puchased material quality is 1
* corp overhaul: get rid of the text box from ta2
* corp overhaul: sold shares limitations
* corp overhaul: coffee -> tea, training -> intern
* corp overhaul: smartsupply has multiple options
* corp overhaul: restart, literature, investore, ui
* corp overhaul: nerf advertising
* corp overhaul: bunch of stuff
2023-03-18 03:12:43 +02:00
Zelow79
5ffefcca80
Show on tooltip that bladeburner augs can be grafted ( #427 )
2023-03-17 07:57:38 -04:00
Zelow79
4723984bf8
MISC: More Bladeburner Dev menu options ( #414 )
2023-03-15 21:41:18 -04:00
David Walker
b92e0f1468
BUGFIX: Allow (attempting) importing the same save filename twice in a row ( #424 )
2023-03-15 21:10:48 -04:00
David Walker
028d9f9462
BUGFIX: Fix order-of-ops issue with SCRIPT_32GB achievement ( #422 )
2023-03-13 21:20:56 -04:00
David Walker
02a436dc79
ENGINE: Use setTimeout() instead of requestAnimationFrame() ( #421 )
2023-03-12 18:31:58 -04:00
omuretsu
f2e1a67ec1
Changelog update and steam dev updater v2
...
Attempting to build using ubuntu 20.04 to possibly fix Linux issue.
2023-03-11 17:07:08 -05:00
LiamGeorge1999
e84e734171
Updated "next equipment unlock" text for gang equipment ( #418 )
2023-03-10 23:51:33 -05:00
omuretsu
057aeaea83
Doc update
...
* Added notes about whether ns API layers contain spoilers.
* Add some more info to checkFactionInvitation doc
2023-03-08 01:39:05 -05:00
Zelow79
d7380a9243
Sleeve crime kills add to numPeopleKilled ( #413 )
2023-03-07 19:35:01 -05:00
omuretsu
b9ffb9e42e
Add triggers for faction invite check
...
Manually check for faction invites whenever a server is backdoored, and whenever the player uses ns.singularity.checkFactionInvites
2023-03-07 19:31:54 -05:00
Snarling
401bfe9f31
Sleeve work type changes ( #412 )
2023-03-07 18:03:13 -05:00
Snarling
51bf0d1904
Stanek performance boost + bonus time rework ( #410 )
2023-03-07 14:45:22 -05:00
Zelow79
701f063642
Blade Contracts/Operations now reduce count on fails. ( #411 )
2023-03-07 14:45:05 -05:00
omuretsu
c2cd5845b2
Refactor ls
2023-03-07 08:04:08 -05:00
omuretsu
0442f3d5e9
Rework roughlyIs internal function
...
Now named missingKey, is much faster (approx 4x faster based on testing), and provides better error info when it fails (which property was missing from the provided object).
2023-03-07 06:33:24 -05:00
Snarling
e74dfe9b79
NETSCRIPTSLEEVE: Add cyclesWorked to ns.sleeve.getTask return ( #409 )
2023-03-07 05:30:15 -05:00
omuretsu
4ebfdcc4a8
Changelog + misc minor changes
...
Recovery textarea no longer spellchecks, fixed some "as" type assertions that were not necessary.
2023-03-06 11:45:36 -05:00
Snarling
759f86d6e5
NETSCRIPT: Rework script ram updates ( #408 )
2023-03-05 22:39:42 -05:00
zerbosh
14aafbe0a3
SLEEVES: fix typo in MoneySourceTracker call ( #405 )
2023-03-03 01:03:09 -05:00
Tyasuh
a01da24c10
Complete partial revert of infinite loop detection ( #406 )
2023-03-03 01:02:45 -05:00
Snarling
ea8ee743cc
NETSCRIPT: Revert infinite loop detection ( #404 )
2023-03-02 17:29:18 -05:00
omuretsu
75481aa195
Fix growthAnalyzeSecurity doc
...
Also a format fix from a previous sloppy commit
2023-02-28 09:57:02 -05:00
omuretsu
f16246f939
Fix Math Expressions contract
...
Previously player could submit as many wrong answers in the solution as they wanted, as long as all correct answers were included. Fixed by ensuring length matches actual answer.
2023-02-28 09:14:12 -05:00
omuretsu
45ca94b1dc
Fix hackAnalyzeThreads
...
It was previously returning infinity any time a single thread was calculated to hack less than $1, due to an improper use of Math.floor.
2023-02-28 09:02:14 -05:00
Snarling
ee3c412933
SETTINGS: Add infinite loop detection setting ( #402 )
2023-02-28 06:54:01 -05:00
lucebac
ae92ea0f94
ns.scp: strip leading slashes from filenames if file is in root ( #263 )
2023-02-28 06:53:42 -05:00
David Walker
f1793b187b
SOURCEFILE: Fix calculation of decMult ( #385 )
...
Changed SF1 to apply a 1/incMult multiplier to hacknet costs to match how NFG, SF12, etc. handle it. Previously was calculated as a %reduction.
Changed wording on SF9 to include a %reduction in hacknet costs.
Buffed SF9 effect to 12% base from 8%, to make up for weaker hacknet cost mults from SF1.
2023-02-27 20:41:42 -05:00
T.J. Eckman
33f0150d25
BUGFIX: Memory Leak in NetscriptPorts ( #399 )
...
Co-authored-by: Snarling <84951833+Snarling@users.noreply.github.com>
2023-02-27 19:54:04 -05:00
Mughur
9d504b0dfb
updated node starting messages actually show up ( #397 )
2023-02-27 21:46:01 +02:00
LiamGeorge1999
3d9993215c
Fix double percentage sign in product creation ( #395 )
2023-02-25 08:20:59 -05:00
LiamGeorge1999
b1af58d6a6
Fixed speechmarks not making numeric terminal arguments into strings ( #391 )
2023-02-25 08:17:01 -05:00
quacksouls
f50b731846
Fix doc typo for "Sanitize Parentheses in Expression" contract ( #389 )
2023-02-24 22:31:10 -05:00
quacksouls
18eeb7c4e1
Fix doc typo for ns.stock.getPosition
( #390 )
2023-02-24 22:27:55 -05:00
Snarling
4166c09bd4
More script editor options ( #386 )
...
* Options are responsive again (fix from previous changes)
* Better height control on the monaco container using flexbox.
* Added options for tab size, auto-detect indentation per-file, font family, and font ligatures.
2023-02-24 07:37:29 -05:00
Snarling
71051cde9c
Upgrade monaco and bump game version to 2.3.0dev ( #369 )
2023-02-23 21:43:29 -05:00
omuretsu
211e2bcb95
Fix Electron API server
...
VSCode integration fix for Electron version
2023-02-23 21:18:29 -05:00
Mughur
57302c953f
Merge pull request #376 from Zelow79/BN9-buff
...
BN9: QoL improvements.
2023-02-23 17:29:52 +02:00
omuretsu
37d2f57e53
Fix atExit loop
...
atExit clears itself from the WorkerScript before being executed.
2023-02-23 08:39:47 -05:00
Zelow79
eb7b00a688
Update BitNode.tsx
2023-02-22 15:50:29 -05:00
Zelow79
3fde3a1a22
Update BitNode.tsx
...
Removed PI from BN modifiers and set them back to base/original values as per Mughur request.
2023-02-22 15:47:32 -05:00
Mughur
3c7b0622a5
Merge pull request #375 from Tyasuh/Int-Shock-Recovery-Buff
...
MISC: Sleeve Int applies to active/passive shock recovery
2023-02-22 14:40:51 +02:00
Snarling
d3f9554a6e
2.2.2 Release ( #378 )
2023-02-21 09:44:18 -05:00
tyasuh.taeragan@gmail.com
7963158470
Requested Correction
2023-02-20 21:40:47 -05:00
omuretsu
bba6b26ac1
Fix ram<1GB display bug
2023-02-20 06:31:52 -05:00
Zelow79
f573092090
Update Prestige.ts
...
updated comment to be a little more clear
2023-02-19 21:51:06 -05:00
Zelow79
b950c6540f
bn9 QoL improvements
...
Increased BN multipliers for HacknetNodeMoney and WorldDaemonDifficulty to PI (3.14159...). This brings WD required hack to 9424.77796076938 (now the 2nd highest ^-^).
Bn9 now starts with the same node bn9.3 rewards (the idea here is it helps showcase the BNs new feature and just speeds up a lot of what made it so slow early on)
2023-02-19 21:14:22 -05:00
omuretsu
6b8ae1b351
Change high% display to mult form
...
Also includes some documentation updates from a previous PR (sleeve.setToIdle)
2023-02-19 15:24:27 -05:00
tyasuh.taeragan@gmail.com
b6433786e3
formatter
2023-02-19 05:27:09 -05:00
tyasuh.taeragan@gmail.com
012c5d4f86
Int Buff to shock recovery speed
2023-02-19 01:43:38 -05:00
Mughur
2bd5741b22
Merge pull request #371 from d0sboots/hacking
...
NETSCRIPT: Add `additionalMsec` to BasicHGWOptions
2023-02-19 07:42:11 +02:00
Mughur
79eca93ade
Merge pull request #373 from Mughur/uptodate
...
BUGFIX: new servers check reserved names properly
2023-02-19 07:28:30 +02:00
Zelow79
028199aa7d
SLEEVE: Add sleeve.setToIdle function ( #374 )
2023-02-19 00:13:23 -05:00
omuretsu
bd4fe19fde
Fix percent display at large values
2023-02-18 08:03:16 -05:00
Mughur
d55395491c
BUGFIX: new servers check reserved names properly
2023-02-18 03:34:09 +02:00
David Walker
53755dd573
NETSCRIPT: Add additionalMsec
to BasicHGWOptions
...
This option adds additional time to the sleep in hack/grow/weaken before
the command takes effect. The critical difference between this and doing
your own sleep is that it creates a single, uninterruptible sleep: This
opens up multiple new avenues of gameplay for batching.
Note that use of this new feature is theoretically always suboptimal,
since extending the sleep time wastes RAM.
2023-02-17 00:01:41 -08:00
David Walker
ed59f4bfe7
NETSCRIPT: Add growThreads to formulas, improve docs for hacking functions ( #330 )
2023-02-14 17:38:51 -05:00
Snarling
b9a2953fa6
Add totalExperience property to getOffice ( #367 )
2023-02-14 01:38:22 -05:00
Snarling
08e71c732b
Threads are a positive integer ( #366 )
...
* Added new positive integer ns validation helper
* `run`, `exec`, and `spawn` verify threads as a positive integer.
* `run` terminal command also fails if the provided threadcount is not a positive integer.
* Removed some references to .script files in various documentation, and removed some of the NS1 example blocks
2023-02-14 01:32:01 -05:00
Snarling
b0bdf0c7ad
DOC: Improve ns.kill documentation ( #365 )
2023-02-13 21:50:38 -05:00
Mughur
571f1eb8ef
Merge pull request #362 from d0sboots/corpsell
...
CORP: Change/fix TA.II to use configured sell amounts
2023-02-14 03:38:58 +02:00
Snarling
f16a4f1a4e
fix setTheme
2023-02-13 19:49:07 -05:00
David Walker
4dd093606c
CORP: Change/fix TA.II to use configured sell amounts
...
It used to set prices based on current production only.
2023-02-11 23:08:39 -08:00
Snarling
6a6043c509
CODEBASE: Add custom useRerender hook ( #359 )
2023-02-11 13:22:55 -05:00
Snarling
b4074328ec
UI: Added new locale-aware and configurable number formatting ( #354 )
2023-02-11 13:18:50 -05:00
Zelow79
1f5546b721
UI: Revealed faction augments remaining in faction invite. ( #357 )
2023-02-11 10:41:50 -05:00
omuretsu
07b1eefe33
Run prettier
2023-02-07 21:16:18 -05:00
Mughur
67fde6167b
Fix tutorial getting started link
...
change tformat.rst file name
2023-02-08 03:46:42 +02:00
Zelow79
37f41c89bc
MISC: Added features to DevMenu ( #353 )
...
* More blade devmenu functions
* Custom money field, set money to 0 option
* Options for removing blade/gang/corp
* Better dev menu responsiveness (dev menu rerenders after adding or removing blade/gang/corp)
* Some general code style changes
2023-02-02 10:09:38 -05:00
T.J. Eckman
a141431e08
CORP: Move Sale after Export in Corp States
2023-01-30 19:15:56 -05:00
Mughur
d5707931c6
Merge pull request #342 from MattiYT/dev
...
UI: Added iron man theme.
2023-01-30 22:53:56 +02:00
Mughur
741f4a0d1e
Update index.ts
2023-01-30 22:50:40 +02:00
Mughur
23199ee705
fix previous commit, improve argument page on docs
2023-01-30 21:42:46 +02:00
Mughur
6369ab434b
Doc changes
2023-01-30 20:51:00 +02:00
omuretsu
867236e153
autoAssignJob streamlining
2023-01-29 08:14:12 -05:00
Matti
f8f8c8c517
Add files via upload
2023-01-29 12:51:46 +00:00
Matti
caf65c4d63
Update index.ts
...
Added iron man theme to the list.
2023-01-29 12:49:12 +00:00
Christian Roy
d7439aae52
Fix setAutoAssignJob parameter validation. ( #339 )
2023-01-29 07:39:01 -05:00
David Walker
c1d3664955
CORP: Revert mandatory coffeeparty ( #333 )
2023-01-27 08:15:54 -05:00
Zelow79
707508a8cc
MISC: Further BB UI number updates ( #340 )
2023-01-27 08:04:17 -05:00
Mughur
9c365d0da5
small fixes
2023-01-24 23:28:53 +02:00
Zelow79
d6a0d5fcaa
BUGFIX: Corrected error in formatReallyBigNumber and updated BB UI to be more large number friendly ( #331 )
2023-01-20 08:06:50 -05:00
Tyasuh
ac8ea6b5ef
split hacknet node from server in name, with SF9 ( #327 )
2023-01-16 15:59:33 -05:00
hydroflame
80061b1f81
Remove donation section under options ( #328 )
2023-01-16 15:51:47 -05:00
Zelow79
5f923a348c
NETSCRIPT: Added cyclesWorked to certain sleeve.getTask returns, and added bladeburner.getActionSuccesses ( #324 )
2023-01-15 23:50:54 -05:00
Tyasuh
6f0b3d07b8
GRAFTING: Bladeburner augs can be grafted if player is in Bladeburner faction ( #321 )
2023-01-14 18:24:45 -05:00
David Walker
8f2014ea6f
BUGFIX: Fix rendering of GenericLocation
...
Fixes #316 . Rollback of the change to GenericLocation made in the
previous PR, plus adding keys (instead) to address the original problem.
2023-01-09 20:02:26 -08:00
David Walker
0c2d402f0b
INFRA: Update everything except React ( #312 )
2023-01-08 02:36:55 -05:00
zerbosh
65f22e7931
CORPORATION: prevent "Unassigned" as job in setAutoJobAssignment ( #308 )
2023-01-06 22:28:22 -05:00
zerbosh
b4743a9841
CORPORATION: added Checks to setAutoJobAssignment ( #307 )
2023-01-06 14:52:40 -05:00
Mughur
7e183c4e4a
Updated ReadTheDocs links
2023-01-06 15:24:10 +02:00
David Walker
4eef9eec03
NETSCRIPT: More ns Proxy changes ( #297 )
2023-01-05 20:41:24 -05:00
Mughur
3281b785ce
properly fix leading '/' script bug ( #296 )
2023-01-05 20:33:30 -05:00
David Walker
aa32e235fa
MULTS: Make BitNodeMultipliers.ServerMaxMoney more sensible ( #280 )
2023-01-05 20:31:54 -05:00
David Walker
7b5080a42b
NETSCRIPT: Add undocumented function printRaw() ( #277 )
...
This is analagous to tprintRaw (enabled by ns.iKnowWhatImDoing()), but
for logs instead of the terminal. This provides a supported* method of
creating complicated UIs for scripts.
*No actual support, expressed or implied, is provided for use of this
function.
2023-01-05 20:30:34 -05:00
David Walker
c42fde9379
INFRA: Update Webpack to @latest, along with other dev packages ( #290 )
2023-01-05 20:29:02 -05:00
omuretsu
a76e281349
Bump to 2.2.2dev
...
About to merge some PRs, already added to changelog
2023-01-05 20:28:01 -05:00
omuretsu
237f9037bf
Better error on fail to import save
2023-01-05 13:04:26 -05:00
Snarling
31bf0c43d1
v2.2.1 ( #293 )
...
* handle enums differently
* Enums are frozen and fed directly to the proxy
* Enums are not included in the NSFull definition, allowing samekeys for RamCostTree<API>, InternalAPI<API>, and ExternalAPI<API>
* Rewrote a lot of the ramcalc test, with better typing thanks to the samekeys above
* Fix ns1 for proxy (args, pid, and enums after above changes were not being added to ns1 scripts.)
* Fixed an overview issue where the bars could display inaccurately.
Update changelog and bump version to 2.2.1
2023-01-04 09:45:17 -05:00
David Walker
5f18b87323
New ns implementation using Proxy ( #292 )
2023-01-04 08:56:29 -05:00
lucebac
1ec5ab9898
reduce level of jumper3 to 325 ( #291 )
2023-01-03 18:39:41 -05:00
omuretsu
bb566dc57c
hotfix
...
* Fix ramcost for corporation.bonusTime (must be 0 because other getBonusTime functions exist).
* Fix ui hook names for overview.
2023-01-03 12:23:38 -05:00
omuretsu
1670be1573
Changelog updates for latest hotfix
2023-01-03 12:04:47 -05:00
omuretsu
4ab29e9c60
Fix minimum corp employee stat
...
* minEmployeeDecay is now part of CorpConstants and has a value of 10. This replaces Office.minEne/minMor/minHap
* Also removed some unnecessary files in dist/ext for MathJax
* Rebuilt documentation to remove minHap/minMor/minEne from getOffice, and add minEmployeeDecay to corporation.getConstants
2023-01-03 11:55:50 -05:00
omuretsu
b2ecd82acc
Update changelog
2023-01-03 10:25:05 -05:00
Snarling
dc0de2498b
Fix mathjax error ( #287 )
...
* Updated mathjax and better-react-mathjax
* Removed MathJaxWrapper. Per better-react-mathjax documentation, we were incorrectly including a new context for every equation using this wrapper.
* Wrapped entire game in a MathJaxContext at GameRoot.
2023-01-03 07:38:14 -05:00
omuretsu
77894cd9e5
Update changelog for hotfixes
2023-01-03 02:50:08 -05:00
omuretsu
c9920f35ac
Fix crazy faction XP rates
2023-01-03 02:40:06 -05:00
omuretsu
f8af04e5b3
Fix broken HP
2023-01-03 02:16:48 -05:00
omuretsu
7c6d7206dd
Fix broken HP
2023-01-03 02:14:00 -05:00
omuretsu
e891b06260
Safe load sleeve class work
2023-01-02 18:18:59 -05:00
omuretsu
70b8be9988
Fix args for ns1
2023-01-02 17:56:11 -05:00
omuretsu
6d72861304
Fix graceful load for type changes
2023-01-02 15:25:43 -05:00
omuretsu
3f850d71ba
fix graceful material load?
2023-01-02 15:06:44 -05:00
omuretsu
2cb989243f
Format fix...
2023-01-02 13:59:31 -05:00
Mughur
1baa615def
MISC: small fixes ( #270 )
...
* infiltration gain bug fix
* fix corp division description
* avoid some issues with Infinity at super high NFG levels
Co-authored-by: Daniel Perez Alvarez <danielpza@protonmail.com>
2023-01-02 13:51:59 -05:00
omuretsu
80d751e32b
fix getActionRepGain
2023-01-02 13:28:31 -05:00
omuretsu
0ec4ef31ab
2.2
2023-01-02 13:20:25 -05:00
omuretsu
93aab87a16
Fix inaccurate HP on SF prestige
2023-01-02 10:35:52 -05:00
David Walker
fe5344f232
UI: Make tooltips for CoffeeParty better reflect reality ( #269 )
2023-01-02 09:49:36 -05:00
zerbosh
aa50378e18
CORPORATION: Give Full Api Access on BN3 ( #276 )
2023-01-02 09:48:02 -05:00
Mughur
e90224c63d
CORP: Industry descriptions shows what each division uses and makes ( #272 )
2023-01-02 09:46:53 -05:00
zerbosh
7d98c680e5
SLEEVE: added storedCycles to getSleeve() ( #279 )
2023-01-02 09:45:51 -05:00
omuretsu
d00ed1f4ee
sync overview updates
...
Using EventEmitter. Also get rid of ShownContext as it is no longer needed with this event based rerender.
2023-01-02 08:54:18 -05:00
omuretsu
90fc82b86f
Fix bad memoization in blade overview
2023-01-02 08:00:45 -05:00
David Walker
71bae01fd4
BUG: Fix console error about bad ref use. ( #278 )
2023-01-01 04:10:06 -05:00
omuretsu
313f6ada94
Fix more overview issues
...
Previous changes had overview become empty when collapsing it, which broke the collapse animation. It also would have broken use of the player-visible hooks, because those would have been removed from the document on collapse.
Now a context is used to store whether the overview is being shown or not, and components that update themselves will only do so when they are being shown.
2022-12-30 15:42:58 -05:00
Snarling
62a2532d05
UI: Fix broken overview ( #273 )
...
Fixes the broken overview where improper hook use was causing React errors for certain prop changes.
Overview no longer rerenders itself on a timer. Instead individual items that need to check for state updates do so themselves on a timer.
2022-12-30 14:28:49 -05:00
Snarling
fb1f95c26e
VARIOUS: Various changes prior to release 2.2 ( #271 )
...
See PR #271 description
2022-12-29 20:28:53 -05:00
zerbosh
24ad342203
getCorporation() returns division names ( #266 )
2022-12-29 04:30:16 -05:00
Mughur
5c80655d62
NETSCRIPT: Added ns.corporation.issueNewShares function ( #261 )
2022-12-25 03:35:18 -05:00
Mughur
556fe8dd33
NETSCRIPT: Added ns.corporation.getConstants, replacing many other corporation getter functions ( #260 )
2022-12-25 03:33:13 -05:00
David Walker
018053d79e
NETSCRIPT: Reduce cost of two multipliers functions ( #254 )
2022-12-21 18:30:27 -05:00
David Walker
149d687fd6
UI: Memoize character overview ( #247 )
2022-12-21 18:27:51 -05:00
Mughur
addcee73fc
Tutorial: Remove NS1 tutorial, change getting started guide to .js ( #258 )
2022-12-21 17:49:12 -05:00
Mughur
b004b7203d
GENERAL: Reorganizing and grouping node multipliers ( #259 )
2022-12-21 17:39:12 -05:00
lucebac
5a86be8714
Update doc for ns.scp ( #262 )
2022-12-21 14:56:08 -05:00
David Walker
303c54c85c
NETSCRIPT: Fix a typo in scp ( #256 )
2022-12-19 14:39:03 -05:00
omuretsu
1dec0d00bd
Add documentation for ns.pid
2022-12-13 09:09:12 -05:00
T.J. Eckman
52034ccedc
NETSCRIPT: Add ns.pid variable for accessing the current script's PID ( #255 )
2022-12-13 09:07:15 -05:00
David Walker
f943e5d603
INFILTRATION: Change "slash" to "attack", less potential confusion ( #251 )
2022-12-13 08:28:56 -05:00
hydroflame
45221ead06
MISC: Remove google analytics ( #253 )
2022-12-13 08:28:08 -05:00
hydroflame
f039760690
Update blood donation counter
2022-12-09 15:46:56 -05:00
omuretsu
2489ec43fe
Sidebar tweaks
2022-12-04 23:04:33 -05:00
David Walker
a46d34bd60
UI: Break SidebarRoot into smaller components, and memoize ( #246 )
2022-12-04 21:05:55 -05:00
David Walker
8d793ea271
Internal refactoring of Router ( #241 )
2022-12-04 03:14:06 -05:00
G4mingJon4s
897a1fbc8e
Changed skill formatting from numeral to localeStr ( #244 )
2022-12-03 23:32:39 -05:00
G4mingJon4s
633296da15
Added check if factionWork is from faction of gang ( #243 )
2022-12-03 22:58:40 -05:00
David Walker
49f732d1ee
Revert "Revert "Add keycode table and switch to event.code in select places" ( #224 )" ( #242 )
2022-12-03 22:56:42 -05:00
omuretsu
680027cd4b
Fix update text for dev branch
2022-12-01 16:37:51 -05:00
Snarling
5ff2cd5357
VERSION: Update game version to 2.2 ( #240 )
...
Includes some bug fixes:
* Fix sleeve shock internal/display discrepancy (0-100 vs 0-100)
* Special error message if ns function called without a this
* Change whitespace to pre-wrap for dialog box.
* Fix bug where idle sleeves do not consume cycles but still recover shock from those cycles. Now they do not recover during idle.
* attempted to tag commit as v2.2.0
2022-12-01 16:07:46 -05:00
quacksouls
6034e1c3fa
DOC: CORP: typo fixes in hire AdVert functions ( #237 )
2022-12-01 11:41:52 -05:00
Snarling
14e50e5533
Some corp fixes ( #236 )
2022-11-29 08:24:04 -05:00
Snarling
0fb7200b4b
STOCK: ns.stock.getOrganization added for getting org from stock symbol ( #234 )
...
Authored-by: SamuraiNinjaGuy <branmiller+bitburner@gmail.com>
2022-11-28 10:33:28 -05:00
Snarling
837c6bd1c2
CONTRACT: codingcontract.attempt always returns a string ( #231 )
...
* ns.codingcontract always returns a string (reward on success, empty on fail), simplifying usage and documentation of function.
* Because of the above, return value still works when used as a boolean, as long as no direct equality comparison to true/false.
* Documentation expanded and examples added.
Co-authored by @quacksouls
2022-11-28 09:15:09 -05:00
Snarling
6af36e3b29
NETSCRIPT: Faster API wrapping on script launch. ( #229 )
...
* ns API is wrapped once
* when a new workerscript is created, each layer of ns is stamped with a private workerscript field that allows the functions to work.
* Test has been refactored to account for new method of wrapping
* BREAKING: ns functions need access to `this` value of their parent ns layer (or any ns layer)
* Enums are passed directly to player (no cloning) but are frozen.
2022-11-28 09:11:55 -05:00
Burhanuddin Mustafa Lakdawala
675c2a0456
DOC: Update documentation for limitMaterialProduction and limitProductProduction ( #221 )
2022-11-26 21:06:47 -05:00
quacksouls
1ee71cea19
CORP: fix typos in research descriptions ( #232 )
...
Fix various typographical errors in the descriptions of research.
2022-11-26 21:05:01 -05:00
David Walker
70fadde222
Revert "Add keycode table and switch to event.code in select places" ( #224 )
...
Using code instead of key is strongly warned against at MDN and causes issues with nonstandard layouts:
https://developer.mozilla.org/en-US/docs/Web/API/Element/keydown_event#keyboardevent.code
This also fixes ScriptEditorRoot.tsx, where some code snuck in that
wasn't using *any* of the constants.
This reverts commit 016a9a873fba71388bdbaa1423134fd1f2335a15.
2022-11-26 08:51:09 -05:00
Burhanuddin Mustafa Lakdawala
f70a25d755
Fix spacing on 'Trade for reputation` button ( #222 )
2022-11-25 08:00:26 -05:00
Snarling
e17380549d
Add ctrl-a support for logs ( #228 )
...
And prevent double line returns when copying logs
2022-11-24 13:04:06 -05:00
TheMas3212
533d8a4332
GANG: Fix Gang UI to correctly report the bonus time multiplier as 25x
...
Add Tooltop to Corporation UI to explain bonus time (matching the one in
Gang UI)
Move corporation.process to the correct location
2022-11-25 00:45:30 +11:00
Snarling
e7fc0fbb03
Fix documentation for ns.sleeve ( #227 )
2022-11-24 08:19:51 -05:00
Snarling
6616f7ba15
DOCS: Update documentation for ns.args ( #220 )
2022-11-21 12:19:16 -05:00
Snarling
79fd5f6089
Fix ansi background spacing ( #219 )
2022-11-21 11:08:36 -05:00
omuretsu
387c0c2786
Fix save corruptions from invalid types
2022-11-20 12:39:08 -05:00
Snarling
65cd14e33b
DOC: Add ns documentation for possible sleeve tasks ( #217 )
...
* Add specific types for sleeve tasks
* Moved LocationName enum to overall enums file
* Add LocationName enum to those provided to player
* remove trailing s on CompanyPosNames enum (now CompanyPosName, in line with LocationName)
* Also regenerated all ns documentation. This leads to an expected error when checking for generated files, because PRs should not normally touch markdown files. Also leads to a lint failure in generated file bitburner.d.ts
* also removed some exporting from NetscriptDefinitions.d.ts for anything that wasn't imported somewhere else.
2022-11-20 12:07:22 -05:00
Snarling
88d51e9a7e
MISC: A bunch of enums stuff. ( #212 )
...
* Some game enums moved to utils/enums. Others can eventually be moved there as well.
* findEnumMember function for performing fuzzy matching of player input with enum members, without needing separate fuzzy functions for every enum.
* Also used findEnumMember for safely loading save games (allows case changes in enum values)
* Changed capitalization on some enums.
* BREAKING: removed classGains work formulas function
* Split ClassType enum into UniversityClassType and GymType.
* Added universityGains and gymGains work formulas functions
* Provided the new split enums to the player on ns.enums.
2022-11-20 08:37:11 -05:00
Snarling
c929806307
fix broken party math again
2022-11-20 07:56:58 -05:00
omuretsu
673c2d9f82
Fix broken partyMult default
2022-11-19 22:42:34 -05:00
Snarling
c669e473d1
SLEEVE: Fixed inconsistencies in how sleeve work rewards are handled. ( #211 )
2022-11-10 21:56:46 -05:00
Snarling
426ad5f296
Sleeve criming fix ( #209 )
...
Also simplify usage of findCrime
2022-11-10 11:05:42 -05:00
Snarling
82ba5f1f13
Ignore monaco cancellation errors ( #208 )
...
Also updated monaco-editor and @monaco-editor/react to latest versions since there were no conflicts.
2022-11-10 10:08:59 -05:00
Matt Garretson
3ec4f0c98c
Fix HP gaining logic from defense skill levels ( #205 )
2022-11-09 22:06:27 -05:00
Snarling
b275f88053
NETSCRIPT: Expose more enums for player use ( #198 )
...
* Add support for enums at other ns layers
* APIWrapper: simplified wrapping algorithm and modified to just use cloneDeep to copy enums instead of recursively wrapping enums as if they were new API layers
* Improve APIWrapper typing
* Changed some typings at RamCostGenerator to allow for enums at different levels without enums needing a ram cost
* Added enums to ns.corporation, removed getter functions that were being used instead.
* Add FactionWorkType for player use
* Add ClassType and CompanyWorkPos enums
* Change netscriptDefinitions to expect members of these new enums where appropriate.
2022-11-09 13:46:21 -05:00
Snarling
8e0e0eaa88
NETSCRIPT: ns.sleeve.getSleeve added. getPlayer and getSleeve can both be used for formulas. ( #200 )
...
* BREAKING CHANGE: Removed getSleeveStats and getSleeveInformation because this info is provided by getSleeve in a more usable form.
* BREAKING CHANGE: Removed tor, inBladeburner, and hasCorporation fields from ns.getPlayer. Functionality still exists via added functions ns.hasTorRouter, ns.corporation.hasCorporation, and ns.bladeburner.inBladeburner.
* Separated ns definitions for Person, Sleeve, and Player interfaces with both Player and Sleeve just extending Person.
Added getSleeve, which provides a Sleeve object similar to getPlayer.
* Renamed the sleeve ns layer's interface as sleeve lowercase because of name conflict. todo: May move all the ns layers interface names to lowercase for consistency
* Added ns.formulas.work.crimeSuccessChance and reworked to allow both sleeve and player calculations.
* Removed internal Person.getIntelligenceBonus function which was just a wrapper for calculateIntelligenceBonus. Any use of the former in formulas creates a conflict where ns-provided Person objects throw an error.
* Renamed helpers.player to helpers.person for netscript person validation. Reduced number of fields validated due to Person being a smaller interface.
* Fixed bug in bladeburner where Player multipliers and int were being used no matter which person was performing the task
* Fixed leak of Player.jobs at ns.getPlayer
* Person / Player / Sleeve classes now implement the netscript equivalent interfaces. Netscript helper for person no longer asserts that it's a real Person class member, only that it's a Person interface. Functions that use netscript persons have been changed to expect just a person interface to prevent needing this incorrect type assertion.
2022-11-09 07:26:26 -05:00
Snarling
6f08aee8f6
Fix zombie scripts ( #203 )
...
Also made installAugmentations synchronously perform reset, but added a short timeout to the callback script launch for balance.
2022-11-08 12:17:34 -05:00
Snarling
01b131526a
Rework coffee/party ( #201 )
...
* Removed unused partyEmployees and coffeeEmployees members of OfficeSpace
* Reworked formula for performance loss per market cycle.
* Rework both coffee and party formulas to allow easier recovery from low values.
2022-11-07 09:09:53 -05:00