Y
ybgr111
Это в конфиге плагина.cx_deathrun_enable 0 - это куда писать?
а cx_deathrun_enable 1 в map.cfg
Это в конфиге плагина.cx_deathrun_enable 0 - это куда писать?
в начале темы же все написано.Как отключить сообщение о том, что если выйдешь из команды Т - получишь бан?
cx_deathrun_banmessage '120' - Время в секундах напоминания о бане.
L 11/02/2014 - 21:56:11: SourceMod error session started
L 11/02/2014 - 21:56:11: Info (map "deathrun_holyshit_stable4") (file "errors_20141102.log")
L 11/02/2014 - 21:56:11: [ncs_shop/ncs_shop.smx] Unable to create the player, reason: column steamid is not unique
L 11/02/2014 - 22:07:15: Error log file session closed.
L 11/02/2014 - 22:14:40: SourceMod error session started
L 11/02/2014 - 22:14:40: Info (map "deathrun_holyshit_hardmode_v2") (file "errors_20141102.log")
L 11/02/2014 - 22:14:40: [SM] Native "GetArrayCell" reported: Invalid index 0 (count: 0)
L 11/02/2014 - 22:14:40: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:14:40: [SM] [0] Line 49, deathrun_manager/action_timers.sp::ChooseTerrorist()
L 11/02/2014 - 22:17:51: [SM] Native "GetArrayCell" reported: Invalid index 0 (count: 0)
L 11/02/2014 - 22:17:51: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:17:51: [SM] [0] Line 49, deathrun_manager/action_timers.sp::ChooseTerrorist()
L 11/02/2014 - 22:38:46: SourceMod error session started
L 11/02/2014 - 22:38:46: Info (map "deathrun_holyshit_stable4") (file "errors_20141102.log")
L 11/02/2014 - 22:38:46: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:38:46: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:38:46: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:39:45: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:39:45: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:39:45: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:40:26: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:40:26: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:40:26: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:41:11: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:41:11: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:41:11: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:41:23: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:41:23: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:41:23: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:41:33: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:41:33: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:41:33: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:42:39: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:42:39: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:42:39: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:43:43: [SM] Native "GetArrayCell" reported: Invalid index 0 (count: 0)
L 11/02/2014 - 22:43:43: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:43:43: [SM] [0] Line 49, deathrun_manager/action_timers.sp::ChooseTerrorist()
L 11/02/2014 - 22:43:45: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:43:45: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:43:45: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:44:57: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:44:57: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:44:57: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:47:31: SourceMod error session started
L 11/02/2014 - 22:47:31: Info (map "deathrun_holyshit_stable4") (file "errors_20141102.log")
L 11/02/2014 - 22:47:31: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:47:31: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:47:31: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:48:13: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:48:13: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:48:13: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:49:15: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:49:15: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:49:15: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:49:26: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:49:26: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:49:26: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:50:54: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:50:54: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:50:54: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:58:16: SourceMod error session started
L 11/02/2014 - 22:58:16: Info (map "deathrun_holyshit_stable4") (file "errors_20141102.log")
L 11/02/2014 - 22:58:16: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:58:16: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:58:16: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:59:02: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:59:02: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:59:02: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:59:07: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:59:07: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:59:07: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 22:59:39: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 22:59:39: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 22:59:39: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:00:00: Error log file session closed.
L 11/02/2014 - 23:00:00: SourceMod error session started
L 11/02/2014 - 23:00:00: Info (map "deathrun_Minecraft_Realm_Final") (file "errors_20141102.log")
L 11/02/2014 - 23:00:00: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:00:00: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:00:00: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:00:30: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:00:30: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:00:30: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:00:52: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:00:52: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:00:52: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:01:39: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:01:39: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:01:39: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:02:10: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:02:10: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:02:10: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:02:28: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:02:28: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:02:28: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:03:01: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:03:01: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:03:01: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:03:53: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:03:53: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:03:53: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:04:04: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:04:04: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:04:04: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:05:16: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:05:16: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:05:16: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:06:21: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:06:21: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:06:21: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:06:31: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:06:31: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:06:31: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:07:37: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:07:37: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:07:37: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:08:53: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:08:53: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:08:53: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:09:17: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:09:17: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:09:17: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:12:23: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:12:23: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:12:23: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:13:53: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:13:53: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:13:53: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:14:59: Error log file session closed.
L 11/02/2014 - 23:14:59: SourceMod error session started
L 11/02/2014 - 23:14:59: Info (map "deathrun_minecraft_beta_fix") (file "errors_20141102.log")
L 11/02/2014 - 23:14:59: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:14:59: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:14:59: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:15:19: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:15:19: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:15:19: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:15:32: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:15:32: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:15:32: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:15:47: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:15:47: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:15:47: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:16:55: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:16:55: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:16:55: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:17:00: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:17:00: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:17:00: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:17:32: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:17:32: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:17:32: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:17:52: [SM] Native "GetArrayCell" reported: Invalid index 0 (count: 0)
L 11/02/2014 - 23:17:52: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:17:52: [SM] [0] Line 49, deathrun_manager/action_timers.sp::ChooseTerrorist()
L 11/02/2014 - 23:17:53: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:17:53: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:17:53: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:18:03: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:18:03: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:18:03: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/02/2014 - 23:24:26: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/02/2014 - 23:24:26: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/02/2014 - 23:24:26: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
Как можно увеличить количество скаутов ??
Почему когда я один на сервере могу заходить за любую команду даже в наблюдатели ??
А можно ли несколько звуков поставить на победу КТ и Т? В этом плагине? Если да, то как? или только все таки 1 на КТ, и 1 на Т? Добавлено через 2 часа 21 минуту И не работает автобан вышедщего Террориста Добавлено через 2 часа 45 минут И афк не кидает в спеки
для установки нескольких звуков существуют другие плагины например как 'End Round Sound' - для CSS
Да, неправильно. Не имея защиты от таких "пустот", сервер может постоянно перезагружаться.я просто удаляю путь к звуку и все, может я не правильно делаю?
Добавить такую "защиту" + проверку для самой функции воспроизведения этих звуков (иначе будет каждый раз спамить в консоли сервера, что звук не кэширован).как тогда выключить звук именно на Т и на КТ
Написанное будет пытаться загрузиться игрокам + вышеуказанный спам. Только исходник менять, если не предусмотрено автором.командой //
Будем ждать сам пробывал ковырять не получается исправить!Александр Афанасьев, Выше я писал эту ошибку, автор сказал попытается исправить в новой версии
Что там исправлять то? Ставишь проверку if (event != INVALID_HANDLE) передпробывал ковырять не получается исправить
который на 20 строке и всё. Где event - буква(ы) за открывающейся скобкой после GetEventInt.GetEventInt
Можешь подробнее написать, как будет выглядеть строка 20. У меня не компилируется после исправлений.Что там исправлять то? Ставишь проверку if (event != INVALID_HANDLE) перед
который на 20 строке и всё. Где event - буква(ы) за открывающейся скобкой после GetEventInt.
Но, в целом, в событии вообще не должно быть таких ошибок. Это может устранить последствие, но не ликвидирует причину ошибки.
Полностью заменить содержимое файла action_roundstart.sp на это:как будет выглядеть
public DR_Action_RoundStart(Handle:event, String:name[], bool:dontBroadcast)
{
if (GetConVarBool(dr_active)) {
if (GetConVarBool(dr_scouts))
ResetScouts();
dr_ForceTerrorist = 0;
if (GetConVarBool(dr_respawn) && GetConVarInt(dr_respawn) > 0) {
CreateTimer(GetConVarFloat(dr_respawn), EndRespawnTimer);
RespawnTime = true;
}
for (new i = 1; i <= MaxClients; i++) {
if (IsClientInGame(i) && IsFakeClient(i)) {
ChangeClientTeam(i, 1);
}
}
if (GetConVarBool(dr_forceroundend)) {
if (RouneEndTimer != INVALID_HANDLE) {
KillTimer(RouneEndTimer);
}
if (event != INVALID_HANDLE) RouneEndTimer = CreateTimer(float(GetEventInt(event, "timelimit")), RoundEndTimerActivate);
}
}
for (new i = 1; i <= MaxClients; i++) {
FakeTer[i] = false;
if (NoRandomNum[i] > 0) {
NoRandomNum[i]--;
if (NoRandomNum[i] < -1) {
NoRandomNum[i] = 0;
}
}
}
}
HookEventEx("player_death", DR_Action_Death, EventHookMode_Pre);
HookEventEx("round_end", DR_Action_RoundEnd, EventHookMode);
HookEventEx("round_start", DR_Action_RoundStart, EventHookMode);
HookEvent("player_spawn", DR_Action_Spawn, EventHookMode);
HookEvent("player_disconnect", DR_Action_Disconnect, EventHookMode_Pre);
HookEvent("player_team", DR_BlockTeamMessage, EventHookMode_Pre);
HookEvent("player_jump", DR_PlayerJump);
HookEvent("player_death", DR_Action_Death, EventHookMode_Pre);
HookEvent("round_end", DR_Action_RoundEnd);
HookEvent("round_start", DR_Action_RoundStart);
HookEvent("player_spawn", DR_Action_Spawn);
HookEvent("player_disconnect", DR_Action_Disconnect, EventHookMode_Pre);
HookEvent("player_team", DR_BlockTeamMessage, EventHookMode_Pre);
HookEvent("player_jump", DR_PlayerJump);