SCHALE.GameServer/README.md

70 lines
3.1 KiB
Markdown
Raw Normal View History

2024-05-21 14:25:30 +00:00
# SCHALE.GameServer
2024-05-23 02:11:49 +00:00
## Running
By default the server is configured to run with SQL Server Express in `appsettings.json`. If you wanna use other edition of SQL Server Express change the `ConnectionStrings` in there.
Alternatively this software can run in docker too (`docker compose up --build`).
2024-05-21 14:25:30 +00:00
## Connecting
2024-05-23 02:11:49 +00:00
- Run the game with this [frida script](https://gist.githubusercontent.com/raphaeIl/c4ca030411186c9417da22d8d7864c4d/raw/00b69c5bacdf79c24972411bd80d785eed3841ce/ba.js)
2024-05-23 05:02:03 +00:00
## Discuss
[Discord Server](https://discord.gg/fbsRYc7bBA)
2024-05-25 17:28:20 +00:00
## How to use (E.g Windows and LDPlayer 9)
1. Download this repo<br>
`git clone https://github.com/rafi1212122/SCHALE.GameServer.git`
2. Download .NET SDK, SQL Server Express, and install them<br>
2024-05-25 17:46:00 +00:00
- .NET SDK<br>
2024-05-25 17:28:20 +00:00
<https://dotnet.microsoft.com/zh-cn/download/dotnet?cid=getdotnetcorecli><br>
2024-05-25 17:46:00 +00:00
- SQL Server Express<br>
2024-05-25 17:28:20 +00:00
<https://go.microsoft.com/fwlink/p/?linkid=2216019&clcid=0x804&culture=zh-cn&country=cn>
3. Download Visual Studio<br>
<https://visualstudio.microsoft.com/zh-hans/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` the password is `/wy5f3hIGGXLOIUDS9DZ`
2024-05-25 17:46:00 +00:00
6. modify 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`
2024-05-25 17:56:45 +00:00
8. Download python and install it<br>
2024-05-25 17:28:20 +00:00
<https://www.python.org/>
2024-05-25 17:46:00 +00:00
9. Use pip install frida
2024-05-25 17:28:20 +00:00
```
pip install frida-tools
pip install frida
```
2024-05-25 17:56:45 +00:00
10. Download frida-server and uncompress it(emulator download x86)<br>
2024-05-25 17:28:20 +00:00
<https://github.com/frida/frida/releases>
2024-05-25 17:56:45 +00:00
11. Download adb<br>
2024-05-25 17:28:20 +00:00
<https://developer.android.google.cn/tools/releases/platform-tools?hl=zh-cn#downloads>
2024-05-25 17:46:00 +00:00
12. Use adb connect emulator and start frida-server(enable root first)
2024-05-25 17:28:20 +00:00
```
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 &"
```
2024-05-25 17:46:00 +00:00
13. Start BluearchiveJP and use frida script
2024-05-25 17:28:20 +00:00
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`
2024-05-25 17:46:00 +00:00
14. Skip Tutorial<br>
2024-05-25 17:28:20 +00:00
`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];`
## Troubleshooting
##### YostarRequestFail:INIT_FAILED(Initialization failed)
2024-05-25 17:56:45 +00:00
- change `SERVER_ADDRESS` in `ba.js` to your IPV4 and not `0.0.0.0`
2024-05-25 17:28:20 +00:00
##### アカウント情報の連携中にエラーガ発生乚ま乚た
2024-05-25 17:56:45 +00:00
- restart server or without `Resources\excel`
2024-05-25 17:28:20 +00:00
##### can enter game but black screen
2024-05-25 17:56:45 +00:00
- close server and delete database, then open server.<br>
2024-05-25 17:28:20 +00:00
if it isn't work, you may need to pass the official tutorial first.
2024-05-25 17:46:00 +00:00
##### failed to load club
2024-05-25 17:56:45 +00:00
- change `Address` in `config.json` to your IPV4
2024-05-25 17:46:00 +00:00
##### command not work
2024-05-25 17:56:45 +00:00
- the excel you are using may have problem, change your excel.