[CS:S/CS:GO] Exclusive Deathrun Manager для CSS и CS:GO

PahanNAMBAWAN

Участник
Сообщения
53
Реакции
3
Как отключить сообщение о том, что если выйдешь из команды Т - получишь бан?
 

cfgmazda

Участник
Сообщения
53
Реакции
34

Джускaси

Участник
Сообщения
259
Реакции
40
Ошибки
L 10/24/2014 - 10:15:42: SourceMod error session started
L 10/24/2014 - 10:15:42: Info (map "deathrun_stone_extended") (file "errors_20141024.log")
L 10/24/2014 - 10:15:42: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 10/24/2014 - 10:15:42: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 10/24/2014 - 10:15:42: [SM] [0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()

Добавлено через 49 минут
Почему когда я один на сервере могу заходить за любую команду даже в наблюдатели ??

Добавлено через 5 часов 35 минут
Как можно увеличить количество скаутов ??
 
Последнее редактирование модератором:

DexKekcuk #13

Участник
Сообщения
628
Реакции
69
А можно ли несколько звуков поставить на победу КТ и Т? В этом плагине?
Если да, то как?

или только все таки 1 на КТ, и 1 на Т?

Добавлено через 2 часа 21 минуту
И не работает автобан вышедщего Террориста

Добавлено через 2 часа 45 минут
И афк не кидает в спеки

PHP:
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()
 
Последнее редактирование:

cfgmazda

Участник
Сообщения
53
Реакции
34
Как можно увеличить количество скаутов ??
Почему когда я один на сервере могу заходить за любую команду даже в наблюдатели ??

cx_deathrun_scoutsystem '1' - Система скаутов если поставить 0, то любой игрок сможет получить 1 скаут в раунде.
cx_deathrun_autoforce '0' - Если игроков на сервере 0, автоматически перебрасывает игрока в команду ? (0 - Куда сам выберет, 1 - к Террористам, 2 - к Контр-Террористам)

А можно ли несколько звуков поставить на победу КТ и Т? В этом плагине? Если да, то как? или только все таки 1 на КТ, и 1 на Т? Добавлено через 2 часа 21 минуту И не работает автобан вышедщего Террориста Добавлено через 2 часа 45 минут И афк не кидает в спеки

для установки нескольких звуков существуют другие плагины например как 'End Round Sound' - для CSS или для CS:GO 'Round Sound 1.0'
автобан будет работать при условии если у Вас на сервере стоит система 'Source Bans 1.4.+'
афк в спеки не будет кидать 'т.к. на картах (DR / Deathrun) стоят уже Анти-Афк моды через некоторое время после начала раунда. (Если Вам этого недостаточно Вы можете скачать 'AFK Manager 3.5.3'




Ошибка 'Round Start' скорее всего после обновления CS:GO, будет время разберусь!


Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
[0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
Displaying call stack trace for plugin "deathrun_manager.smx":
[0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
 

DexKekcuk #13

Участник
Сообщения
628
Реакции
69
для установки нескольких звуков существуют другие плагины например как 'End Round Sound' - для CSS

Когда я отключаю твои звуки, CT и T, у меня сервер не запускается, а вот если полностьюю отключать звуки, то это не вариант, нужнен звук TimerEnd и Respawn, так что как то, 2 звука над выключить, я просто удаляю путь к звуку и все, может я не правильно делаю?
 

DexKekcuk #13

Участник
Сообщения
628
Реакции
69
А как тогда выключить звук именно на Т и на КТ, а на TimeEnd и respawn Оставить?
 

AlmazON

Не путать с самим yand3xmail
Сообщения
5,099
Реакции
2,755
как тогда выключить звук именно на Т и на КТ
Добавить такую "защиту" + проверку для самой функции воспроизведения этих звуков (иначе будет каждый раз спамить в консоли сервера, что звук не кэширован).
 
Сообщения
98
Реакции
17
Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
[0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
Displaying call stack trace for plugin "deathrun_manager.smx":
[0] Line 20, deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()


У меня вот такое пишет в Логах и в консоле CSS v84 SM,MM 1.6.3 как исправить подскажи?
 

DexKekcuk #13

Участник
Сообщения
628
Реакции
69
Александр Афанасьев, Выше я писал эту ошибку, автор сказал попытается исправить в новой версии
 

AlmazON

Не путать с самим yand3xmail
Сообщения
5,099
Реакции
2,755
пробывал ковырять не получается исправить
Что там исправлять то? Ставишь проверку if (event != INVALID_HANDLE) перед
который на 20 строке и всё. Где event - буква(ы) за открывающейся скобкой после GetEventInt.
Но, в целом, в событии вообще не должно быть таких ошибок. Это может устранить последствие, но не ликвидирует причину ошибки.
 
Сообщения
98
Реакции
17
Короче дело такого рода,поставил Инфинити джамп и Бхоп на сервер,ошибка пропала,вот так вот без всяких исправлений!
 

pihmih

Участник
Сообщения
512
Реакции
23
Регулярный спам ошибки в error.log sourcemod
deathrun_manager/action_roundstart.sp::DR_Action_RoundStart()
L 11/24/2014 - 20:23:28: [SM] Native "GetEventInt" reported: Invalid game event handle 0 (error 4)
L 11/24/2014 - 20:23:28: [SM] Displaying call stack trace for plugin "deathrun_manager.smx":
L 11/24/2014 - 20:23:28: [SM] [0] Line 20,

Добавлено через 21 час 11 минут
Что там исправлять то? Ставишь проверку if (event != INVALID_HANDLE) перед

который на 20 строке и всё. Где event - буква(ы) за открывающейся скобкой после GetEventInt.
Но, в целом, в событии вообще не должно быть таких ошибок. Это может устранить последствие, но не ликвидирует причину ошибки.
Можешь подробнее написать, как будет выглядеть строка 20. У меня не компилируется после исправлений.
 
Последнее редактирование:

Sokol123

Участник
Сообщения
2
Реакции
0
cx_deathrun_fixrestart поставил значение 0 но бот остался. Как его убрать?
 

AlmazON

Не путать с самим yand3xmail
Сообщения
5,099
Реакции
2,755
как будет выглядеть
Полностью заменить содержимое файла action_roundstart.sp на это:
PHP:
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;
			}
		}
	}
}
В deathrun_manager.sp найти с 212 строчки:
PHP:
	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);
и лучше заменить на:
PHP:
	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);
Оффтоп
 
Сверху Снизу