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

24 Commits

Author SHA1 Message Date
Lennard Fonteijn
bb63c06b31 Fixed location mastery from not always properly showing in the menus 2023-04-02 02:06:07 +02:00
moonysolari
fd3ca51f85
Store inclusion data for global challenges (#167) 2023-03-29 17:38:48 -04:00
moonysolari
7a47bb418a
remove confusing log output (#157) 2023-03-20 19:54:59 -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
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
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
df5e3ae373
Use official downloader when HITMAP fails (#126) 2023-02-05 14:24:15 -05:00
Reece Dunham
163f8e0452 Significant performance improvement that I have not actually tested 2023-01-28 21:59:26 -05:00
moonysolari
c617a23a04
Fix the legacy contract downloader and improve options related to it (#96)
* Fix legacy downloader for h3
2023-01-28 17:28:05 -05:00
moonysolari
1a15f4cf71
Fix HITMAN 2 stuck at loading main menu (#91)
* Fix H2 hub stuck at loading
2023-01-26 10:15:27 -05:00
Reece Dunham
8ec9fb1824
Update copyright years to 2023
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-01-23 13:37:33 -05:00
Lennard Fonteijn
85a55d4b48
Added service for mastery data (#30)
Added simplified mastery data for all locations
Added runtime generation of the full mastery data
Added initial support for profile progression
Reworked code around loading of resources to be more generic
2023-01-20 22:00:20 +01:00
moonysolari
b1dfdb8066
Add Challenge completion and level completion percentage display (#79)
* Add challenges completion progress to responses

* Update components/scoreHandler.ts

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

Signed-off-by: moonysolari <118079569+moonysolari@users.noreply.github.com>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2023-01-12 10:35:27 -05:00
moonysolari
3adb4b1f67
Fix a number of bugs on progression, entitlements, and warning logs (#75)
* Fix "Contract undefined not found!" warnings

* Implement support for /GetContractOpportunities

* Add OpportunityData to MissionManifestMetadata

* Resolved a ts-expect-error by providing types

* Fix requiem unlockables pistol

* Adjust max player level
2023-01-10 17:29:54 -05:00
moonysolari
d95553bd33
Fix image and text details on challenges page (#71)
* Remove getChallengePlanningDataForContract
Use getChallengeTreeForContract in instead.

* Separate out the better function for switched data

* reduce calls of generateCompletionData

* Use new switch data batcher for destination part

* Move Contract Not Found warning to resolveContract
2023-01-08 09:28:00 -05:00
Reece Dunham
193df194c5 Fix paginating of fake contracts 2022-12-22 14:49:04 -05:00
Reece Dunham
e34d1d0234
Fix SMF integration crash, dependency updates
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-12-15 10:04:56 -05:00
atampy25
2d6a4ad616
Implement support for SMF's server replacement compatibility 2022-12-12 22:42:10 -05:00
Reece Dunham
a1b656d364
Peacock-52: Option to use legacy contract downloader in H3
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-12-04 17:53:10 -05:00
atampy25
9969168616
Fix documentation for addClientSideModDependency and add new modIsInstalled function with more sensible naming and semantics (#51)
* Fix documentation and add new function

Signed-off-by: atampy25 <24306974+atampy25@users.noreply.github.com>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2022-12-02 22:33:14 -05:00
Lennard Fonteijn
c37241210a
Changed importing .json as text instead for performance reasons (#40) 2022-11-25 15:18:03 -05:00
Lennard Fonteijn
381df4ea6f Added hook for the MissionEnd response 2022-11-17 00:59:44 +01:00
_Sakura
d8827a0097
feat(plugins): Load plugins from "plugins" folder (#1) 2022-10-21 09:44:24 -04:00
Reece Dunham
6245e91624 Initial commit
Co-authored-by: Tino Roivanen <tino.roivanen98@gmail.com>
Co-authored-by: Govert de Gans <grappigegovert@hotmail.com>
Co-authored-by: Gray Olson <gray@grayolson.com>
Co-authored-by: Alexandre Sanchez <alex73630@gmail.com>
Co-authored-by: Anthony Fuller <24512050+anthonyfuller@users.noreply.github.com>
Co-authored-by: atampy25 <24306974+atampy25@users.noreply.github.com>
Co-authored-by: David <davidstulemeijer@gmail.com>
Co-authored-by: c0derMo <c0dermo@users.noreply.github.com>
Co-authored-by: Jeevat Singh <jeevatt.singh@gmail.com>
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-10-19 21:33:45 -04:00