安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








scripts/5_Mission/gui\gesturesmenu.c(162): Method 'OnMenuRelease' is protected
The bug:
In gesturesmenu.c the OnMenuRelease is called by "static void CloseMenu()", and this is not allowed, A static method (like CloseMenu) is considered "outside" the class instance and cannot access protected members of an instance.
This potentially could fix it:
modded class GesturesMenu
{
override static void CloseMenu()
{
//execute on menu release
//instance.OnMenuRelease(); // <-- Bugged line commented out. Method is protected and marked as deprecated in the base file.
GetGame().GetUIManager().Back();
}
}
UPDATE: Even though I'm loading my mod after Zen's sleeping mod. I know get the error not from the client but on server side :( I must admit that I just started modding a few weeks ago...
Here's the crash log, with some info redacted, in case that helps:
---------------------------------------------
Log started at 04.11. 11:05:33
------------------------------------
WIN-**************, 04.11 2025 11:05:33
Can't compile "Mission" script module!
scripts/5_Mission/gui\gesturesmenu.c(162): Method 'OnMenuRelease' is protected
Runtime mode
CLI params: config D:\TCAFiles\Users\*******\*******\Config.cfg ip ***.***.***.*** port 2517 mod @CF;@VPPAdminTools;@DeerIsle;@Winter Chernarus V2;@Winter Livonia;@Winter DeerIsle;@MedicalAttentionCompatible;@crossbag;@Advanced Crafting;@JunkYardDog;@Code Lock;@MuchCarKey;@Zens Repairable Wells;@NBC Over Clothes;@RadioChat;@Vanilla Overhaul;@ZenVirus;@DayZ Information Panel;@Ruckz Air Drop;@Plane Crash;@128 Effect Area Height Fix;@Zens Sleeping Mod servermod @More Durable Clothing;@Knock Knock Zombies;@Fuel_serverMod;@Burn Campfire Anywhere profiles D:\TCAFiles\Users\*******\*******\SC name SC BEpath D:\TCAFiles\Users\*******\*******\SC\Battleye limitFPS 0