diff --git a/README.md b/README.md index 7cf89c2..9e3f2a8 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,67 @@ Alternatively this software can run in docker too (`docker compose up --build`). ## Discuss [Discord Server](https://discord.gg/fbsRYc7bBA) + +## How to use (E.g Windows and LDPlayer 9) +1. Download this repo. +```sh +git clone https://github.com/rafi1212122/SCHALE.GameServer.git +``` +2. Download .NET SDK, SQL Server Express, and install them. +- .NET SDK
+ +- SQL Server Express
+ +3. Download Visual Studio and Install C# and Database Extensions.
+[https://visualstudio.microsoft.com/zh-hans/vs/](https://visualstudio.microsoft.com/vs/) +4. Use Visual Studio to open `SCHALE.GameServer\SCHALE.GameServer.sln` and make it. +5. Download `Excel.zip` and unzip and add the excels to the following path: `SCHALE.GameServer\bin\Debug\net8.0\Resources\excel`. +6. Modify the IP address in `SCHALE.GameServer-master\SCHALE.GameServer\bin\Debug\net8.0\Config.json`. +7. Open `SCHALE.GameServer-master\SCHALE.GameServer\bin\Debug\net8.0\SCHALE.GameServer.exe`. +8. Download python and install frida
You may need to add python site packages to PATH if "frida" command is missing.
+ +```sh +pip install frida-tools +pip install frida +``` +9. Download frida-server(if you use emulator, download x86), find "frida-server-[Latest Version]-android-x86_64.xz" and download & unzip it, before push you may rename the bin file to "frida-server".
+ +10. Download adb.
+ +11. Use adb connect emulator and start frida-server(enable root first) +```sh +adb root +adb push frida-server /data/local/tmp/ +adb shell "chmod 755 /data/local/tmp/frida-server" +adb shell "/data/local/tmp/frida-server &" +``` +12. Start BluearchiveJP and use frida script + 1. download this [frida script](https://gist.githubusercontent.com/raphaeIl/c4ca030411186c9417da22d8d7864c4d/raw/00b69c5bacdf79c24972411bd80d785eed3841ce/ba.js) and modify `SERVER_ADDRESS` + 2. Start BluearchiveJP first and then start frida + 3. `frida -U "ブルアカ" -l ba.js --realm=emulated` +13. Skip Tutorial
+If you have never finished any tutorials try this
+`INSERT INTO [dbo].[AccountTutorials] ([AccountServerId], [TutorialIds]) VALUES (1, N'[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]');`
+or you have finished the front part of the tutorial use this
+`UPDATE [dbo].[AccountTutorials] SET [TutorialIds] = N'[1, 2, 3, 4, 5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]' WHERE [AccountServerId] = [Your Server ID];` + +## Command +Go to club and input `/help` to view command usage + +## Troubleshooting + +##### YostarRequestFail:INIT_FAILED(Initialization failed) +- change `SERVER_ADDRESS` in `ba.js` to your IPV4 and not `0.0.0.0` + +##### アカウント情報の連携中にエラーガ発生乚ま乚た +- restart server or without `Resources\excel` + +##### can enter game but black screen +- close server and delete database, then open server.
+if it isn't work, you may need to pass the official tutorial first. + +##### failed to load club +- change `Address` in `config.json` to your IPV4 + +##### command not work +- the excel you are using may have problem, change your excel.