Changelog: v0.2.7

This commit is contained in:
notify 2023-07-02 20:53:42 +08:00
parent d5bee59f2a
commit dad2b5406c
8 changed files with 35 additions and 6 deletions

View File

@ -2,6 +2,19 @@
___
## v0.2.7
1. 胜率直接写在脸上
2. 逃跑封禁20min
3. 屏蔽发言功能
4. 新的登陆界面
5. 快速短语
6. 投降,牌序
7. 房间列表手动刷
8. 修bug
___
## v0.2.6
新功能:

View File

@ -2,7 +2,7 @@
cmake_minimum_required(VERSION 3.16)
project(FreeKill VERSION 0.2.6)
project(FreeKill VERSION 0.2.7)
add_definitions(-DFK_VERSION=\"${CMAKE_PROJECT_VERSION}\")
find_package(Qt6 REQUIRED COMPONENTS

View File

@ -3,8 +3,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.notify.FreeKill"
android:installLocation="preferExternal"
android:versionCode="206"
android:versionName="0.2.6">
android:versionCode="207"
android:versionName="0.2.7">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

View File

@ -0,0 +1,7 @@
{
"banwords": [],
"description": "FreeKill Server",
"iconUrl": "https://img1.imgtp.com/2023/07/01/DGUdj8eu.png",
"capacity": 100,
"tempBanTime": 20
}

View File

@ -330,6 +330,10 @@
<source>Room is full or already started!</source>
<translation></translation>
</message>
<message>
<source>server is full!</source>
<translation></translation>
</message>
</context>
<context>

View File

@ -235,9 +235,12 @@ FreeKill使用的是libgit2的C API与此同时使用Git完成拓展包的下
["Back To Lobby"] = "返回大厅",
["Bulletin Info"] = [==[
## v0.2.6
## v0.2.7
使便bug
-
-
-
- bug修复
]==],
}

View File

@ -1193,7 +1193,7 @@ local role_mode = fk.CreateGameMode{
end
return {
{ text = "time limitation: 5 sec", passed = playedTime >= 5 },
{ text = "time limitation: 5 min", passed = playedTime >= 300 },
{ text = roleText, passed = roleCheck },
}
end,

View File

@ -223,6 +223,8 @@ void Server::processNewConnection(ClientSocket *client) {
errmsg = "you have been banned!";
} else if (temp_banlist.contains(addr)) {
errmsg = "you have been temporarily banned!";
} else if (players.count() >= getConfig("capacity").toInt()) {
errmsg = "server is full!";
}
if (!errmsg.isEmpty()) {