From eb35ad82c76b31a7b20b75d4c5e33cc3ea8f750d Mon Sep 17 00:00:00 2001 From: Crowdin Bot Date: Tue, 5 Mar 2024 18:13:30 +0000 Subject: [PATCH] New Crowdin translations by GitHub Action --- .../current.json | 4 + .../current/custom-content.md | 118 ++++++++++------- .../current/intel/faq.md | 39 ++---- .../current/intel/installation.md | 17 ++- .../troubleshooting/fix-port-in-use.md | 45 +++++++ .../current.json | 4 + .../current/custom-content.md | 118 ++++++++++------- .../current/intel/faq.md | 39 ++---- .../current/intel/installation.md | 17 ++- .../troubleshooting/fix-port-in-use.md | 45 +++++++ .../current.json | 4 + .../current/custom-content.md | 124 +++++++++++------- .../current/intel/faq.md | 41 +++--- .../current/intel/installation.md | 17 ++- .../troubleshooting/fix-port-in-use.md | 45 +++++++ .../current.json | 4 + .../current/custom-content.md | 124 +++++++++++------- .../current/ghost-mode.md | 2 +- .../current/intel/faq.md | 41 +++--- .../current/intel/installation.md | 17 ++- .../troubleshooting/fix-port-in-use.md | 45 +++++++ .../current.json | 4 + .../current/custom-content.md | 124 +++++++++++------- .../current/intel/faq.md | 41 +++--- .../current/intel/installation.md | 17 ++- .../troubleshooting/fix-port-in-use.md | 45 +++++++ 26 files changed, 748 insertions(+), 393 deletions(-) create mode 100644 i18n/de/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md create mode 100644 i18n/fi/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md create mode 100644 i18n/nl/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md create mode 100644 i18n/pt-BR/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md create mode 100644 i18n/zh/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md diff --git a/i18n/de/docusaurus-plugin-content-docs/current.json b/i18n/de/docusaurus-plugin-content-docs/current.json index 6aead28..abb7231 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current.json +++ b/i18n/de/docusaurus-plugin-content-docs/current.json @@ -14,5 +14,9 @@ "sidebar.sidebar.doc.Home": { "message": "Home", "description": "The label for the doc item Home in sidebar sidebar, linking to the doc home" + }, + "sidebar.sidebar.category.Troubleshooting Guides": { + "message": "Troubleshooting Guides", + "description": "The label for category Troubleshooting Guides in sidebar sidebar" } } diff --git a/i18n/de/docusaurus-plugin-content-docs/current/custom-content.md b/i18n/de/docusaurus-plugin-content-docs/current/custom-content.md index db70f01..12f10a7 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/custom-content.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/custom-content.md @@ -9,72 +9,96 @@ Peacock has lots of goodies packed in for our users. Here's a peek at our custom Within Peacock, you can replay Elusive Targets without any time limit on restarts (unlike Elusive Target Arcade), and without a time limit. -- **How to Play:** - - After starting up Hitman 3 in Peacock, go to `Career` -> `Elusive Targets` in-game. -- See the [Plugins](#plugins) section for information on installing "The Brothers" Elusive Target (cut content) in Hitman 3. +- **How to Play:** + - After starting up Hitman 3 in Peacock, go to `Career` -> `Elusive Targets` in-game. +- See the [Plugins](#plugins) section for information on installing "The Brothers" Elusive Target (cut content) in Hitman 3. ## Escalations -- **Custom Peacock Escalations** +### Custom Peacock Escalations - - Peacock supports custom (Peacock original) escalations. These escalations are available in-game by default. You can see some custom escalations listed in the [Roadmaps](./roadmaps.mdx) as well. +Peacock supports custom (Peacock original) escalations. These escalations are available in-game by default. You can see some custom escalations listed in the [Roadmaps](./roadmaps.mdx) as well. -- **Official Server Escalations and Legacy Escalations** +### Official Server Escalations and Legacy Escalations - - Peacock also supports all official server escalations, including Hitman 2016 escalations that have not been ported to Hitman 2 or 3 (legacy escalations). These escalations are available in-game by default. +Peacock also supports all official server escalations, including Hitman 2016 escalations that have not been ported to Hitman 2 or 3 (legacy escalations). These escalations are available in-game by default. -- Note: You can select specific escalation levels to start on using the Escalation Level Picker tool, as explained [here](./intel/loadout-profiles-elp.md#escalation-level-picker) +- Note: You can select specific escalation levels to start on using the Escalation Level Picker tool, as explained [here](./intel/loadout-profiles-elp.md#escalation-level-picker) ## Contracts Mode Peacock supports both official server and custom Peacock contracts. -- **Featured contracts** - - This includes custom (Peacock original) contracts created by Peacock dev team. You can see some of these custom featured contracts [here](./roadmaps.mdx). - - **Note: Official Servers Featured Contracts are not included.** - - How to Play: - - Go to `Game Modes` -> `Contracts` -> `Featured` menu in-game -- **User Created, Official Server Contracts** - - How to Install: - - Note: This only works while the HITMAPS bot is authenticated for the platform in question. [More info on how to authenticate the HITMAPS bot here](https://bot.hitmaps.com/). - - If you want to check if HITMAPS bot is online, run the command `/botstatus` in the `#bot-spam` channel in the Peacock Discord. Note that the `/botstatus` command only updates every 10 minutes. - - Note: Downloaded official servers contracts are compatible with every game engine, assuming said game engine contains the relevant maps. For example, if you download a contract from Sapienza (Season 1 map) in Hitman 3 engine, you can play this contract in Hitman 2016 and Hitman 2 engine with Peacock as well. However, if you download a contract from Sgail (Season 2 map), then you can't play this contract in the Hitman 2016 engine as the Hitman 2016 engine doesn't contain any Season 2 maps. - - Go to `Game Modes` -> `Contracts` -> `Contract Lookup` menu in-game. - - Enter the official server contract ID (**Contracts from every platform except Nintendo Switch are supported for this**). - - The contract will now be downloaded in your `Contracts` folder. - - How to Play: Go to `Game Modes` -> `Contracts` -> `My Contracts` in-game to play. -- **User Created, Peacock Contracts** - - How to Install: - - Download the contracts `.json` file from the `share-contracts` channel in Peacock Discord. Install this `.json` file to your `Contracts` folder, as shown here: ![](/img/contracts_folder.png). - - How to Create Your Own: - - If you create a contract in-game while in Peacock server, your contract will be saved as an `.json` file in `Contracts` folder, as shown in the image above. - - Be sure to share your `.json` file in Peacock Discord's `share-contracts` channel if you want others to play your custom Peacock contract. - - How to Play: - - Go to `Game Modes` -> `Contracts` -> `My Contracts` in-game to play. +### Featured contracts + +This includes custom (Peacock original) contracts created by Peacock dev team. You can see some of these custom featured contracts [here](./roadmaps.mdx). + +- **Note: Official Servers Featured Contracts are not included.** + +#### How to Play + +Go to `Game Modes` -> `Contracts` -> `Featured` menu in-game. + +### User-Created Official Server Contracts + +#### How to Install + +- Note: This only works while the HITMAPS bot is authenticated for the platform in question. + - [More info on how to authenticate it](https://bot.hitmaps.com/). + - To check if it's online, run the command `/botstatus` in the `#bot-spam` channel in the Peacock Discord. The status is updated every 10 minutes. +- Go to `Game Modes` -> `Contracts` -> `Contract Lookup` menu in-game. +- Enter the official server contract ID (**Contracts from every platform except Nintendo Switch are supported for this**). +- The contract will now be downloaded in your `contracts` folder. + +#### How to Play + +Go to `Game Modes` -> `Contracts` -> `My Contracts` in-game to play. + +### User-Created Peacock Contracts + +#### How to Install + +Download the contract's `.json` file from the `share-contracts` channel in Peacock Discord. Place the `.json` file in your `Contracts` folder, as shown here: ![](/img/wiki/contracts_folder.png). + +#### How to create your own + +- If you create a contract in-game while in Peacock server, your contract will be saved as an `.json` file in `Contracts` folder, as shown in the image above. +- Be sure to share your `.json` file in Peacock Discord's `share-contracts` channel if you want others to play your custom Peacock contract. + +#### How to Play + +- Go to `Game Modes` -> `Contracts` -> `My Contracts` in-game to play. ## Plugins Peacock supports a broad variety of server side mods (plugins). These include, but are not limited to: -- Kill Everyone Mode - - All real NPC's marked as targets, can get Silent Assassin rating back after killing everyone. - - Note: Very buggy for maps with 200+ targets, guns may jam randomly. You may need to start by melee killing people. -- Brothers Elusive Target (Cut Content / Fan Mod) - - NOTE: Although the Brothers ET mod is compatible with Peacock, it is a **fan interpretation** of how the mission would have played out, and not necessarily canon - - File Download: https://www.nexusmods.com/hitman3/mods/375?tab=files - - Install the main portion of the mod (the file not marked "Peacock Plugin") through Simple Mod Framework. Install the "Peacock Plugin" portion of the mod by putting it into your Peacock Install folder -- Plugins to add otherwise unused weapons to the game -- Plugins to modify existing weapons and disguises +- Kill Everyone Mode + - All real NPC's marked as targets, can get Silent Assassin rating back after killing everyone. + - Note: Very buggy for maps with 200+ targets, guns may jam randomly. You may need to start by melee killing people. +- Brothers Elusive Target (Cut Content / Fan Mod) + - NOTE: Although the Brothers ET mod is compatible with Peacock, it is a **fan interpretation** of how the mission would have played out, and not necessarily canon + - File Download: https://www.nexusmods.com/hitman3/mods/375?tab=files + - Install the main portion of the mod (the file not marked "Peacock Plugin") through Simple Mod Framework. Install the "Peacock Plugin" portion of the mod by putting it into your Peacock Install folder +- Plugins to add otherwise unused weapons to the game +- Plugins to modify existing weapons and disguises ### How to Install Plugins -- Broadly speaking, to install plugins, go to either the `plugins` or `#plugin-releases` channel in the Peacock Discord and download a plugin you are interested in. -- - Put your plugins into the `plugins` folder in the Peacock folder. - - Your plugin should end with `.plugin.js` or `Plugin.js` - if it's distributed as a `.zip`, extract it first. - - Example: ![PluginsFolder](/img/plugins_folder.png) -- Be sure to check for any further instructions in the `#plugin-releases` channel for a given plugin, as certain plugins may require further installation steps or are incompatible with newer versions of Peacock. +Broadly speaking, to install plugins, go to either the `plugins` or `#plugin-releases` channel in the Peacock Discord and download a plugin you are interested in. + +- Put your plugins into the `plugins` folder, located in the Peacock folder (created automatically by the server the first time you launch it). +- The plugin should end with `.plugin.js` or `Plugin.js` - if it's distributed as a `.zip`, extract it first. + +Example: ![Plugins folder](/img/wiki/plugins_folder.png) + +- Be sure to check for any further instructions in the plugin's description, as some plugins may require further setup steps or won't work with newer versions of Peacock. + +:::note + +Plugins are only a small portion of the Hitman modding scene. **Many Hitman mods are done client-side and out of scope of Peacock.** More general-use client-side mods, outside the scope of Peacock, are aggregated here: -**Note: Plugins are only a small portion of the Hitman modding scene. Many Hitman mods are done client-side and out of scope of Peacock.** More general-use client-side mods, outside the scope of Peacock, are aggregated here: +- [NexusMods](https://www.nexusmods.com/hitman3) +- [Glacier Modding Discord](https://discord.com/invite/6UDtuYhZP6) -- [NexusMods](https://www.nexusmods.com/hitman3) -- [Glacier Modding Discord](https://discord.com/invite/6UDtuYhZP6) +::: diff --git a/i18n/de/docusaurus-plugin-content-docs/current/intel/faq.md b/i18n/de/docusaurus-plugin-content-docs/current/intel/faq.md index eb35a61..7f1d58e 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/intel/faq.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/intel/faq.md @@ -4,10 +4,10 @@ title: Häufig gestellte Fragen ## Problembehandlung -### Falsche Spielversion / Plattform +### Before Troubleshooting - Check the [Requirements](./requirements.md) section of this guide, make sure you have a supported game version and platform, etc. - - **Xbox Game Pass / Microsoft PC version of Hitman 3 is not supported (commonly asked)**. + - **Microsoft Store version of Hitman 3 is not supported (commonly asked)**. - Check [Linux Setup Guide](../guides/./linux-setup.md) if on Linux. - Make sure you have the latest versions of Hitman and Peacock, older versions may not be supported. @@ -19,7 +19,7 @@ title: Häufig gestellte Fragen - To return to Official servers, you can go offline while connected to Peacock, then toggle the Peacock Patcher application to patch you to Official Servers, then go "online" again to connect to official servers. - **If you still have trouble connecting, then continue to the next section below.** -### Connection Troubleshooting +### Connection Issues - As explained in the [What is Peacock](./what-is-peacock.md) page, **you need to be connected to the Internet, at least initially, to use Peacock**. This is to get past Steam / Epic verification. After connecting to Peacock the first time, you may disconnect from the Internet and stay connected to Peacock for the duration of your game session. - If you have a phone with cellular data plan, you can use the phone as hotspot for your computer to connect to Internet. @@ -27,34 +27,23 @@ title: Häufig gestellte Fragen - Try running the `PeacockPatcher.exe` as admin. - Keep the option "Use http instead of https" in Peacock patcher ticked unless you are playing Ghost Mode. -- Peacock by default uses Port 80 on your PC for the Peacock server. +#### Port In Use - - If possible, check whatever process is currently using Peacock by typing `netstat -ano | find ":80" | find "LISTEN"` into your terminal, and then checking "Details" tab of Task Manager to find the process based on PID of whatever is on Port 80. - - If you use Visual Studio, you may have installed some services that interfere with Peacock by also running on Port 80. To fix: +If you're getting an error that looks like this: - 1. Press the Windows key and R at the same time - 2. Type services.msc in the popup box, then hit ok - 3. Check for W3SVC: World Wide Web Publishing Service and Web Deployment Agent Service in the service manager - 4. Disable both if present - 5. Try again, if it doesn't work, restart your computer, then try once more +![The error message shown when Peacock tries to use a port that's in use](/img/wiki/port_in_use.png) - - Here's how to change the port Peacock uses, if you don't want to stop the process on Port 80: - - In the instructions below, please substitute `PORTNUMBER` with a port that is not currently running on your PC, e.g. `8080`, `6969`, `3000`, etc. - - Change `Start Server.cmd` to be as follows: - ``` - @echo off - SET PORT=PORTNUMBER - .\nodedist\node.exe chunk0.js - PAUSE - ``` - - Type `localhost:PORTNUMBER` or `127.0.0.1:PORTNUMBER` into the server window, as shown here: ![](/img/patcher_port.png) +The error message for this issue will be something along the lines of "failed to bind the server to port X". -### Missing Items / Maps +Check [this guide](../troubleshooting/fix-port-in-use.md) for an explanation and instructions on how to fix it. -- Starting from v6, Peacock should be able to automatically detect when you obtain a new DLC, and give you access to those new items / maps -- v6.1.0 introduced progression to peacock, meaning you now can unlock items as you play. This is enabled by default, to emulate the experience of the official servers. To disable this set `enableMasteryProgression` in `options.ini` to `false`. +## How to Get All Items -### Other +Peacock v6.1.0 introduced progression support, meaning you now can unlock items as you play. This is **enabled by default**, to emulate the experience of the official servers. + +To disable progression and **immediately get all items**, set `enableMasteryProgression` in `options.ini` to `false`. + +## Other - Check [Peacock Unique Features](../intel/loadout-profiles-elp.md) page for info on how to set multiple loadouts per map or choose specific escalation levels with Peacock. - Default Suits - If you tick `getDefaultSuits = true` in your `options.ini` file in your Peacock Install folder, please note the following behavior: diff --git a/i18n/de/docusaurus-plugin-content-docs/current/intel/installation.md b/i18n/de/docusaurus-plugin-content-docs/current/intel/installation.md index 3829d70..d3f4320 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/intel/installation.md +++ b/i18n/de/docusaurus-plugin-content-docs/current/intel/installation.md @@ -7,20 +7,29 @@ Here's how to get up and running with Peacock. - Steps 4-5 need to be repeated every time you launch the game. The game defaults back to the official servers otherwise. -1. Be sure to check the [requirements](./requirements.md) before reading further to ensure you have the required games / operating systems. **Xbox Game Pass / Microsoft PC version of Hitman 3 is not supported**, and [Linux users should check this page](../guides/linux-setup.md). +--- + +1. Be sure to check the [requirements](./requirements.md) before reading further to ensure you have the required games / operating systems. The **Microsoft Store version** of Hitman 3 **is not supported**, and [Linux users should check this page](../guides/linux-setup.md). 2. [Download the latest Peacock release here](https://github.com/thepeacockproject/Peacock/releases/latest). Select `Peacock-vX.Y.Z.zip` to download. - Note: There is also a `Peacock-vX.Y.Z-lite.zip` option, only for Linux users. Refer to the [Linux guide](../guides/linux-setup.md) for Linux instructions. -3. Extract (unzip) files. Running the files from within the zipped folder will not work. +3. Extract (unzip) the files. Running the files while they're in the zipped folder won't work. -4. Navigate to where you installed Peacock, and run the files `Start Server.cmd` and `PeacockPatcher.exe`. + - To avoid issues, **do not** put the extracted files in: + - `Program Files` (including the x86 version) + - The folder where your game is installed. + - A great place to put them is somewhere easily accessible, like your Documents folder, or on your Desktop. - - Depending on how you installed Peacock, you may need to open two folders to find these files, as shown in this example image: ![](/img/patcher_and_server.png). +4. Go to the folder you put the files in, and run both `Start Server.cmd` and `PeacockPatcher.exe`. + + ![Example image showcasing folder structure](/img/patcher_and_server.png) 5. Now start up the game while `Start Server` and `PeacockPatcher.exe` are still running. The game should launch with Peacock server. Check the [FAQ](./faq.md) or ask in the `#help` channel on [Peacock Discord](https://thepeacockproject.org/discord) if you have trouble getting it to work. +6. (Optional step) If you want to immediately unlock all weapons, items, starting locations, etc., [here's how](../intel/faq.md#how-to-get-all-items). + ## Updating Steps 2-3 may need to be repeated whenever Peacock receives an update (more info on the [Updating](./updating.md) page). diff --git a/i18n/de/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md b/i18n/de/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md new file mode 100644 index 0000000..f629559 --- /dev/null +++ b/i18n/de/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md @@ -0,0 +1,45 @@ +--- +title: Port in Use Error +--- + +The "Port in Use" error happens when Peacock is trying to start, but the port it's set to use is already in use. + +Here's what it looks like: + +![The error message shown when Peacock tries to use a port that's in use](/img/wiki/port_in_use.png) + +## What is a Port? + +In simple terms, a port is a thing programs and other computers can connect to and get data from. +In order for the game to talk to Peacock's server, the server has to occupy a port. +Ports must have an assigned number. The default port used by Peacock is 80, but port numbers can be any whole number between 1 and 65535. + +## Visual Studio + +If you use Visual Studio, you may have installed some services that interfere with Peacock by also running on Port 80. To fix: + +1. Press the Windows key and R at the same time. +2. Type services.msc in the popup box, then hit Okay. +3. Check for `W3SVC: World Wide Web Publishing Service` and `Web Deployment Agent Service` in the service manager. +4. Disable both if present. +5. Try again, if it doesn't work, restart your computer, then try once more. + +## Changing the Port + +Here's how to change the port Peacock uses, if you don't want to stop the process on Port 80: + +In the instructions below, please substitute `PORTNUMBER` with a port that is not currently running on your PC, e.g. `8080`, `6969`, `3000`, etc. + +- Change `Start Server.cmd` to be as follows: + ```bash + @echo off + SET PORT=PORTNUMBER + .\nodedist\node.exe chunk0.js + PAUSE + ``` +- Type `127.0.0.1:PORTNUMBER` into the Patcher's URL field, as shown here: ![](/img/wiki/patcher_port.png) + +## On Linux + +Peacock's default port is 80, but on Linux, the normal user account does not have permission to use port 80. +Check out the Changing the Port section above. diff --git a/i18n/fi/docusaurus-plugin-content-docs/current.json b/i18n/fi/docusaurus-plugin-content-docs/current.json index 109d602..2c10f34 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current.json +++ b/i18n/fi/docusaurus-plugin-content-docs/current.json @@ -14,5 +14,9 @@ "sidebar.sidebar.doc.Home": { "message": "Home", "description": "The label for the doc item Home in sidebar sidebar, linking to the doc home" + }, + "sidebar.sidebar.category.Troubleshooting Guides": { + "message": "Troubleshooting Guides", + "description": "The label for category Troubleshooting Guides in sidebar sidebar" } } diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/custom-content.md b/i18n/fi/docusaurus-plugin-content-docs/current/custom-content.md index 041a1d4..7f3f689 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/custom-content.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/custom-content.md @@ -9,72 +9,96 @@ Peacock has lots of goodies packed in for our users. Tässä kurkistus meidän m Within Peacock, you can replay Elusive Targets without any time limit on restarts (unlike Elusive Target Arcade), and without a time limit. -- **How to Play:** - - After starting up Hitman 3 in Peacock, go to `Career` -> `Elusive Targets` in-game. -- See the [Plugins](#plugins) section for information on installing "The Brothers" Elusive Target (cut content) in Hitman 3. +- **How to Play:** + - After starting up Hitman 3 in Peacock, go to `Career` -> `Elusive Targets` in-game. +- See the [Plugins](#plugins) section for information on installing "The Brothers" Elusive Target (cut content) in Hitman 3. ## Escalations -- **Custom Peacock Escalations** +### Custom Peacock Escalations - - Peacock supports custom (Peacock original) escalations. These escalations are available in-game by default. You can see some custom escalations listed in the [Roadmaps](./roadmaps.mdx) as well. +Peacock supports custom (Peacock original) escalations. These escalations are available in-game by default. You can see some custom escalations listed in the [Roadmaps](./roadmaps.mdx) as well. -- **Official Server Escalations and Legacy Escalations** +### Official Server Escalations and Legacy Escalations - - Peacock also supports all official server escalations, including Hitman 2016 escalations that have not been ported to Hitman 2 or 3 (legacy escalations). These escalations are available in-game by default. +Peacock also supports all official server escalations, including Hitman 2016 escalations that have not been ported to Hitman 2 or 3 (legacy escalations). These escalations are available in-game by default. -- Note: You can select specific escalation levels to start on using the Escalation Level Picker tool, as explained [here](./intel/loadout-profiles-elp.md#escalation-level-picker) +- Note: You can select specific escalation levels to start on using the Escalation Level Picker tool, as explained [here](./intel/loadout-profiles-elp.md#escalation-level-picker) ## Contracts Mode Peacock supports both official server and custom Peacock contracts. -- **Featured contracts** - - This includes custom (Peacock original) contracts created by Peacock dev team. You can see some of these custom featured contracts [here](./roadmaps.mdx). - - **Note: Official Servers Featured Contracts are not included.** - - How to Play: - - Go to `Game Modes` -> `Contracts` -> `Featured` menu in-game -- **User Created, Official Server Contracts** - - How to Install: - - Note: This only works while the HITMAPS bot is authenticated for the platform in question. [More info on how to authenticate the HITMAPS bot here](https://bot.hitmaps.com/). - - If you want to check if HITMAPS bot is online, run the command `/botstatus` in the `#bot-spam` channel in the Peacock Discord. Note that the `/botstatus` command only updates every 10 minutes. - - Note: Downloaded official servers contracts are compatible with every game engine, assuming said game engine contains the relevant maps. For example, if you download a contract from Sapienza (Season 1 map) in Hitman 3 engine, you can play this contract in Hitman 2016 and Hitman 2 engine with Peacock as well. However, if you download a contract from Sgail (Season 2 map), then you can't play this contract in the Hitman 2016 engine as the Hitman 2016 engine doesn't contain any Season 2 maps. - - Go to `Game Modes` -> `Contracts` -> `Contract Lookup` menu in-game. - - Enter the official server contract ID (**Contracts from every platform except Nintendo Switch are supported for this**). - - The contract will now be downloaded in your `Contracts` folder. - - How to Play: Go to `Game Modes` -> `Contracts` -> `My Contracts` in-game to play. -- **User Created, Peacock Contracts** - - How to Install: - - Download the contracts `.json` file from the `share-contracts` channel in Peacock Discord. Install this `.json` file to your `Contracts` folder, as shown here: ![](/img/contracts_folder.png). - - How to Create Your Own: - - If you create a contract in-game while in Peacock server, your contract will be saved as an `.json` file in `Contracts` folder, as shown in the image above. - - Be sure to share your `.json` file in Peacock Discord's `share-contracts` channel if you want others to play your custom Peacock contract. - - How to Play: - - Go to `Game Modes` -> `Contracts` -> `My Contracts` in-game to play. +### Featured contracts + +This includes custom (Peacock original) contracts created by Peacock dev team. You can see some of these custom featured contracts [here](./roadmaps.mdx). + +- **Note: Official Servers Featured Contracts are not included.** + +#### How to Play + +Go to `Game Modes` -> `Contracts` -> `Featured` menu in-game. + +### User-Created Official Server Contracts + +#### How to Install + +- Note: This only works while the HITMAPS bot is authenticated for the platform in question. + - [More info on how to authenticate it](https://bot.hitmaps.com/). + - To check if it's online, run the command `/botstatus` in the `#bot-spam` channel in the Peacock Discord. The status is updated every 10 minutes. +- Go to `Game Modes` -> `Contracts` -> `Contract Lookup` menu in-game. +- Enter the official server contract ID (**Contracts from every platform except Nintendo Switch are supported for this**). +- The contract will now be downloaded in your `contracts` folder. + +#### How to Play + +Go to `Game Modes` -> `Contracts` -> `My Contracts` in-game to play. + +### User-Created Peacock Contracts + +#### How to Install + +Download the contract's `.json` file from the `share-contracts` channel in Peacock Discord. Place the `.json` file in your `Contracts` folder, as shown here: ![](/img/wiki/contracts_folder.png). + +#### How to create your own + +- If you create a contract in-game while in Peacock server, your contract will be saved as an `.json` file in `Contracts` folder, as shown in the image above. +- Be sure to share your `.json` file in Peacock Discord's `share-contracts` channel if you want others to play your custom Peacock contract. + +#### How to Play + +- Go to `Game Modes` -> `Contracts` -> `My Contracts` in-game to play. ## Plugins Peacock supports a broad variety of server side mods (plugins). These include, but are not limited to: -- Kill Everyone Mode - - All real NPC's marked as targets, can get Silent Assassin rating back after killing everyone. - - Note: Very buggy for maps with 200+ targets, guns may jam randomly. You may need to start by melee killing people. -- Brothers Elusive Target (Cut Content / Fan Mod) - - NOTE: Although the Brothers ET mod is compatible with Peacock, it is a **fan interpretation** of how the mission would have played out, and not necessarily canon - - File Download: https://www.nexusmods.com/hitman3/mods/375?tab=files - - Install the main portion of the mod (the file not marked "Peacock Plugin") through Simple Mod Framework. Install the "Peacock Plugin" portion of the mod by putting it into your Peacock Install folder -- Plugins to add otherwise unused weapons to the game -- Plugins to modify existing weapons and disguises +- Kill Everyone Mode + - All real NPC's marked as targets, can get Silent Assassin rating back after killing everyone. + - Note: Very buggy for maps with 200+ targets, guns may jam randomly. You may need to start by melee killing people. +- Brothers Elusive Target (Cut Content / Fan Mod) + - NOTE: Although the Brothers ET mod is compatible with Peacock, it is a **fan interpretation** of how the mission would have played out, and not necessarily canon + - File Download: https://www.nexusmods.com/hitman3/mods/375?tab=files + - Install the main portion of the mod (the file not marked "Peacock Plugin") through Simple Mod Framework. Install the "Peacock Plugin" portion of the mod by putting it into your Peacock Install folder +- Plugins to add otherwise unused weapons to the game +- Plugins to modify existing weapons and disguises ### How to Install Plugins -- Broadly speaking, to install plugins, go to either the `plugins` or `#plugin-releases` channel in the Peacock Discord and download a plugin you are interested in. -- - Put your plugins into the `plugins` folder in the Peacock folder. - - Your plugin should end with `.plugin.js` or `Plugin.js` - if it's distributed as a `.zip`, extract it first. - - Example: ![PluginsFolder](/img/plugins_folder.png) -- Be sure to check for any further instructions in the `#plugin-releases` channel for a given plugin, as certain plugins may require further installation steps or are incompatible with newer versions of Peacock. +Broadly speaking, to install plugins, go to either the `plugins` or `#plugin-releases` channel in the Peacock Discord and download a plugin you are interested in. + +- Put your plugins into the `plugins` folder, located in the Peacock folder (created automatically by the server the first time you launch it). +- The plugin should end with `.plugin.js` or `Plugin.js` - if it's distributed as a `.zip`, extract it first. + +Example: ![Plugins folder](/img/wiki/plugins_folder.png) + +- Be sure to check for any further instructions in the plugin's description, as some plugins may require further setup steps or won't work with newer versions of Peacock. + +:::note + +Plugins are only a small portion of the Hitman modding scene. **Many Hitman mods are done client-side and out of scope of Peacock.** More general-use client-side mods, outside the scope of Peacock, are aggregated here: -**Note: Plugins are only a small portion of the Hitman modding scene. Many Hitman mods are done client-side and out of scope of Peacock.** More general-use client-side mods, outside the scope of Peacock, are aggregated here: +- [Nexusmods](https://www.nexusmods.com/hitman3) +- [Glacier Modding Discord](https://discord.com/invite/6UDtuYhZP6) -- [Nexusmods](https://www.nexusmods.com/hitman3) -- [Glacier Modding Discord](https://discord.com/invite/6UDtuYhZP6) +::: diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/intel/faq.md b/i18n/fi/docusaurus-plugin-content-docs/current/intel/faq.md index ea142e5..b49ca4a 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/intel/faq.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/intel/faq.md @@ -4,10 +4,10 @@ title: Frequently Asked Questions ## Troubleshooting FAQ -### Wrong Game Version / Platform +### Before Troubleshooting - Check the [Requirements](./requirements.md) section of this guide, make sure you have a supported game version and platform, etc. - - **Xbox Game Pass / Microsoft PC version of Hitman 3 is not supported (commonly asked)**. + - **Microsoft Store version of Hitman 3 is not supported (commonly asked)**. - Check [Linux Setup Guide](../guides/./linux-setup.md) if on Linux. - Make sure you have the latest versions of Hitman and Peacock, older versions may not be supported. @@ -19,7 +19,7 @@ title: Frequently Asked Questions - To return to Official servers, you can go offline while connected to Peacock, then toggle the Peacock Patcher application to patch you to Official Servers, then go "online" again to connect to official servers. - **If you still have trouble connecting, then continue to the next section below.** -### Connection Troubleshooting +### Connection Issues - As explained in the [What is Peacock](./what-is-peacock.md) page, **you need to be connected to the Internet, at least initially, to use Peacock**. This is to get past Steam / Epic verification. After connecting to Peacock the first time, you may disconnect from the Internet and stay connected to Peacock for the duration of your game session. - If you have a phone with cellular data plan, you can use the phone as hotspot for your computer to connect to Internet. @@ -27,34 +27,23 @@ title: Frequently Asked Questions - Try running the `Start Server.cmd` as admin. - Keep the option "Use http instead of https" in Peacock patcher ticked unless you are playing Ghost Mode. -- Peacock by default uses Port 80 on your PC for the Peacock server. +#### Port In Use - - If possible, check whatever process is currently using Peacock by typing `netstat -ano | find ":80" | find "LISTEN"` into your terminal, and then checking "Details" tab of Task Manager to find the process based on PID of whatever is on Port 80. - - If you use Visual Studio, you may have installed some services that interfere with Peacock by also running on Port 80. To fix: +If you're getting an error that looks like this: - 1. Press the Windows key and R at the same time - 2. Type services.msc in the popup box, then hit ok - 3. Check for W3SVC: World Wide Web Publishing Service and Web Deployment Agent Service in the service manager - 4. Disable both if present - 5. Try again, if it doesn't work, restart your computer, then try once more +![The error message shown when Peacock tries to use a port that's in use](/img/wiki/port_in_use.png) - - Here's how to change the port Peacock uses, if you don't want to stop the process on Port 80: - - In the instructions below, please substitute `PORTNUMBER` with a port that is not currently running on your PC, e.g. `8080`, `6969`, `3000`, etc. - - Change `Start Server.cmd` to be as follows: - ``` - @echo off - SET PORT=PORTNUMBER - .\nodedist\node.exe chunk0.js - PAUSE - ``` - - Type `localhost:PORTNUMBER` or `127.0.0.1:PORTNUMBER` into the server window, as shown here: ![](/img/patcher_port.png) +The error message for this issue will be something along the lines of "failed to bind the server to port X". -### Missing Items / Maps +Check [this guide](../troubleshooting/fix-port-in-use.md) for an explanation and instructions on how to fix it. -- Starting from v6, Peacock should be able to automatically detect when you obtain a new DLC, and give you access to those new items / maps -- v6.1.0 introduced progression to peacock, meaning you now can unlock items as you play. This is enabled by default, to emulate the experience of the official servers. To disable this set `enableMasteryProgression` in `options.ini` to `false`. +## How to Get All Items -### Muut +Peacock v6.1.0 introduced progression support, meaning you now can unlock items as you play. This is **enabled by default**, to emulate the experience of the official servers. + +To disable progression and **immediately get all items**, set `enableMasteryProgression` in `options.ini` to `false`. + +## Muut - Check [Peacock Unique Features](../intel/loadout-profiles-elp.md) page for info on how to set multiple loadouts per map or choose specific escalation levels with Peacock. - Default Suits - If you tick `getDefaultSuits = true` in your `options.ini` file in your Peacock Install folder, please note the following behavior: diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/intel/installation.md b/i18n/fi/docusaurus-plugin-content-docs/current/intel/installation.md index 3829d70..d3f4320 100644 --- a/i18n/fi/docusaurus-plugin-content-docs/current/intel/installation.md +++ b/i18n/fi/docusaurus-plugin-content-docs/current/intel/installation.md @@ -7,20 +7,29 @@ Here's how to get up and running with Peacock. - Steps 4-5 need to be repeated every time you launch the game. The game defaults back to the official servers otherwise. -1. Be sure to check the [requirements](./requirements.md) before reading further to ensure you have the required games / operating systems. **Xbox Game Pass / Microsoft PC version of Hitman 3 is not supported**, and [Linux users should check this page](../guides/linux-setup.md). +--- + +1. Be sure to check the [requirements](./requirements.md) before reading further to ensure you have the required games / operating systems. The **Microsoft Store version** of Hitman 3 **is not supported**, and [Linux users should check this page](../guides/linux-setup.md). 2. [Download the latest Peacock release here](https://github.com/thepeacockproject/Peacock/releases/latest). Select `Peacock-vX.Y.Z.zip` to download. - Note: There is also a `Peacock-vX.Y.Z-lite.zip` option, only for Linux users. Refer to the [Linux guide](../guides/linux-setup.md) for Linux instructions. -3. Extract (unzip) files. Running the files from within the zipped folder will not work. +3. Extract (unzip) the files. Running the files while they're in the zipped folder won't work. -4. Navigate to where you installed Peacock, and run the files `Start Server.cmd` and `PeacockPatcher.exe`. + - To avoid issues, **do not** put the extracted files in: + - `Program Files` (including the x86 version) + - The folder where your game is installed. + - A great place to put them is somewhere easily accessible, like your Documents folder, or on your Desktop. - - Depending on how you installed Peacock, you may need to open two folders to find these files, as shown in this example image: ![](/img/patcher_and_server.png). +4. Go to the folder you put the files in, and run both `Start Server.cmd` and `PeacockPatcher.exe`. + + ![Example image showcasing folder structure](/img/patcher_and_server.png) 5. Now start up the game while `Start Server` and `PeacockPatcher.exe` are still running. The game should launch with Peacock server. Check the [FAQ](./faq.md) or ask in the `#help` channel on [Peacock Discord](https://thepeacockproject.org/discord) if you have trouble getting it to work. +6. (Optional step) If you want to immediately unlock all weapons, items, starting locations, etc., [here's how](../intel/faq.md#how-to-get-all-items). + ## Updating Steps 2-3 may need to be repeated whenever Peacock receives an update (more info on the [Updating](./updating.md) page). diff --git a/i18n/fi/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md b/i18n/fi/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md new file mode 100644 index 0000000..f629559 --- /dev/null +++ b/i18n/fi/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md @@ -0,0 +1,45 @@ +--- +title: Port in Use Error +--- + +The "Port in Use" error happens when Peacock is trying to start, but the port it's set to use is already in use. + +Here's what it looks like: + +![The error message shown when Peacock tries to use a port that's in use](/img/wiki/port_in_use.png) + +## What is a Port? + +In simple terms, a port is a thing programs and other computers can connect to and get data from. +In order for the game to talk to Peacock's server, the server has to occupy a port. +Ports must have an assigned number. The default port used by Peacock is 80, but port numbers can be any whole number between 1 and 65535. + +## Visual Studio + +If you use Visual Studio, you may have installed some services that interfere with Peacock by also running on Port 80. To fix: + +1. Press the Windows key and R at the same time. +2. Type services.msc in the popup box, then hit Okay. +3. Check for `W3SVC: World Wide Web Publishing Service` and `Web Deployment Agent Service` in the service manager. +4. Disable both if present. +5. Try again, if it doesn't work, restart your computer, then try once more. + +## Changing the Port + +Here's how to change the port Peacock uses, if you don't want to stop the process on Port 80: + +In the instructions below, please substitute `PORTNUMBER` with a port that is not currently running on your PC, e.g. `8080`, `6969`, `3000`, etc. + +- Change `Start Server.cmd` to be as follows: + ```bash + @echo off + SET PORT=PORTNUMBER + .\nodedist\node.exe chunk0.js + PAUSE + ``` +- Type `127.0.0.1:PORTNUMBER` into the Patcher's URL field, as shown here: ![](/img/wiki/patcher_port.png) + +## On Linux + +Peacock's default port is 80, but on Linux, the normal user account does not have permission to use port 80. +Check out the Changing the Port section above. diff --git a/i18n/nl/docusaurus-plugin-content-docs/current.json b/i18n/nl/docusaurus-plugin-content-docs/current.json index af66df9..966fd47 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current.json +++ b/i18n/nl/docusaurus-plugin-content-docs/current.json @@ -14,5 +14,9 @@ "sidebar.sidebar.doc.Home": { "message": "Home", "description": "The label for the doc item Home in sidebar sidebar, linking to the doc home" + }, + "sidebar.sidebar.category.Troubleshooting Guides": { + "message": "Troubleshooting Guides", + "description": "The label for category Troubleshooting Guides in sidebar sidebar" } } diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/custom-content.md b/i18n/nl/docusaurus-plugin-content-docs/current/custom-content.md index 88a55ca..83059c7 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/custom-content.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/custom-content.md @@ -7,74 +7,98 @@ Peacock heeft heel veel leuke dingen voor haar gebruikers. Hier is een kijkje in ## Elusive Targets -Binnen Peacock kan je Elusive Targets opnieuw spelen zonder een tijdlimiet gezet te hebben als je wilt herstarten (in tegenstelling tot de Elusive Target Arcade), en zonder een globaal tijdlimiet. +Within Peacock, you can replay Elusive Targets without any time limit on restarts (unlike Elusive Target Arcade), and without a time limit. -- **Hoe te spelen:** - - Na Hitman 3 opgestart te hebben met Peacock, kun je naar `Career` -> `Elusive Targets` in het spel. -- See the [Plugins](#plugins) section for information on installing "The Brothers" Elusive Target (cut content) in Hitman 3. +- **Hoe te spelen:** + - Na Hitman 3 opgestart te hebben met Peacock, kun je naar `Career` -> `Elusive Targets` in het spel. +- See the [Plugins](#plugins) section for information on installing "The Brothers" Elusive Target (cut content) in Hitman 3. ## Escalations -- **Door Peacock-gemaakte Escalations** +### Custom Peacock Escalations - - Peacock ondersteund aangepaste (door Peacock gemaakte) escalations. Deze escalations zijn standaard beschikbaar. Je kan ook wat door Peacock gemaakte escalations zien in de [Roadmaps](https://thepeacockproject.org/wiki/roadmaps). +Peacock supports custom (Peacock original) escalations. These escalations are available in-game by default. You can see some custom escalations listed in the [Roadmaps](./roadmaps.mdx) as well. -- **Official Server Escalations and Legacy Escalations** +### Official Server Escalations and Legacy Escalations - - Peacock also supports all official server escalations, including Hitman 2016 escalations that have not been ported to Hitman 2 or 3 (legacy escalations). Deze escalations zijn standaard beschikbaar. +Peacock also supports all official server escalations, including Hitman 2016 escalations that have not been ported to Hitman 2 or 3 (legacy escalations). These escalations are available in-game by default. -- Note: You can select specific escalation levels to start on using the Escalation Level Picker tool, as explained [here](./intel/loadout-profiles-elp.md#escalation-level-picker) +- Note: You can select specific escalation levels to start on using the Escalation Level Picker tool, as explained [here](./intel/loadout-profiles-elp.md#escalation-level-picker) ## Contractmodus -Peacock understeund zowel officiële server- én aangepaste Peacock-contracten. - -- **Featured contracts** - - Dit bevat alle featured contracts van de officiële server, evenals een paar aangepaste (door Peacock gemaakte) contracten gemaakt door het developer team van Peacock en zelf normale Peacock gebruikers. You can see some of these custom featured contracts [here](./roadmaps.mdx). - - **Note: Official Servers Featured Contracts are not included.** - - Hoe te spelen: - - Ga naar het `Game Modes` -> `Contracts` -> `Featured` menu in het spel -- **Door gebruiker-gemaakte, en officiële server contracten** - - Hoe te installeren: - - Opmerking: Dit werkt alleen zolang de bot geauthenticeerd is voor het platform waarvan je het contract ophaalt. [Klik voor meer informatie](https://bot.hitmaps.com/). - - If you want to check if HITMAPS bot is online, run the command `/botstatus` in the `#bot-spam` channel in the Peacock Discord. Note that the `/botstatus` command only updates every 10 minutes. - - Note: Downloaded official servers contracts are compatible with every game engine, assuming said game engine contains the relevant maps. For example, if you download a contract from Sapienza (Season 1 map) in Hitman 3 engine, you can play this contract in Hitman 2016 and Hitman 2 engine with Peacock as well. However, if you download a contract from Sgail (Season 2 map), then you can't play this contract in the Hitman 2016 engine as the Hitman 2016 engine doesn't contain any Season 2 maps. - - Ga naar het `Game Modes` -> `Contracts` -> `Contract Lookup` menu in het spel. - - Voer hier het officiële server contract ID (**Contracten zijn voor elk platform behalve Switch understeund**). - - Het contract zal nu gedownload worden in de `Contracts` folder. - - Hoe te spelen: Ga naar het `Game Modes` -> `Contracts` -> `My Contracts` in het spel om het contract te spelen. -- **Door gebruiker-gemaakte, en Peacock contracten** - - Hoe te installeren: - - Download het `.ocre` bestand van het contract van het `share-contracts` kanaal in de Discord van Peacock. Install this `.json` file to your `Contracts` folder, as shown here: ![](/img/contracts_folder.png). - - Hoe je jouw eigen contract kunt maken: - - If you create a contract in-game while in Peacock server, your contract will be saved as an `.json` file in `Contracts` folder, as shown in the image above. - - Deel jouw `.ocre` bestand in het kanaal `share-contracts` van de Peacock Discord server als je wilt dat anderen jouw contract kunnen spelen. - - Hoe te spelen: - - Ga naar `Game Modes` -> `Contracts` -> `My Contracts` in het spel om te spelen. +Peacock supports both official server and custom Peacock contracts. + +### Featured contracts + +This includes custom (Peacock original) contracts created by Peacock dev team. You can see some of these custom featured contracts [here](./roadmaps.mdx). + +- **Note: Official Servers Featured Contracts are not included.** + +#### How to Play + +Go to `Game Modes` -> `Contracts` -> `Featured` menu in-game. + +### User-Created Official Server Contracts + +#### How to Install + +- Note: This only works while the HITMAPS bot is authenticated for the platform in question. + - [More info on how to authenticate it](https://bot.hitmaps.com/). + - To check if it's online, run the command `/botstatus` in the `#bot-spam` channel in the Peacock Discord. The status is updated every 10 minutes. +- Ga naar het `Game Modes` -> `Contracts` -> `Contract Lookup` menu in het spel. +- Voer hier het officiële server contract ID (**Contracten zijn voor elk platform behalve Switch understeund**). +- The contract will now be downloaded in your `contracts` folder. + +#### How to Play + +Ga naar `Game Modes` -> `Contracts` -> `My Contracts` in het spel om te spelen. + +### User-Created Peacock Contracts + +#### How to Install + +Download the contract's `.json` file from the `share-contracts` channel in Peacock Discord. Place the `.json` file in your `Contracts` folder, as shown here: ![](/img/wiki/contracts_folder.png). + +#### How to create your own + +- If you create a contract in-game while in Peacock server, your contract will be saved as an `.json` file in `Contracts` folder, as shown in the image above. +- Be sure to share your `.json` file in Peacock Discord's `share-contracts` channel if you want others to play your custom Peacock contract. + +#### How to Play + +- Ga naar `Game Modes` -> `Contracts` -> `My Contracts` in het spel om te spelen. ## Plugins Peacock supports a broad variety of server side mods (plugins). Deze mods bevatten, maar zijn niet beperkt tot: -- Kill Everyone Mode - - Alle echte NPC's zijn als doelwit gemarkeerd. Je kan Silent Assassin terugkrijgen nadat je iedereen hebt vermoord. - - Opmerking: Werkt mogelijk minder goed met maps die meer dan 200+ doelwitten bevatten. Geweren kunnen willekeurig vastlopen. Mogelijk moet je beginnen met doden via melee. -- Brothers Elusive Target (Cut Content / Fan Mod) - - NOTE: Although the Brothers ET mod is compatible with Peacock, it is a **fan interpretation** of how the mission would have played out, and not necessarily canon - - File Download: https://www.nexusmods.com/hitman3/mods/375?tab=files - - Install the main portion of the mod (the file not marked "Peacock Plugin") through Simple Mod Framework. Install the "Peacock Plugin" portion of the mod by putting it into your Peacock Install folder -- Plugins om anders ongebruikte wapens toe te voegen aan het spel -- Plugins om bestaande wapens en vermommingen te bewerken +- Kill Everyone Mode + - Alle echte NPC's zijn als doelwit gemarkeerd. Je kan Silent Assassin terugkrijgen nadat je iedereen hebt vermoord. + - Opmerking: Werkt mogelijk minder goed met maps die meer dan 200+ doelwitten bevatten. Geweren kunnen willekeurig vastlopen. Mogelijk moet je beginnen met doden via melee. +- Brothers Elusive Target (Cut Content / Fan Mod) + - NOTE: Although the Brothers ET mod is compatible with Peacock, it is a **fan interpretation** of how the mission would have played out, and not necessarily canon + - File Download: https://www.nexusmods.com/hitman3/mods/375?tab=files + - Install the main portion of the mod (the file not marked "Peacock Plugin") through Simple Mod Framework. Install the "Peacock Plugin" portion of the mod by putting it into your Peacock Install folder +- Plugins om anders ongebruikte wapens toe te voegen aan het spel +- Plugins om bestaande wapens en vermommingen te bewerken ### How to Install Plugins -- Broadly speaking, to install plugins, go to either the `plugins` or `#plugin-releases` channel in the Peacock Discord and download a plugin you are interested in. -- - Put your plugins into the `plugins` folder in the Peacock folder. - - Your plugin should end with `.plugin.js` or `Plugin.js` - if it's distributed as a `.zip`, extract it first. - - Example: ![PluginsFolder](/img/plugins_folder.png) -- Kijk voor verdere instructies in het `#plugin-releases` kanaal voor een specifieke plugin; sommige plugins kunnen meerdere installatiestappen hebben en/of kunnen mogelijk niet werken met nieuwere versies van Peacock. +Broadly speaking, to install plugins, go to either the `plugins` or `#plugin-releases` channel in the Peacock Discord and download a plugin you are interested in. + +- Put your plugins into the `plugins` folder, located in the Peacock folder (created automatically by the server the first time you launch it). +- The plugin should end with `.plugin.js` or `Plugin.js` - if it's distributed as a `.zip`, extract it first. + +Example: ![Plugins folder](/img/wiki/plugins_folder.png) + +- Be sure to check for any further instructions in the plugin's description, as some plugins may require further setup steps or won't work with newer versions of Peacock. + +:::note + +Plugins are only a small portion of the Hitman modding scene. **Many Hitman mods are done client-side and out of scope of Peacock.** More general-use client-side mods, outside the scope of Peacock, are aggregated here: -**Opmerking: Plugins zijn maar een klein deel van het modding-gedeelte van Hitman. Veel Hitman mods worden client-side uitgevoerd en zijn buiten het bereik van Peacock.** Meer normaal-gebruikte mods, buiten bereik van Peacock, zijn hier geaggregeerd: +- [Nexusmods](https://www.nexusmods.com/hitman3) +- [Glacier Modding Discord](https://discord.com/invite/6UDtuYhZP6) -- [Nexusmods](https://www.nexusmods.com/hitman3) -- [Glacier Modding Discord](https://discord.com/invite/6UDtuYhZP6) +::: diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/intel/faq.md b/i18n/nl/docusaurus-plugin-content-docs/current/intel/faq.md index 2da1883..fbd4939 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/intel/faq.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/intel/faq.md @@ -4,10 +4,10 @@ title: Veelgestelde vragen / Probleemoplossing ## Probleemoplossing FAQ -### Wrong Game Version / Platform +### Before Troubleshooting - Check the [Requirements](./requirements.md) section of this guide, make sure you have a supported game version and platform, etc. - - **Xbox Game Pass / Microsoft PC version of Hitman 3 is not supported (commonly asked)**. + - **Microsoft Store version of Hitman 3 is not supported (commonly asked)**. - Check [Linux Setup Guide](../guides/./linux-setup.md) if on Linux. - Controleer dat je de laatste versie van Hitman 3 en Peacock hebt, oudere versies kunnen mogelijk niet ondersteund zijn. @@ -19,42 +19,31 @@ title: Veelgestelde vragen / Probleemoplossing - Je kunt dus ook op dezelfde manier de verbinding verbreken als je met Peacock verbonden bent, via de patcher de server naar "IOI Official" zetten, en dan weer verbinding maken om zo te verbinden met de officiële servers. - **If you still have trouble connecting, then continue to the next section below.** -### Connection Troubleshooting +### Connection Issues - As explained in the [What is Peacock](./what-is-peacock.md) page, **you need to be connected to the Internet, at least initially, to use Peacock**. This is to get past Steam / Epic verification. After connecting to Peacock the first time, you may disconnect from the Internet and stay connected to Peacock for the duration of your game session. - If you have a phone with cellular data plan, you can use the phone as hotspot for your computer to connect to Internet. - Don't try to use Peacock if it's literally your first time playing the game. You need to connect to the official servers at least once before you can connect to Peacock. After you've connected to official servers at least once you no longer have to do so in the future in order to use Peacock. - Try running the `PeacockPatcher.exe` as admin. -- Laat de optie "Use http instead of https" in de Peacock Patcher aangevinkt behalve als je Ghost Mode speelt. +- Keep the option "Use http instead of https" in Peacock patcher ticked unless you are playing Ghost Mode. -- Peacock gebruikt standaard Poort 80 vanuit jouw PC voor de Peacock server. +#### Port In Use - - Als het mogelijk is, controleer door welk proces Peacock gebruikt wordt door `netstat -ano | find ":80" | find "LISTEN"` in de terminal te typen, en dan het "Details" venster van Taakbeheer te controleren om het PID proces te vinden wat Poort 80 gebruikt. - - Als je Visual Studio gebruikt, kan je wat services hebben geïnstalleerd dat met Peacock stoort wat ook Poort 80 gebruikt. Om dit op te lossen: +If you're getting an error that looks like this: - 1. Druk de Windows- en R knop tegelijkertijd in - 2. Typ `services.msc` in het venster, en klik dan ok "ok" - 3. Controleer voor "W3SVC: World Wide Web Publishing Service" en "Web Deployment Agent Service" in de service manager - 4. Zet deze beide uit als ze zichtbaar zijn - 5. Probeer het nog een keer, als dat niet werkt, herstart jouw computer, en probeer het dan nog een keer +![The error message shown when Peacock tries to use a port that's in use](/img/wiki/port_in_use.png) - - Here's how to change the port Peacock uses, if you don't want to stop the process on Port 80: - - In the instructions below, please substitute `PORTNUMBER` with a port that is not currently running on your PC, e.g. `8080`, `6969`, `3000`, etc. - - Change `Start Server.cmd` to be as follows: - ``` - @echo off - SET PORT=PORTNUMBER - .\nodedist\node.exe chunk0.js - PAUSE - ``` - - Type `localhost:PORTNUMBER` or `127.0.0.1:PORTNUMBER` into the server window, as shown here: ![](/img/patcher_port.png) +The error message for this issue will be something along the lines of "failed to bind the server to port X". -### Missing Items / Maps +Check [this guide](../troubleshooting/fix-port-in-use.md) for an explanation and instructions on how to fix it. -- Starting from v6, Peacock should be able to automatically detect when you obtain a new DLC, and give you access to those new items / maps -- v6.1.0 introduced progression to peacock, meaning you now can unlock items as you play. This is enabled by default, to emulate the experience of the official servers. To disable this set `enableMasteryProgression` in `options.ini` to `false`. +## How to Get All Items -### Andere +Peacock v6.1.0 introduced progression support, meaning you now can unlock items as you play. This is **enabled by default**, to emulate the experience of the official servers. + +To disable progression and **immediately get all items**, set `enableMasteryProgression` in `options.ini` to `false`. + +## Andere - Check [Peacock Unique Features](../intel/loadout-profiles-elp.md) page for info on how to set multiple loadouts per map or choose specific escalation levels with Peacock. - Default Suits - If you tick `getDefaultSuits = true` in your `options.ini` file in your Peacock Install folder, please note the following behavior: diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/intel/installation.md b/i18n/nl/docusaurus-plugin-content-docs/current/intel/installation.md index 2527b68..c7d08c4 100644 --- a/i18n/nl/docusaurus-plugin-content-docs/current/intel/installation.md +++ b/i18n/nl/docusaurus-plugin-content-docs/current/intel/installation.md @@ -7,20 +7,29 @@ Here's how to get up and running with Peacock. - Steps 4-5 need to be repeated every time you launch the game. Het spel zal anders terug gaan naar de officiële servers. -1. Be sure to check the [requirements](./requirements.md) before reading further to ensure you have the required games / operating systems. **Xbox Game Pass / Microsoft PC version of Hitman 3 is not supported**, and [Linux users should check this page](../guides/linux-setup.md). +--- + +1. Be sure to check the [requirements](./requirements.md) before reading further to ensure you have the required games / operating systems. The **Microsoft Store version** of Hitman 3 **is not supported**, and [Linux users should check this page](../guides/linux-setup.md). 2. [Download the latest Peacock release here](https://github.com/thepeacockproject/Peacock/releases/latest). Select `Peacock-vX.Y.Z.zip` to download. - Note: There is also a `Peacock-vX.Y.Z-lite.zip` option, only for Linux users. Refer to the [Linux guide](../guides/linux-setup.md) for Linux instructions. -3. Extract (unzip) de bestanden. De bestanden vanuit de gezipte folder uitvoeren zal niet werken. +3. Extract (unzip) the files. Running the files while they're in the zipped folder won't work. -4. Ga naar de folder waar je Peacock hebt geïnstalleerd, en start dan het `Start Server.cmd` bestand en het `PeacockPatcher.exe` bestand. + - To avoid issues, **do not** put the extracted files in: + - `Program Files` (including the x86 version) + - The folder where your game is installed. + - A great place to put them is somewhere easily accessible, like your Documents folder, or on your Desktop. - - Depending on how you installed Peacock, you may need to open two folders to find these files, as shown in this example image: ![](/img/patcher_and_server.png). +4. Go to the folder you put the files in, and run both `Start Server.cmd` and `PeacockPatcher.exe`. + + ![Example image showcasing folder structure](/img/patcher_and_server.png) 5. Now start up the game while `Start Server` and `PeacockPatcher.exe` are still running. The game should launch with Peacock server. Check the [FAQ](./faq.md) or ask in the `#help` channel on [Peacock Discord](https://thepeacockproject.org/discord) if you have trouble getting it to work. +6. (Optional step) If you want to immediately unlock all weapons, items, starting locations, etc., [here's how](../intel/faq.md#how-to-get-all-items). + ## Updating Steps 2-3 may need to be repeated whenever Peacock receives an update (more info on the [Updating](./updating.md) page). diff --git a/i18n/nl/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md b/i18n/nl/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md new file mode 100644 index 0000000..f629559 --- /dev/null +++ b/i18n/nl/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md @@ -0,0 +1,45 @@ +--- +title: Port in Use Error +--- + +The "Port in Use" error happens when Peacock is trying to start, but the port it's set to use is already in use. + +Here's what it looks like: + +![The error message shown when Peacock tries to use a port that's in use](/img/wiki/port_in_use.png) + +## What is a Port? + +In simple terms, a port is a thing programs and other computers can connect to and get data from. +In order for the game to talk to Peacock's server, the server has to occupy a port. +Ports must have an assigned number. The default port used by Peacock is 80, but port numbers can be any whole number between 1 and 65535. + +## Visual Studio + +If you use Visual Studio, you may have installed some services that interfere with Peacock by also running on Port 80. To fix: + +1. Press the Windows key and R at the same time. +2. Type services.msc in the popup box, then hit Okay. +3. Check for `W3SVC: World Wide Web Publishing Service` and `Web Deployment Agent Service` in the service manager. +4. Disable both if present. +5. Try again, if it doesn't work, restart your computer, then try once more. + +## Changing the Port + +Here's how to change the port Peacock uses, if you don't want to stop the process on Port 80: + +In the instructions below, please substitute `PORTNUMBER` with a port that is not currently running on your PC, e.g. `8080`, `6969`, `3000`, etc. + +- Change `Start Server.cmd` to be as follows: + ```bash + @echo off + SET PORT=PORTNUMBER + .\nodedist\node.exe chunk0.js + PAUSE + ``` +- Type `127.0.0.1:PORTNUMBER` into the Patcher's URL field, as shown here: ![](/img/wiki/patcher_port.png) + +## On Linux + +Peacock's default port is 80, but on Linux, the normal user account does not have permission to use port 80. +Check out the Changing the Port section above. diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current.json b/i18n/pt-BR/docusaurus-plugin-content-docs/current.json index d449fc5..af63ed1 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current.json +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current.json @@ -14,5 +14,9 @@ "sidebar.sidebar.doc.Home": { "message": "Home", "description": "The label for the doc item Home in sidebar sidebar, linking to the doc home" + }, + "sidebar.sidebar.category.Troubleshooting Guides": { + "message": "Troubleshooting Guides", + "description": "The label for category Troubleshooting Guides in sidebar sidebar" } } diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/custom-content.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/custom-content.md index 0c8d582..efd0d9a 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/custom-content.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/custom-content.md @@ -7,74 +7,98 @@ O Peacock tem vários benefícios incluídos para nossos usuários. Aqui vai uma ## Alvos Elusivos -Dentro do Peacock, você pode jogar Alvos Elusivos sem nenhum tempo limite ao reiniciar (ao contrário do Arcade de Alvos Elusivos), e sem nenhum tempo limite. +Within Peacock, you can replay Elusive Targets without any time limit on restarts (unlike Elusive Target Arcade), and without a time limit. -- **Como Jogar:** - - Depois de iniciar o Hitman 3 usando o Peacock, vá para `Career` -> `Elusive Targets` no jogo. -- Veja a seção [Plugins](#plugins) por informações sobre a instalação do alvo elusivo "Os Irmãos" (conteúdo cortado) em Hitman 3. +- **Como Jogar:** + - Depois de iniciar o Hitman 3 usando o Peacock, vá para `Career` -> `Elusive Targets` no jogo. +- See the [Plugins](#plugins) section for information on installing "The Brothers" Elusive Target (cut content) in Hitman 3. ## Agravamentos -- **Agravamentos Peacock Personalizados** +### Custom Peacock Escalations - - O Peacock suporta agravamentos (Originais Peacock) personalizados. Essas escalações estão disponíveis em jogo por predefinição. Você pode ver alguns dos agravamentos customizados listados nos [Roadmaps](https://thepeacockproject.org/wiki/roadmaps) também. +Peacock supports custom (Peacock original) escalations. These escalations are available in-game by default. You can see some custom escalations listed in the [Roadmaps](./roadmaps.mdx) as well. -- **Agravamentos dos Servidores Oficiais e Agravamentos Legado** +### Official Server Escalations and Legacy Escalations - - O Peacock também suporta todos os agravamentos dos servidores oficiais, incluindo agravamentos de Hitman 2016 que não foram portados para o Hitman 2 e 3 (agravamentos legado). Essas escalações estão disponíveis em jogo por predefinição. +Peacock also supports all official server escalations, including Hitman 2016 escalations that have not been ported to Hitman 2 or 3 (legacy escalations). These escalations are available in-game by default. -- Nota: Você pode selecionar níves específicos de agravamentos para iniciar usando a ferramenta Escalation Level Picker, como explicado [aqui](./intel/loadout-profiles-elp.md#escalation-level-picker) +- Note: You can select specific escalation levels to start on using the Escalation Level Picker tool, as explained [here](./intel/loadout-profiles-elp.md#escalation-level-picker) ## Modo Contratos -O Peacock suporta ambos contratos de servidores oficiais e contratos personalizados Peacock. - -- **Contratos em Destaque** - - Aqui estão incluídos todos os contratos em destaque dos servidores oficiais, assim como alguns contratos (Originais Peacock) customizados criados pela equipe de desenvolvimento do Peacock e até mesmo de usuários regulares. Você pode ver alguns desses contratos em destaque customizados [aqui](./roadmaps.mdx). - - **Aviso: Contratos em Destaque dos Servidores Oficiais não estão incluídos.** - - Como Jogar: - - Vá para o menu `Game Modes` -> `Contracts` -> `Featured` em jogo -- **Criados por Usuários, Contratos de Servidores Oficiais** - - Como Instalar: - - Nota: Isso funciona apenas enquanto o bot está autenticado para a plataforma em questão. [Mais informações aqui](https://bot.hitmaps.com/). - - Se você quiser checar se o bot do HITMAPS está online, execute o comando `botstatus` no canal `#bot-spam` no Discord do Peacock. Note que o comando `/botstatus` apenas atualiza a cada 10 minutos. - - Aviso: Contratos baixados dos Servidores Oficiais são compatíveis com qualquer engine de jogo, assumindo que a mesma contenha os mapas relevantes. Por exemplo, se você baixar um contrato de Sapienza (mapa da primeira Season) na engine de Hitman 3, você pode jogar esse contrato nas engines de Hitman 2016 e do Hitman 2, assim como no Peacock. No entanto, se você baixar um contrato da Ilha de Sgàil (mapa da segunda Season), você não poderá jogar esse contrato na engine do Hitman 2016, já que esse engine não contém nenhum mapa da segunda Season. - - Vá para o menu `Game Modes` -> `Contracts` -> `Contract Lookup` em jogo. - - Entre com o ID do contrato do servidor oficial (**Contratos de qualquer plataforma exceto Nintendo Switch são suportados para isso**). - - O contrato será agor baixado na sua pasta `Contracts`. - - Como Jogar: Vá para o menu `Game Modes` -> `Contracts` -> `My Contracts` em jogo. -- **Criados por Usuários, Contratos Personalizados Peacock** - - Como Instalar: - - Faça o Download dos arquivos `.ocre` de contratos do canal `share-contracts` no Discord do Peacock. Instale esse arquivo `.json` na sua pasta `Contracts`, como mostrado aqui: ![](/img/contracts_folder.png). - - Como Criar o Seu Próprio: - - Se você criar um contrato em jogo enquanto estiver conectado ao servidor Peacock, seu contrato será salvo como um arquivo `.json` na pasta `Contracts`, como mostrado na imagem acima. - - Tenha a certeza de compartilhar seu arquivo `.ocre` no canal `share-contracts` do servidor Discord do Peacock se quiser que outros joguem seu contrato customizado Peacock. - - Como Jogar: - - Vá para o menu `Game Modes` -> `Contracts` -> `My Contracts` em jogo. +Peacock supports both official server and custom Peacock contracts. + +### Featured contracts + +This includes custom (Peacock original) contracts created by Peacock dev team. You can see some of these custom featured contracts [here](./roadmaps.mdx). + +- **Note: Official Servers Featured Contracts are not included.** + +#### How to Play + +Go to `Game Modes` -> `Contracts` -> `Featured` menu in-game. + +### User-Created Official Server Contracts + +#### How to Install + +- Note: This only works while the HITMAPS bot is authenticated for the platform in question. + - [More info on how to authenticate it](https://bot.hitmaps.com/). + - To check if it's online, run the command `/botstatus` in the `#bot-spam` channel in the Peacock Discord. The status is updated every 10 minutes. +- Vá para o menu `Game Modes` -> `Contracts` -> `Contract Lookup` em jogo. +- Entre com o ID do contrato do servidor oficial (**Contratos de qualquer plataforma exceto Nintendo Switch são suportados para isso**). +- The contract will now be downloaded in your `contracts` folder. + +#### How to Play + +Vá para o menu `Game Modes` -> `Contracts` -> `My Contracts` em jogo. + +### User-Created Peacock Contracts + +#### How to Install + +Download the contract's `.json` file from the `share-contracts` channel in Peacock Discord. Place the `.json` file in your `Contracts` folder, as shown here: ![](/img/wiki/contracts_folder.png). + +#### How to create your own + +- If you create a contract in-game while in Peacock server, your contract will be saved as an `.json` file in `Contracts` folder, as shown in the image above. +- Be sure to share your `.json` file in Peacock Discord's `share-contracts` channel if you want others to play your custom Peacock contract. + +#### How to Play + +- Vá para o menu `Game Modes` -> `Contracts` -> `My Contracts` em jogo. ## Plugins O Peacock suporta uma grande variedade de mods de servidor (plugins). Esses incluem, mas não estão limitados a: -- Modo Massacre - - Todos os NPCs reais são marcados como alvos, podendo receber avaliação Assassino Silencioso depois de ter matado a todos. - - Nota: Bem bugado em mapas com mais de 200 alvos, armas podem falhar em momentos aleatórios. Você pode precisar matar usando métodos corpo a corpo. -- Alvo Elusivo Os Irmãos (Conteúdo Cortado / Mod de Fã) - - NOTA: Apesar de o Alvo Elusivo Os Irmãos ser compatível com o Peacock, é uma **interpretação de fãs** de como a missão iria se desenrolar, e não é necessariamente canônico - - Download de Arquivo: https://www.nexusmods.com/hitman3/mods/375?tab=files - - Instale a porção principal do mod (o arquivo não marcado como "Peacock Plugin") através do Simple Mod Framework. Instale a seção do mod "Peacock Plugin" colocando-o na sua pasta de instalação do Peacock -- Plugins para adicionar armas não usadas no jogo -- Plugins para modificar armas e disfarces existentes +- Modo Massacre + - Todos os NPCs reais são marcados como alvos, podendo receber avaliação Assassino Silencioso depois de ter matado a todos. + - Nota: Bem bugado em mapas com mais de 200 alvos, armas podem falhar em momentos aleatórios. Você pode precisar matar usando métodos corpo a corpo. +- Alvo Elusivo Os Irmãos (Conteúdo Cortado / Mod de Fã) + - NOTE: Although the Brothers ET mod is compatible with Peacock, it is a **fan interpretation** of how the mission would have played out, and not necessarily canon + - Download de Arquivo: https://www.nexusmods.com/hitman3/mods/375?tab=files + - Instale a porção principal do mod (o arquivo não marcado como "Peacock Plugin") através do Simple Mod Framework. Install the "Peacock Plugin" portion of the mod by putting it into your Peacock Install folder +- Plugins para adicionar armas não usadas no jogo +- Plugins para modificar armas e disfarces existentes ### Como Instalar Plugins -- Amplamente falando, para baixar plugins, vá para os canais `plugins` ou `#plugin-releases` no servidor Discord do Peacock e faça o download de um plugin em que tenha interesse. -- - Coloque seus plugins na pasta `plugins` dentro do diretório Peacock. - - Seu plugin deve terminar com `.plugin.js` ou `Plugin.js` - se foi obtido como um arquivo `.zip`, extraia seus conteúdos primeiro. - - Exemplo: ![PluginsFolder](/img/plugins_folder.png) -- Tenha certeza de verificar por quaisquer outras instruções no canal `#plugin-releases` por um certo plugin, já que certos plugins poder necessitar de mais passos de instalação ou são incompatíveis com versões mais recentes do Peacock. +Broadly speaking, to install plugins, go to either the `plugins` or `#plugin-releases` channel in the Peacock Discord and download a plugin you are interested in. + +- Put your plugins into the `plugins` folder, located in the Peacock folder (created automatically by the server the first time you launch it). +- The plugin should end with `.plugin.js` or `Plugin.js` - if it's distributed as a `.zip`, extract it first. + +Exemplo: ![Plugins folder](/img/wiki/plugins_folder.png) + +- Be sure to check for any further instructions in the plugin's description, as some plugins may require further setup steps or won't work with newer versions of Peacock. + +:::note + +Plugins are only a small portion of the Hitman modding scene. **Many Hitman mods are done client-side and out of scope of Peacock.** More general-use client-side mods, outside the scope of Peacock, are aggregated here: -**Nota: Plugins são apenas uma pequena porção da comunidade Hitman de mods. Vários mods de Hitman são manipulados pelo lado do cliente e estão fora da alçada do Peacock.** Mais mods gerais de uso pelo usuário, fora da responsabilidade do Peacock, estão agregados aqui: +- [Nexusmods](https://www.nexusmods.com/hitman3) +- [Discord de Mods Glacier](https://discord.com/invite/6UDtuYhZP6) -- [Nexusmods](https://www.nexusmods.com/hitman3) -- [Discord de Mods Glacier](https://discord.com/invite/6UDtuYhZP6) +::: diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/ghost-mode.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/ghost-mode.md index 392f82e..f43c60b 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/ghost-mode.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/ghost-mode.md @@ -30,5 +30,5 @@ Para usar o Modo Fantasma no HITMAN™ 3 (Versão Steam apenas), você precisar ## Notas Extras -- You can also play Ghost Mode with two people connected to the same Peacock instance, however exposing Peacock outside your home network may not be safe and isn't recommended. +- Você também pode jogar o Modo Fantasma com duas pessoas logadas na mesma instância Peacock, no entanto expor o Peacock fora da sua rede local pode não ser segura e não é recomendada. - Esse servidor de Modo Fantasma é rodade pela equipe do Projeto Peacock, mas _não é o Peacock em si_! diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/intel/faq.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/intel/faq.md index c848bb7..1ce4ef6 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/intel/faq.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/intel/faq.md @@ -4,10 +4,10 @@ title: Perguntas Frequentes (FAQ) / Solução de Problemas ## Perguntas Frequents sobre Resolução de Problemas -### Versão Errada do Jogo / Plataforma +### Before Troubleshooting - Veja a seção [Requerimentos](./requirements.md) deste guia, tenha a certeza de que você tem uma versão e plataforma compatíveis, etc. - - **Xbox Game Pass / Versão da Microsoft PC de Hitman 3 não são suportadas (comumente perguntado)**. + - **Microsoft Store version of Hitman 3 is not supported (commonly asked)**. - Veja o [Guia de Instalação de Linux](../guides/./linux-setup.md) se estiver usando Linux. - Tenha a certeza de que você tem as últimas versões do Hitman 3 e do Peacock, versões mais antigas podem não ser suportadas. @@ -19,42 +19,31 @@ title: Perguntas Frequentes (FAQ) / Solução de Problemas - Similarmente, você pode ficar offline quando conectado ao Peacock, ativar a opção no inicializador do Peacock para voltar aos servidores oficiais, e clicar em ficar "online" novamente para se conectar aos servidores oficiais. - **Se você ainda estiver tendo problemas ao se conectar, continue na seção abaixo.** -### Solução de Problemas de Conexão +### Connection Issues - Como explicado na página [O Que é o Peacock](./what-is-peacock.md), **você precisa estar conectado à Internet, pelo menos inicialmente, para usar o Peacock**. Isso tem o único propósito de passar pela verificação Steam / Epic. Após conectar ao Peacock na primeira vez, você poderá desconectar da Internet e permanecer conectado ao Peacock pela duração da sua sessão de jogo. - Se você tiver um celular com plano de Internet, você pode usá-lo como ponto de acesso de Internet para o seu computador se conectar. - Não tente usar o Peacock se esta for a sua primeira vez jogando o jogo. Você precisa se conectar aos servidores oficiais pelo menos uma vez antes de se conectar ao Peacock. Depois de ter conectado aos servidores oficiais pelo menos uma vez, você não precisa de fazê-lo novamente no futuro para usar o Peacock. - Tente rodar o `Start Server.cmd` como administrador. -- Mantenha a opção "Use http instead of https" no Peacock ativada a não ser que esteja jogando o Modo Fantasma. +- Keep the option "Use http instead of https" in Peacock patcher ticked unless you are playing Ghost Mode. -- O Peacock utiliza por padrão a Porta de Rede 80 no seu computador para o servidor do Peacock. +#### Port In Use - - Se possível, veja quaisquer processos estão atualmente utilizando o Peacock escrevendo `netstat -ano | find ":80" | find "LISTEN"` no seu terminal, e então checando a categoria "Details" do Gerenciador de Tarefas para encontrar o processo baseado em PID de qualquer coisa que esteja ocupando a Porta 80. - - Se você utiliza o Visual Studio, você pode ter instalado alguns serviços que interferem com o Peacock por também utilizar a Porta de Rede 80. Para resolver: +If you're getting an error that looks like this: - 1. Clique no botão Windows e em R ao mesmo tempo - 2. Escreva services.msc na caixa de texto, e então clique em ok - 3. Verifique por W3SVC: World Wide Web Publishing Service and Web Deployment Agent Service (Serviço de Publicação de World Wide Web e Serviço de Agente Remoto de Implantação da Web) - 4. Desligue ambos se presentes - 5. Tente novamente, se não funcionar, reinicie seu computador, e depois tente mais uma vez +![The error message shown when Peacock tries to use a port that's in use](/img/wiki/port_in_use.png) - - Abaixo você encontra informações sobre como mudar o uso da Port Peacock, se você desejar parar a utilização na Port 80: - - Nas instruções abaixo, substitua `NumeroDaPort` por uma port que não esteja sendo atualmente executada em seu PC, e.g. `8080`, `6969`, `3000`, etc. - - Mude `Start Server.cmd` como descrito abaixo: - ``` - @echo off - SET PORT=NumeroDaPorta - .\nodedist\node.exe chunk0.js - PAUSE - ``` - - Escreva `localhost:NumeroDaPorta` ou `127.0.0.1:NumeroDaPorta` na janela do servidor, como mostrado aqui: ![](/img/patcher_port.png) +The error message for this issue will be something along the lines of "failed to bind the server to port X". -### Itens Faltantes / Mapas +Check [this guide](../troubleshooting/fix-port-in-use.md) for an explanation and instructions on how to fix it. -- A partir da versão v6, o Peacock deve detectar automaticamente quando você adquirir uma nova DLC, e dar acesso a novos itens / mapas -- v6.1.0 introduziu progressão ao Peacock, o que significa que você pode desbloquear novos itens ao longo do jogo. Isso é ativado por padrão, para emular a experiência oficial dos servidores. Para desativar isso, mude `enableMasteryProgression` no arquivo `options.ini` para `false`. +## How to Get All Items -### Outro +Peacock v6.1.0 introduced progression support, meaning you now can unlock items as you play. This is **enabled by default**, to emulate the experience of the official servers. + +To disable progression and **immediately get all items**, set `enableMasteryProgression` in `options.ini` to `false`. + +## Outro - Veja a página de [Recursos Únicos do Peacock](../intel/loadout-profiles-elp.md) para mais informações em como ter múltiplos equipamentos por mapa ou escolher níveis de agravamento específicos. - Trajes Padrão - Se você ativar `getDefaultSuits = true` no seu arquivo `options.ini` na sua pasta de instalação do Peacock, por favor leia o seguinte comportamento: diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/intel/installation.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/intel/installation.md index 4f79761..6f17c38 100644 --- a/i18n/pt-BR/docusaurus-plugin-content-docs/current/intel/installation.md +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/intel/installation.md @@ -7,20 +7,29 @@ Aqui estão as instruções para se começar a usar o Peacock. - Os passos 4-5 precisam ser repetidos todas as vezes que for iniciar o jogo. O jogo retorna aos servidores oficiais se não o fizer. -1. Verifique os [Requisitos](./requirements.md) antes de ler adiante para ter a certeza de que você tem os jogos / sistemas operacionais necessários. **A versão Game Pass do Xbox / Microsoft PC do Hitman 3 não é suportada**, e [usuários de Linux devem ver essa página](../guides/linux-setup.md). +--- + +1. Verifique os [Requisitos](./requirements.md) antes de ler adiante para ter a certeza de que você tem os jogos / sistemas operacionais necessários. The **Microsoft Store version** of Hitman 3 **is not supported**, and [Linux users should check this page](../guides/linux-setup.md). 2. [Faça o download da última versão do Peacock aqui](https://github.com/thepeacockproject/Peacock/releases/latest). Selecione `Peacock-vX.Y.Z.zip` para baixar. - Nota: Também existe a opção `Peacock-vX.Y.Z-lite.zip`, mas essa é principalmente para usuários de Linux. Veja o [guia Linux](../guides/linux-setup.md) para instruções. -3. Extraia (descompacte) os arquivos. Rodar os arquivos de dentro do arquivo compactado não irá funcionar. +3. Extract (unzip) the files. Running the files while they're in the zipped folder won't work. -4. Navegue para o local onde você instalou o Peacock, e rode os arquivos `Start Server.cmd` e `PeacockPatcher.exe`. + - To avoid issues, **do not** put the extracted files in: + - `Program Files` (including the x86 version) + - The folder where your game is installed. + - A great place to put them is somewhere easily accessible, like your Documents folder, or on your Desktop. - - Dependendo de como você instalou o Peacock, você pode precisar abrir duas pastas para encontrar esses arquivos, como mostrado nessa imagem de exemplo: ![](/img/patcher_and_server.png). +4. Go to the folder you put the files in, and run both `Start Server.cmd` and `PeacockPatcher.exe`. + + ![Example image showcasing folder structure](/img/patcher_and_server.png) 5. Agora inicie o jogo enquanto `Start Server` e `PeacockPatcher.exe` ainda estejam rodando. O jogo deve ser iniciado juntamente com o servidor Peacock. Verifique o [FAQ](./faq.md) ou pergunte no canal `#help` no [Discord do Peacock](https://thepeacockproject.org/discord) se você estiver tendo problemas nesses procedimentos. +6. (Optional step) If you want to immediately unlock all weapons, items, starting locations, etc., [here's how](../intel/faq.md#how-to-get-all-items). + ## Atualizando Os passos 2-3 podem precisar ser repetidos quando o Peacock receber uma atualização (mais informações na página [Atualizando para Novas Versões](./updating.md)). diff --git a/i18n/pt-BR/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md b/i18n/pt-BR/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md new file mode 100644 index 0000000..f629559 --- /dev/null +++ b/i18n/pt-BR/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md @@ -0,0 +1,45 @@ +--- +title: Port in Use Error +--- + +The "Port in Use" error happens when Peacock is trying to start, but the port it's set to use is already in use. + +Here's what it looks like: + +![The error message shown when Peacock tries to use a port that's in use](/img/wiki/port_in_use.png) + +## What is a Port? + +In simple terms, a port is a thing programs and other computers can connect to and get data from. +In order for the game to talk to Peacock's server, the server has to occupy a port. +Ports must have an assigned number. The default port used by Peacock is 80, but port numbers can be any whole number between 1 and 65535. + +## Visual Studio + +If you use Visual Studio, you may have installed some services that interfere with Peacock by also running on Port 80. To fix: + +1. Press the Windows key and R at the same time. +2. Type services.msc in the popup box, then hit Okay. +3. Check for `W3SVC: World Wide Web Publishing Service` and `Web Deployment Agent Service` in the service manager. +4. Disable both if present. +5. Try again, if it doesn't work, restart your computer, then try once more. + +## Changing the Port + +Here's how to change the port Peacock uses, if you don't want to stop the process on Port 80: + +In the instructions below, please substitute `PORTNUMBER` with a port that is not currently running on your PC, e.g. `8080`, `6969`, `3000`, etc. + +- Change `Start Server.cmd` to be as follows: + ```bash + @echo off + SET PORT=PORTNUMBER + .\nodedist\node.exe chunk0.js + PAUSE + ``` +- Type `127.0.0.1:PORTNUMBER` into the Patcher's URL field, as shown here: ![](/img/wiki/patcher_port.png) + +## On Linux + +Peacock's default port is 80, but on Linux, the normal user account does not have permission to use port 80. +Check out the Changing the Port section above. diff --git a/i18n/zh/docusaurus-plugin-content-docs/current.json b/i18n/zh/docusaurus-plugin-content-docs/current.json index fd29a96..65dcc99 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current.json +++ b/i18n/zh/docusaurus-plugin-content-docs/current.json @@ -14,5 +14,9 @@ "sidebar.sidebar.doc.Home": { "message": "首页", "description": "The label for the doc item Home in sidebar sidebar, linking to the doc home" + }, + "sidebar.sidebar.category.Troubleshooting Guides": { + "message": "Troubleshooting Guides", + "description": "The label for category Troubleshooting Guides in sidebar sidebar" } } diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/custom-content.md b/i18n/zh/docusaurus-plugin-content-docs/current/custom-content.md index 952c113..0ee90b5 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/custom-content.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/custom-content.md @@ -7,74 +7,98 @@ Peacock为我们的用户提供了许多有趣的内容。 这里是我们的一 ## 行踪不定的目标 -在Peacock中,你可以随意重新游玩行踪不定的目标,重新开始时无时间冷却(不像行踪不定的目标街机模式),也无时间限制。 +Within Peacock, you can replay Elusive Targets without any time limit on restarts (unlike Elusive Target Arcade), and without a time limit. -- **如何游玩:** - - 在Peacock中启动杀手3后,在游戏中前往`生涯` -> `行踪不定的目标` -- 参阅[Plugins](#plugins)板块查看在杀手3中安装行踪不定的目标“The Brothers”(删减内容)的信息。 +- **如何游玩:** + - 在Peacock中启动杀手3后,在游戏中前往`生涯` -> `行踪不定的目标` +- See the [Plugins](#plugins) section for information on installing "The Brothers" Elusive Target (cut content) in Hitman 3. ## 升级 -- **自定义Peacock升级** +### Custom Peacock Escalations - - Peacock支持自定义(Peacock原版)升级。 这些升级在游戏中默认可用。 你也可以在[路线图](./roadmaps.mdx)中看到一些列举的自定义升级。 +Peacock supports custom (Peacock original) escalations. These escalations are available in-game by default. You can see some custom escalations listed in the [Roadmaps](./roadmaps.mdx) as well. -- **官方服务器的升级契约与传承升级契约** +### Official Server Escalations and Legacy Escalations - - Peacock也支持所有官方服务器升级契约,包括未被移植到《杀手2》或《杀手3》的《杀手2016》升级契约(传承升级契约)。 这些升级在游戏中默认可用。 +Peacock also supports all official server escalations, including Hitman 2016 escalations that have not been ported to Hitman 2 or 3 (legacy escalations). These escalations are available in-game by default. -- 注意:您可以使用升级契约关卡选择工具选择要启动的特定级别的升级契约关卡,如[此处](./intel/loadout-profiles-elp.md#escalation-level-picker)所述 +- Note: You can select specific escalation levels to start on using the Escalation Level Picker tool, as explained [here](./intel/loadout-profiles-elp.md#escalation-level-picker) ## 契约模式 -Peacock同时支持官方服务器和Peacock自定义契约。 - -- **支持的契约** - - 这包含自定义(Peacock原版)契约,由Peacock开发团队创建。 你可以在[这里](./roadmaps.mdx)查看一些自定义契约。 - - **注意:这里不包含官方服务器契约。** - - 如何游玩: - - 在游戏中前往`游戏模式`-> `契约` -> `特色` -- **用户创建的,官方服务器的契约** - - 如何安装: - - 注意:这仅能在HITMAPS机器人可以验证通过的平台上使用。 [在这里查看有关验证HITMAPS机器人的信息](https://bot.hitmaps.com/)。 - - 如果你想查看HITMAPS机器人是否在线,在Peacock Discord群组的`#bot-spam`频道输入`/botstatus`。 注意,`/botstatus`命令在使用后会进入10分钟的冷却时间。 - - 注意:只要游戏引擎包含了相应的地图,下载来的官方服务器契约会与所有游戏引擎兼容。 例如,假设你下载了在《杀手3》引擎中的一个萨比恩撒(第一季地图)契约,你可以通过Peacock在《杀手2016》和《杀手2》引擎中游玩这个契约。 但是,如果你下载了一个萨加尔岛(第二季地图)契约,则你无法在杀手2016引擎中游玩这个契约,因为杀手2016引擎并没有包含任何第二季的地图。 - - 在游戏中前往`游戏模式` -> `契约` -> `搜索契约`。 - - 输入官方服务器契约编号(**支持除了任天堂Switch以外的所有平台**)。 - - 契约将会被下载到你的`Contracts`文件夹。 - - 如何游玩:在游戏中前往`游戏模式` -> `契约` -> `我的契约`。 -- **用户创建的,Peacock的契约** - - 如何安装: - - 在Peacock Discord群组中的`share-contracts`频道下载契约的`.json`文件。 将此`.json`文件安装到你的`Contracts`文件夹,如图所示:![](/img/contracts_folder.png)。 - - 如何创建自己的契约: - - 如果你在Peacock服务器运行时在游戏内创建了契约,你的契约会以`.json`形式保存在你的`Contracts`文件夹,如上图所示。 - - 如果你想让其他人游玩你的自定义Peacock契约,请确保在Peacock Discord群组的`share-contracts`频道分享你的`.json`文件。 - - 如何游玩: - - 在游戏中前往`游戏模式` -> `契约` -> `我的契约`。 +Peacock supports both official server and custom Peacock contracts. + +### Featured contracts + +This includes custom (Peacock original) contracts created by Peacock dev team. You can see some of these custom featured contracts [here](./roadmaps.mdx). + +- **Note: Official Servers Featured Contracts are not included.** + +#### How to Play + +Go to `Game Modes` -> `Contracts` -> `Featured` menu in-game. + +### User-Created Official Server Contracts + +#### How to Install + +- Note: This only works while the HITMAPS bot is authenticated for the platform in question. + - [More info on how to authenticate it](https://bot.hitmaps.com/). + - To check if it's online, run the command `/botstatus` in the `#bot-spam` channel in the Peacock Discord. The status is updated every 10 minutes. +- 在游戏中前往`游戏模式` -> `契约` -> `搜索契约`。 +- 输入官方服务器契约编号(**支持除了任天堂Switch以外的所有平台**)。 +- The contract will now be downloaded in your `contracts` folder. + +#### How to Play + +在游戏中前往`游戏模式` -> `契约` -> `我的契约`。 + +### User-Created Peacock Contracts + +#### How to Install + +Download the contract's `.json` file from the `share-contracts` channel in Peacock Discord. Place the `.json` file in your `Contracts` folder, as shown here: ![](/img/wiki/contracts_folder.png). + +#### How to create your own + +- If you create a contract in-game while in Peacock server, your contract will be saved as an `.json` file in `Contracts` folder, as shown in the image above. +- Be sure to share your `.json` file in Peacock Discord's `share-contracts` channel if you want others to play your custom Peacock contract. + +#### How to Play + +- 在游戏中前往`游戏模式` -> `契约` -> `我的契约`。 ## 插件 Peacock支持各种各样的服务器端mods(插件)。 这包含,但不限于: -- 屠城模式 - - 所有真实NPC都被标记为目标,在杀死所有人后可以获得沉默刺客评分。 - - 注意:在有200+目标的地图中会出现卡顿,枪械可能会随机卡住。 你可能需要开始使用近战武器击杀目标。 -- 行踪不定的目标:兄弟(删除内容/饭制模组) - - 请注意:尽管兄弟ET模组适用于Peacock,但其本质是对于该任务本应游玩内容的一种**粉丝自制诠释**,并非必要的规则。 - - 下载文件:https://www.nexusmods.com/hitman3/mods/375?tab=files - - 安装模组的主要部分(在Simple Mod Framework中未标记为”Peacock Plugin”的文件)。 通过将模组的“Peacock插件”部分放入你的Peacock安装文件夹以进行安装 -- 在游戏中添加未启用的武器的插件 -- 修改现有武器和伪装的插件 +- 屠城模式 + - 所有真实NPC都被标记为目标,在杀死所有人后可以获得沉默刺客评分。 + - 注意:在有200+目标的地图中会出现卡顿,枪械可能会随机卡住。 你可能需要开始使用近战武器击杀目标。 +- 行踪不定的目标:兄弟(删除内容/饭制模组) + - NOTE: Although the Brothers ET mod is compatible with Peacock, it is a **fan interpretation** of how the mission would have played out, and not necessarily canon + - 下载文件:https://www.nexusmods.com/hitman3/mods/375?tab=files + - 安装模组的主要部分(在Simple Mod Framework中未标记为”Peacock Plugin”的文件)。 Install the "Peacock Plugin" portion of the mod by putting it into your Peacock Install folder +- 在游戏中添加未启用的武器的插件 +- 修改现有武器和伪装的插件 ### 如何安装插件 -- 简单来说,前往Peacock Discord群组的 `plugins`或`#plugin-releases`频道来下载一个你感兴趣的插件。 -- 把你的插件放到孔雀文件夹下的`plugins`文件夹。 - - 你的插件应以`.plugin.js`或`Plugin.js`结尾。如你获取的是`.zip`格式,请先将其解压。 - - 示例: ![插件文件夹](/img/plugins_folder.png) -- 一些插件可能需要进阶设定或与新版本的Peacock不兼容,所以请确保在`#plugin-releases`频道中查找对应插件的进阶教程。 +Broadly speaking, to install plugins, go to either the `plugins` or `#plugin-releases` channel in the Peacock Discord and download a plugin you are interested in. + +- Put your plugins into the `plugins` folder, located in the Peacock folder (created automatically by the server the first time you launch it). +- The plugin should end with `.plugin.js` or `Plugin.js` - if it's distributed as a `.zip`, extract it first. + +示例: ![Plugins folder](/img/wiki/plugins_folder.png) + +- Be sure to check for any further instructions in the plugin's description, as some plugins may require further setup steps or won't work with newer versions of Peacock. + +:::note + +Plugins are only a small portion of the Hitman modding scene. **Many Hitman mods are done client-side and out of scope of Peacock.** More general-use client-side mods, outside the scope of Peacock, are aggregated here: -**注意:插件只是杀手模组化场景中的一小部分。 **更多除了Peacock范围以外的客户端侧的通用模组,可以在这里查阅: +- [NexusMods](https://www.nexusmods.com/hitman3) +- [Glacier Modding Discord](https://discord.com/invite/6UDtuYhZP6) -- [NexusMods](https://www.nexusmods.com/hitman3) -- [Glacier Modding Discord](https://discord.com/invite/6UDtuYhZP6) +::: diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/intel/faq.md b/i18n/zh/docusaurus-plugin-content-docs/current/intel/faq.md index cddd59d..2113a23 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/intel/faq.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/intel/faq.md @@ -4,10 +4,10 @@ title: 常见问题解答 ## 常见问题解答 -### 错误的游戏版本/平台 +### Before Troubleshooting - 请参阅本教程的[要求](./requirements.md)板块,确保你拥有受支持的游戏版本和平台等内容。 - - **Xbox Game Pass及Microsoft PC版本的杀手3是不受支持的(常见问题)**。 + - **Microsoft Store version of Hitman 3 is not supported (commonly asked)**. - Linux用户请参阅 [Linux初始化指南](../guides/./linux-setup.md)。 - 确保你在使用最新版本的杀手和Peacock,旧版本是不受支持的。 @@ -19,42 +19,31 @@ title: 常见问题解答 - 若想要回到官方服务器,你可以在连接到Peacock时选择离线,然后在Peacock Patcher上切换到官方服务器,随后在游戏中按下”上线“即可连接到官方服务器。 - **如果你仍然无法连接,请继续阅读下一节内容。** -### 连接问题解答 +### Connection Issues - 正如[什么是Peacock](./what-is-peacock.md)页面中所说,**你需要最起码在启动时连接到网络来使用Peacock**。 这是为了通过Steam/Epic平台的验证。 在首次连接到Peacock后,你可以从互联网中断开,并在游戏进程的阶段中保持连接到Peacock。 - 如果你的手机有移动数据流量,你可以使用手机为电脑提供热点来连接到互联网。 - 如果这是你第一次游玩游戏,请不要尝试使用Peacock。 在你连接Peacock之前,你必须至少连接到官方服务器一次。 在你连接到官方服务器一次以后,在后续使用Peacock时不再需要连接到官方服务器。 - 尝试以管理员身份运行`PeacockPatcher.exe`。 -- 在Peacock Patcher中,保持选中"Use http instead of https"(使用http协议替代https协议),除非你在游玩幽灵模式。 +- Keep the option "Use http instead of https" in Peacock patcher ticked unless you are playing Ghost Mode. -- Peacock默认在你的电脑上使用80端口来启动Peacock服务器。 +#### Port In Use - - 如果可能的话,在终端中使用`netstat -ano | find ":80" | find "LISTEN"`来检查是否有程序进程正在使用Peacock,然后在任务管理器中点击”详细信息“来通过80端口上的PID找到对应的程序。 - - 如果你使用Visual Studio,你可能安装了一些也运行在80端口上,会影响Peacock的服务。 如何解决: +If you're getting an error that looks like this: - 1. 通识按下Windows徽标键和R键 - 2. 在弹出窗口中输入services.msc,然后点击确定 - 3. 在服务管理中搜索W3SVC: World Wide Web Publishing Service和Web Deployment Agent Service - 4. 如果它们存在,禁用它们 - 5. 重试一次,如果仍然连接失败,重启你的电脑后再试一次 +![The error message shown when Peacock tries to use a port that's in use](/img/wiki/port_in_use.png) - - 如果你不想停用80端口的进程,这里是修改Peacock使用端口的方式: - - 在下面的指引中,请将`端口号`替换为当前在你设备上一个未被占用的端口,例如。`8080`,`6969`,`3000`,等等。 - - 如下修改`Start Server.cmd`文件: - ``` - @echo off - SET PORT=端口号 - .\nodedist\node.exe chunk0.js - PAUSE - ``` - - 输入`localhost:端口号`或`127.0.0.1:端口号`进入服务器窗口,如下所示: ![](/img/patcher_port.png) +The error message for this issue will be something along the lines of "failed to bind the server to port X". -### 物品/地图缺失 +Check [this guide](../troubleshooting/fix-port-in-use.md) for an explanation and instructions on how to fix it. -- 从v6开始,Peacock应该能够自动检测到你获得的新DLC,并让你获得这些新的物品/地图。 -- v6.1.0为Peacock引入了进度系统,这意味着您现在可以随着游玩解锁物品。 此功能默认开启,以模拟官方服务器的体验。 要想禁用,将`options.ini`里的`enableMasteryProgression`设置为`false`。 +## How to Get All Items -### 其他 +Peacock v6.1.0 introduced progression support, meaning you now can unlock items as you play. This is **enabled by default**, to emulate the experience of the official servers. + +To disable progression and **immediately get all items**, set `enableMasteryProgression` in `options.ini` to `false`. + +## 其他 - 参阅[Peacock独特功能](../intel/loadout-profiles-elp.md)页面来查找如何在Peacock上为每张地图设定多重装备组合以及选择特定的升级契约。 - 默认套装 - 如果你在你的Peacock安装文件夹中的`options.ini`文件中开启了`getDefaultSuits = true`,请注意以下行为: diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/intel/installation.md b/i18n/zh/docusaurus-plugin-content-docs/current/intel/installation.md index fa38464..73a7c59 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/intel/installation.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/intel/installation.md @@ -7,20 +7,29 @@ description: 如何上手Peacock。 - 在你每次启动游戏时都需要重复步骤4-5。 否则游戏将默认地回到官方服务器。 -1. 在阅读此板块前,请确保你阅读了[需求](./requirements.md)以确认自己拥有支持的游戏/操作系统。 **Xbox Game Pass(或Microsoft PC)版本的杀手是不受支持的**,且[Linux用户需要查看此页](../guides/linux-setup.md)。 +--- + +1. 在阅读此板块前,请确保你阅读了[需求](./requirements.md)以确认自己拥有支持的游戏/操作系统。 The **Microsoft Store version** of Hitman 3 **is not supported**, and [Linux users should check this page](../guides/linux-setup.md). 2. [在此处下载最新版本的Peacock](https://github.com/thepeacockproject/Peacock/releases/latest)。 选择`Peacock-v主版本号.副版本号.小版本号.zip`来下载。 - 注意:这里也有一个`Peacock-v主版本号.副版本号.小版本号-lite.zip`的选项,仅提供给Linux用户。 有关Linux的说明,请参阅[Linux指南](.../guides/linux-setup.md)。 -3. 提取(解压)文件。 在压缩包内运行程序是无效的。 +3. Extract (unzip) the files. Running the files while they're in the zipped folder won't work. -4. 转到你安装Peacock的地方,然后运行`Start Server.cmd`文件和`PeacockPatcher.exe`文件。 + - To avoid issues, **do not** put the extracted files in: + - `Program Files` (including the x86 version) + - The folder where your game is installed. + - A great place to put them is somewhere easily accessible, like your Documents folder, or on your Desktop. - - 根据您安装Peacock的方式,您可能需要打开两个文件夹才能找到这些文件,如下图所示:![](/img/patcher_and_server.png)。 +4. Go to the folder you put the files in, and run both `Start Server.cmd` and `PeacockPatcher.exe`. + + ![Example image showcasing folder structure](/img/patcher_and_server.png) 5. 现在保持`Start Server`和`PeacockPatcher.exe`运行,然后启动游戏。 随后游戏应该启动并连接到Peacock服务器。 如果遇到问题,请参阅[常见问题解答](./faq.md)或在[Peacock Discord群组](https://thepeacockproject.org/discord)的`#help`频道上提问。 +6. (Optional step) If you want to immediately unlock all weapons, items, starting locations, etc., [here's how](../intel/faq.md#how-to-get-all-items). + ## 更新 当Peacock更新后,可能需要重复步骤2-3(在[更新](./updating.md)页面查看更多信息)。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md b/i18n/zh/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md new file mode 100644 index 0000000..f629559 --- /dev/null +++ b/i18n/zh/docusaurus-plugin-content-docs/current/troubleshooting/fix-port-in-use.md @@ -0,0 +1,45 @@ +--- +title: Port in Use Error +--- + +The "Port in Use" error happens when Peacock is trying to start, but the port it's set to use is already in use. + +Here's what it looks like: + +![The error message shown when Peacock tries to use a port that's in use](/img/wiki/port_in_use.png) + +## What is a Port? + +In simple terms, a port is a thing programs and other computers can connect to and get data from. +In order for the game to talk to Peacock's server, the server has to occupy a port. +Ports must have an assigned number. The default port used by Peacock is 80, but port numbers can be any whole number between 1 and 65535. + +## Visual Studio + +If you use Visual Studio, you may have installed some services that interfere with Peacock by also running on Port 80. To fix: + +1. Press the Windows key and R at the same time. +2. Type services.msc in the popup box, then hit Okay. +3. Check for `W3SVC: World Wide Web Publishing Service` and `Web Deployment Agent Service` in the service manager. +4. Disable both if present. +5. Try again, if it doesn't work, restart your computer, then try once more. + +## Changing the Port + +Here's how to change the port Peacock uses, if you don't want to stop the process on Port 80: + +In the instructions below, please substitute `PORTNUMBER` with a port that is not currently running on your PC, e.g. `8080`, `6969`, `3000`, etc. + +- Change `Start Server.cmd` to be as follows: + ```bash + @echo off + SET PORT=PORTNUMBER + .\nodedist\node.exe chunk0.js + PAUSE + ``` +- Type `127.0.0.1:PORTNUMBER` into the Patcher's URL field, as shown here: ![](/img/wiki/patcher_port.png) + +## On Linux + +Peacock's default port is 80, but on Linux, the normal user account does not have permission to use port 80. +Check out the Changing the Port section above.