mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-14 04:07:28 +08:00
Update to v2.3.1
This commit is contained in:
18
README.md
18
README.md
@@ -64,13 +64,11 @@ It is just so interesting. What it can do is under exploration.
|
|||||||
>
|
>
|
||||||
> Tips: When updating, please keep the original database in case of data loss.
|
> Tips: When updating, please keep the original database in case of data loss.
|
||||||
|
|
||||||
### Version 2.3
|
### Version 2.3.1
|
||||||
- 适用于Arcaea 3.5.2版本 For Arcaea 3.5.2
|
- **不**适用于Arcaea 3.5.3版本 **Not** for Arcaea 3.5.3
|
||||||
- 更新了歌曲数据库 Update the song database.
|
- **新增**了一些Bug **Add** some bugs.
|
||||||
- 新搭档**迷尔**已解锁 Unlock the new character **Mir**.
|
|
||||||
- 新增服务器日志 Add server log.
|
> Happy April Fool's Day!
|
||||||
- 优化了代码结构 Optimize the code structure.
|
|
||||||
- 修复了一些Bug,提升服务器安全性 Fix some bugs and improve server security.
|
|
||||||
|
|
||||||
|
|
||||||
## 运行环境与依赖 Running environment and requirements
|
## 运行环境与依赖 Running environment and requirements
|
||||||
@@ -79,8 +77,7 @@ It is just so interesting. What it can do is under exploration.
|
|||||||
- Flask module
|
- Flask module
|
||||||
- Charles (optional)
|
- Charles (optional)
|
||||||
|
|
||||||
<div style='display: none'>
|
<!--
|
||||||
|
|
||||||
## 环境搭建 Environment construction
|
## 环境搭建 Environment construction
|
||||||
[中文](https://github.com/Lost-MSth/Arcaea-server/wiki/%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA)
|
[中文](https://github.com/Lost-MSth/Arcaea-server/wiki/%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA)
|
||||||
[English](https://github.com/Lost-MSth/Arcaea-server/wiki/Environment-construction)
|
[English](https://github.com/Lost-MSth/Arcaea-server/wiki/Environment-construction)
|
||||||
@@ -92,8 +89,7 @@ It is just so interesting. What it can do is under exploration.
|
|||||||
## 注意 Attentions
|
## 注意 Attentions
|
||||||
[中文](https://github.com/Lost-MSth/Arcaea-server/wiki/%E6%B3%A8%E6%84%8F)
|
[中文](https://github.com/Lost-MSth/Arcaea-server/wiki/%E6%B3%A8%E6%84%8F)
|
||||||
[English](https://github.com/Lost-MSth/Arcaea-server/wiki/Attentions)
|
[English](https://github.com/Lost-MSth/Arcaea-server/wiki/Attentions)
|
||||||
|
-->
|
||||||
</div>
|
|
||||||
|
|
||||||
## 鸣谢 Thanks
|
## 鸣谢 Thanks
|
||||||
歌曲数据库来自 Using song database from
|
歌曲数据库来自 Using song database from
|
||||||
|
|||||||
Binary file not shown.
@@ -2,6 +2,7 @@ from server.sql import Connect
|
|||||||
import server.arcworld
|
import server.arcworld
|
||||||
import server.arcpurchase
|
import server.arcpurchase
|
||||||
import time
|
import time
|
||||||
|
from setting import Config
|
||||||
|
|
||||||
|
|
||||||
def int2b(x):
|
def int2b(x):
|
||||||
@@ -174,7 +175,7 @@ def get_value_0(c, user_id):
|
|||||||
if x[27] and x[27] != 0:
|
if x[27] and x[27] != 0:
|
||||||
prog_boost = 300
|
prog_boost = 300
|
||||||
|
|
||||||
r = {"is_aprilfools": False,
|
r = {"is_aprilfools": Config.IS_APRILFOOLS,
|
||||||
"curr_available_maps": [],
|
"curr_available_maps": [],
|
||||||
"character_stats": user_character,
|
"character_stats": user_character,
|
||||||
"friends": get_user_friend(c, user_id),
|
"friends": get_user_friend(c, user_id),
|
||||||
|
|||||||
@@ -8,12 +8,22 @@ class Config():
|
|||||||
主机的地址和端口号
|
主机的地址和端口号
|
||||||
Host and port of your server
|
Host and port of your server
|
||||||
'''
|
'''
|
||||||
HOST = '192.168.1.105'
|
HOST = '192.168.1.101'
|
||||||
PORT = '80'
|
PORT = '80'
|
||||||
'''
|
'''
|
||||||
--------------------
|
--------------------
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
'''
|
||||||
|
--------------------
|
||||||
|
愚人节模式开关
|
||||||
|
Switch of April Fool's Day
|
||||||
|
'''
|
||||||
|
IS_APRILFOOLS = True
|
||||||
|
'''
|
||||||
|
--------------------
|
||||||
|
'''
|
||||||
|
|
||||||
'''
|
'''
|
||||||
--------------------
|
--------------------
|
||||||
Web后台管理页面的用户名和密码
|
Web后台管理页面的用户名和密码
|
||||||
|
|||||||
Reference in New Issue
Block a user