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
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
Snarling
79fd5f6089
Fix ansi background spacing ( #219 )
2022-11-21 11:08:36 -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
Rai
c17af3ad35
UI: SoftResetButton.tsx Tooltip changed to make more sense ( #186 )
2022-11-06 17:30:01 -05:00
jaculler
a40aa1bab2
Fix Tutorial Ram Text ( #162 )
...
This updates the tutorial (and tests) to match the updated value of 8GB starting ram.
2022-10-27 06:25:45 -04:00
Olivier Gagnon
cbb7f58231
Make the main player object an alias, makes it easier to import
2022-10-09 18:42:14 -04:00
Olivier Gagnon
f6f023eeb4
Fix tons of typos
2022-10-09 01:25:31 -04:00
Snarling
068533cd2f
format, lint, more enums, revert fn rename
2022-10-05 14:52:48 -04:00
Snarling
aa80cf6451
See description
...
Reverted ToastVariant back to an enum internally. Still exposed to player as just possible strings.
Changed all 1-line documentation comments to actually be 1-line. Moved some because they were not providing documentation for the thing they were trying to.
2022-10-04 06:40:10 -04:00
Snarling
50f14b4f58
Commit1
2022-10-03 12:12:16 -04:00
Snarling
3addda7173
format and lint
2022-10-01 15:15:36 -04:00
Snarling
9774235404
initial test fix attempt
2022-10-01 15:03:47 -04:00
Snarling
38063f62a7
build fix, lint, remove some instanceof checks
2022-09-27 16:09:32 -04:00
Snarling
dc59a10e19
Fix lit files, reallow html alerts
2022-09-27 15:35:40 -04:00
Snarling
91a69d7d8f
format & lint
2022-09-27 15:35:40 -04:00
Snarling
c9ee938bc6
fix previous commit
2022-09-27 15:35:40 -04:00
Snarling
a21b1029d7
No more player/router context
2022-09-27 15:35:40 -04:00
Snarling
83d357e758
commit1
2022-09-27 15:35:40 -04:00
Snarling
7d37736058
unified errors
2022-09-27 15:35:39 -04:00
Snarling
b8496b4c2c
remove duplicate handling
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
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
Olivier Gagnon
2fc17423ff
Improve the robustness of the tutorial.
2022-09-27 13:35:51 -04:00
hydroflame
b139d689a5
Merge pull request #4103 from G4mingJon4s/dev
...
Fix for #2442 and #2795 .
2022-09-23 00:56:40 -03: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
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
SilverNexus
10a2f180ce
Fix #4106 -- Crime EXP is exactly One Fifth?
2022-09-19 20:23:26 -04: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
Snarling
51d019c16c
Decache Ram on Tail Run
2022-09-05 08:19:24 -04:00
Olivier Gagnon
2592c6ccd8
allbuild commit 87054f61
2022-08-31 12:26:02 -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
3fe6a6e19d
fix settings unfocusing on every key stroke
2022-08-29 16:36:08 -04: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
Kelenius
e16140fe9c
Improvements to crime work UI
2022-08-26 21:03:30 +03: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
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
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
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
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
Snarling
fd3ff76976
Improve ScriptEditor responsiveness
2022-08-16 02:32:25 -04: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
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
Olivier Gagnon
326d9fd7ef
Move player skills and exp to their struct
2022-07-26 23:54:17 -04:00
Olivier Gagnon
e6d14eff68
preparation for v2 launch
2022-07-26 15:09:11 -04:00
Olivier Gagnon
faa3e212f3
fix a bunch of small v2 related bugs
2022-07-26 08:08:51 -04:00
Olivier Gagnon
d01fd55bde
lint fmt
2022-07-21 01:58:47 -04:00
Olivier Gagnon
c9b9c2c55b
merge dev
2022-07-20 12:16:42 -04:00
Olivier Gagnon
49f6fda1e4
remove last colon any for now
2022-07-20 01:48:54 -04:00
Olivier Gagnon
26986c2d3e
fix work crashing when installing
2022-07-19 21:42:54 -04:00
Olivier Gagnon
c3a10d5d95
fix more anys
2022-07-19 18:25:06 -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
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
ced37e3731
allbuild commit 6b18bfb1
2022-07-16 01:18:56 -04:00
Olivier Gagnon
4bee746576
rm any
2022-07-15 01:51:30 -04:00
Olivier Gagnon
e58456cd6b
allbuild commit 0b22e87e
2022-07-14 21:59:23 -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
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
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
Olivier Gagnon
b8750d1058
Make a new InputComponent that can be re-used everywhere to make all text accept the same kind of input
2022-05-27 20:41:14 -04:00
Olivier Gagnon
ca2e22506b
more lint
2022-05-25 15:40:57 -04:00
nickofolas
012edd3b2a
Fix log box wrap
2022-05-22 11:54:05 -05:00
Undeemiss
d52e1f44b4
Removed my stupid comment lol (sorry!)
2022-05-17 15:26:26 -05:00
Undeemiss
c01cf85d27
Formatted and linted
2022-05-17 15:25:27 -05:00
Undeemiss
8903cd2a8b
Removed closePid(fn, host, ...args) and fixed closePid(pid)
2022-05-17 15:19:35 -05:00
Undeemiss
e17fe6f618
closeTail(fn, host, ...args) can now close dead script tails
...
closeTail(pid) still cannot
2022-05-17 14:46:30 -05:00
Undeemiss
2b9d408b55
First attempt at an implementation; requires script be running
2022-05-17 13:45:30 -05:00
Undeemiss
5526355a43
Set up the skeleton of an ns.closeTail function
2022-05-16 19:15:38 -05:00
nickofolas
430d1dad9d
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/bitnode-multipliers
2022-05-13 11:55:55 -05:00
hydroflame
a8a302fc0a
Merge pull request #3641 from nickofolas/fix/log-box-ellipsis
...
UI: Minor improvements to log boxes
2022-05-13 11:06:05 -04:00
nickofolas
dd949697df
Fix handle position
2022-05-09 19:26:20 -05:00
nickofolas
d4e97d786c
Various log box improvements
2022-05-09 18:15:23 -05:00
nickofolas
bc9bce0d2c
Tweaks to classes
2022-05-09 17:50:45 -05:00
nickofolas
ebc6b52af5
Properly show stats with a BitNode mult of 0
2022-05-08 20:45:00 -05:00
nickofolas
d1498598a9
Fix conditional rendering of BN mults element
2022-05-07 17:16:47 -05:00
nickofolas
c688e20876
Refactor character stats table
2022-05-07 16:51:34 -05:00
nickofolas
5d89f17e4a
Tweak max SF level code
2022-05-07 16:28:01 -05:00
nickofolas
1f8c5164d7
Update BN Mults UI and add section to Stats
2022-05-07 15:52:10 -05:00
nickofolas
b1f945ff8e
Refactor CharacterStats
a bit
2022-05-07 14:48:26 -05:00
nickofolas
3e9bcea9e4
Fix modal z-index
2022-05-06 11:35:23 -05:00
nickofolas
f45200b25e
Implement ClassType
and FactionWorkType
enums
2022-05-04 14:18:12 -05:00
nickofolas
4a8e99b170
Refactor WorkType
to an enum
2022-05-04 13:42:48 -05:00
nickofolas
cc5e89208e
Convert WIP root to use switch statement
2022-05-04 12:44:48 -05:00
nickofolas
bcb6176952
Merge branch 'dev' into improvement/work-in-progress-ui
2022-05-04 12:28:33 -05:00
nickofolas
b8cb5f0991
Remove elapsed from crime WIP
2022-05-03 15:27:41 -05:00
nickofolas
e8a08424af
Fix typo
2022-05-02 17:57:50 -05:00
nickofolas
73d08973f9
Render faction money gain conditionally
2022-05-02 17:56:02 -05:00
nickofolas
e859759ebd
First pass on work in progress root
2022-05-02 17:31:40 -05:00
nickofolas
4c15b77d21
Update StatsRow
2022-05-02 17:05:25 -05:00
nickofolas
35fa6dcca1
Basic WorkInfo
implementation
2022-05-02 16:34:17 -05:00
nickofolas
05078ffb08
Move ProgressBar
component
2022-05-02 15:36:21 -05:00
hydroflame
0b74e2c65f
Update src/ui/InteractiveTutorial/InteractiveTutorialRoot.tsx
...
Co-authored-by: nickofolas <60761231+nickofolas@users.noreply.github.com>
2022-04-29 18:26:58 -04:00
Olivier Gagnon
f10de908d4
Make tutorial explain ns1 vs ns2 better
2022-04-29 17:54:59 -04:00
Snarling
bb5cc82226
Update LogBoxManager.tsx
2022-04-24 04:49:31 -04:00
Snarling
4e64d6df5b
Add minimum constraints for tail resize
2022-04-23 19:51:39 -04:00
Snarling
f05df0659d
Improve tail window buttons
2022-04-23 16:48:48 -04:00
JP Sugarbroad
d5be70e886
update @types/numeral and fix type errors
2022-04-19 17:07:51 -07:00
nickofolas
75ce3f2346
Use same BN level logic as save name generator
2022-04-19 09:57:26 -05:00
hydroflame
40febcf22e
Merge pull request #3488 from Snarling/touchScreenTailFix
...
UI: FIX #3341 Enable touch-clicks in react-draggable
2022-04-18 20:52:09 -04:00
Snarling
5c53b39edc
Try to fix formatting?
2022-04-17 17:40:37 -04:00
Snarling
2e7b7c9d86
Enable touch-clicks in react-draggable
...
Add onTouchEnd events for click functions inside react-draggable. Necessary because react-draggable prevents default click behavior.
2022-04-17 15:57:35 -04:00
nickofolas
9db90709fd
Bulk of design overhaul
2022-04-17 12:51:14 -05:00
Olivier Gagnon
62d15ff3a1
rm SourceFileFlags
2022-04-14 01:22:50 -04:00
Heinous Tugboat
492c7012ea
Renames SnackbarVariant to ToastVariant, adds enum to ns
2022-04-13 01:54:13 -04:00
hydroflame
eee8d3e283
Merge pull request #3381 from HeinousTugboat/htugboat/toast-enum
...
Adds SnackbarVariant enum
2022-04-13 00:34:09 -04:00
Olivier Gagnon
52e01fc026
fix a few things about getRecentScritps
2022-04-12 14:45:48 -04:00
hydroflame
68abd27d2c
Merge branch 'dev' into add-ns-getRecentScripts
2022-04-12 14:21:18 -04:00
hydroflame
243cdceb8c
Merge pull request #3390 from nickofolas/improvement/stats-augs-ui
...
[Improvement] Overhaul Stats and Augmentations UI
2022-04-12 13:43:09 -04:00
hydroflame
3f4d00a8c2
Merge pull request #3350 from phyzical/bugfix/3348
...
Fix for install augmentation stale objects bug
2022-04-11 20:05:46 -04:00
hydroflame
1b87628a4d
Merge pull request #3387 from nickofolas/improvement/grafting-tweaks
...
[Improvement] Small grafting tweaks based around Congruity aug, plus some general grafting fixes
2022-04-11 13:22:34 -04:00
nickofolas
8da51b7e0a
Replace references to crafting with grafting
2022-04-11 11:07:15 -05:00
phyzical
909e5e964f
add call to missing stock market init when using the api
2022-04-10 18:19:45 +08:00
nickofolas
4a0998c568
Fix DOM parse warnings
2022-04-09 09:06:32 -05:00
Heinous Tugboat
5b96cedd0c
Adds SnackbarVariant enum
2022-04-08 23:46:19 -04:00
nickofolas
f40af55f46
Change money stat color
2022-04-08 16:10:35 -05:00
nickofolas
fbf9bc521f
Merge branch 'dev' of github.com:danielyxie/bitburner into improvement/stats-augs-ui
2022-04-07 23:55:46 -05:00
nickofolas
e7ad5c5f9e
Remove unnecessary code
2022-04-07 23:33:47 -05:00
Olivier Gagnon
a2dddb0e5a
Fix soft reset not installing augs anymore
2022-04-08 00:28:37 -04:00
nickofolas
3d296e2bf0
Consistently respect SF5 BN mult unlock
2022-04-07 23:19:05 -05:00