v1.2.3.b8 - fix: startup crash with PerfMode/DebugMode enabled

- #### Fixes
    - **Startup crash** - Servers with `PerfMode` or `DebugMode` enabled crashed during boot at the first skill. `PerfLog.Sample` called `IsServerIdle()` on every `SkillAction`, which scanned the player list while the server was still booting. Our own regression, introduced with the idle-logging gate in b8.
    - **PlayerManager** - Added a `serverActive` flag set on map start; `IsServerIdle`, `GetTickPlayers` and `GetTickBomb` no longer touch the game before the map is up.
    - **Commands** - `zmienmape` and one Chinese alias were listed twice, registering the same command name natively two times. Cleaned up the defaults and added a duplicate guard so user configs are covered too.

- #### Chat
    - **Skill announcement** - Teammate skills are now shown first and your own skill description last, so it stays at the bottom of the chat instead of scrolling away.
    - **SetRandomSkill** - No longer leaves the chat box unclosed when the player has teammates.
This commit is contained in:
ByDexter 2026-08-21 10:34:22 +03:00
parent 11f51b596c
commit b95c52028e
8 changed files with 33 additions and 15 deletions

View file

@ -1,4 +1,4 @@
{
{
"ConfigName": "Default",
"GameMode": 3,
"YourSkillChatInfo": true,
@ -196,7 +196,7 @@
"Permissions": "@jRandomSkills/admin"
},
"CheckEntityCommand": {
"Alias": "ent, entity, checkentity, check_entity, sprawdzencje, checkent, check_ent, 检查实体, 检查实体",
"Alias": "ent, entity, checkentity, check_entity, sprawdzencje, checkent, check_ent, 检查实体",
"Permissions": "@jRandomSkills/owner"
}
},
@ -220,7 +220,7 @@
"TimeToNextVoting": 15.0,
"TimeToNextSameVoting": 500.0,
"MinimumPlayersToStartVoting": 2,
"Alias": "map, mapa, changemap, zmienmape, zmienmape, mudarMapa, trocarMapa, 更换地图, 更改地图",
"Alias": "map, mapa, changemap, zmienmape, mudarMapa, trocarMapa, 更换地图, 更改地图",
"Permissions": "@jRandomSkills/admin"
},
"SwapCommand": {