Commit Graph

37 Commits

Author SHA1 Message Date
Lost-MSth
6c6a13086f [Enhance] Support skill_nami_sui
- For Arcaea 6.6.0
- New partners "Tairitsu & El Fail" and "Nami & Sui (Twilight)"
- Add support for the character skill `skill_nami_sui`.
2025-06-29 21:47:57 +08:00
Lost-MSth
a23e5372fb [Enhance][Bug fix] Fatalis values & Salt skill
- For Arcaea 6.2.3
- Add support for `skill_salt`.
- Add support for dynamic values of "Hikari (Fatalis)", which is depended by world mode total steps.
- Fix a bug that the character "Hikari (Fatalis)" cannot be used in world mode. (due to 3f5281582c)
2025-02-06 23:40:00 +08:00
Lost-MSth
3f5281582c [Enhance] New skills
- For Arcaea 6.0.3
- Add support for `skill_chinatsu` and `skill_intruder`.
- Add support for the invasion toggle (toggle intruder's skill states).

Note that the invasion toggle in 4 states, which is different from the official server.
2024-11-25 15:29:11 +08:00
Lost-MSth
9c9af892bd [Bug Fix][Enhance] PTT update lately & Register rate limiter
- Fix a bug that PTT updates delay to next play.
- Add the IP and the device rate limiters for user register.
2024-09-28 14:59:24 +08:00
Lost-MSth
2a08c9cd14 [Enhance] World rank score mechanism
- Adjust world rank mechanism to be closer to the official one.

Note: You need to refresh rating in web admin backend after updating, and the users need to get a better or new score to refresh world rank.
2024-06-14 16:06:26 +08:00
Lost-MSth
5c539bdf59 [Enhance] Recent 30
- Update Recent 30 mechanism.
- Alter Recent 30 table structure.

Note:
1. This is a TEST version. Maybe there are many bugs.
2. This special version is a line of demarcation.
2024-04-30 00:27:23 +08:00
Lost-MSth
2d498ae02b [Enhance] Link Play Unlock for ETR
- Add support for the new client with ETR difficulty in Link Play #160
2024-04-12 16:16:35 +08:00
Tenshi
2f826e9ffc Fix ETR Score sending 2024-03-16 10:45:11 +07:00
Lost-MSth
d65cc3bcbe [Enhance] Missions & ETR
- Add support for missions
- PTT mechanism: Change first play protection to new best protection
- Adapt to the new difficulty ETR
- Uncap DORO*C
- Incomplete support for "pick_ticket"
- Fix requirements: cryptography >= 35.0.0

Note: This is an intermediate test version, only for Arcaea 5.4.0c. Next version will adapt to 5.4.0.
2024-03-10 11:26:21 +08:00
Lost-MSth
9d096f480b [Enhance] Breached World
- Add support for Breached World Map
- Change the recover time of using fragments buying stamina to 23 hours
- For Arcaea 5.3.0
2024-01-30 15:16:26 +08:00
Lost-MSth
746712718b [Refactor][Bug fix] World mode & skills
- Code refactor for world mode
- Try to fix some skills to keep it same with the official server (especially `ayu_uncap`), and adjust the order of World Mode progress calculation (maybe still not right).
- Uncap Kanae

Note: not ready for Kanae's uncapping skill (I do not know its actual effect.)
2024-01-13 15:14:54 +08:00
Lost-MSth
41409dee27 [Enhance] Support 'skill_hikari_vanessa'
- Add support for the skill 'skill_hikari_vanessa'
- For Arcaea 4.6.0
2023-07-19 23:27:21 +08:00
Lost-MSth
4527339d78 [Enhance] Support 'skill_ilith_ivy'
- Add support for the skill 'skill_ilith_ivy'
- For Arcaea 4.5.0
2023-06-28 22:34:43 +08:00
Lost-MSth
bd74d96250 [Enhance] PTT record & log DB cleaner
- Add support for recording users' potential each day
- Add a log database cleaner tool
- A small change: `/user/<user_id> PUT` API can ban user now.
2023-05-03 00:37:41 +08:00
Lost-MSth
880b66a995 [Enhance] Add background task
- Add background task module for log database
- Update some data for Arcaea v4.4.4
2023-04-28 14:27:11 +08:00
Lost-MSth
f92d8a9642 [Enhance] Skill of Mithra
- Add support for the skill of Mithra
2023-03-23 23:17:02 +08:00
Lost-MSth
1672d337ff [Enhance] [Refactor] Add API about characters
- Add API endpoints about characters
- Some small changes in refactoring
2023-03-22 22:27:21 +08:00
Lost-MSth
ed8d0aa73c [Enhance] BYD boost & BYD chain maps
- Add support for beyond gauge boost
- Add support for beyond chain maps
- Add support skills of uncapped ilith and mika
- Unlock four chars and uncapped ilith
- Some changes in some values' algorithms
2023-03-02 23:25:38 +08:00
Lost-MSth
af03a48134 [Enhance] Cloud save update scores & capture auth error
- Restore the feature that cloud save can be used to cover best scores
- Capture error that the request does not have `Authorization` in header
2023-01-13 17:50:01 +08:00
Lost-MSth
a7a9a4ba3d [Enhance][Bug fix] Add log db & log bug
- Add a log database to record all playing scores
- Fix a bug that if an exception is raised before flask app runs, logger will not work well.
2022-11-26 21:03:29 +08:00
Lost-MSth
84b0e869a5 [Refactor] Init files Encoding & Refresh rating
- Now initial files can be other encoding types which are supported by JSON module
- Code refactor for refreshing all scores' rating
2022-11-24 21:40:44 +08:00
Lost-MSth
e1ce4d9ec4 [Enhance][Bug fix] download songlist & new skill & API null recent
- Add `amane` and add support for `skill_amane`
- Add a parser for `songlist` to specify downloadable files
- Fix a bug that users with no recent scores cannot get `recent30` via API
2022-11-10 18:00:27 +08:00
Lost-MSth
7cc17181e1 [Bug fix][Refactor] Course scores & Download
- Fix a bug that scores in course mode cannot calculate rating
- Make some optimization for downloading songs
2022-11-07 21:14:05 +08:00
Lost-MSth
e22485e4e0 [Bug fix] Course mode cannot start
- Fix a bug due to 4da3f38f6e that course mode cannot start
2022-11-06 15:06:01 +08:00
Lost-MSth
4a5083c597 [Bug Fix][Enhance] Endless loop & waitress log
- Fix a bug due to 6fcca17918 that there is a endless loop in calculating recent 10 updating

- Add info log for `waitress`
2022-11-05 21:17:44 +08:00
Lost-MSth
cf350842ac [Refactor] Performance optimization
- Put download token in memory database
- Accelerate multiple querying in `best_score` table
2022-11-01 18:08:02 +08:00
Lost-MSth
e04c8ecf2d [Bug fix] Hot fix for typing error & import error 2022-10-31 19:29:31 +08:00
Lost-MSth
4da3f38f6e [Enhance] Performance optimization
- Change journal mode to WAL and enlarge cache size for sqlite3 database
- Use monkey patch to do asynchrony
- Make gevent use Flask's logger
2022-10-31 17:49:19 +08:00
Lost-MSth
ba36190f30 [Enhance][Bug fix] Improve setting file & ...
- Fix a small bug that `best30` of API cannot have scores whose songs are not in database
- At present the setting file can be a module or a file with some of options
- Limiter can have multiple rules together now
2022-10-16 15:49:49 +08:00
Lost-MSth
8f1c28eb5c [Enhance] API & LinkPlay & something else
- Add song names for getting the score list (For API)
- Try to ensure thread safety in Link Play (twice again)
- Small change about database timeout
- Have a try to use `nginx` and `gevent` (Yes. I ensure it works well. This will not be viewed as a formal and necessary update.)
2022-10-03 23:46:52 +08:00
Lost-MSth
732947a3f0 Fix some bugs
- Second try to fix a bug about API
- Fix a bug that the `prog boost` shows the incorrect value
- Fix a bug that the rewards can be get repeatedly in World Mode
- Fix a bug that second tube of blood of the world boss won't change
2022-08-11 22:38:26 +08:00
Lost-MSth
b38dbf1a55 Fix two small bugs
- Fix a bug that something of the finale challenge cannot be unlocked
- Fix a bug that the users' items will not be zero, which will disturb some purchase operations
2022-08-03 15:44:46 +08:00
Lost-MSth
9f41ef0a70 'Small' update
- Add Course Mode
- Add support for downloading additional files
- Add support for `skill_fatalis` (Hikari booms your world.)

- Delete my hair X<

> WHERE IS MY TAIRITSU ?!
> Some other things are not supported now, such as... the feature which is one line above.
2022-07-09 01:15:03 +08:00
Lost-MSth
af3e91b3e8 Code refactoring
- Code refactoring mainly for API
- Delete a useless option in `setting.py`
- Change some constants in Link Play mode
2022-07-06 22:07:00 +08:00
Lost-MSth
9d746eab2d Update score.py
Fix two bugs.
2022-07-04 23:14:23 +08:00
Lost-MSth
6fcca17918 Code refactoring
- Code refactoring
- Fix a bug that the other player will not become the host of the room at once, when the player disconnect in link play.

> Maybe add many unknown bugs. XD
> The song database `arcsong.db` will not used in the future. You can use a tool in `tool` folder to import old data.
2022-07-04 18:36:30 +08:00
Lost-MSth
9de62d3645 Update to v2.8.6 without release
- Code refactoring
- Update the song database
- Fix a bug of the friend system which arose in the last version
- Fix a bug of duplicate calculating finishing states when players finish playing the chart in Link Play.
2022-05-26 18:56:33 +08:00