From 0a4df87d126f72fc33b7e2d47c2f87b981009a4f Mon Sep 17 00:00:00 2001 From: Melledy <121644117+Melledy@users.noreply.github.com> Date: Sun, 26 Nov 2023 02:02:39 -0800 Subject: [PATCH] Update instructions --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5ec4e05..0d2faf5 100644 --- a/README.md +++ b/README.md @@ -21,16 +21,17 @@ A game server reimplementation for version 1.5.0 of a certain turn based anime g ### Recommended * [MongoDB 4.0+](https://www.mongodb.com/try/download/community) -### Starting up the server -1. Open your system terminal, and compile the server with `./gradlew jar` -2. Create a folder named `resources` in your server directory -3. Download the `Config`, `TextMap`, and `ExcelBin` folders from [https://github.com/Dimbreath/StarRailData](https://github.com/Dimbreath/StarRailData) and place them into your resources folder. -4. Download the `Config` folder from [https://gitlab.com/Melledy/LunarCore-Configs](https://gitlab.com/Melledy/LunarCore-Configs) and place them into your resouces folder. REPLACE any files that your system asks about. These are for world spawns and are quite important for the server. -5. Run the server with `java -jar LunarCore.jar` from your system terminal. Lunar Core comes with a built in internal mongo server for its database, so no Mongodb installation is required. However, it is highly recomended to install Mongodb anyways. -6. If you have `autoCreateAccount` set to true in the config, then you can skip creating an account. Otherwise, use the `/account` command in the server console to create one. +### Compiling the server +1. Download the files from [https://gitlab.com/Melledy/LunarCore-Protos](https://gitlab.com/Melledy/LunarCore-Protos) and place the proto folder into your server directory +2. Open your system terminal, and compile the server with `./gradlew jar` +3. Create a folder named `resources` in your server directory +4. Download the `Config`, `TextMap`, and `ExcelBin` folders from [https://github.com/Dimbreath/StarRailData](https://github.com/Dimbreath/StarRailData) and place them into your resources folder. +5. Download the `Config` folder from [https://gitlab.com/Melledy/LunarCore-Configs](https://gitlab.com/Melledy/LunarCore-Configs) and place them into your resouces folder. REPLACE any files that your system asks about. These are for world spawns and are quite important for the server. +6. Run the server with `java -jar LunarCore.jar` from your system terminal. Lunar Core comes with a built in internal mongo server for its database, so no Mongodb installation is required. However, it is highly recomended to install Mongodb anyways. +7. If you have `autoCreateAccount` set to true in the config, then you can skip creating an account. Otherwise, use the `/account` command in the server console to create one. ### Connecting with the client (Fiddler) -1. Login with the client to an official server and hoyo account **at least once** to download game data. +1. **Login with the client to an official server and hoyo account at least once to download game data.** 2. Install and have [Fiddler Classic](https://www.telerik.com/fiddler) running. 3. Set fiddler to decrypt https traffic. (Tools -> Options -> HTTPS -> Decrypt HTTPS traffic) Make sure `ignore server certificate errors` is checked as well. 4. Copy and paste the following code into the fiddlerscript tab of fiddler classic: