46052c7b0e
* 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> |
||
---|---|---|
.github | ||
.idea | ||
.vscode | ||
.yarn | ||
components | ||
contractdata | ||
docs | ||
packaging | ||
patcher | ||
plugins | ||
resources | ||
static | ||
tests | ||
webui | ||
.cirrus.yml | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitattributes | ||
.gitignore | ||
.nvmrc | ||
.prettierignore | ||
.yarnrc.yml | ||
LICENSE | ||
package.json | ||
PeacockPatcher.exe | ||
readme.md | ||
tsconfig.json | ||
webstorm.config.js | ||
yarn.lock |
The Peacock Project
The Peacock Project is a HITMAN World of Assassination Trilogy server replacement. The primary purpose is preservation of the game, but it also adds new features and content to the game, and allows for other enhancements to be made while in online mode.
Installation
Install Node.js. Use the Latest version, or the version specifically mentioned here: Version 18
Clone the repository where-ever you wish.
Open Windows terminal AS ADMINISTRATOR.
Install Yarn, by typing:
corepack enable
Then move to the folder where you cloned the repo to by using:
cd Folder/Path/Here
then install the dependencies by using:
yarn install
Usage
The project is bundled with a server running configuration. Run that when editing the project with the IDE of choice, and it should open.
We highly suggest you use WebStorm for development, but it is a paid product, so you may want to choose something like Visual Studio Code. WebStorm will provide a better experience for development, but VSCode will work just fine.
Contributing
To contribute, you can use Pull Requests from your own fork. You can fix bugs reported in issues or add new features you think would be useful, new features not listed in issues would have to be discussed before merging.
Localisation
Automated
The Peacock repository has an automated workflow to rebuild locale packages. All you need to do to update localisation files is:
- Edit
locale.json
.- If you're adding new strings, make sure to add the English versions to all languages.
- If you're translating existing strings, you only need to translate the ones that are in the language(s) you are translating.
- Then push
locale.json
. - Then, make a Pull Request. When it is reviewed and merged, locale packages will automatically be rebuilt.
Manual
If you need to manually rebuild locale packages for whatever reason (testing or otherwise), follow steps 1 and 2 above, then do the following:
- Make sure
rpkg_cli.exe
,HMLanguageTools.exe
, andResourceLib_*.dll
are in theresources
folder. - Then, from the root project folder, run
yarn rebuild-locale
. - These generated RPKGs should not be pushed or merged into Peacock as the automated workflow will take care of this for you.
Thank you to people who have contributed!
License
Peacock is under the AGPL-3.0 license, see the license file for more info.
Credits
Peacock started off as a fork of LocalGhost by grappigegovert, and has since been rewritten in TypeScript, and a whole host of new features have been added. The codebase has been relicensed to AGPL-3.0 with explicit permission from grappigegovert.
The game is owned by IO Interactive, and is not affiliated with this project in any way.