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

214 Commits

Author SHA1 Message Date
AnthonyFuller
6414d36c1e And to lastServerSideData... 2023-09-16 13:46:11 +01:00
AnthonyFuller
dd6a4e6e96 Add optional changing to modIsInstalled 2023-09-16 13:45:51 +01:00
AnthonyFuller
1777a283e4 Expose SMF lastDeploy to plugins 2023-09-16 13:44:21 +01:00
AnthonyFuller
f1d6bf82aa Remove deprecated call function for async hooks 2023-09-14 20:01:31 +01:00
AnthonyFuller
9278c8353b Remove addClientSideModDependency (deprecated since v5.5.0) 2023-09-14 19:19:40 +01:00
AnthonyFuller
1d3e23a676 Add comment for profile version updating 2023-09-08 23:36:02 +01:00
Anthony Fuller
8189757e27
feat(menu): add escalation tile to H2/3 dashboard (#314)
* Add escalation tile to H2/3 dash

* Add the Peacock url to H3 dash

* Functioning escalation page and tile for H3

* Functioning escalation page and tile in H2

* Fix shangrila image path
2023-09-05 22:28:34 +01:00
Riba Dániel
7c00a1dfab
Fix to extension filtering in GetProfile request (#319)
* discussed in a bit more detail here:
https://discord.com/channels/826809653181808651/1089161116527108157/1148372825615388917

* prettier
2023-09-05 18:53:31 +01:00
AnthonyFuller
471f70acef Add ispeacock.json to diff 2023-08-25 10:16:56 +01: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
AnthonyFuller
2518215a06 Get sublocation using unlockables map 2023-08-04 12:10:10 +01:00
AnthonyFuller
a910aa6cce Fix resetting escalation progress
Closes #282
2023-08-04 12:09:03 +01:00
AnthonyFuller
3418035419 Refine easter egg 2023-08-04 11:38:27 +01:00
AnthonyFuller
ca5b1b2dad Add enhanced ContractAttack hits category
Closes #261
2023-08-04 11:28:29 +01:00
AnthonyFuller
341af57b05 Fix oauth tests 2023-08-04 08:27:48 +01:00
AnthonyFuller
fc801a3319 Generate random jwt secret when required
Closes #310
2023-08-04 08:24:50 +01:00
AnthonyFuller
69a0e425f2 Fix granting of XP on challenge completion 2023-08-04 07:11:12 +01:00
AnthonyFuller
deae351ea0 Fix JSDoc for filterUnlockedContent 2023-07-25 00:03:25 +01:00
AnthonyFuller
4d6e4c1085 Add sniper unlockables to H2/3 maps 2023-07-25 00:02:54 +01:00
Anthony Fuller
46052c7b0e
Multi-Version Mastery and Sniper Scoring (#270)
* 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>
2023-07-24 23:47:28 +01:00
Jorys Paulin
c3ba4244b5
hotfix: fix call to getUnlockableById in planning (#299)
* hotfix: fix call to getUnlockableById in planning

* hotfix: reformatted using prettier
2023-07-15 16:06:16 +01:00
Reece Dunham
580caeab3b
[perf] Inventory rework (part 1) (#291)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-06-14 11:36:07 -04:00
Anthony Fuller
c3b765c9c2
Add SMF contract support (#293) (#294)
* Amogus sus

* Deez

Co-authored-by: atampy25 <24306974+atampy25@users.noreply.github.com>
2023-06-14 11:59:48 +01:00
AnthonyFuller
53a04f6f6f Retrieve C47 suit image from the servers 2023-05-11 15:09:27 +01:00
AnthonyFuller
0702975c3e Bump H3 server version to 8.12.0 2023-05-11 11:59:22 +01:00
moonysolari
00ebefa009
Redo contract retrieval from official (#187)
* fix confusing comments

* new behavior to fetch contracts from official

* Reorder and organize flags with tags

* Fix contract filter being undefined

* Put mission manifest in memory instead of disk

* return undefined when not finding a contract
2023-05-09 21:30:18 -04:00
moonysolari
f6e44b4a71
Fix disconnection when dying in arcade (#272) 2023-05-08 17:03:28 +01:00
moonysolari
2a7f41b1c0
Save challenge states (#271) 2023-05-07 07:46:00 +01:00
moonysolari
49995b13ca
Fix a number of timer-related broken challenges (#268)
* Fix a number of broken challenges

* run prettier
2023-05-06 04:44:23 +01:00
Reece Dunham
09ea869d69
Remove traditions & lee hong
These are being moved out of core to reduce bundle size, translation maintainability, and just because they weren't played that much.

Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-05-03 14:09:29 -04:00
AnthonyFuller
c609b9db3d Fix arcade reset 2023-05-01 19:35:21 +01:00
moonysolari
d4df25d6d3
Sniper locations have no escalations (#259) 2023-04-30 09:20:55 +01:00
Reece Dunham
5d646aaf84
Remove region markers
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-04-28 23:49:06 -04:00
Reece Dunham
9a000b6d70
Update deps + eslint rules
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-04-28 23:39:57 -04:00
Reece Dunham
beb594d6d8
Fix the tests in the dumbest possible way
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-04-28 22:37:46 -04:00
Reece Dunham
f49cecf985
Drop hook "getMissionEnd"
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-04-28 21:07:49 -04:00
Reece Dunham
89bb83b8ad
Fixed type definition errors
Signed-off-by: Reece Dunham <me@rdil.rocks>
2023-04-28 20:15:53 -04:00
AnthonyFuller
3270faf9cd Add support for elusivesAreShown to arcade 2023-04-27 16:19:24 +01:00
moonysolari
6f2c5ab3fd
Fix ET challenges not ticked on the mission end page (#254)
* Fix et challenges not getting ticked

* refactor: remove redundant code and add a function

* fix elusive SA bugs
2023-04-27 07:12:55 +01:00
AnthonyFuller
996115e55c Add Solstice suit image to diff 2023-04-25 07:14:17 +01:00
AnthonyFuller
fd42ec08f5 Download image pack using a releases 2023-04-25 07:13:37 +01:00
AnthonyFuller
d7077b858e Add plugins folder to debug profile 2023-04-25 05:42:18 +01:00
AnthonyFuller
fdffcc3f67 Update generated require table 2023-04-25 05:42:18 +01:00
AnthonyFuller
6bcd96e22c Fix removing completed marker when using level picker 2023-04-23 17:42:20 +01:00
AnthonyFuller
3103c0a718 Change from marking gamechangers as conditions to primary 2023-04-23 17:42:20 +01:00
AnthonyFuller
bdc4ee0ac3 Fix exporting of debug profile
Fixes #222
2023-04-23 07:29:00 +01:00
AnthonyFuller
5804c31c03 Prettier run 2023-04-23 02:50:44 +01:00
moonysolari
9fe9f11a6a
Disables loadout locks when mastery is disabled (#248) 2023-04-23 02:37:45 +01:00
moonysolari
d2b10e4425
Tick all unticked challenge in parent location on the mission end page (#235)
* Tick all unticked challenge in parent location

* Update default profile with actually used strings

* Add PreviouslySeenXp

* Fix evergreen xp display

* count global xp towards location mastery

* fix type

* run prettier

* Update legacy default user

---------

Co-authored-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2023-04-22 18:59:47 +01:00
moonysolari
75a4b259e4
Fixed a nullability issue (#243) 2023-04-22 10:13:26 +01:00