1
mirror of https://github.com/thepeacockproject/Peacock synced 2025-03-27 11:12:44 +01:00

28 Commits

Author SHA1 Message Date
moonysolari
5fff1c89ae
Fix challenges for H2 and H2016 ()
* 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
Reece Dunham
3421ee385b
Fix some style issues
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-04-02 00:22:26 -04:00
Reece Dunham
8fcd4db87d
Add assertions to prevent type confusion
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-04-02 00:10:14 -04:00
moonysolari
3c25f20174
Favorite contracts rework ()
* favIcon+UI fix for contract lookup

* Fix favorite status for retrieved contracts

* Support all fav functionalities binded to "P"
2023-03-26 14:30:11 -04:00
moonysolari
6d3ef2f486
Add mastery data for sniper missions () 2023-03-24 09:19:01 -04:00
moonysolari
e6f72eb53d
Prevent disconnections caused by contract report requests () 2023-03-20 12:24:21 -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 ()
* 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 ()
* 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
e5417e10d9
Add recommended mission stories () 2023-03-06 12:12:52 -05:00
moonysolari
9c4c71d9a6
Fixed the "Continue Story" tile for the Patient Zero and A Silver Tongue mission end page ()
* Added PlayNext tiles for PZ and A Silver Tongue

* Add Patient Zero mission
2023-02-23 18:16:38 -05:00
moonysolari
b4ca8ab690
Fix contract creation bugs ()
* 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
546b81e0f2
Eliminate unwanted contract creation tiles () 2023-02-05 10:56:08 -05:00
moonysolari
1d1e359b3a
Fix career -> challenges page () 2023-01-29 15:34:30 +00:00
Reece Dunham
163f8e0452 Significant performance improvement that I have not actually tested 2023-01-28 21:59:26 -05:00
moonysolari
1a15f4cf71
Fix HITMAN 2 stuck at loading main menu ()
* 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 ()
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
bfe82fe1e2
Implement the Challenges tab on the Career page ()
* Renders Career->Challenges page

* Support sniper levels on Career->Challenges page

* Refactor the code to get challenges for locations

* Support clicking tiles on Career->Challenges page

* Add elusives part (currently unsupported)

* Add gameVersion check to avoid issues on old games
2023-01-14 02:12:08 -05:00
moonysolari
3adb4b1f67
Fix a number of bugs on progression, entitlements, and warning logs ()
* 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
f3803be4ef
Added Mission Story Progression () 2023-01-06 21:15:14 -05:00
moonysolari
2ed110a703
Added challenges page for mission debriefing ()
* add debriefing challenges page
2023-01-04 11:36:22 -05:00
Reece Dunham
79a32df1dd unlockorderComparer -> unlockOrderComparer 2022-12-30 21:06:09 -05:00
Reece Dunham
73ff78b7c2
Reworking of challenge system () 2022-12-12 16:38:55 -05:00
Reece Dunham
0ff03964b7 Fix Redsnapper and Golden Doublet images 2022-11-23 22:11:22 -05:00
Lennard Fonteijn
381df4ea6f Added hook for the MissionEnd response 2022-11-17 00:59:44 +01:00
Reece Dunham
410827f538
Remove requirement for stashpoints to be on a specific contract
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-11-10 12:13:32 -05: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