Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[錯誤] comf/groups.conf:1 - syntax error (已找出問題) #335

Closed
black661 opened this issue Jan 9, 2021 · 2 comments
Closed

[錯誤] comf/groups.conf:1 - syntax error (已找出問題) #335

black661 opened this issue Jan 9, 2021 · 2 comments

Comments

@black661
Copy link

black661 commented Jan 9, 2021

只要修改 groups.conf map伺服器就會跳 [錯誤] comf/groups.conf:1 - syntax error

我只是將groups.conf 底部的 all_skill: false 改成 all_skill: true

改其他的也會跳這種錯誤comf/groups.conf:1 - syntax error 即使改回去原本的 也是會跳錯誤

角色一進入遊戲就卡住了 不能動

部分人有幫我測試 都表示功能正常

可是我重載 再使用一次 也是一樣

這是我在架設的過程中 哪邊沒修改到嗎?

問題原因 使用win7內建記事本做修改 會導致編碼更動

@black661 black661 changed the title [錯誤] comf/groups.conf:1 - syntax error [錯誤] comf/groups.conf:1 - syntax error (已找出問題) Jan 10, 2021
@CairoLee
Copy link
Contributor

感谢你处理完成后还给予了反馈!

在 rAthena 项目中(熊猫模拟器基于 rAthena 构建)后缀为 conf 的文件使用 libconfig 进行加载。当前只能使用 ANSI 编码(GBK或 BIG5)而不能使用 Unicode 编码(UTF8、UTF8-BOM)

在 yml 类型的文件中,熊猫模拟器自动进行了编码转换(因此可以用 UTF8-BOM),但 conf 暂时不行。请将编码调整正确即可。通常这类型的报错都是在第一行

@CairoLee
Copy link
Contributor

此问题已解决,如果还有与其相关的其他情况,可以重新打开此问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants