1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-29 09:15:11 +01:00
Commit Graph

190 Commits

Author SHA1 Message Date
AnthonyFuller
992c77af0d Set EG Level to 100 for default CPD 2023-03-26 14:02:39 +01:00
moonysolari
6d3ef2f486
Add mastery data for sniper missions (#148) 2023-03-24 09:19:01 -04:00
Reece Dunham
a4114c0926
run prettier
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-03-23 10:01:33 -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
moonysolari
856859f3ca
Implement contract history and completion tracker (#98) 2023-03-20 20:12:54 -04:00
Reece Dunham
ed7ca77776
new beta who dis?
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-03-20 20:01:01 -04:00
moonysolari
7a47bb418a
remove confusing log output (#157) 2023-03-20 19:54:59 -04:00
moonysolari
e6f72eb53d
Prevent disconnections caused by contract report requests (#99) 2023-03-20 12:24:21 -04:00
Lennard Fonteijn
168aee05fe Fixed issue where LevelInfo was not properly set for normal contracts 2023-03-19 15:23:32 -04:00
Lennard Fonteijn
84fbce175b Fixed Challenge XP from being capped on the Player Profile menu
Fixed Freelancer to not have payout when the mission failed
Fixed score screen from crashing when the current location has no mastery drops
2023-03-19 14:15:19 -04:00
Lennard Fonteijn
0eef121ac8 Added support for Sniper locations on the score screen
Fixed issue with Mastery not leveling beyond level 1
Fixed issue where the score screen wouldn't show for locations without Mastery
2023-03-19 14:15:19 -04:00
Lennard Fonteijn
4031779a91 Added distinction between Mastery XP and Action XP
Added extended Profile Profile to main menu
Added support for Payout objectives on the score screen
Added flag for unlocking all shortcuts
Added flag for unlocking all Freelancer masteries
Added flag to allow Peacock to be restarted when the game is running and connected
Fixed issue where playstyle wasn't show properly
2023-03-19 14:15:19 -04:00
Lennard Fonteijn
ba9b799abe Add support for XP progression (#86)
* Fixed issue where restarting Peacock would require to first go offline again

* Added proper player progression

* Fixed most issues with the mission end screen

* Added final tweaks to scoring

* Update global challenges

* Added near-complete support for Freelancer
Added support for unlocking shortcuts
Cleaned up a bunch of magic values in relation to XP and levels

---------

Co-authored-by: moonysolari <changyiding@126.com>
2023-03-19 14:15:19 -04:00
Reece Dunham
c7d676d0af Update some dependencies + dedupe 2023-03-18 13:18:07 -04:00
moonysolari
e8d7821c31
Fix nullability issue in inclusion data check (#154)
* Fix nullability issue in incData check

* Fix comments
2023-03-17 22:06:51 -04:00
Reece Dunham
dc312a27e5
Beta 3
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-03-14 22:21:43 -04:00
Reece Dunham
030360a139
Beta 3
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-03-14 22:21:22 -04:00
moonysolari
e09dc78c35
Update smp (#151) 2023-03-11 12:53:40 -05:00
moonysolari
4a08faeec0
Implement "Contract search", "Trending", and "Most played last week" tiles for contracts menu (#117)
* Refactor: use function for lookupContractPublicId

* Trending and Mostplayed now display stuff

* Add call to contract-preserving backend

* Actually download contract data from official

* add getRemoteService function

* implement "contract search" tile

* Change variable naming

* Run prettier

* Change naming to hitmaps

* officialSearchContract -> contractsModeRouting.ts

* Fix imports
2023-03-06 13:17:22 -05:00
moonysolari
5f5ce0abe0
Add global "The Classics" challenges (#146)
* bar and difficulty UI fixes

* nullability fix

* Improve deptree logic

* Refactor: inclusionDataCheck

* Added global The Classics challenges

* Refactoring: tryToCompleteChallenge

---------

Co-authored-by: Reece Dunham <me@rdil.rocks>
2023-03-06 12:13:13 -05:00
moonysolari
e5417e10d9
Add recommended mission stories (#138) 2023-03-06 12:12:52 -05:00
moonysolari
db4fa8d7b7
Removes disguises from suits in h1 and h2 (#149) 2023-03-06 12:12:28 -05:00
Reece Dunham
2bea5ff2f5
Node 18.14.2
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-03-01 19:59:38 -05:00
moonysolari
98c192f3a5
Remove The Caged Bull from h1 (#147)
* Remove caged bull from h1

* Explicitly fastClone FCgroups
2023-02-28 20:21:58 -05:00
moonysolari
9e15fcd4a2
Optimization: grouping challenges by parent locations (#143)
* Organize the challenges using parent locations

* Fix Career challenges page

* Simplify filtering

* remove unused ChallengeFilterType

* Add comments, address nullibility issues

* Nullibility fix
2023-02-24 11:39:55 -05:00
moonysolari
9c4c71d9a6
Fixed the "Continue Story" tile for the Patient Zero and A Silver Tongue mission end page (#137)
* Added PlayNext tiles for PZ and A Silver Tongue

* Add Patient Zero mission
2023-02-23 18:16:38 -05:00
moonysolari
7c3427858d
New checkForUpdates behavior for testing versions (#141)
* New behavior for testing versions
2023-02-23 18:14:33 -05:00
moonysolari
319815c3b9
Fix some bugs of The Jeffrey Consolation (#139)
* Add constantjeff brick

* Fix missing objectives
2023-02-23 09:29:15 -05:00
Reece Dunham
5597e63401
Node v18.14.1
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-02-20 20:55:20 -05:00
Reece Dunham
c2e57b6276
Merge branch 'v6' of https://github.com/thepeacockproject/Peacock into v6 2023-02-14 14:03:03 -05:00
Reece Dunham
b2cf8903b1
Tiny microoptimization in destination generation
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-02-14 14:02:57 -05:00
moonysolari
b4ca8ab690
Fix contract creation bugs (#133)
* Skip unknown mission stories

* Disable saving created contracts on the tutorial

* Update platformEntitlements.ts

Signed-off-by: Reece Dunham <me@rdil.rocks>

* Use relative import pathing

---------

Signed-off-by: Reece Dunham <me@rdil.rocks>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2023-02-13 22:14:16 -05:00
moonysolari
e538854b10
Disable saving (#127) 2023-02-13 12:24:34 -05:00
moonysolari
a297973693
Get the latest entitlements for user upon authentication (#128)
* Get entitlements on connection

* Fall back to old data upon failure

* Added checks on error type

* Update components/platformEntitlements.ts

Co-authored-by: Reece Dunham <me@rdil.rocks>
Signed-off-by: moonysolari <118079569+moonysolari@users.noreply.github.com>

* Update platformEntitlements.ts

Signed-off-by: Reece Dunham <me@rdil.rocks>

---------

Signed-off-by: moonysolari <118079569+moonysolari@users.noreply.github.com>
Signed-off-by: Reece Dunham <me@rdil.rocks>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2023-02-12 00:02:38 -05:00
Reece Dunham
7ed211fdd7
v6.0.0-beta.2
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-02-09 23:13:09 -05:00
Cookie303728
a2df1d615d
adds a plugins folder when non is detected (#129) 2023-02-09 19:39:38 +01:00
moonysolari
9b64aa32c6
Remove duplicated items in the user's inventory (#112)
* ancestral fountain pen

* tactical wet suit

* colorado rabies suit

* move to brokenItems

* Changed to retain the other wetsuit
2023-02-05 15:21:01 -05:00
moonysolari
df5e3ae373
Use official downloader when HITMAP fails (#126) 2023-02-05 14:24:15 -05:00
moonysolari
546b81e0f2
Eliminate unwanted contract creation tiles (#125) 2023-02-05 10:56:08 -05:00
Reece Dunham
f1ccf160c9
Node 18.14.0
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-02-02 20:58:11 -05:00
moonysolari
a551d30067
Remove unwanted contract creation locations (#100)
* Fix contract creation locations

* allow mamushi contract creation

* Update destinations.ts

Signed-off-by: Reece Dunham <me@rdil.rocks>

---------

Signed-off-by: Reece Dunham <me@rdil.rocks>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2023-02-01 18:44:32 -05:00
moonysolari
1d1e359b3a
Fix career -> challenges page (#97) 2023-01-29 15:34:30 +00:00
AnthonyFuller
e314818267 Add Freelancer tile to dashboard 2023-01-29 04:38:09 +00:00
AnthonyFuller
c7e9ab913b Add Evergreen global challenges 2023-01-29 04:38:02 +00:00
AnthonyFuller
8e0711d7e9 Fix Vanilla planning screen 2023-01-29 04:37:49 +00:00
AnthonyFuller
3a0b9d4a3e Add Snug location data 2023-01-29 04:36:50 +00:00
AnthonyFuller
56153bd772 Add all Snug contracts, challenges, and mastery 2023-01-29 04:36:29 +00:00
AnthonyFuller
da81ce9919 Add CPD to GFP2 requests and add new GCs to the pool 2023-01-29 04:35:31 +00:00
AnthonyFuller
ea93abf85e Add CPD support 2023-01-29 04:35:07 +00:00
AnthonyFuller
499631fa01 Up the limit on metric requests 2023-01-29 04:34:29 +00:00