20 lines
515 B
Markdown
20 lines
515 B
Markdown
# Server Setup
|
||
|
||
## 1. 编译
|
||
|
||
- `powershell -ExecutionPolicy Bypass -File tools/build-server.ps1`
|
||
|
||
## 2. 启动 Mongo(可选)
|
||
|
||
- 本地测试可用 memory 模式(`StartZoneConfig.DBConnection=memory`)
|
||
- Mongo 模式示例:`mongodb://127.0.0.1`
|
||
|
||
## 3. 启动服务
|
||
|
||
- Unity 中通过 Loader/ServerTools 启动,或按既有 ET 服务端流程启动
|
||
|
||
## 4. 常见问题
|
||
|
||
- 若 `ET.sln` 构建失败,优先检查缺失包/生成代码是否齐全
|
||
- 若登录失败,先看 Gate 日志与 L3 错误日志
|