Compare commits

..

1 Commits

Author SHA1 Message Date
xjkxjk 3dbbf16359 上传文件至 /
Fix jump
2025-01-20 14:36:07 +00:00
8 changed files with 857 additions and 1012 deletions

View File

@ -1,25 +0,0 @@
**How to Save and Load Your Official Account Data into SCHALE(EN)**
By Raphael
1. Use any Pcap program, turn it on, log into your official account, and capture the packets.
The Pcap file should look something like this:
[Example Pcap file](https://gist.github.com/raphaeIl/b85185098b6ef0d569c794f49c8f910c)
2. Save the file as a JSON and place it in the `Resources\account_data` folder. If the folder does not exist, create it.
Example file path: `Resources\account_data\accountdata_Raphael.json`
3. Start the server, log into the game, and run:
```
/loaddata list
```
If the log displays your JSON file name, the file is in the correct folder.
4. Run the following command to load the data:
```
/loaddata <your_json_filename.json>
```
This will load the data from your official servers Pcap file into the PS. If successful, restart the client, and all your data should be loaded.
**Tip:** If your custom Pcap file doesnt work, please try using my example JSON file first.
---

View File

@ -1,24 +0,0 @@
**如何将官方账号数据保存并加载到 SCHALE (ZHCN)**
- CN-By 北野桜奈
1. 使用任何 Pcap 程序,打开它并登录到你的官方账号,抓取数据包。
Pcap 文件应类似于以下示例:
[示例 Pcap 文件](https://gist.github.com/raphaeIl/b85185098b6ef0d569c794f49c8f910c)
2. 将该文件保存为 JSON 格式,并放置到 `Resources\account_data` 文件夹中。如果文件夹不存在,请自行创建。
示例文件路径:`Resources\account_data\accountdata_Raphael.json`
3. 启动服务器,进入游戏并运行以下命令:
```
/loaddata list
```
如果日志显示了你的 JSON 文件名,说明该文件已正确放置。
4. 运行以下命令加载数据:
```
/loaddata <your_json_filename.json>
```
这将从官方服务器的 Pcap 数据加载到 PS。如果加载成功请重启客户端所有数据应该已加载。
**提示:** 如果你的自定义 Pcap 文件无法正常工作,请先尝试我的示例 JSON 文件。

View File

@ -1,480 +1,480 @@
# 💻 蔚蓝档案命令手册 # 💻 蔚蓝档案命令手册
*📝 作者:阁主* *📝 作者:阁主*
--- ---
## 📑 目录 ## 📑 目录
- [📑 English version of Command](Command_EN.md) - [🏰 咖啡厅命令 (Cafe)](# 🏰 咖啡厅 (Cafe) 命令)
- [🏰 咖啡厅命令 (Cafe)](#咖啡厅-cafe-命令) - [👥 角色命令 (Character)](# 👥 角色 (Character) 命令)
- [👥 角色命令 (Character)](#角色-character-命令) - [💎 货币命令 (Currency)](# 💎 货币 (Currency) 命令)
- [💎 货币命令 (Currency)](#货币-currency-命令) - [❓ 帮助命令 (Help)](# ❓ 帮助 (Help) 命令)
- [❓ 帮助命令 (Help)](#帮助-help-命令) - [📦 库存命令 (Inventory)](# 📦 库存 (Inventory) 命令)
- [📦 库存命令 (Inventory)](#库存-inventory-命令) - [💾 加载数据命令 (LoadData)](# 💾 加载数据 (LoadData) 命令)
- [💾 加载数据命令 (LoadData)](#加载数据-loaddata-命令) - [⚙️ 设置账号命令 (SetAccount)](# ⚙️ 设置账号 (SetAccount) 命令)
- [⚙️ 设置账号命令 (SetAccount)](#设置账号-setaccount-命令) - [🔓 解锁全部命令 (UnlockAll)](# 🔓 解锁全部 (UnlockAll) 命令)
- [🔓 解锁全部命令 (UnlockAll)](#解锁全部-unlockall-命令)
---
---
# 🏰 咖啡厅 (Cafe) 命令
# 🏰 咖啡厅 (Cafe) 命令 > 打造您的理想咖啡厅,创造独特的休憩空间
> 打造您的理想咖啡厅,创造独特的休憩空间
## ⌨️ 命令格式
## ⌨️ 命令格式 ```
``` /cafe <character|furniture> <add|addall|removeall> [id/amount]
/cafe <character|furniture> <add|addall|removeall> [id/amount] ```
``` ## 🎯 功能说明
## 🎯 功能说明 此命令用于管理游戏中的咖啡厅系统,让您能够自由布置角色和家具。
此命令用于管理游戏中的咖啡厅系统,让您能够自由布置角色和家具。
## 📋 可用子命令
## 📋 可用子命令
### 👥 角色管理 (character)
### 👥 角色管理 (character)
#### 1. 添加单个角色
#### 1. 添加单个角色 ```
``` /cafe character add <角色ID>
/cafe character add <角色ID> ```
``` - 💫 功能向咖啡厅添加指定ID的角色
- 💫 功能向咖啡厅添加指定ID的角色 - 📝 示例:`/cafe character add 123`
- 📝 示例:`/cafe character add 123` - 说明:重复添加会收到提示
- 说明:重复添加会收到提示
#### 2. ✨ 批量添加角色
#### 2. ✨ 批量添加角色 ```
``` /cafe character addall [数量]
/cafe character addall [数量] ```
``` - 💫 功能:向咖啡厅批量添加可用角色
- 💫 功能:向咖啡厅批量添加可用角色 - 📝 示例:
- 📝 示例: - `/cafe character addall` (添加50个角色)
- `/cafe character addall` (添加50个角色) - `/cafe character addall 100` (添加100个角色)
- `/cafe character addall 100` (添加100个角色) - 说明:仅添加满足条件的角色:
- 说明:仅添加满足条件的角色: - ✅ 可玩角色
- ✅ 可玩角色 - ✅ 非NPC角色
- ✅ 非NPC角色 - ✅ 已正式发布的角色
- ✅ 已正式发布的角色
#### 3. 🗑️ 移除所有角色
#### 3. 🗑️ 移除所有角色 ```
``` /cafe character removeall
/cafe character removeall ```
``` - 💫 功能:清空咖啡厅中的所有角色
- 💫 功能:清空咖啡厅中的所有角色 - ⚠️ 注意:此操作不可撤销
- ⚠️ 注意:此操作不可撤销
## ⚡ 注意事项
## ⚡ 注意事项 1. 🔄 所有命令执行后自动保存
1. 🔄 所有命令执行后自动保存 2. 📝 命令不区分大小写
2. 📝 命令不区分大小写 3. 添加重复角色会收到提示
3. 添加重复角色会收到提示 4. 🚧 家具功能尚在开发中
4. 🚧 家具功能尚在开发中
---
--- # 👥 角色 (Character) 命令
# 👥 角色 (Character) 命令 > 管理您的角色系统,打造完美的战斗团队
> 管理您的角色系统,打造完美的战斗团队
## ⌨️ 命令格式
## ⌨️ 命令格式 ```
``` /character <add|clear> [all|characterId]
/character <add|clear> [all|characterId] ```
```
## 🎯 功能说明
## 🎯 功能说明 此命令用于管理玩家的角色系统,支持添加和清除角色功能。
此命令用于管理玩家的角色系统,支持添加和清除角色功能。
## 📋 可用子命令
## 📋 可用子命令
### ✨ 添加角色 (add)
### ✨ 添加角色 (add)
#### 1. 🌟 添加所有角色
#### 1. 🌟 添加所有角色 ```
``` /character add all
/character add all ```
``` - 💫 功能:添加所有可用角色
- 💫 功能:添加所有可用角色 - ✨ 特点:角色将以最强状态添加
- ✨ 特点:角色将以最强状态添加 - ✅ 最大等级
- ✅ 最大等级 - ✅ 完全培养
- ✅ 完全培养 - ✅ 技能满级
- ✅ 技能满级
#### 2. 添加指定角色
#### 2. 添加指定角色 ```
``` /character add <角色ID>
/character add <角色ID> ```
``` - 💫 功能添加指定ID的角色
- 💫 功能添加指定ID的角色 - 📝 示例:`/character add 1`
- 📝 示例:`/character add 1` - 说明:角色将以最强状态添加
- 说明:角色将以最强状态添加
### 🗑️ 清除角色 (clear)
### 🗑️ 清除角色 (clear) ```
``` /character clear
/character clear ```
``` - 💫 功能:清空所有角色
- 💫 功能:清空所有角色 - ⚠️ 警告:此操作不可撤销
- ⚠️ 警告:此操作不可撤销
## ⚡ 注意事项
## ⚡ 注意事项 1. 🔄 操作自动保存
1. 🔄 操作自动保存 2. 📝 命令不区分大小写
2. 📝 命令不区分大小写 3. 重复添加会提示
3. 重复添加会提示 4. ⚠️ 清除操作需谨慎
4. ⚠️ 清除操作需谨慎
---
---
# 💎 货币 (Currency) 命令
# 💎 货币 (Currency) 命令 > 自由调整各类货币数量,畅享游戏体验
> 自由调整各类货币数量,畅享游戏体验
## ⌨️ 命令格式
## ⌨️ 命令格式 ```
``` /currency <货币类型> <数量>
/currency <货币类型> <数量> ```
```
## 🎯 功能说明
## 🎯 功能说明 此命令用于修改账号中各类货币的数量。
此命令用于修改账号中各类货币的数量。
## 💰 可用货币类型
## 💰 可用货币类型
### 💫 基础货币
### 💫 基础货 - `Gold` - 💰 金
- `Gold` - 💰 金币 - `Gem` - 💎 青辉石(总数)
- `Gem` - 💎 青辉石(总数) - `GemPaid` - 💳 付费青辉石
- `GemPaid` - 💳 付费青辉石 - `GemBonus` - 🎁 奖励青辉石
- `GemBonus` - 🎁 奖励青辉石
### 🎫 体力票券
### 🎫 体力票券 - `ActionPoint` - ⚡ 体力值
- `ActionPoint` - ⚡ 体力值 - `AcademyTicket` - 📚 学院券
- `AcademyTicket` - 📚 学院 - `ArenaTicket` - ⚔️ 竞技场
- `ArenaTicket` - ⚔️ 竞技场 - `RaidTicket` - 🎯 总力战
- `RaidTicket` - 🎯 总力战券
### 🗺️ 每周副本券
### 🗺️ 每周副本 - `WeekDungeonChaserATicket` - 🏃‍♂️ 追击战A
- `WeekDungeonChaserATicket` - 🏃‍♂️ 追击战A - `WeekDungeonChaserBTicket` - 🏃‍♀️ 追击战B
- `WeekDungeonChaserBTicket` - 🏃‍♀️ 追击战B - `WeekDungeonChaserCTicket` - 🏃 追击战C
- `WeekDungeonChaserCTicket` - 🏃 追击战C - `WeekDungeonFindGiftTicket` - 🎁 寻宝战
- `WeekDungeonFindGiftTicket` - 🎁 寻宝战券 - `WeekDungeonBloodTicket` - 🗡️ 血战券
- `WeekDungeonBloodTicket` - 🗡️ 血战 - `ChaserTotalTicket` - 🎯 追击战总
- `ChaserTotalTicket` - 🎯 追击战总券
### 🏫 学院副本券
### 🏫 学院副本 - `SchoolDungeonATicket` - 📘 学院副本A
- `SchoolDungeonATicket` - 📘 学院副本A - `SchoolDungeonBTicket` - 📗 学院副本B
- `SchoolDungeonBTicket` - 📗 学院副本B - `SchoolDungeonCTicket` - 📙 学院副本C
- `SchoolDungeonCTicket` - 📙 学院副本C - `SchoolDungeonTotalTicket` - 📚 学院副本总
- `SchoolDungeonTotalTicket` - 📚 学院副本总券
### 🌟 特殊副本券
### 🌟 特殊副本 - `TimeAttackDungeonTicket` - ⏱️ 限时挑战
- `TimeAttackDungeonTicket` - ⏱️ 限时挑战 - `WorldRaidTicketA` - 🌍 世界副本A
- `WorldRaidTicketA` - 🌍 世界副本A - `WorldRaidTicketB` - 🌎 世界副本B
- `WorldRaidTicketB` - 🌎 世界副本B - `WorldRaidTicketC` - 🌏 世界副本C
- `WorldRaidTicketC` - 🌏 世界副本C券
### ⚔️ 清除战券
### ⚔️ 清除战 - `EliminateTicketA` - 🗡️ 清除战A
- `EliminateTicketA` - 🗡️ 清除战A - `EliminateTicketB` - ⚔️ 清除战B
- `EliminateTicketB` - ⚔️ 清除战B - `EliminateTicketC` - 🛡️ 清除战C
- `EliminateTicketC` - 🛡️ 清除战C - `EliminateTicketD` - 🔰 清除战D
- `EliminateTicketD` - 🔰 清除战D券
### 🏆 其他
### 🏆 其他 - `MasterCoin` - 🎖️ 大师币
- `MasterCoin` - 🎖️ 大师币
## 📝 使用示例
## 📝 使用示例 ```
``` /currency Gem 99999 # 设置青辉石为99999
/currency Gem 99999 # 设置青辉石为99999 /currency ActionPoint 9999 # 设置体力值为9999
/currency ActionPoint 9999 # 设置体力值为9999 /currency Gold 99999999 # 设置金币为99999999
/currency Gold 99999999 # 设置金币为99999999 ```
```
## ⚡ 注意事项
## ⚡ 注意事项 1. 📝 货币类型区分大小写
1. 📝 货币类型区分大小写 2. 🔢 数量必须为整数
2. 🔢 数量必须为整数 3. 🔄 修改立即生效并保存
3. 🔄 修改立即生效并保存 4. ⚠️ 无效输入将提示错误
4. ⚠️ 无效输入将提示错误 5. 💡 请合理使用此功能
5. 💡 请合理使用此功能
---
--- # ❓ 帮助 (Help) 命令
# ❓ 帮助 (Help) 命令 > 获取详细的命令使用说明,助您轻松上手
> 获取详细的命令使用说明,助您轻松上手
## ⌨️ 命令格式
## ⌨️ 命令格式 ```
``` /help [命令名称]
/help [命令名称] ```
```
## 🎯 功能说明
## 🎯 功能说明 此命令用于查看所有可用命令的帮助信息,或获取特定命令的详细说明。
此命令用于查看所有可用命令的帮助信息,或获取特定命令的详细说明。
## 📋 使用方法
## 📋 使用方法
### 1. 📑 查看所有命令
### 1. 📑 查看所有命令 ```
``` /help
/help ```
``` - 💫 功能:显示完整命令列表
- 💫 功能:显示完整命令列表 - 📝 显示格式:
- 📝 显示格式: - 命令名称
- 命令名称 - 简要说明
- 简要说明 - 基本用法
- 基本用法
### 2. 🔍 查看特定命令
### 2. 🔍 查看特定命令 ```
``` /help <命令名称>
/help <命令名称> ```
``` - 💫 功能:显示指定命令的详细信息
- 💫 功能:显示指定命令的详细信息 - 📝 示例:`/help currency`
- 📝 示例:`/help currency` - 显示内容:
- 显示内容: - 📌 命令说明
- 📌 命令说明 - ⌨️ 使用方法
- ⌨️ 使用方法 - 📑 参数详解
- 📑 参数详解
## ⚡ 注意事项
## ⚡ 注意事项 1. 📝 命令名称不区分大小写
1. 📝 命令名称不区分大小写 2. 🔤 仅支持英文命令名
2. 🔤 仅支持英文命令名 3. ⚠️ 无效命令将提示错误
3. ⚠️ 无效命令将提示错误 4. 💡 默认显示所有命令概览
4. 💡 默认显示所有命令概览
---
---
# 📦 库存 (Inventory) 命令
# 📦 库存 (Inventory) 命令 > 一键管理所有游戏物品,打造完美账号
> 一键管理所有游戏物品,打造完美账号
## ⌨️ 命令格式
## ⌨️ 命令格式 ```
``` /inventory <addall|addallmax|removeall>
/inventory <addall|addallmax|removeall> ```
```
## 🎯 功能说明
## 🎯 功能说明 此命令用于管理玩家的所有库存物品,包括角色、武器、装备等全部游戏内容。
此命令用于管理玩家的所有库存物品,包括角色、武器、装备等全部游戏内容。
## 📋 可用子命令
## 📋 可用子命令
### 1. ✨ 添加所有物品(普通)
### 1. ✨ 添加所有物品(普通) ```
``` /inventory addall
/inventory addall ```
``` - 💫 功能:添加所有游戏内容
- 💫 功能:添加所有游戏内容 - 📦 添加内容:
- 📦 添加内容: - 👥 所有角色(基础状态)
- 👥 所有角色(基础状态) - ⚔️ 所有武器(基础状态)
- ⚔️ 所有武器(基础状态) - 🛡️ 所有装备
- 🛡️ 所有装备 - 🎁 所有道具
- 🎁 所有道具 - 🔧 所有装置
- 🔧 所有装置 - 🏰 所有记忆大厅
- 🏰 所有记忆大厅 - 📚 所有剧情
- 📚 所有剧情
### 2. 🌟 添加所有物品(最大化)
### 2. 🌟 添加所有物品(最大化) ```
``` /inventory addallmax
/inventory addallmax ```
``` - 💫 功能:添加所有内容(最强状态)
- 💫 功能:添加所有内容(最强状态) - 📦 添加内容:
- 📦 添加内容: - 👥 所有角色(满级满培养)
- 👥 所有角色(满级满培养 - ⚔️ 所有武器(满级满突破
- ⚔️ 所有武器(满级满突破) - 🛡️ 所有装备
- 🛡️ 所有装备 - 🎁 所有道具
- 🎁 所有道具 - 🔧 所有装置(满级)
- 🔧 所有装置(满级) - 🏰 所有记忆大厅
- 🏰 所有记忆大厅 - 📚 所有剧情
- 📚 所有剧情
### 3. 🗑️ 移除所有物品
### 3. 🗑️ 移除所有物品 ```
``` /inventory removeall
/inventory removeall ```
``` - 💫 功能:清空所有物品
- 💫 功能:清空所有物品 - ⚠️ 移除内容:
- ⚠️ 移除内容: - 👥 所有角色
- 👥 所有角色 - ⚔️ 所有武器
- ⚔️ 所有武器 - 🛡️ 所有装备
- 🛡️ 所有装备 - 🎁 所有道具
- 🎁 所有道具 - 🔧 所有装置
- 🔧 所有装置 - 🏰 所有记忆大厅
- 🏰 所有记忆大厅 - 📚 所有剧情
- 📚 所有剧情
## ⚡ 注意事项
## ⚡ 注意事项 1. 🔄 操作自动保存
1. 🔄 操作自动保存 2. 📝 命令不区分大小写
2. 📝 命令不区分大小写 3. ⚠️ 清空操作不可撤销
3. ⚠️ 清空操作不可撤销 4. ✨ 最大化会将可培养内容提升至最高等级
4. ✨ 最大化会将可培养内容提升至最高等级
---
--- # 💾 加载数据 (LoadData) 命令
# 💾 加载数据 (LoadData) 命令 > 轻松导入存档数据,快速恢复游戏进度
> 轻松导入存档数据,快速恢复游戏进度
## ⌨️ 命令格式
## ⌨️ 命令格式 ```
``` /loaddata <文件名|list>
/loaddata <文件名|list> ```
```
## 🎯 功能说明
## 🎯 功能说明 此命令用于从保存的数据文件中加载账号数据,包括角色、武器、装备等全部游戏内容。
此命令用于从保存的数据文件中加载账号数据,包括角色、武器、装备等全部游戏内容。
## 📋 使用方法
## 📋 使用方法
### 1. 📑 查看可用数据文件
### 1. 📑 查看可用数据文件 ```
``` /loaddata list
/loaddata list ```
``` - 💫 功能:显示可用存档列表
- 💫 功能:显示可用存档列表 - 📂 位置Resources/account_data/
- 📂 位置Resources/account_data/ - 📝 显示:所有可加载的存档文件
- 📝 显示:所有可加载的存档文件
### 2. 📥 加载指定数据文件
### 2. 📥 加载指定数据文件 ```
``` /loaddata <文件名>
/loaddata <文件名> ```
``` - 💫 功能:加载指定存档数据
- 💫 功能:加载指定存档数据 - 📝 示例:`/loaddata save1.json`
- 📝 示例:`/loaddata save1.json` - 📦 加载内容:
- 📦 加载内容: - 👤 账号信息(昵称、等级等)
- 👤 账号信息(昵称、等级等) - 👥 角色数据
- 👥 角色数据 - ⚔️ 武器数据
- ⚔️ 武器数据 - 🎁 道具数据
- 🎁 道具数据 - 🔧 装置数据
- 🔧 装置数据 - 🛡️ 装备数据
- 🛡️ 装备数据 - 🏰 记忆大厅数据
- 🏰 记忆大厅数据 - ☕ 咖啡厅数据
- ☕ 咖啡厅数据 - 👥 梯队编成数据
- 👥 梯队编成数据
## ⚡ 注意事项
## ⚡ 注意事项 1. 📂 文件必须在指定目录
1. 📂 文件必须在指定目录 2. 📄 需包含文件扩展名
2. 📄 需包含文件扩展名 3. 🔄 会覆盖当前账号数据
3. 🔄 会覆盖当前账号数据 4. 🔗 自动处理ID映射
4. 🔗 自动处理ID映射 5. ⚠️ 无效文件将提示错误
5. ⚠️ 无效文件将提示错误 6. ✅ 成功后显示确认消息
6. ✅ 成功后显示确认消息
---
---
# ⚙️ 设置账号 (SetAccount) 命令
# ⚙️ 设置账号 (SetAccount) 命令 > 自定义您的账号信息,打造个性化体验
> 自定义您的账号信息,打造个性化体验
## ⌨️ 命令格式
## ⌨️ 命令格式 ```
``` /setaccount <属性名> <>
/setaccount <属性名> <> ```
```
## 🎯 功能说明
## 🎯 功能说明 此命令用于修改玩家账号的各项属性数据。
此命令用于修改玩家账号的各项属性数据。
## 📋 可用属性
## 📋 可用属性
### 👤 基础信息
### 👤 基础信息 - `Nickname` - 📝 昵称
- `Nickname` - 📝 昵称 - 类型:文本
- 类型:文本 - 示例:`/setaccount Nickname Sensei`
- 示例:`/setaccount Nickname Sensei`
- `Level` - 📊 等级
- `Level` - 📊 等级 - 类型:整数
- 类型:整数 - 示例:`/setaccount Level 75`
- 示例:`/setaccount Level 75`
- `Exp` - ✨ 经验值
- `Exp` - ✨ 经验值 - 类型:整数
- 类型:整数 - 示例:`/setaccount Exp 999999`
- 示例:`/setaccount Exp 999999`
### 🎨 个人设置
### 🎨 个人设置 - `CallName` - 📢 称呼名称
- `CallName` - 📢 称呼名称 - 类型:文本
- 类型:文本 - 示例:`/setaccount CallName Teacher`
- 示例:`/setaccount CallName Teacher`
- `Comment` - 📝 个人简介
- `Comment` - 📝 个人简介 - 类型:文本
- 类型:文本 - 示例:`/setaccount Comment "Hello World"`
- 示例:`/setaccount Comment "Hello World"`
- `LobbyMode` - 🏰 大厅模式
- `LobbyMode` - 🏰 大厅模式 - 类型:整数
- 类型:整数 - 示例:`/setaccount LobbyMode 1`
- 示例:`/setaccount LobbyMode 1`
### 🎭 展示相关
### 🎭 展示相关 - `RepresentCharacterServerId` - 👥 代表角色ID
- `RepresentCharacterServerId` - 👥 代表角色ID - 类型:整数
- 类型:整数 - 示例:`/setaccount RepresentCharacterServerId 10000`
- 示例:`/setaccount RepresentCharacterServerId 10000`
- `MemoryLobbyUniqueId` - 🏰 记忆大厅ID
- `MemoryLobbyUniqueId` - 🏰 记忆大厅ID - 类型:整数
- 类型:整数 - 示例:`/setaccount MemoryLobbyUniqueId 1`
- 示例:`/setaccount MemoryLobbyUniqueId 1`
### 📊 账号状态
### 📊 账号状态 - `State` - 🔰 账号状态
- `State` - 🔰 账号状态 - 类型AccountState枚举
- 类型AccountState枚举 - 示例:`/setaccount State Normal`
- 示例:`/setaccount State Normal`
- `VIPLevel` - 👑 VIP等级
- `VIPLevel` - 👑 VIP等级 - 类型:整数
- 类型:整数 - 示例:`/setaccount VIPLevel 5`
- 示例:`/setaccount VIPLevel 5`
### ⏰ 时间相关
### ⏰ 时间相关 - `BirthDay` - 🎂 生日
- `BirthDay` - 🎂 生日 - 类型:日期时间
- 类型:日期时间 - 示例:`/setaccount BirthDay 2024-01-01`
- 示例:`/setaccount BirthDay 2024-01-01`
- `LastConnectTime` - 🔄 最后连接时间
- `LastConnectTime` - 🔄 最后连接时间 - 类型:日期时间
- 类型:日期时间 - 示例:`/setaccount LastConnectTime "2024-01-01 12:00:00"`
- 示例:`/setaccount LastConnectTime "2024-01-01 12:00:00"`
## ⚡ 注意事项
## ⚡ 注意事项 1. 📝 属性名区分大小写
1. 📝 属性名区分大小写 2. 🔢 值类型必须匹配
2. 🔢 值类型必须匹配 3. 🔄 修改立即生效
3. 🔄 修改立即生效 4. ⚠️ 无效输入将提示错误
4. ⚠️ 无效输入将提示错误 5. 📅 日期格式需正确
5. 📅 日期格式需正确 6. 💡 谨慎修改重要属性
6. 💡 谨慎修改重要属性
---
--- # 🔓 解锁全部 (UnlockAll) 命令
# 🔓 解锁全部 (UnlockAll) 命令 > 一键解锁所有游戏内容,畅玩无限可能
> 一键解锁所有游戏内容,畅玩无限可能
## ⌨️ 命令格式
## ⌨️ 命令格式 ```
``` /unlockall <内容类型>
/unlockall <内容类型> ```
```
## 🎯 功能说明
## 🎯 功能说明 此命令用于解锁游戏中的各类关卡内容,包括主线剧情、每周副本、学院副本等。
此命令用于解锁游戏中的各类关卡内容,包括主线剧情、每周副本、学院副本等。
## 📋 可用内容类型
## 📋 可用内容类型
### 1. 📚 主线剧情 (campaign)
### 1. 📚 主线剧情 (campaign) ```
``` /unlockall campaign
/unlockall campaign ```
``` - 💫 功能:解锁所有主线关卡
- 💫 功能:解锁所有主线关卡 - 📦 解锁内容:
- 📦 解锁内容: - 🔰 普通难度关卡
- 🔰 普通难度关卡 - ⚔️ 困难难度关卡
- ⚔️ 困难难度关卡 - ✨ 额外关卡
- ✨ 额外关卡 - 🌟 超困难关卡
- 🌟 超困难关卡 - ✅ 完成状态:
- ✅ 完成状态: - 🎯 已通关
- 🎯 已通关 - ⭐ 获得全部三星
- ⭐ 获得全部三星 - 🎁 已领取首次通关奖励
- 🎁 已领取首次通关奖励 - 🏆 已领取星级奖励
- 🏆 已领取星级奖励
### 2. 🗺️ 每周副本 (weekdungeon)
### 2. 🗺️ 每周副本 (weekdungeon) ```
``` /unlockall weekdungeon
/unlockall weekdungeon ```
``` - 💫 功能:解锁所有每周副本
- 💫 功能:解锁所有每周副本 - ✅ 完成状态:
- ✅ 完成状态: - 🎯 关卡已完成
- 🎯 关卡已完 - ⭐ 星级目标达
- ⭐ 星级目标达成 - 📦 宝箱收集最大值
- 📦 宝箱收集最大值
### 3. 🏫 学院副本 (schooldungeon)
### 3. 🏫 学院副本 (schooldungeon) ```
``` /unlockall schooldungeon
/unlockall schooldungeon ```
``` - 💫 功能:解锁所有学院副本
- 💫 功能:解锁所有学院副本 - ✅ 完成状态:
- ✅ 完成状态: - 🎯 关卡已完成
- 🎯 关卡已完 - ⭐ 星级目标达
- ⭐ 星级目标达成
## ⚡ 注意事项
## ⚡ 注意事项 1. 📝 类型名不区分大小写
1. 📝 类型名不区分大小写 2. 🔄 解锁立即生效并保存
2. 🔄 解锁立即生效并保存 3. ⚠️ 无效类型将提示错误
3. ⚠️ 无效类型将提示错误 4. 💡 解锁后无法撤销
4. 💡 解锁后无法撤销
---
---
## 📝 文档更新记录
## 📝 文档更新记录
### v1.0.1 (2025-01-20)
### v1.0.0 (2025-01-20) - ✨ 首次发布完整命令文档
- ✨ 首次发布完整命令文档 - 📚 添加所有基础命令说明
- 📚 添加所有基础命令说明 - 🎨 优化文档排版和样式
- 🎨 优化文档排版和样式 - 🔍 补充详细使用示例
- 🔍 补充详细使用示例 - 🐛 修复文档格式问题
- 🐛 修复文档格式问题 - ✨ 添加更多使用示例
- ✨ 添加更多使用示例 - 📝 完善注意事项说明
- 📝 完善注意事项说明 - 📝 修复跳转
--- ---
*💡 如有任何问题或建议,欢迎随时反馈!* *💡 如有任何问题或建议,欢迎随时反馈!*

View File

@ -1,187 +0,0 @@
# 💻 Blue Archive Command Manual
*📝 Author: Ge Zhu*
*📝 Translate: Kitano Sakura*
---
## 📑 Table of Contents
- [🏰 Cafe Commands (Cafe)](#cafe-commands-cafe)
- [👥 Character Commands (Character)](#character-commands-character)
- [💎 Currency Commands (Currency)](#currency-commands-currency)
- [❓ Help Commands (Help)](#help-commands-help)
- [📦 Inventory Commands (Inventory)](#inventory-commands-inventory)
- [💾 Load Data Commands (LoadData)](#load-data-commands-loaddata)
- [⚙️ Set Account Commands (SetAccount)](#set-account-commands-setaccount)
- [🔓 Unlock All Commands (UnlockAll)](#unlock-all-commands-unlockall)
---
# 🏰 Cafe Commands (Cafe)
> Build your ideal cafe and create a unique relaxation space
## ⌨️ Command Format
```
/cafe <character|furniture> <add|addall|removeall> [id/amount]
```
## 🎯 Function Description
This command allows you to manage the in-game Cafe system, enabling you to freely arrange characters and furniture.
## 📋 Available Subcommands
### 👥 Character Management (character)
#### 1. Add a Single Character
```
/cafe character add <CharacterID>
```
- 💫 Function: Adds a specified character ID to the Cafe
- 📝 Example: `/cafe character add 123`
- Note: Adding a duplicate character will prompt a message
#### 2. ✨ Batch Add Characters
```
/cafe character addall [amount]
```
- 💫 Function: Adds multiple eligible characters to the Cafe
- 📝 Examples:
- `/cafe character addall` (Adds 50 characters)
- `/cafe character addall 100` (Adds 100 characters)
- Conditions for addition:
- ✅ Playable characters only
- ✅ Non-NPC characters
- ✅ Officially released characters
#### 3. 🗑️ Remove All Characters
```
/cafe character removeall
```
- 💫 Function: Clears all characters from the Cafe
- ⚠️ Warning: This action is irreversible
## ⚡ Notes
1. 🔄 All commands automatically save changes
2. 📝 Commands are case-insensitive
3. Duplicate characters cannot be added
4. 🚧 Furniture functionality is under development
---
# 👥 Character Commands (Character)
> Manage your character system and build the perfect combat team
## ⌨️ Command Format
```
/character <add|clear> [all|characterId]
```
## 🎯 Function Description
This command manages the players character system, supporting the addition and clearing of characters.
## 📋 Available Subcommands
### ✨ Add Characters (add)
#### 1. 🌟 Add All Characters
```
/character add all
```
- 💫 Function: Adds all available characters
- ✨ Features: Characters are added in their strongest state:
- ✅ Max level
- ✅ Fully developed
- ✅ Skills maxed out
#### 2. Add a Specific Character
```
/character add <CharacterID>
```
- 💫 Function: Adds a specific character by ID
- 📝 Example: `/character add 1`
- Note: Characters are added in their strongest state
### 🗑️ Clear All Characters (clear)
```
/character clear
```
- 💫 Function: Clears all characters
- ⚠️ Warning: This action is irreversible
## ⚡ Notes
1. 🔄 Operations save automatically
2. 📝 Commands are case-insensitive
3. Duplicate additions prompt a message
4. ⚠️ Use clear commands with caution
---
# 💎 Currency Commands (Currency)
> Freely adjust the amount of various currencies for a better gaming experience
## ⌨️ Command Format
```
/currency <currencyType> <amount>
```
## 🎯 Function Description
This command modifies the amounts of various currencies in your account.
## 💰 Available Currency Types
### 💫 Basic Currencies
- `Gold` - 💰 Gold
- `Gem` - 💎 Pyroxene (total)
- `GemPaid` - 💳 Paid Pyroxene
- `GemBonus` - 🎁 Bonus Pyroxene
### 🎫 Stamina Tickets
- `ActionPoint` - ⚡ Stamina
- `AcademyTicket` - 📚 Academy Tickets
- `ArenaTicket` - ⚔️ Arena Tickets
- `RaidTicket` - 🎯 Raid Tickets
### 🗺️ Weekly Dungeon Tickets
- `WeekDungeonChaserATicket` - 🏃‍♂️ Chase Battle A Ticket
- `WeekDungeonChaserBTicket` - 🏃‍♀️ Chase Battle B Ticket
- `WeekDungeonChaserCTicket` - 🏃 Chase Battle C Ticket
- `WeekDungeonFindGiftTicket` - 🎁 Treasure Hunt Ticket
- `WeekDungeonBloodTicket` - 🗡️ Blood Battle Ticket
- `ChaserTotalTicket` - 🎯 Total Chase Battle Ticket
### 🏫 Academy Dungeon Tickets
- `SchoolDungeonATicket` - 📘 Academy Dungeon A Ticket
- `SchoolDungeonBTicket` - 📗 Academy Dungeon B Ticket
- `SchoolDungeonCTicket` - 📙 Academy Dungeon C Ticket
- `SchoolDungeonTotalTicket` - 📚 Total Academy Dungeon Ticket
### 🌟 Special Dungeon Tickets
- `TimeAttackDungeonTicket` - ⏱️ Time Attack Dungeon Ticket
- `WorldRaidTicketA` - 🌍 World Raid A Ticket
- `WorldRaidTicketB` - 🌎 World Raid B Ticket
- `WorldRaidTicketC` - 🌏 World Raid C Ticket
### ⚔️ Elimination Tickets
- `EliminateTicketA` - 🗡️ Elimination A Ticket
- `EliminateTicketB` - ⚔️ Elimination B Ticket
- `EliminateTicketC` - 🛡️ Elimination C Ticket
- `EliminateTicketD` - 🔰 Elimination D Ticket
### 🏆 Others
- `MasterCoin` - 🎖️ Master Coin
## 📝 Usage Examples
```
/currency Gem 99999 # Set Pyroxene to 99999
/currency ActionPoint 9999 # Set Stamina to 9999
/currency Gold 99999999 # Set Gold to 99999999
```
## ⚡ Notes
1. 📝 Currency types are case-sensitive
2. 🔢 Amounts must be integers
3. 🔄 Changes are effective immediately
4. ⚠️ Invalid inputs will prompt an error
5. 💡 Use responsibly
---
(Translation continued upon request!)

View File

@ -1,128 +1,132 @@
--- ## Mitmproxy Usage Guide
(By 北野樱奈)
# 🌐 **Mitmproxy Usage Guide** ## Prerequisites
* (By Kitano Sakura)* 1. [Download mitmproxy](https://mitmproxy.org/) and install it.
2. Basic knowledge of WireGuard and Python scripting.
3. A client device (e.g., Android emulator or smartphone) and a host machine running `mitmproxy`.
--- ### Installation Steps
- **Linux/Mac**
```markdown
# Ubuntu/Debian
## 🛠️ **Prerequisites** sudo apt update
- Download and install [**Mitmproxy**](https://mitmproxy.org/). sudo apt install mitmproxy
- Basic knowledge of **WireGuard** and **Python scripting**.
- Required devices:
- A host machine to run **Mitmproxy**.
- A client device (e.g., Android emulator or smartphone).
--- # macOS
brew install mitmproxy
## 📥 **Step 1: Install Mitmproxy**
### 📂 Installation
#### Linux / macOS
```bash
# Ubuntu/Debian
sudo apt update
sudo apt install mitmproxy
# macOS
brew install mitmproxy
``` ```
- **Windows**: Download the `.exe` installer from [mitmproxy.org](https://mitmproxy.org/) and follow the instructions to complete the installation.
#### Windows ### Verify Installation
Download the `.exe` installer from [**mitmproxy.org**](https://mitmproxy.org/) and follow the setup instructions. Run the following command to verify the installation:
```bash
### ✅ Verify Installation mitmproxy --version
Run the following command to confirm successful installation:
```bash
mitmproxy --version
``` ```
--- ---
## 🔑 **Step 2: Install the CA Certificate** ## Step 2: Install CA Certificates on Client and Server
### 📜 Steps To decrypt HTTPS traffic, the client needs to trust the `mitmproxy` CA certificate.
1. Start `mitmproxy` to generate the CA certificate: ### Steps
```bash 1. Start `mitmproxy` to generate the certificate:
mitmdump ```bash
mitmdump
``` ```
2. Locate the generated certificate: 2. On the PC, navigate to `C:\Users\YourUser\.mitmproxy` to locate the certificate file (mitmproxy-ca.p12).
- Certificate path: 3. In the `mitmproxy` directory, locate `mitmproxy-ca-cert.crt`.
- `C:\Users\<Username>\.mitmproxy\mitmproxy-ca-cert.crt` (Windows) 4. Rename `mitmproxy-ca-cert.crt` to `c8750f0d.0`.
- `~/.mitmproxy/` (Linux / macOS) 5. Install the certificate as a system CA.
3. Rename `mitmproxy-ca-cert.crt` to `c8750f0d.0`.
4. Move the certificate to the system CA directory and set permissions: ---
```bash
adb root ### For Android Devices
adb remount 1. Move the certificate to the system CA directory:
adb shell mv /sdcard/c8750f0d.0 /system/etc/security/cacerts/ ```bash
adb shell chmod 644 /system/etc/security/cacerts/c8750f0d.0 adb root
adb reboot adb remount
adb shell mv /sdcard/c8750f0d.0 /system/etc/security/cacerts/
```
2. Set the correct permissions:
```bash
adb shell chmod 644 /system/etc/security/cacerts/c8750f0d.0
```
3. Reboot the device:
```bash
adb reboot
``` ```
--- ---
## 🔧 **Step 3: Configure the Redirect Script** ## Step 3: Download the Redirect Script
Download `redirect_server.py` from the repository and modify the `SERVER_HOST` field: Download the script from the repository.
```python ### Note: **Make sure to modify the IP address in `redirect_server.py`.**
import gzip ```python
import json import gzip
from mitmproxy import http import json
from mitmproxy import http
SERVER_HOST = 'Update here' # Replace with your server IP SERVER_HOST = 'Replace this with your IP'
SERVER_PORT = 80 SERVER_PORT = 80
REWRITE_HOST_LIST = [ REWRITE_HOST_LIST = [
'ba-jp-sdk.bluearchive.jp', 'ba-jp-sdk.bluearchive.jp',
'prod-gateway.bluearchiveyostar.com', 'prod-gateway.bluearchiveyostar.com',
'prod-game.bluearchiveyostar.com', 'prod-game.bluearchiveyostar.com',
] # 'prod-notice.bluearchiveyostar.com',
# 'prod-logcollector.bluearchiveyostar.com',
]
``` ```
--- ---
## 🚀 **Step 4: Start Mitmproxy** ## Step 4: Launch mitmproxy and Load the Script
Run the following command to launch Mitmproxy with the redirect script: Run the following command to start `mitmproxy` with the redirect script:
```bash ```bash
mitmweb -m wireguard --no-http2 -s redirect_server.py --set termlog_verbosity=warn --ignore <your IP address> mitmweb -m wireguard --no-http2 -s redirect_server.py --set termlog_verbosity=warn --ignore Your IP
``` ```
### 📝 Parameter Explanation: ### Parameter Explanation:
- `-m wireguard`: Use WireGuard as the network layer. - `-m wireguard`: Use WireGuard as the network layer.
- `--no-http2`: Disable HTTP/2 for better compatibility. - `--no-http2`: Disable HTTP/2 to improve compatibility.
- `-s redirect_server.py`: Load the redirect script. - `-s redirect_server.py`: Load the redirect script.
- `--set termlog_verbosity=warn`: Show warnings only in logs. - `--set termlog_verbosity=warn`: Set log level to warnings only.
Access the Mitmproxy web interface at `http://localhost:8081` to monitor traffic. You can monitor traffic through the `mitmweb` interface at `http://localhost:8081`.
--- ---
## 🔄 **Step 5: Install WireGuard** ## Step 5: Install and Configure WireGuard
### 📥 Installation Use WireGuard to route client traffic to `mitmproxy`.
- **Android**: Download from [**Google Play**](https://play.google.com/store/apps/details?id=com.wireguard.android).
- **Other Platforms**: Refer to the [**official WireGuard installation guide**](https://www.wireguard.com/install/).
### ⚙️ Configuration ### Installation Steps
1. Open the WireGuard client and scan the QR code provided by Mitmproxy. - **Android**: [Download WireGuard](https://play.google.com/store/apps/details?id=com.wireguard.android).
2. Apply the configuration to route all traffic through Mitmproxy. - **Other Platforms**: Refer to the [official WireGuard installation guide](https://www.wireguard.com/install/).
### Configuration Steps
1. Open the WireGuard client, click the `+` button in the bottom left corner, and select **Scan QR Code**.
2. The emulator will display a scanner window. Select **Real-time Screenshot**.
3. Position the screenshot over the QR code in the Mitmproxy browser page (accessible via settings).
4. Enable the configuration.
--- ---
## 🛠️ **Troubleshooting** ## Troubleshooting
### ❌ Error: Client TLS handshake failed ### Error: Client TLS handshake failed. The client does not trust the proxy's certificate for yostar-oversea-netsdk-logging.ap-southeast-1.log.aliyuncs.com (OpenSSL Error([('SSL routines', '', 'ssl/tls alert certificate unknown')]))
- Ensure the same CA certificate is installed on both the host and client devices. - Ensure that both the PC and client have the same Mitmproxy certificate installed.
- Verify that the CA certificate is installed as a system certificate. - Verify that the Mitmproxy certificate is properly installed on both ends.
### ❌ Certificate disappears on Android ### Android Certificate Disappears After Installation
- Use MT Manager to grant SU permissions. - Use the MT Manager to grant SU (superuser) permissions.
- Manually navigate to `/system/etc/security/cacerts/` and reset permissions to `644`. - Navigate to `/system/etc/security/cacerts/`.
- Locate `c8750f0d.0` and set the permissions to 664. The user group should be set to root.
--- ---
🎉 **Done!**

View File

@ -1,128 +1,129 @@
--- ## Mitmproxy方案使用教程
By 北野樱奈)
# 🌐 **Mitmproxy 方案使用教程**
* (By 北野樱奈)* ## 前置要求
1. [下载 mitmproxy](https://mitmproxy.org/) 并安装。
--- 2. 具备 WireGuard 和 Python 脚本的基本知识。
3. 一台客户端设备(例如 Android 模拟器或手机)以及运行 `mitmproxy` 的主机。
## 🛠️ **前置要求** ### 安装步骤
- 下载并安装 [**Mitmproxy**](https://mitmproxy.org/)。 - Linux/Mac
- 熟悉 **WireGuard** 和 **Python 脚本**的基本操作。 ```markdown
- 准备以下设备: # Ubuntu/Debian
- 一台运行 **Mitmproxy** 的主机。
- 一台客户端设备(如 Android 模拟器或手机)。 sudo apt update
sudo apt install mitmproxy
---
# macOS
## 📥 **第一步:安装 Mitmproxy** brew install mitmproxy
```
### 📂 安装步骤 - **Windows**: 从 [mitmproxy.org](https://mitmproxy.org/) 下载 `.exe` 安装程序,并按说明完成安装。
#### Linux / MacOS ### 验证安装
```bash 运行以下命令验证安装是否成功:
# Ubuntu/Debian ```bash
sudo apt update mitmproxy --version
sudo apt install mitmproxy ```
# macOS ---
brew install mitmproxy
``` ## 第二步:在客户端以及服务端安装 CA 证书
#### Windows 为了解密 HTTPS 流量,客户端需要信任 `mitmproxy` 的 CA 证书。
从 [**mitmproxy.org**](https://mitmproxy.org/) 下载 `.exe` 安装程序并按说明完成安装。
### 操作步骤
### ✅ 验证安装 1. 启动 `mitmproxy`生成证书:
运行以下命令确保安装成功: ```bash
```bash mitmdump
mitmproxy --version ```
``` 2. 在电脑端的C:\Users\用户\ .mitmproxy安装电脑证书mitmproxy-ca.p12
3. mitmproxy的目录下会有mitmproxy-ca-cert.crt
--- 4. 将 mitmproxy-ca-cert.crt 重命名为 c8750f0d.0
5. 将证书安装为系统 CA
## 🔑 **第二步:安装 CA 证书** ---
1. 将证书移动到系统 CA 目录:
### 📜 操作步骤 ```bash
adb root
1. 启动 `mitmproxy` 并生成证书: adb remount
```bash adb shell mv /sdcard/c8750f0d.0 /system/etc/security/cacerts/
mitmdump ```
``` 2. 设置正确的权限:
2. 找到生成的证书文件: ```bash
- 证书位于: adb shell chmod 644 /system/etc/security/cacerts/c8750f0d.0
`C:\Users\<用户名>\.mitmproxy\mitmproxy-ca-cert.crt`Windows ```
`~/.mitmproxy/`Linux / MacOS 3. 重启设备:
3. 将 `mitmproxy-ca-cert.crt` 重命名为 `c8750f0d.0` ```bash
4. 使用以下命令将证书移动到系统 CA 目录并设置权限: adb reboot
```bash ```
adb root
adb remount ---
adb shell mv /sdcard/c8750f0d.0 /system/etc/security/cacerts/ ---
adb shell chmod 644 /system/etc/security/cacerts/c8750f0d.0
adb reboot ## 第三步:下载重定向脚本
```
可以从仓库下载脚本
---
### 注意:`请一定要修改redirect_server.py内的IP地址`
## 🔧 **第三步:配置重定向脚本** ```python
import gzip
从仓库下载 `redirect_server.py` 并修改其中的 `SERVER_HOST` import json
from mitmproxy import http
```python
import gzip SERVER_HOST = '修改这里'
import json SERVER_PORT = 80
from mitmproxy import http
REWRITE_HOST_LIST = [
SERVER_HOST = '修改这里' # 替换为你的服务器 IP 'ba-jp-sdk.bluearchive.jp',
SERVER_PORT = 80 'prod-gateway.bluearchiveyostar.com',
'prod-game.bluearchiveyostar.com',
REWRITE_HOST_LIST = [ # 'prod-notice.bluearchiveyostar.com',
'ba-jp-sdk.bluearchive.jp', # 'prod-logcollector.bluearchiveyostar.com',
'prod-gateway.bluearchiveyostar.com', ]
'prod-game.bluearchiveyostar.com', ```
]
``` ---
--- ## 第四步:启动 mitmproxy 并加载脚本
## 🚀 **第四步:启动 Mitmproxy** 运行以下命令以使用重定向脚本启动 `mitmproxy`
```bash
使用以下命令加载重定向脚本并启动代理: mitmweb -m wireguard --no-http2 -s redirect_server.py --set termlog_verbosity=warn --ignore 这里输入你的IP地址
```bash ```
mitmweb -m wireguard --no-http2 -s redirect_server.py --set termlog_verbosity=warn --ignore <你的IP地址>
``` ### 参数说明:
- `-m wireguard`: 使用 WireGuard 作为网络层。
### 📝 参数说明: - `--no-http2`: 禁用 HTTP/2 以提高兼容性。
- `-m wireguard`: 使用 WireGuard 作为网络层协议。 - `-s redirect_server.py`: 加载重定向脚本。
- `--no-http2`: 禁用 HTTP/2 提高兼容性。 - `--set termlog_verbosity=warn`: 设置日志级别为警告。
- `-s redirect_server.py`: 加载重定向脚本。
- `--set termlog_verbosity=warn`: 仅显示警告级别日志。 你可以通过 `http://localhost:8081` 访问 `mitmweb` 界面监控流量。
访问 `http://localhost:8081` 查看 Mitmproxy 界面。 ---
--- ## 第五步:安装并配置 WireGuard
## 🔄 **第五步:安装 WireGuard** 使用 WireGuard 将客户端流量路由到 `mitmproxy`
### 📥 安装步骤 ### 安装步骤
- **Android**: 从 [**Google Play**](https://play.google.com/store/apps/details?id=com.wireguard.android) 下载。 - **Android**: [下载 WireGuard](https://play.google.com/store/apps/details?id=com.wireguard.android)。
- **其他平台**: 参考 [**WireGuard 官方安装指南**](https://www.wireguard.com/install/)。 - **其他平台**: 参考 [WireGuard 官方安装指南](https://www.wireguard.com/install/)。
### ⚙️ 配置步骤 ### 配置步骤
1. 打开 WireGuard 客户端并扫描 Mitmproxy 提供的二维码。 1. 打开 WireGuard 客户端,点击左下角+号,选择扫描二维码
2. 完成后启用该配置,将所有流量路由到 `Mitmproxy` 2. 选择后模拟器会弹出扫一扫窗口,选择实时截屏
3. 选择截屏后会有获取图像窗口移动到Mitmproxy浏览器页面上的二维码没有的话在设置里面
--- 4. 启用该配置。
## 🛠️ **故障排查** ---
### ❌ 错误Client TLS handshake failed ## 故障排查
- 检查电脑与客户端是否安装了相同的 CA 证书。
- 确保 CA 证书安装为系统证书。 ### Client TLS handshake failed. The client does not trust the proxy's certificate for yostar-oversea-netsdk-logging.ap-southeast-1.log.aliyuncs.com (OpenSSL Error([('SSL routines', '', 'ssl/tls alert certificate unknown')]))
- 确保电脑端以及客户端证书为内容一样的
### ❌ 安卓端证书消失 - 确保双端安装了Mitmproxy证书
- 使用 MT 管理器授予 SU 权限。
- 手动前往 `/system/etc/security/cacerts/`,重新设置权限为 `644` ### 安卓端安装后证书消失?
- 可以使用MT管理器授予SU权限
--- - 然后前往/system/etc/security/cacerts/
- 找到 c8750f0d.0 给予 664 权限。用户组为 root
🎉 **完成!**
---

115
README.md
View File

@ -1,47 +1,68 @@
# SCHALE.GameServer
# This Project is now Outdated and Archived, for the Newest Maintained version, Please Use https://git.fufufu.moe/KaniPS/
### [中文教程](README_zh.md) (by shunner114514)
# 此项目已停止维护,最新版本请用 https://git.fufufu.moe/KaniPS/ ### [Mitmproxy Solution](Mitmproxy_Readme_EN.md) (by KitanoSakura)
## Prerequisites
# 🌌 **SCHALE.GameServer** 🌟
- Some computer knowledge
- [.NET SDK 8.0](https://dotnet.microsoft.com/zh-cn/download/dotnet/8.0)
# 📚 Project Documentation Directory - [SQL Express](https://www.microsoft.com/zh-tw/sql-server/sql-server-downloads)
- [SQL Server Management Studio (SSMS)](https://learn.microsoft.com/zh-tw/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver16)
## 📌 Directory - [LD Player 9](https://www.ldplayer.tw/)
- [Python](https://www.python.org/)
- [🔧 Environment Installation](#environment-installation) - [Frida](https://frida.re/)
- [🚀 Command List](Command.md) - [frida-server-16.2.5-android-x86_64](https://github.com/frida/frida/releases)
- [📦 Mitmproxy Solution](Mitmproxy_Readme_ZH.md)
- [🎟 Import Official Server Data](Account_Data_into_SCHALE.md) ## Steps
- [📞 DISCORD](#DISCORD)
1. Start SQL server
--- 2. Start private game server
3. Start LD Player
## 🔧 Environment Installation 4. Start Frida server
5. Start ブルアカ
### 1. Install [SQL Server Express 2022](https://go.microsoft.com/fwlink/p/?linkid=2216019&clcid=0x804&culture=zh-cn&country=cn) 6. Inject Frida script
* Open the downloaded installer 7. Enjoy :smile:
* Select "Basic"
* Choose your preferred installation path ### SQL server
* Start the installation
Use SSMS to connect with default settings except that you have to check "Trust server certificate".
### 2. Install [SSMS (SQL Server Management Studio 20)](https://aka.ms/ssmsfullsetup)
* Keep the default installation path ### Game server
* Install
```bash
### 3. Install [Microsoft Visual Studio 2022](https://visualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=Community&channel=Release&version=VS2022&source=VSLandingPage&cid=2030&passive=false) # in this repo
* Install the Community version cd SCHALE.GameServer
* Select all components related to C# and "Visual Studio Extensions Development" for the workload dotnet run
* Install with the default path ```
### 4. Install [LDPlayer 9](https://lddl01.ldmnq.com/downloader/ldplayerinst9.exe?n=ldplayer9_ld_999_ld.exe) ### Frida server
* Download game updates normally after installation is complete
1. Extract `frida-server-16.2.5-android-x86_64.xz`
### 5. Install [Python](https://www.python.org/ftp/python/3.12.3/python-3.12.3-amd64.exe) to `LDPlayer/frida-server-16.2.5-android-x86_64`.
* Choose custom installation, leave other settings as default 2. Turn on LD Player
* Choose the installation path 3. Turn on root and adb in the settings of LD Player.
* Install and wait for completion 4.
## 📞 DISCORD ```bash
- [Discord](https://discord.gg/URaXJpS5gd) # in LDPlayer
cd LDPlayer9
./adb.exe push ../frida-server-16.2.5-android-x86_64 /data/local/tmp/frida-server
./adb.exe shell
su
cd /data/local/tmp
chmod 755 frida-server
./frida-server
```
### Inject Frida script
> [!NOTE]
> Edit line 5 of [ba.js](./ba.js) to your own server IP.
> [!WARNING]
> Do this fast when you open ブルアカ and see the Yostar logo.
```bash
# in this repo
frida -U "ブルアカ" -l ba.js --realm=emulated
```

View File

@ -1,37 +1,92 @@
# 🌌 **SCHALE.GameServer** 🌟 # SCHALE.GameServer
**本文基于[https://github.com/rafi1212122/SCHALE.GameServer](https://github.com/rafi1212122/SCHALE.GameServer)及个人操作经验编写资源配置文件请到以上链接获取若有任何疑问请到Discord社群询问**
# 📚 项目文档目录
### [Mitmproxy方案使用教程](Mitmproxy_Readme_ZH.md) (by 北野樱奈)
## 📌 目录
## 安装准备阶段
- [🔧 环境安装](#环境安装) ### 1.安装[SQL Server Express 2022](https://go.microsoft.com/fwlink/p/?linkid=2216019&clcid=0x804&culture=zh-cn&country=cn)
- [🚀 命令列表](Command.md) * 打开你下载的安装程序
- [📦 Mitmproxy方案](Mitmproxy_Readme_ZH.md) * 选择“基础”
- [🎟 导入官服数据](Account_Data_into_SCHALE_ZHCN.md) * 选择你习惯的安装路径
- [📞 DISCORD](#DISCORD) * 开始安装
### 2.安装[SSMS(SQL Server Management Studio 20)](https://aka.ms/ssmsfullsetup)
--- * 路径默认即可
* 安装
## 🔧 环境安装 ### 3.安装[Microsoft Visual Studio 2022](https://visualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=Community&channel=Release&version=VS2022&source=VSLandingPage&cid=2030&passive=false)
* 安装Community版
### 1.安装[SQL Server Express 2022](https://go.microsoft.com/fwlink/p/?linkid=2216019&clcid=0x804&culture=zh-cn&country=cn) * 工作负荷选择所有带有C#的组件以及“Visual Studio扩展开发”
* 打开你下载的安装程序 * 直接默认路径安装
* 选择“基础” ### 4.安装[雷电模拟器9](https://lddl01.ldmnq.com/downloader/ldplayerinst9.exe?n=ldplayer9_ld_999_ld.exe)
* 选择你习惯的安装路径 ### 5.安装[Python](https://www.python.org/ftp/python/3.12.3/python-3.12.3-amd64.exe)
* 开始安装 * 选择自定义安装,其余默认
### 2.安装[SSMS(SQL Server Management Studio 20)](https://aka.ms/ssmsfullsetup) * 选择安装路径
* 路径默认即可 * 安装,等待完成
* 安装 ### 6.安装Frida
### 3.安装[Microsoft Visual Studio 2022](https://visualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=Community&channel=Release&version=VS2022&source=VSLandingPage&cid=2030&passive=false) * win+R打开运行键入cmd
* 安装Community版 * 在cmd中输入`pip install frida`回车
* 工作负荷选择所有带有C#的组件以及“Visual Studio扩展开发” * 等待下载安装完成
* 直接默认路径安装 * 再输入`pip install frida-tools`回车
### 4.安装[雷电模拟器9](https://lddl01.ldmnq.com/downloader/ldplayerinst9.exe?n=ldplayer9_ld_999_ld.exe) * 等待下载安装完成(时间可能较长)
* 安装完成后正常下载游戏更新 ### 7.推送Frida-server至模拟器
### 5.安装[Python](https://www.python.org/ftp/python/3.12.3/python-3.12.3-amd64.exe) * 下载[frida-server-16.x.x-android-x86_64.xz](https://github.com/frida/frida/releases/download/16.3.1/frida-server-16.3.1-android-x86_64.xz)并解压
* 选择自定义安装,其余默认 * 把frida-server-16.x.x-android-x86_64放入`\leidian\LDPlayer9`路径下
* 选择安装路径 * 打开模拟器并在设置中打开ADB调试和ROOT权限
* 安装,等待完成 * 在(你安装时的盘):\leidian\LDPlayer9路径下的导航栏中输入cmd并回车
* 输入`adb push frida-server-16.x.x-android-x86_64 /data/local/tmp`
## 📞 DISCORD * 等待传输完成
- [Discord](https://discord.gg/URaXJpS5gd) ## 资源配置阶段
* 打开并解压所下载的SCHALE.GameServer-master.zip
* 使用Microsoft Visual Studio 2022打开包中的SCHALE.GameServer.sln
* 选择顶部菜单栏“视图”下拉“终端”
* 若在`...\SCHALE.GameServer-master>`下,请输入`cd SCHALE.GameServer`转到以下路径
* 在`\SCHALE.GameServer-master\SCHALE.GameServer`路径下输入:
`dotnet publish -a x64 --use-current-runtime --self-contained false -p:InvariantGlobalization=false`
* ~~找到并在`\SCHALE.GameServer-master\SCHALE.GameServer\bin\Release\net8.0\win-x64`路径下创建Resources文件夹再在其下创建excel文件夹将Excel.zip解压至此文件夹~~(最新版该步骤已集成于`SCHALE.GameServer.exe`
* 打开SSMS默认连接注意勾选信任服务器证书
* 运行`\SCHALE.GameServer-master\SCHALE.GameServer\bin\Release\net8.0\win-x64\SCHALE.GameServer.exe` (后台挂起)(首次运行请允许通过防火墙)
* 找到ba.js文件使用记事本打开修改第5行`REPLACE THIS WITH YOUR LOCAL IP`为你此时的IPV4地址网络和Internet设置中可查看
## 启动游戏阶段
*建议把ba.js放入\leidian\LDPlayer9路径下*
**以下操作每次启动都要执行!**
* 打开雷电模拟器
* 启动frida
* 在(你安装时的盘):\leidian\LDPlayer9路径下的导航栏中输入cmd并回车
* 在所打开的cmd中键入:
```
adb shell
su //超级管理员
cd /data/local/tmp //转到此路径下
chmod 755 frida-server-16.x.x-android-x86_64
./frida-server-16.x.x-android-x86_64 //启动frida
```
**注意此步骤完成后不要关闭该cmd**
* PC重新打开一个路径相同的cmd
* (模拟器)启动游戏 ブルアカ
* 在出现Yostar徽标时键入并回车
`frida -U "ブルアカ" -l ba.js --realm=emulated`(后台挂起)
* 出现`Attatching...`并且SCHALE.GameServer.exe出现Ping时基本成功
**###进入私服前需要先连接官服下载资源并通过新手教程###**
**###首次登录设置完名称和发音档时会抛出错误,此时重启`SCHALE.GameServer.exe`、关闭游戏,从“启动游戏ブルアカ”步骤再次开始即可正常进入###**
## 注意事项
* 此项目还处于初期阶段,存在大量不可使用选项,出现问题请尝试重新登录或重启
* 若出现`SCHALE.GameServer.exe`没有Ping的情况请检查ba.js中的IPV4地址与你当前地址是否一致
* 若已成功安装SQL Server Express请不要轻易自行尝试卸载或删除它否则可能无法再次成功安装
* 如果很不幸你的电脑上已经多次无法成功安装SQL Server Express且不愿意重装系统以下提供一个平替方案
*需要较高性能的电脑和足够的硬盘存储*
* 安装[VMware Workstation Pro](https://blog.csdn.net/weixin_74195551/article/details/127288338)
* 网络搜索许可证密钥填入
* 前往Windows官网或其他正规渠道获取Windows 10/11镜像
* 创建并安装Windows虚拟机
参阅[VMware中安装win10教程_vmware安装win10-CSDN博客](https://blog.csdn.net/lvlheike/article/details/120398259)
* 创建完虚拟机需设置:
* 你的电脑:设置-系统-屏幕-显示卡-默认图形设置启用“硬件加速GPU计划”
* 虚拟机设置处理器勾选虚拟化Intel VT-x/EPT或AMD-V/RVI(V)
* 虚拟机设置显示器勾选“加速3D图形”选择“指定监视器设置”监视器数量为1个图形内存改为所给**内存**的一半
* 启动虚拟机
* 使用[KMS](https://github.com/zbezj/HEU_KMS_Activator/releases/tag/42.0.4)激活Windows
* 完成后即可开始安装