XtGameKit/Doc/Server-Setup.md

20 lines
515 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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 错误日志