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