Lost-MSth / Arcaea-server

一个微型的 Arcaea 本地服务器 A small local server for Arcaea
MIT License
358 stars 53 forks source link

Error with Recent30 enhancement #165

Closed rlarhsid closed 4 months ago

rlarhsid commented 4 months ago

Before I start, I'll apologize for making too much bug reports, sorry if making these bothers you. Let me know if I'm making too much useless bug reports.

image This image is when I try to bring the database file (database.db) that I was using, which is this commit. I only changed the server ports for game testing in that screen, and didn't change anything else.

I saw your latest server files, which fixed the character automatical adding, and tried to use it. However, it seems that I can't bring the database that I was using. Also, the PTT systems doesn't seem to work, which is done at the game result screen.

Sorry for wrting a bit vague. I'll add additional information when I have more time.

Lost-MSth commented 4 months ago

Have you updated the database/init folder? There are some changes about recent30 table.

rlarhsid commented 4 months ago

I think probably not. How could I update it? image This image is the thing that I said "PTT system not working". After the song finishes, the client says "Unable to post score to the server", and the server is like this.

rlarhsid commented 4 months ago

I think probably not. How could I update it? image This image is the thing that I said "PTT system not working". After the song finishes, the client says "Unable to post score to the server", and the server is like this.

image changing the all the files except course.json (I made custom courses) in the /init folder from the latest server fixed at least this issue, but what at cost...

now the PTT system is gone crazy, guess I'll have to fix this tomorrow. Thanks for the replies!

Lost-MSth commented 4 months ago

It seems the database is broken when you incorrectly updated it. You can get the backup db in the database/backup folder. Replace the current db with it and then restart the server. I hope there will be no problem.