Q&A - Lost-MSth/Arcaea-server GitHub Wiki
Questions & Answers
[Chinese Translation Statement] 会提供地道且简略的中文翻译,因为我懒
To be continued...
Past
What is this repository? 这个项目是什么?
Well, this repository is the code of a small server which can be used to build a server of the game Arcaea
. In the repo, some information are given but if you want to learn more, it's up to you not me.
It is important to say that it is a server, please don't ask about the cracked client.
The following assumes that you have basic capabilities and know how to use GitHub
.
For any questions, after you have tried many methods and the problem also exists, ask me via any way if you have basic computer knowledge. Otherwise ask Google
please.
这是游戏 Arcaea
的简易服务端代码仓库,我愿意提供的信息都给了,要想知道更多请自行努力
对了,这是服务端,别直球问怎么破解客户端行吗(
以下假设您有基础能力,知道怎么用 GitHub
针对所有问题,最后实在憋不住了可以来问我,当然您要什么都不会一点基础也没有的话,去问百度更好(我现在对于中文搜索更推荐 Bing)
How to submit the questions if necessary 如有必要该如何提交问题
Ways: Email, GitHub issues, GitHub discussions, other chatting softwares...
Please give me complete and sufficient information, including the error messages, the network data packages, your devices' information, the server's and the client's version, the detailed operations you did...
By the way, you should have a look at issues and discussions to make sure your question is unique.
可以通过任何能让我看到的方式,但请提供完整而充足的信息:错误信息、网络数据包详情、设备信息、服务端与客户端版本、您到底干了什么操作才能这样……
顺便,您应该看一眼 issue 和 discussion 去确保您的问题没重复
Error when starting the server 启动服务端时出现问题
Well, I suppose you know that it is a python
program and how to run the code.
First, check the requirements. Then, check the host and port you set. These are the most problematic place.
Make sure that every file is the newest if the server is updating from an old version.
咳,假定您知道这个是 python
程序,也知道如何运行代码
请先检查依赖,然后看看主机地址和端口什么的有没有写错
如果是从旧版本更新过来的请确保所有文件最新
The client is unable to connect to the server 客户端无法连接服务端
Look at the CMD
window or the log
file to check if there are some errors and whether the server received the request.
Check your network. Check all steps of the way you used to make the client connect to the server.
先看CMD
窗口和日志文件里的错误信息并确认服务器是否收到了请求
检查网络,检查您用来连接到服务器的方式中的各个环节是否正常
Present
The low version client is ok, but why the high version is not ok? 低版本客户端可以的,为什么高版本不行了?
Version 3.6.0
of the client is a big update and something has been changed since then. If you mean you cannot connect when using a high version, I am sorry that you can go back to the first question and see what I said before.
If you mean that there are some errors which affect the playing experience, that's right. I guess the reason is that the URLs are different between two kinds of clients. Be careful of the slash
in the URL and try to change it in codes.
3.6.0
版本客户端是个大大的更新所以很多东西都不一样了。如果您问为什么高版本不能连上了,那我很抱歉您应该看看第一个问题我说了啥子
如果您问为什么出现了一些影响游玩体验的错误,那很好,我猜原因是不同版本客户端之间的 URL 地址不一样,注意一下里面的斜杠
,然后改代码去
Android
device is ok, but why iOS
device is not ok? 安卓设备可以,但iOS
设备为什么不行?
Hmmm... That is because the clients are actually not the same, even if they are the same version. The client of iOS
devices is stricter to the data from the server and the network connection must be https
when downloading.
In addition, I don't have an iOS
device to test, so there may be surely more bugs.
呃,事实上就算版本一致,两个系统的客户端也是不一样的,iOS
那边对服务器发来的数据更加严格,以及下载时网络连接上必须是 https
而且我没有 iOS
设备,没法测试,所以确实会有更多问题
Why some game mechanisms are different from the official server? 为什么有些游戏机制与官服不同?
Oh, if you are very sure, please tell me! Many mechanisms refer to the wiki so they may be wrong.
However, some different mechanisms are due to my laziness, some are due to my carelessness.
太好了,您很确信就请告诉我!
大部分机制都是参考 wiki 的,有可能是错的,当然,有些机制不同是我懒,或者我脑抽了
Why not success in downloading songs or charts? 为什么歌曲或谱面下载失败?
First and foremost, make sure that the files are complete. A song pack should have data of all songs and a song should have data of all charts except beyond
difficulty.
There is a strange mechanism that a very small file will not be accepted by the client. Don't occupy a space with an empty file.
Suggest that base.ogg
should be OGG format. Please perform format conversion instead of changing the suffix.
Additionally, you had better not change song files when the server is running. If you did, please refresh the hash data.
Please make sure that the songlist
file of the client is correct.
Another annoying mechanism is that free
pack cannot be used to download songs, but only downloading beyond
charts are ok.
Well, if just the iOS
devices have this problem, try to change the connection to https
.
首先最重要的是确保文件齐全,曲包要包含里面所有曲目的数据,歌曲要包含所有难度谱面的数据(除了 beyond
难度)
有个有点奇葩的机制就是小文件不会被客户端接收,所以不要用空文件占位
建议 base.ogg
是 OGG 格式,请进行格式转换而不是只改个后缀
另外,你最好别在服务端运行时改文件,否则请刷新文件哈希值
请确保客户端 songlist
文件正确
另一个气人的点就是 free
包不能用于曲目下载,当然只下载 beyond
谱面是可以的
嗯,如果就iOS设备有问题,那需要 https
Link Play
mode is unavailable 仅Link Play
模式不可用
Only Check your UDP host and port please. Make sure that UDP server is running correctly.
If you use some map remote ways, please check the proxy app. It may not support for UDP connections.
请检查 UDP 主机地址和端口,确保 UDP 服务器正在运行
如果您使用了某些远程映射转发功能,请检查代理软件,因为它可能不支持 UDP 连接
Future
https
? 如何用 https
连接?
How to use Well, the server can run in https
mode if you give the SSL certificates and private keys.
Nevertheless, what I recommend is useing some middlewares to realize it, such as Nginx
.
嗯,只要您给了SSL证书和私钥,服务器可以用 https
模式运行,但我还是建议您用中间件来实现,比如 Nginx
World Mode
? 如何自定义 世界模式
?
How to customize Imitate official maps to make your own maps. I believe you can understand most parameters of a map.
模仿官方梯子来制作您的梯子,我相信您可以看懂里面的参数
Course Mode
? 如何自定义 课题模式
?
How to customize At present, changing database directly is a way. Another way is changing the json
file and renew the database.
目前,直接改数据库,或者是改 json
文件然后再更新数据库都行
Beyond
What is the API? API 接口是什么?
It is not related to the game client. This is the API which may be used for front and rear end separation in the future. However I am busy...
You can also use it to get data for your bot.
和游戏客户端无关,这是为了未来的前后端分离设计出来的 API 接口,不过我超忙的,所以咕了好久了……
当然您可以将它用在与 bot 的交互上面