Commit Graph

66 Commits

Author SHA1 Message Date
Reece Dunham 627d1fe465
refactor(cli): Move the CLI into its own file
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-04-18 09:30:52 -04:00
Reece Dunham ed841c1536
chore: Remove useless rev ident references
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-04-07 10:22:44 -04:00
AnthonyFuller 08dd361163 Change challenge pack order index in script 2024-04-06 13:41:09 +01:00
Reece Dunham 4304c8ee2e
Revert "Remove controller from require table"
This reverts commit a8000b855e.
2024-04-05 22:47:29 -04:00
Reece Dunham a94c5cbaad
Remove controller from require table
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-04-05 22:47:28 -04:00
Reece Dunham cb927ff83f
Bump version to v7.0.0
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-04-03 21:33:12 -04:00
AnthonyFuller e69473c035 Support challenge packs 2024-04-03 19:40:30 +01:00
Reece Dunham da89e507dc
chore: Update dependencies & TS version
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-04-02 12:26:39 -04:00
Reece Dunham f4caae8f14
fix: Prettier format API changed, fixes build
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-04-02 09:19:04 -04:00
Reece Dunham 8898b08160
chore: Upgrade to Prettier v3
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-04-02 09:12:57 -04:00
AnthonyFuller 9600085087 Add OrderIndex to challenge groups and removeChallenge function 2024-03-31 23:52:33 +01:00
Reece Dunham d5a958e9ec
fix: Don't emit useless metadata in require table
Because we never use `export default`, it just ends up being unneeded

Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-03-31 12:24:01 -04:00
Reece Dunham 6ffd9b002b
fix: Update help URL
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-03-31 09:17:47 -04:00
Reece Dunham dfcf3ae327
Rework update checking
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-03-31 00:20:42 -04:00
Reece Dunham d970873f9d
tests: Add new tests for user data persistence (#401) 2024-03-23 22:33:00 -04:00
AnthonyFuller 3b29bba236 Bump game version 2024-03-22 15:43:38 +00:00
Reece Dunham e184ce0e82
Add test to ensure objectives are localized (#391)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-02-20 12:21:52 +00:00
Reece Dunham 1c9bf730fb
Fix really weird issue
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-02-06 12:28:18 -05:00
Reece Dunham 5cc69434c6
Enable strict types mode (#362)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-02-02 14:46:44 -05:00
Reece Dunham 0a090f2272
Update copyright years to 2024
Signed-off-by: Reece Dunham <me@rdil.rocks>
2024-01-13 22:09:07 -05:00
Reece Dunham 0e66d69505
Separate routing logic and business logic (#352) 2024-01-13 23:46:42 +01:00
Jeff Huang abd9ada63b
Check for small item sizes for hidden stash (#359) 2024-01-10 15:41:07 -05:00
Reece Dunham 2d83a4c872
chore: Cherry-pick a bunch of dependency updates and test fixes from #340
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-11-22 17:49:01 -05:00
Reece Dunham 11ceba613d
Cherry-pick "lite" -> "linux" from #339
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-11-21 20:33:11 -05:00
Reece Dunham e70442e7d7
Remove obsolete code
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-10-27 11:46:52 -04:00
AnthonyFuller bf4ab0a36b Bump game version
(cherry picked from commit baae32eb86)
2023-10-26 15:50:06 +01:00
Reece Dunham 16a0a0bf59
Update dependencies
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-10-14 20:37:50 -04:00
riisikumi d966bd862f
TS6, 3.160 update (#316)
Added TS6, bumped server versions, updated store data and unlockables
2023-08-20 15:24:40 +01:00
Reece Dunham 29c519848c
Update a bunch of stuff (fix the vite sec warning)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-06-14 11:45:10 -04:00
AnthonyFuller 0702975c3e Bump H3 server version to 8.12.0 2023-05-11 11:59:22 +01:00
AnthonyFuller 78f51fd619 Bump SMP version to v5.9.2 2023-05-11 11:04:08 +01:00
AnthonyFuller d35a15f653 Bump SMP version to v5.9.1 2023-05-09 01:46:44 +01:00
AnthonyFuller 093de15e41 Bump SMP version to v5.8.0 2023-05-08 22:36:30 +01:00
AnthonyFuller d6a917ee50 Bump SMP version to v5.6.2 2023-04-26 10:03:41 +01:00
AnthonyFuller 2cddcd67e7 Switch to fast-glob 2023-04-25 05:42:18 +01:00
AnthonyFuller b570768c77 Bump SMP version to v5.6.1 2023-04-20 12:36:43 +01:00
AnthonyFuller 7169d624a8 Bump SMP version to v5.6.0 2023-04-19 22:12:30 +01:00
Lennard Fonteijn 606b84b0cc Added dynamic external package detection for plugin compilation 2023-04-17 00:24:13 +02:00
Lennard Fonteijn 4551059a53 Added logic to generate require table for plugins
Fixed issue where non-development builds would try to load TypeScript-based plugins
Fixed issue of non-exported interface FakePlayer
2023-04-17 00:24:13 +02:00
moonysolari 7f74ac7380
Add Elusive Target challenges on H3 (#192)
* Only change elusive contract types at getforplay

* Update the angel of death json

* Add ET challenges for all locations

* Correctly get elusives challenges in contracts

* Add CHALLENGES_ELUSIVE_TARGET_MIAMI

* Add global elusives challenges

* Remove " - Year 2" texts

* Correct strings in the Brothers challenges

* Latest ET challenge extraction script

* Add flag to toggle elusives saving

* make elusive target challenges game version aware

* remove extra BLOODYMARY challenges

* Fix The Blackmailer strings

* Remove duplicate global challenges definitions

* Filter out elusive challenges for location page

* update info on et tab on career-challenges page

* Allow elusives to be restarted in H2/3, add flag for H2016

---------

Co-authored-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com>
2023-04-13 18:49:31 -04:00
Anthony Fuller e53095a0f7
Bump SMP version to v5.5.2 (#199) 2023-04-09 18:48:19 -04:00
Reece Dunham 934fe294ec Skip inclusion of helper cmd files in lite version 2023-04-08 22:42:51 -04:00
Reece Dunham 1dfd710a93 Update deps, don't do prettier through eslint 2023-04-08 22:25:29 -04:00
moonysolari 21b3663c50
Added featured contracts challenges (#186)
* Add semi-working featured contracts challenges

* Pass contract IDs to $pushunique (need SMP update)

* Add readme for challenges

* Use drop ids

* fix fc challenges json

* Added h2 featuren contracts challenges

* Update smp to 5.4.0
2023-04-06 17:05:36 +01:00
moonysolari 5fff1c89ae
Fix challenges for H2 and H2016 (#152)
* Add location templates for older game versions

* Fix challenge data extraction script for h1

* Add challenge location templates

* unfinished game version support

* Fix challenge data extraction script for H2

* Conform function calls to new signature

* Add a game version for all maps

* Improve comments

* Try to add difficulty support

* fix type error

* fix GetActiveChallengesAndProgression difficulty

* Add difficulty for GetChallengeTreeFor

* Fix up difficulty in other places

* Add challenges data jsons for all three games

* Add H2 global TC challenges

* Fix H1 challenge typeheader

* Fix Type fields in SavedChallenge

* Fix imports

* Delete backup file

* Reduce hard-coding of difficulty number

* Support versioned global challenges

* remove H2GlobalChallenges

* Add missing global Challenges

* Make versions a global variable

* run prettier

* Use Drop Ids instead of unlockables

---------

Co-authored-by: Reece Dunham <me@rdil.rocks>
2023-04-05 20:02:25 +01:00
Lennard Fonteijn 307ab08d89 Fixed all challenges JSON-files to contain the expected data format 2023-04-01 23:26:02 +02:00
Lennard Fonteijn f732942e39
Add support for logging to console and files (#159)
* Add support for logging to console and files

* Added support for internal and custom log categories
Added support for disabling log categories
Added support for setting desired log levels for both console and file
2023-03-26 14:59:57 -04:00
Lennard Fonteijn 22d6b6d1ba
Added vitest and configuration to support unit tests (#37)
* Added Vitest and configuration to support unit tests
Added Vite plugin to fix performance issue with JSON files
Added mock for configSwizzleManager to support the Vite plugin

* Added custom ESLint rule to enforce proper module paths
2023-03-20 20:19:26 -04:00
Reece Dunham c7d676d0af Update some dependencies + dedupe 2023-03-18 13:18:07 -04:00
moonysolari e09dc78c35
Update smp (#151) 2023-03-11 12:53:40 -05:00