The function startContract in challengeService.ts no longer requires the userId to be passed in as it already exists in the ContractSession. This commit removes the unnecessary userId parameter from both the function definition and usage in eventHandler.ts.
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Add multi-version mastery files
* Add pro1 unlocks to legacy allunlockables
* Add 47's suit to scpc all unlockables
* Add and remove various configs
* Remove some useless promises
* Fix scpc hub
* Fix issue with user profile saving
* Fix scpc issues for hub
* Add singleplayer/multiplayer sniper
* A great many things
- Add multi-version mastery
- Improve sniper mastery support
- Improve general H2016 support
* Fix some warnings
* Fix pro1 mastery on destination screens
* Remove entP from createInventory, lock/unlock pro1 accordingly
* Remove JSDoc entP parameter from createInventory
* Remove difficultyunlocks from safehouse pages
* Add versioned user profiles
* Prettier run
* Remove false point from user profiles docs
* Add comment about profile versioning to types
* Fix default profile links
* Remove remaining lowercase
* Fix sniper showing XP as XP
* Add game versions to the unlockable map
* Update getMasteryForUnlockable call in planning
* Fix missing locations when updating profiles
* Update versions to v7
* Fix ICA Facility destination mastery
* Fix sniper challenge unlockables showing in inventory
* Sniper Scoring (#273)
* Initial sniper scoring
* Fix linting errors
* Update require table
* Calculate and display final sniper score on end screen
* Bump SMP version to v5.7.0
* Update since version for scoring
* Fix create inventory call for sniper scoring
* Support sniper unlockables in the inventory
* Update versions to v7
* Reflect changes to createInventory in scoreHandler
* Get unlockable name in completion data
* It was not okay.
* Thanks webstorm
* Add support for /profiles/page/GetMasteryCompletionDataForUnlockable
* Support sniper play next
* Remove sniper gamemodes template from overrides
* Remove debug prints from scoring event handler
* Fix challenge multiplier
* Exclude sniper unlockables from stashpoint
* Start fixing up the missionEnd response for sniper
* Update misleading comment
* Use existing global challenge to check for SA on sniper contracts
* Re-add removed global challenges
* Proper support for the mission end screen on sniper contracts
* Remove redundant label
---------
Signed-off-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com>
Co-authored-by: Govert de Gans <grappigegovert@hotmail.com>
* Add co-op sniper scoring defs
* Update MasteryUnlockable template
* Bump SMP version to v5.9.3
* Re-add deepmerge
* Fix SMP checksum
* Fix linting errors caused by merge
* Fix score handler imports
* Move load flags
* Remove unnecessary game version arg
* Whoopsies
Co-authored-by: Reece Dunham <me@rdil.rocks>
Signed-off-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com>
---------
Signed-off-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com>
Co-authored-by: Govert de Gans <grappigegovert@hotmail.com>
Co-authored-by: Reece Dunham <me@rdil.rocks>
* Add arcade support, remove use of deprecated function
* Fix retrieval of escalation group id in planning
* Add arcade contracts
* remove incorrectly acquired arcade challenges
* Fix locations for arcade levels
* Add arcade challenges
* run prettier
* fix nullibility issue in h1
* The Icon is not an elusive target
* sort eta and et contracts by location
* Reset arcade contract on fail
* show arcade challenges in career page
* fix arcade challenges filtering for destinations
* run prettier
* Don't fail arcade on exit menu with no objectives completed
* Handle secondary objectives on arcade fail
* Make a ContractSession know its Id
* fix global arcade challenges
* Add arcade contracts to the level picker
* Update Peacock require tables with ETA
* Add escalationTypes array
* Get ETA locations at startup
* remove unused arrays
---------
Co-authored-by: moonysolari <changyiding@126.com>
* ignore AreaDiscovered for evergreen
* Revert "ignore AreaDiscovered for evergreen"
This reverts commit 78beddec95.
* Track area discovery in evergreen
* remove persistentBools
* fix global challenges' location
* run prettier
* fix REVEALED
* 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>