mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-05 23:17:26 +08:00
- For Arcaea 6.11.3 - Add partial support for World Parallel Mode. - Add some new partners, including "VIIM", "Helena" and "Yuno". Note: Link Play server has updated and do not support old clients anymore. World Parallel Mode and Link Play may have bugs, because I haven't check out all things carefully.
40 lines
908 B
Python
40 lines
908 B
Python
class Config:
|
|
'''
|
|
Link Play server configuration
|
|
'''
|
|
|
|
'''
|
|
服务器地址、端口号、校验码、传输加密密钥
|
|
Server address, port, verification code, and encryption key
|
|
'''
|
|
HOST = '0.0.0.0'
|
|
UDP_PORT = 10900
|
|
TCP_PORT = 10901
|
|
AUTHENTICATION = 'my_link_play_server'
|
|
TCP_SECRET_KEY = '1145141919810'
|
|
'''
|
|
--------------------------------------------------
|
|
'''
|
|
|
|
DEBUG = False
|
|
|
|
TCP_MAX_LENGTH = 0x0FFFFFFF
|
|
|
|
TIME_LIMIT = 3600000
|
|
|
|
COMMAND_INTERVAL = 1000000
|
|
|
|
PLAYER_PRE_TIMEOUT = 3000000
|
|
PLAYER_TIMEOUT = 15000000
|
|
|
|
LINK_PLAY_UNLOCK_LENGTH = 1024
|
|
|
|
COUNTDOWN_SONG_READY = 4 * 1000000
|
|
COUNTDOWN_SONG_START = 6 * 1000000
|
|
|
|
# 计时模式
|
|
COUNTDOWN_MATCHING = 15 * 1000000
|
|
COUNTDOWN_SELECT_SONG = 45 * 1000000
|
|
COUNTDOWN_SELECT_DIFFICULTY = 45 * 1000000
|
|
COUNTDOWN_RESULT = 60 * 1000000
|