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
572c68738f
Unify error handling
2022-09-27 15:34:47 -04:00
LJNeon
b1c5ddb211
chore(ns.tFormat): Remove incorrectly placed 's'
2022-09-23 07:59:50 -07:00
Olivier Gagnon
fde4e7ac38
fix 2962
2022-09-23 00:13:06 -04:00
Snarling
b700b0246b
Fix contract input handling
2022-08-02 11:11:49 -04:00
Olivier Gagnon
07c7f0641a
allbuild commit c8440ef2
2022-07-28 14:35:55 -04:00
Olivier Gagnon
4549b0d467
finish sleeve rework
2022-07-28 02:46:34 -04:00
Olivier Gagnon
65400dd215
v2apibreak work on .script better
2022-07-27 00:28:32 -04: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
214b2645ad
allbuild commit 8afacee9
2022-07-26 10:41:04 -04:00
hydroflame
9e25833796
Merge pull request #3606 from RevanProdigalKnight/feature/enhanced-terminal-argument-parsing
...
MISC: #3596 Enhanced terminal command parsing
2022-07-21 18:36:54 -04:00
hydroflame
a48ae726ba
Merge pull request #3778 from s2ks/hamming
...
CODINGCONTRACT: HammingCodes description and implementation fixes
2022-07-21 02:16:35 -04:00
Olivier Gagnon
71d8e35bb5
more anys
2022-07-19 23:26:21 -04:00
Olivier Gagnon
f220965a73
more anys
2022-07-19 22:54:38 -04:00
Olivier Gagnon
83c26903c0
add argument for commitCrime focus
2022-07-19 22:30:07 -04:00
Olivier Gagnon
bb8af88b77
prep v2
2022-07-19 14:21:12 -04:00
Olivier Gagnon
4bee746576
rm any
2022-07-15 01:51:30 -04:00
Olivier Gagnon
c9432e4cd7
rm any
2022-07-14 21:54:49 -04:00
Olivier Gagnon
6b630753f0
nuke some use of any
2022-07-14 19:00:10 -04:00
Olivier Gagnon
0550bc188c
refactor some stuff
2022-07-14 17:43:08 -04:00
Olivier Gagnon
f7805c4a51
convert faction work to new work system
2022-07-12 01:54:19 -04:00
s2ks
b27e7d00fe
format
2022-07-08 01:37:42 +02:00
s2ks
f066c0f01e
correct size calculation
2022-05-28 15:27:32 +02:00
s2ks
c88d3bcf85
format
2022-05-27 22:37:32 +02:00
s2ks
aa321e3305
re-implement HammingEncode/Decode added HammingEncodeProperly
...
to generate valid hamming codes for "HammingCodes: Encoded Binary to
Integer"
2022-05-27 21:42:39 +02:00
Olivier Gagnon
ca2e22506b
more lint
2022-05-25 15:40:57 -04:00
Olivier Gagnon
c1650e332b
lint fixes
2022-05-25 15:08:48 -04:00
Olivier Gagnon
76ccb0ba36
lint
2022-05-25 11:43:43 -04:00
rderfler
77073836cb
Merge remote-tracking branch 'upstream/dev' into dev
2022-05-06 22:44:24 -04:00
nickofolas
7d75093989
Init work types with new None
member
2022-05-04 15:03:02 -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
hydroflame
a3fe965771
Merge pull request #3572 from Undeemiss/exception-typo
...
MISC: Fixed typo in exceptionAlert.ts
2022-05-04 11:58:27 -04:00
hydroflame
7e5ab8d9a6
Merge pull request #3581 from stalefishies/compression-contract-fix
...
BUGFIX: Handle edge case in LZ compression code and fix docs
2022-05-04 11:53:29 -04:00
RevanProdigalKnight
df30771744
Add =
...
Adds the equal sign (`=`) for use in `src/Terminal/Parser.ts`
2022-05-04 00:47:58 -06:00
Zoë Hoekstra
016a9a873f
Add keycode table and switch to event.code in select places
2022-05-03 15:59:46 +02:00
rderfler
7cf21629a7
Address review
...
Add ns function setToBladeburnerAction
Formatting updates
fix sleeves using player stamina
Correct supporting sleeve causing error
2022-04-30 15:25:36 -04:00
Staszek Welsh
55d9810727
Handle edge case in LZ compression code and fix docs
2022-04-28 19:50:17 +01:00
Undeemiss
138a945707
Fixed typo in exceptionAlert.ts
2022-04-27 18:45:25 -05:00
Staszek Welsh
174d17a5e2
Add compression coding contracts
...
Add three new contracts:
* Compression I: RLE Encoding
* Compression II: LZ Decoding
* Compression III: LZ Encoding
as well as associated utility functions
2022-04-22 17:31:52 +01:00
Heinous Tugboat
5b96cedd0c
Adds SnackbarVariant enum
2022-04-08 23:46:19 -04:00
Olivier Gagnon
2b2af797a7
fmt and lint
2022-04-08 00:39:45 -04:00
hydroflame
d956e47246
Merge pull request #3331 from Ornedan/shortest-path-cct
...
New coding contract: Shortest Path in a Grid
2022-04-08 00:38:19 -04:00
Hedrauta
e286ee1de5
2 new Coding Contracts
...
also run format and lint on it this time 😉
2022-04-07 06:16:14 +02:00
Olivier Gagnon
48f80f25d6
fmt and lint
2022-04-06 19:30:08 -04:00
Heikki Aitakangas
233289af56
Fix lint errors
2022-04-02 05:16:48 +03:00
Heikki Aitakangas
d69e94002e
Add binary heap data structure
2022-04-02 03:18:18 +03:00
phyzical
c681828ec1
few more event key. constant refactors
2022-03-24 23:09:24 +08:00
Olivier Gagnon
05fe14a5ed
Fix some key not working
2022-03-20 23:11:26 -04:00
Master-Guy
9dd933ecee
Changed .keyCode to .key for files in "src"
2022-03-18 10:43:56 +01:00
BB
4eb59ac70c
Turned on no-useless-concat lint and fixed it in code
2022-03-16 20:44:52 +01:00
BB
5e2ccc71ec
Mixing spaces and tabs, extra semicolons and lonely ifs are now forbidden
2022-03-11 16:32:48 +01:00
BB
2f4d879c16
Trailing whitespace and files not ending with \n are now illegal
2022-03-08 22:51:02 +01:00
Martin Fournier
974344545d
Move import save functionality into SaveObject
...
Adds a lot of metadata to be able to easily compare the new save to the
current player.
- Adds lastSaved & identifier to the PlayerObject
- Includes a hash method used to generate an identifier
2022-01-26 03:42:52 -05:00
qcorradi
08314ed33e
Fixed array comparison handling of NaN
...
Issue #2033 is fixed, not using Object.is as recommended by https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness#when_to_use_object.is_versus_triple_equals
2022-01-23 20:33:32 +01:00
Olivier Gagnon
77f525c98c
rm blob caching
2022-01-20 16:11:48 -05:00
hydroflame
c5089ab82a
Merge pull request #2664 from MartinFournier/feature/recovery
...
Add information to the recovery page
2022-01-17 16:05:00 -05:00
theit8514
423efe19e1
Remove dependents from cache when dependency updated
2022-01-17 12:02:00 -05:00
Martin Fournier
65964c84b2
Add information to the recovery page
...
Adds error & environment information to the recovery page when
available. The info will be displayed when the error boundary catches an error only.
Otherwise, does a few minor tweaks to the UI of the page.
- Add DevPage button to throw an uncaught error to go into recovery
- Add "Delete Save" button in recovery from Game Options (refactored into its own
component)
- Use "Soft Reset" button from Game Options (refactored into its own
component)
- The "Soft Reset" & "Delete Save" buttons now have confirmations
- Add tooltip on "Disable Recovery Mode" button
- Add timestamp to the RECOVERY.json filename
- Add textarea containing markdown with the current error details, if
available
- Error
- Page
- Version
- Environment
- Platform
- UserAgent
- Features
- Source
- Stack Trace
- Change GitHub new issue link to contain default body & title, if possible
- Change links to not take the full width (they were clickable by mistake)
- Fix "Disable Recovery Mode" not resetting the ErrorBoundary's state,
making going back to terminal impossible
2022-01-16 09:07:53 -05:00
TheMas3212
3da3a61e20
manMax, oneOf, subsetOf validators
2022-01-10 07:37:46 +11:00
TheMas3212
d9064b608f
PoC for save validation on load via hooking the Reviver function and
...
static property validationData on classes
PoC/example implemented with HacknetNode:
validates cores is a number in the range between 1 and HacknetNodeConstants.MaxCores
validates level is a number in range between 1 and HacknetNodeConstants.MaxLevel
validates ram is a number in range between 1 and HacknetNodeConstants.MaxRam
validates onlineTimeSeconds in non negative number
validates totalMoneyGenerated is a non negative number
2022-01-10 07:37:46 +11:00
Olivier Gagnon
c59a267437
change sf4
2022-01-04 19:09:34 -05:00
theit8514
fd93c6d338
Fix linting errors
2021-12-23 23:26:05 -05:00
theit8514
8f77f720e6
Cache the blobs generated by scripts
2021-12-23 23:06:01 -05:00
Olivier Gagnon
e6b263e6ec
make infil reward more consistent.
2021-12-03 15:11:31 -05:00
Olivier Gagnon
b6279ac08c
some api break stuff
2021-11-12 15:56:48 -05:00
Olivier Gagnon
3112dc60c0
few more bugfixes
2021-11-11 23:28:08 -05:00
hydroflame
70ffe25bb4
Revert "bunch of bugfixes"
2021-11-11 20:06:05 -05:00
Olivier Gagnon
d91d7c564e
bunch of bugfixes
2021-11-11 19:56:09 -05:00
Olivier Gagnon
cf2efe7698
few bugdic
2021-11-11 17:00:36 -05:00
Olivier Gagnon
3f28b066b0
working on timestamps and make netscript function highlight more specific.
2021-11-11 10:07:16 -05:00
Olivier Gagnon
1e7da4c610
make timestamp with seconds
2021-11-10 19:50:21 -05:00
Olivier Gagnon
a3346719a0
rm console log
2021-11-10 12:37:40 -05:00
Olivier Gagnon
9fe817daf2
fix backup_ folder not working
2021-11-10 12:34:56 -05:00
Olivier Gagnon
c87e9bdf84
v1.0.0 changes
2021-11-09 23:42:36 -05:00
Olivier Gagnon
eb6f016ac1
fix corp softcap
2021-11-05 21:01:23 -04:00
Olivier Gagnon
37845c57c0
migrate some of formulas
2021-11-02 22:58:40 -04:00
Olivier Gagnon
0bee743b47
v1.0.0 migration guide
2021-11-02 22:49:46 -04:00
Olivier Gagnon
b2bf3fc21f
v1 api breaks
2021-11-02 22:11:22 -04:00
Olivier Gagnon
55d1dca7b7
Add noodle power.
2021-11-02 20:30:19 -04:00
Olivier Gagnon
48988e228e
track money more precisely.
2021-10-27 14:18:33 -04:00
Olivier Gagnon
d35bac1ace
Build autocomplete
2021-10-15 13:15:42 -04:00
Olivier Gagnon
c1d4ced331
autocomplete
2021-10-15 13:12:18 -04:00
Olivier Gagnon
89a6bf175d
nuke half the dependencies because they were unused.
2021-10-14 19:31:17 -04:00
Olivier Gagnon
6b114fab7d
remove unused stuff
2021-10-14 18:45:50 -04:00
Olivier Gagnon
78d9c25671
fix error message with wrong reviver, refactor part of player
2021-10-11 23:14:15 -04:00
Olivier Gagnon
c47a5bc8cc
added grow, weaken, and time compression
2021-10-04 19:58:34 -04:00
Olivier Gagnon
97c04a1037
logbox manager, alert manager and fix bitverse colors
2021-10-01 10:39:09 -04:00
Olivier Gagnon
06f716c0fa
moved a bunch of files
2021-09-25 14:42:57 -04:00
Olivier Gagnon
0c932dd4d1
build bunch of fixes
2021-09-21 20:30:00 -04:00
Olivier Gagnon
3554da5a53
load a top level react node and everything else under it.
2021-09-19 18:22:52 -04:00
Olivier Gagnon
61e3959a25
Improve event emitter
2021-09-18 15:44:39 -04:00
Olivier Gagnon
2a13db39c7
fix sleeve memory bug
2021-09-08 23:47:34 -04:00
David Edmondson
cfbdae6def
Switch ts and babel for swc-loader
...
Replace old <> assertion syntax
2021-09-04 16:57:49 -07:00
Olivier Gagnon
a18bdd6afc
prettify, sorry for the big ass commit
2021-09-04 19:09:30 -04:00
Olivier Gagnon
218a9dd250
Sleeves earnings is now tracked in Character Stats Money
2021-05-17 22:03:48 -04:00
Olivier Gagnon
d745150c45
all the lints
2021-05-01 03:17:31 -04:00