Update instructions

This commit is contained in:
Melledy
2023-11-26 02:02:39 -08:00
parent 3849af79df
commit 0a4df87d12

View File

@@ -21,16 +21,17 @@ A game server reimplementation for version 1.5.0 of a certain turn based anime g
### Recommended ### Recommended
* [MongoDB 4.0+](https://www.mongodb.com/try/download/community) * [MongoDB 4.0+](https://www.mongodb.com/try/download/community)
### Starting up the server ### Compiling the server
1. Open your system terminal, and compile the server with `./gradlew jar` 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. Create a folder named `resources` in your server directory 2. Open your system terminal, and compile the server with `./gradlew jar`
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. 3. Create a folder named `resources` in your server directory
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. 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. 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. 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. 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. 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) ### 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. 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. 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: 4. Copy and paste the following code into the fiddlerscript tab of fiddler classic: