Не работает плагин реклама.

Сообщения
30
Реакции
1
Ошибка
Не работает плагин. Ошибок нет.
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.5263 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Oct 27 2019 16:23:31
Built from: https://github.com/alliedmodders/amxmodx/commit/15a14a0
Build ID: 5263:15a14a0
Core mode: JIT+ASM32
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.692-dev-mpatch
Build date: 18:13:20 Sep 30 2019 (1997)
Build from: https://github.com/dreamstalker/rehlds/commit/e7232be
ReGamedll
ReGameDLL version: 5.12.0.425-dev
Build date: 08:48:23 Nov 2 2019
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/fd06d65
Версия Metamod
Metamod v1.21p37  2013/05/30 (5:13)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v37
by Jussi Kivilinna
http://metamod-p.sourceforge.net/
compiled: May 30 2013, 11:41:16 EET (optimized)
Список метамодулей
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] VoiceTranscoder RUN - VoiceTranscoder. v2017RC4 ini ANY ANY
[ 2] Reunion RUN - reunion_mm_i386. v0.1.0.9 ini Start Never
[ 3] AMX Mod X RUN - amxmodx_mm_i386. v1.9.0.5 ini Start ANY
[ 4] SafeNameAndChat RUN - SafeNameAndChat. v1.1 ini ANY ANY
[ 5] ReAuthCheck RUN - reauthcheck_mm_i v0.1.6 ini Start Never
[ 6] Rechecker RUN - rechecker_mm_i38 v2.5 ini Chlvl ANY
[ 7] WHBlocker RUN - whblocker_mm_i38 v1.5.696 ini Chlvl ANY
[ 8] ReSemiclip RUN - resemiclip_mm_i3 v2.3.9 ini Chlvl ANY
[ 9] MySQL RUN - mysql_amxx_i386. v1.9.0.5 pl3 ANY ANY
[10] ReAimDetector RUN - reaimdetector_am v0.2.2 pl3 ANY Never
[11] FakeMeta RUN - fakemeta_amxx_i3 v1.9.0.5 pl3 ANY ANY
[12] ReAPI RUN - reapi_amxx_i386. v5.11.0. pl3 ANY Never
[13] Engine RUN - engine_amxx_i386 v1.9.0.5 pl3 ANY ANY
[14] Ham Sandwich RUN - hamsandwich_amxx v1.9.0.5 pl3 ANY ANY
[15] SxGeo RUN - sxgeo_amxx_i386. v2.2 pl3 ANY Never
[16] CStrike RUN - cstrike_amxx_i38 v1.9.0.5 pl3 ANY ANY
[17] CSX RUN - csx_amxx_i386.so v1.9.0.5 pl3 ANY ANY
[18] Fun RUN - fun_amxx_i386.so v1.9.0.5 pl3 ANY ANY
18 plugins, 18 running
Список плагинов
Currently loaded plugins:
name version author file status
[ 1] GameCMS_API 5.3.5 zhorzh78 gamecms_api_5.3 running
[ 2] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 3] FreshBans 1.4.2b kanagava fresh_bans_142_ running
[ 4] WebHS 0.1 kanagava fb_web_online.a running
[ 5] GameCMS_GagManager 2.2.3 zhorzh78 gamecms_gagmana running
[ 6] [ReAMX] AdminCmd RBS 19.11.04 SKAJIbnEJIb & AM admincmd_rbs.am running
[ 7] Menus Front-End 18.12.18 AMXX Dev Team & amxmodmenu_rbs. running
[ 8] Maps Menu 1.9.0.5262 AMXX Dev Team mapsmenu.amxx running
[ 9] Mockery Of Players 15.07.15 Sanlerus mockery_of_play running
[ 10] Menu System 0.1.2 serfreeman1337 menuSystem.amxx running
[ 11] Map Manager: Core 3.0.4 Mistrick map_manager_cor running
[ 12] Map Manager: Scheduler 0.1.2 Mistrick map_manager_sch running
[ 13] Map Manager: Effects 0.0.8 Mistrick map_manager_eff running
[ 14] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
[ 15] Map Manager: Nominatio 0.1.0 Mistrick map_manager_nom running
[ 16] Map Manager: Rtv 0.1.0 Mistrick map_manager_rtv running
[ 17] [SxGeo] Connect Info 1.0 s1lent sxgeo_connect_i running
[ 18] Chat Manager 1.1.2-16 Mistrick chatmanager.amx running
[ 19] Chat Manager: Addon 0.0.4-70 Mistrick chatmanager_add running
[ 20] Advanced Experience Sy 0.5 Vega serfreeman1337 aes_main.amxx running
[ 21] AES: CStrike Addon 0.5 Vega serfreeman1337 aes_exp_cstrike running
[ 22] AES: Admin Tools 0.5 Vega serfreeman1337 aes_exp_editor. running
[ 23] AES: Informer 0.5 Vega serfreeman1337 aes_informer.am running
[ 24] AES: StatsX 0.5.9 [REA serfreeman1337/s aes_statsx_cstr running
[ 25] Advanced Kill Assists 0.9 Spection next21_kill_ass running
[ 26] [ReAMX] Ultimate Weapo 19.11.02 SKAJIbnEJIb ultimate_weapon running
[ 27] ReTalisman 1.4.2 gyxoBka ReTalisman.amxx running
[ 28] [ReAMX] Ultimate Model 19.09.20 SKAJIbnEJIb ultimate_models running
[ 29] [ReAMX] VIP RBS 19.11.02 SKAJIbnEJIb vip_rbs.amxx running
[ 30] [ReAMX] Stimulation RB 19.11.02 SKAJIbnEJIb stimulation_rbs running
[ 31] [ReAPI] Block 'Fire in 0.0.1 sergrib reapi_block_FIT running
[ 32] [ReAPI] Silly C4 2.0 F@ntoM & Cheap_S reapi_sillyc4.a running
[ 33] Parachute Lite [ReAPI] 11.0 Leo_[BH] parachute_lite. running
[ 34] Reklama 09.07.2019 mx?! reklama.amxx running
[ 35] Mode 2x2 2.5re s1lent mode.amxx running
[ 36] [ReAPI] Damager 1.1 phe damager_1.amxx running
[ 37] resetscore(ReAPI) 1.0 Phantom resetscore.amxx running
[ 38] AFK Control ReNew 1.2(a) neygomon afk_control.amx running
[ 39] [ReAPI] No Team Flash 0.0.3 Vaqtincha no_team_flash.a running
[ 40] [ReAMX] Snipers RBS 19.09.10 SKAJIbnEJIb snipers_rbs.amx running
[ 41] [ReAPI] Round Balancer 1.1 neygomon round_balancer. running
[ 42] Lite Admin ESP 1.1 neygomon, AcE admin_esp.amxx running
[ 43] C4 Timer on roundtime 0.3.3a neygomon c4timer.amxx running
[ 44] Smoke HealthNade 1.1 medusa + ApXuTek Smoke_HealthNad running
[ 45] [ReAMX] Ultimate Knife 19.11.12 SKAJIbnEJIb ultimate_knife. running
45 plugins, 45 running
Автор плагина
mx?!
Версия плагина
09.07.2019
Исходный код
/*
Plugin: 'Reklama'

Plugin author: http://t.me/blacksignature / https://dev-cs.ru/members/1111/

Plugin thread: https://dev-cs.ru/resources/435/

Description:
This plugin allows you to:
* Advertise - display predefined chat messages to all with a specified frequency.
* Autorespond - reply to certain player chat messages with predefined chat messages.

Supported features:
* ML keys and wildcard patterns (see 'Setup' section in plugin thread)
* Colored messages
* Mode-based (by cvar value) message output
* Random start position
* Random delay between message output
* Multiple messages at once (multi-output)
* Sounds
* 'On-the-fly' Config reloading
* Players can disable messages for themselves

Credits:
* wopox1337 -> https://dev-cs.ru/members/4/
* fantom -> https://dev-cs.ru/members/16/
* Thx to all who helps me with ideas and bugreports

Requirements:
* Amx Mod X 1.9 - build 5241, or higher

How to use:
1) Install this plugin
2) Tweak 'reklama.ini' config
3) Run plugin
4) Visit 'configs/plugins' to tweak config
5) Change map to reload config
6) Enjoy!

NOTE: It's recomended to place this plugin in 'plugins.ini' above your chat manager

Change history:
29.03.2018:
* Initial public release
06.04.2018:
Added:
* Cvar 'reklama_freq'
Removed:
* Command 'reklama_mode'
* Initialization delay
Fixed:
* Minor bugfixes
29.11.2018:
Added:
* Cvar 'reklama_for_all'
* Cvar 'reklama_mode'
* Ability to disable messages ('say /reklama')
* Option 'CHAT_PREFIX'
Changed:
* Config structure -> added argument 'mode'
29.11.2018 v2:
Added:
* Autoresponder
30.11.2018:
Added:
* Option 'CMD_BLOCK_AUTORESPOND'
* Option 'RANDOM_FREQ'
* Option 'USE_SOUND'
Changed:
* client_cmd() -> func_SendAudio()
* Sound 'ambience/warn1' replaced with 'buttons/button2'
Removed;
* Option 'USE_PRECACHE'
30.11.2018 v2:
Fixed:
* Critical bugfix. Thx zhorzh78 [ https://dev-cs.ru/members/326/ ]
09.07.2019:
Added:
* Wildcard patterns support
* ML-keys support for config messages
Changed:
* Divider '|' for autoresponder pattern, with you can set multiple patterns for one message
* Config format -> added argument 'compare'
* Changed config description
* Config description moved to separate file
* Dictionary was updated (only key 'REKLAMA_KEY_1')
Removed:
* Old AMXX versions support. From now plugin requires AMXX 190+
*/

new const PLUGIN_DATE[] = "09.07.2019"

/* ---------------------- SETTINGS START ---------------------- */

// Create cvar config in 'amxmodx/configs/plugins', and execute it?
#define AUTO_CFG

// Hide messages that triggers autoresponder?
// NOTE: It's recomended to place plugin in 'plugins.ini' above your chat manager
#define BLOCK_TRIGGER_MSG

// Allow players to disable messages?
#define CMD_NAME "say /reklama"

// Whether to disable the autoresponder when player personally disable messages
#define CMD_BLOCK_AUTORESPOND

// Prune vault records oldier than this value (in days)
#define OBSOLETE_DAYS 30

// Chat prefix
new const CHAT_PREFIX[] = "" // without prefix
//new const CHAT_PREFIX[] = "^4* "
//new const CHAT_PREFIX[] = "^1[^3Инфо^1] "
//new const CHAT_PREFIX[] = "^1[^4Reklama^1] "

// Use prefix for adverts?
//#define SHOW_PREFIX_WITH_ADS

// Random start position. Useful when you have large config.
// NOTE: Don't forget to set type '2' or '3' for those messages, with you do not want to start
//#define RANDOM_START

// Config file name (in 'amxmodx/configs')
new const ADS_FILE_NAME[] = "reklama.ini"

// Lang file name (in 'amxmodx/data/lang')
new const LANG_NAME[] = "reklama.txt"

// Vault name (in 'amxmodx/data/vault')
stock const VAULT_NAME[] = "reklama"

/* --- SOUND SETTINGS --- */

// Sound support ability
#define USE_SOUND

// Sounds
stock const g_szSounds[][] = {
/* 0 */ "buttons/blip1.wav",
/* 1 */ "buttons/blip2.wav",
/* 2 */ "events/tutor_msg.wav",
/* 3 */ "buttons/button2.wav",
/* 4 */ "buttons/bell1.wav",
/* 5 */ "buttons/button3.wav",
/* 6 */ "buttons/button7.wav",
/* 7 */ "buttons/button9.wav",
/* 8 */ "plats/elevbell1.wav",
/* 9 */ "plats/train_use1.wav",
/* 10 */ "x/x_shoot1.wav"
}

/* ---------------------- SETTINGS END ---------------------- */

#include <amxmodx>
#include <amxmisc>
#include <time>

#if defined CMD_NAME
#include <nvault>
#endif

#define chx charsmax
#define chx_len(%0) charsmax(%0) - iLen

#define CheckPatternBit(%0) (g_eMsgData[MSG_PATTERN_BITSUM] & (1<<%0))
#define SetPatternBit(%0) (g_eMsgData[MSG_PATTERN_BITSUM] |= (1<<%0))

#define MODE_AUTO false
#define MODE_MANUAL true

#define MSG_LEN 191
#define TEMPLATE_LEN 191

new const PLUGIN_PREFIX[] = "[Reklama]"

new const SOUND__BLIP1[] = "sound/buttons/blip1.wav"

const TASKID_TIMER = 1337

enum _:CVAR_ENUM {
Float:CVAR__FREQ_MIN,
Float:CVAR__FREQ_MAX,
CVAR__FOR_ALL,
CVAR__MODE,
CVAR__SOUND_FOR_ALL
}

enum _:MSG_STRUCT {
MSG_BODY[MSG_LEN],
MSG_COLOR_ID,
bool:IS_MULTI_MSG,
MSG_SOUND_ID,
bool:NOT_FOR_START,
MSG_MODE,
bool:AUTORESPOND_ONLY,
bool:MSG_IS_LANG_KEY,
MSG_PATTERN_BITSUM
}

enum _:AR_STRUCT {
AR_MODE,
POINTER,
TEMPLATE[TEMPLATE_LEN]
}

enum {
AR_MODE__EX_INSENS,
AR_MODE__EX_SENS,
AR_MODE__MATCH_INSENS,
AR_MODE__MATCH_SENS
}

enum _:PATTERNS_ENUM {
PATTERN__HOSTNAME,
PATTERN__MAXPLAYERS,
PATTERN__NUMPLAYERS,
PATTERN__SERVER_IP,
PATTERN__MAPNAME,
PATTERN__SV_CONTACT,
PATTERN__TIMELEFT,
PATTERN__PLAYER_NAME,
PATTERN__PLAYER_STEAMID,
PATTERN__PLAYER_IP
}

new const PATTERNS[PATTERNS_ENUM][] = {
"#hostname#",
"#maxplayers#",
"#numplayers#",
"#server_ip#",
"#mapname#",
"#contact#",
"#timeleft#",
"#name#",
"#steamid#",
"#ip#"
}

new g_eCvar[CVAR_ENUM]
new Array:g_aMsgArray
new Array:g_aAuReArray
new g_eMsgData[MSG_STRUCT]
new g_AuReData[AR_STRUCT]
new g_iMsgCount
new g_iAuReCount
new g_iCurPos
new g_iFirstSkipPos
new g_szFilePath[PLATFORM_MAX_PATH]
new g_szBuffer[MAX_AUTHID_LENGTH] // don't decrease it's size!
new g_szMsg[MSG_LEN]

stock g_bDisabled[MAX_PLAYERS + 1]
stock g_hVault
stock g_iMsgSendAudio

/* -------------------- */

public plugin_init() {
register_plugin("Reklama", PLUGIN_DATE, "mx?!")
register_dictionary(LANG_NAME)

/* --- */

bind_pcvar_float( create_cvar( "reklama_freq_min", "60",
.description = "Minimal interval between automatic messages" ),
g_eCvar[CVAR__FREQ_MIN] );

bind_pcvar_float( create_cvar( "reklama_freq_max", "60",
.description = "Maximal interval between automatic messages" ),
g_eCvar[CVAR__FREQ_MAX] );

bind_pcvar_num( create_cvar( "reklama_for_all", "1",
.description = "If 0, alive players do not see the automatic messages" ),
g_eCvar[CVAR__FOR_ALL] );

bind_pcvar_num( create_cvar( "reklama_mode", "0",
.description = "Display mode:^n\
0 - Display all messages^n\
1 - Only those that have 'mode 0' or those that correspond to the current value of this cvar" ),
g_eCvar[CVAR__MODE] );

bind_pcvar_num( create_cvar( "reklama_sound_for_all", "1",
.description = "Sound mode:^n\
0 - Play only for dead players (autorespond sounds will be played anyway)^n\
1 - Play sounds for all players" ),
g_eCvar[CVAR__SOUND_FOR_ALL] );

#if defined AUTO_CFG
AutoExecConfig()
#endif

/* --- */

#if defined USE_SOUND
g_iMsgSendAudio = get_user_msgid("SendAudio")
#endif

/* --- */

#if defined CMD_NAME
g_hVault = nvault_open(VAULT_NAME)
#endif
}

/* -------------------- */

public OnConfigsExecuted() {
g_aAuReArray = ArrayCreate(AR_STRUCT, 1)
register_clcmd("say", "hook_Say")
register_clcmd("say_team", "hook_Say")

/* --- */

func_LoadMessages(MODE_AUTO)

/* --- */

// Status: Total message count, current position
register_srvcmd("reklama_status", "srvcmd_CmdShowStatus")
// Print specified message (example: reklama_show 5)
register_srvcmd("reklama_show", "srvcmd_CmdShowCustomMessage")
// Reload messages config
register_srvcmd("reklama_reload", "srvcmd_CmdReloadFile")

/* --- */

#if defined CMD_NAME
register_clcmd(CMD_NAME, "clcmd_ToggleState")

if(g_hVault == INVALID_HANDLE) {
return
}

#if defined OBSOLETE_DAYS
nvault_prune(g_hVault, 0, get_systime() - (OBSOLETE_DAYS * SECONDS_IN_DAY))
#endif
#endif
}

/* -------------------- */

public hook_Say(id) {
#if defined CMD_BLOCK_AUTORESPOND
if(!g_iAuReCount || g_bDisabled[id]) {
#else
if(!g_iAuReCount) {
#endif
return PLUGIN_CONTINUE
}

new szMessage[MSG_LEN]

read_args(szMessage, chx(szMessage))
remove_quotes(szMessage)
trim(szMessage)

for(new i; i < g_iAuReCount; i++) {
ArrayGetArray(g_aAuReArray, i, g_AuReData)

switch(g_AuReData[AR_MODE]) {
case AR_MODE__EX_INSENS: {
if(containi(szMessage, g_AuReData[TEMPLATE]) == -1) {
continue
}
}
case AR_MODE__EX_SENS: {
if(contain(szMessage, g_AuReData[TEMPLATE]) == -1) {
continue
}
}
case AR_MODE__MATCH_INSENS: {
new iPos = containi(szMessage, g_AuReData[TEMPLATE])

if(iPos == -1) {
continue
}

if(iPos && szMessage[iPos - 1] != ' ') {
continue
}

iPos = strlen(g_AuReData[TEMPLATE]) + iPos // calculate end pos of pattern

if(szMessage[iPos] && szMessage[iPos] != ' ') {
continue
}
}
case AR_MODE__MATCH_SENS: {
new iPos = contain(szMessage, g_AuReData[TEMPLATE])

if(iPos == -1) {
continue
}

if(iPos && szMessage[iPos - 1] != ' ') {
continue
}

iPos = strlen(g_AuReData[TEMPLATE]) + iPos // calculate end pos of pattern

if(szMessage[iPos] && szMessage[iPos] != ' ') {
continue
}
}
}

ArrayGetArray(g_aMsgArray, g_AuReData[POINTER], g_eMsgData)

if(g_eMsgData[MSG_MODE] && g_eCvar[CVAR__MODE] != g_eMsgData[MSG_MODE]) {
return PLUGIN_CONTINUE
}

func_ShowToSingle(id)

while(g_eMsgData[IS_MULTI_MSG]) {
ArrayGetArray(g_aMsgArray, ++g_AuReData[POINTER], g_eMsgData)
func_ShowToSingle(id)
}

#if defined BLOCK_TRIGGER_MSG
return PLUGIN_HANDLED
#else
return PLUGIN_CONTINUE
#endif
}

return PLUGIN_CONTINUE
}

/* -------------------- */

stock func_ShowToSingle(pPlayer) {
if(g_eMsgData[MSG_IS_LANG_KEY]) {
func_ReplaceML(pPlayer)
func_ReplacePatterns(pPlayer)
}
else {
copy(g_szMsg, chx(g_szMsg), g_eMsgData[MSG_BODY])

if(g_eMsgData[MSG_PATTERN_BITSUM]) {
func_ReplacePatterns(pPlayer)
}
}

#if defined SHOW_PREFIX_WITH_ADS
client_print_color(pPlayer, g_eMsgData[MSG_COLOR_ID], "%s^1%s", CHAT_PREFIX, g_szMsg)
#else
client_print_color(pPlayer, g_eMsgData[MSG_COLOR_ID], "^1%s", g_szMsg)
#endif

#if defined USE_SOUND
if(g_eMsgData[MSG_SOUND_ID] != -1) {
func_SendAudio(pPlayer, g_szSounds[ g_eMsgData[MSG_SOUND_ID] ])
}
#endif
}

/* -------------------- */

#if defined CMD_NAME
public clcmd_ToggleState(pPlayer) {
g_bDisabled[pPlayer] = !g_bDisabled[pPlayer]
#if defined USE_SOUND
func_SendAudio(pPlayer, SOUND__BLIP1)
#endif

client_print_color( pPlayer, print_team_red, "%s^1%L %s%L", CHAT_PREFIX, pPlayer, "REKLAMA_STATE",
g_bDisabled[pPlayer] ? "^3" : "^4", pPlayer, g_bDisabled[pPlayer] ? "REKLAMA_OFF" : "REKLAMA_ON" );

if(g_hVault == INVALID_HANDLE) {
return PLUGIN_HANDLED
}

get_user_authid(pPlayer, g_szBuffer, chx(g_szBuffer))

if(g_bDisabled[pPlayer]) {
nvault_set(g_hVault, g_szBuffer, "1")
}
else {
nvault_remove(g_hVault, g_szBuffer)
}

return PLUGIN_HANDLED
}
#endif

/* -------------------- */

public func_LoadMessages(bool:bMode) {
if(bMode == MODE_AUTO) {
g_aMsgArray = ArrayCreate(MSG_STRUCT)

new iLen = get_localinfo("amxx_configsdir", g_szFilePath, chx(g_szFilePath))
formatex(g_szFilePath[iLen], chx_len(g_szFilePath), "/%s", ADS_FILE_NAME)
}

if(!file_exists(g_szFilePath)) {
set_fail_state("Error, can't find '%s'", ADS_FILE_NAME)
}

new iFile = fopen(g_szFilePath, "r")

if(!iFile) {
set_fail_state("Cannot read '%s' (wrong chmod?)", ADS_FILE_NAME)
}

new szString[MSG_LEN * 2], szMode[3], szType[3], szSound[3],
szColor[2], szAuRe[2], szAuReMode[2], szTemplate[TEMPLATE_LEN];

while(!feof(iFile)) {
fgets(iFile, szString, chx(szString))

if(!isdigit(szString[0])) {
continue
}

g_AuReData[TEMPLATE][0] = EOS

parse( szString, szMode, chx(szMode), szType, chx(szType), szSound, chx(szSound), szColor, chx(szColor),
szAuRe, chx(szAuRe), szAuReMode, chx(szAuReMode), g_AuReData[TEMPLATE], TEMPLATE_LEN - 1, g_eMsgData[MSG_BODY], MSG_LEN - 1 );

if(g_AuReData[TEMPLATE][0]) {
g_AuReData[AR_MODE] = str_to_num(szAuReMode)
g_AuReData[POINTER] = g_iMsgCount

if(contain(g_AuReData[TEMPLATE], "|") != -1) {
copy(szTemplate, chx(szTemplate), g_AuReData[TEMPLATE])

while(strtok2(szTemplate, g_AuReData[TEMPLATE], TEMPLATE_LEN - 1, szTemplate, chx(szTemplate), .token = '|', .trim = 0) != -1) {
ArrayPushArray(g_aAuReArray, g_AuReData)
g_iAuReCount++
}

// Push remaining part (after last iteration) too
ArrayPushArray(g_aAuReArray, g_AuReData)
g_iAuReCount++
}
else {
ArrayPushArray(g_aAuReArray, g_AuReData)
g_iAuReCount++
}
}

if(equal(g_eMsgData[MSG_BODY], "REKLAMA_KEY", 11)) {
g_eMsgData[MSG_IS_LANG_KEY] = true
g_eMsgData[MSG_PATTERN_BITSUM] = -1 // (1<<0) .. (1<<31)
}
else {
g_eMsgData[MSG_IS_LANG_KEY] = false

replace_string(g_eMsgData[MSG_BODY], MSG_LEN - 1, "!n", "^1")
replace_string(g_eMsgData[MSG_BODY], MSG_LEN - 1, "!t", "^3")
replace_string(g_eMsgData[MSG_BODY], MSG_LEN - 1, "!g", "^4")

g_eMsgData[MSG_PATTERN_BITSUM] = 0
func_FindPatterns()
}

g_eMsgData[MSG_MODE] = str_to_num(szMode)

#if defined RANDOM_START
switch(szType[0]) {
case '0': {
g_eMsgData[IS_MULTI_MSG] = false
g_eMsgData[NOT_FOR_START] = false
}
case '1': {
g_eMsgData[IS_MULTI_MSG] = true
g_eMsgData[NOT_FOR_START] = false
}
case '2': {
g_eMsgData[IS_MULTI_MSG] = true
g_eMsgData[NOT_FOR_START] = true
}
case '3': {
g_eMsgData[IS_MULTI_MSG] = false
g_eMsgData[NOT_FOR_START] = true
}
}
#else
g_eMsgData[IS_MULTI_MSG] = (szType[0] == '1' || szType[0] == '2') ? true : false
#endif

g_eMsgData[MSG_SOUND_ID] = str_to_num(szSound) - 1

switch(szColor[0]) {
case 'W': g_eMsgData[MSG_COLOR_ID] = print_team_grey
case 'R': g_eMsgData[MSG_COLOR_ID] = print_team_red
case 'B': g_eMsgData[MSG_COLOR_ID] = print_team_blue
default: g_eMsgData[MSG_COLOR_ID] = print_team_default
}

g_eMsgData[AUTORESPOND_ONLY] = (szAuRe[0] == '0') ? false : true

ArrayPushArray(g_aMsgArray, g_eMsgData)
g_iMsgCount++
}

fclose(iFile)

if(g_iMsgCount) {
#if defined RANDOM_START
new iTryCount

while(g_iMsgCount) {
if(++iTryCount == g_iMsgCount) { // wrong cfg, or just bad luck?
g_iCurPos = 0
break
}

g_iCurPos = random_num(0, g_iMsgCount - 1)
ArrayGetArray(g_aMsgArray, g_iCurPos, g_eMsgData)

if(g_eMsgData[NOT_FOR_START]) {
continue
}

break
}
#endif
func_SetTask()
}

if(bMode == MODE_AUTO) {
server_print("%s %i messages to show", PLUGIN_PREFIX, g_iMsgCount)
}
}

/* -------------------- */

public func_PrintMessage(iTaskID) {
if(g_iCurPos == g_iMsgCount) {
g_iCurPos = 0
}

ArrayGetArray(g_aMsgArray, g_iCurPos++, g_eMsgData)

if(g_eMsgData[AUTORESPOND_ONLY] && iTaskID) {
func_PrintMessage(iTaskID)
return
}

// Protection against infinite recursion
if(g_eCvar[CVAR__MODE] && g_eMsgData[MSG_MODE] && g_eMsgData[MSG_MODE] != g_eCvar[CVAR__MODE] && iTaskID) {
if(!g_iFirstSkipPos) {
g_iFirstSkipPos = g_iCurPos
}
else if(g_iFirstSkipPos == g_iCurPos) {
g_iFirstSkipPos = 0
func_SetTask()
return
}

func_PrintMessage(iTaskID)
return
}

g_iFirstSkipPos = 0

new pPlayers[MAX_PLAYERS], iPlCount, pPlayer

get_players_ex( pPlayers, iPlCount, g_eCvar[CVAR__FOR_ALL] ?
GetPlayers_ExcludeBots|GetPlayers_ExcludeHLTV
:
GetPlayers_ExcludeBots|GetPlayers_ExcludeHLTV|GetPlayers_ExcludeAlive
);

if(!g_eMsgData[MSG_IS_LANG_KEY] && !g_eMsgData[MSG_PATTERN_BITSUM]) {
copy(g_szMsg, chx(g_szMsg), g_eMsgData[MSG_BODY])
}

for(new i; i < iPlCount; i++) {
pPlayer = pPlayers[i]

#if defined CMD_NAME
if(g_bDisabled[pPlayer]) {
continue
}
#endif

if(g_eMsgData[MSG_IS_LANG_KEY]) {
func_ReplaceML(pPlayer)
func_ReplacePatterns(pPlayer)
}
else if(g_eMsgData[MSG_PATTERN_BITSUM]) {
copy(g_szMsg, chx(g_szMsg), g_eMsgData[MSG_BODY])
func_ReplacePatterns(pPlayer)
}

#if defined SHOW_PREFIX_WITH_ADS
client_print_color(pPlayer, g_eMsgData[MSG_COLOR_ID], "%s^1%s", CHAT_PREFIX, g_szMsg)
#else
client_print_color(pPlayer, g_eMsgData[MSG_COLOR_ID], "^1%s", g_szMsg)
#endif

#if defined USE_SOUND
if(g_eMsgData[MSG_SOUND_ID] != -1) {
if(!g_eCvar[CVAR__SOUND_FOR_ALL] && is_user_alive(pPlayer)) {
continue
}

func_SendAudio(pPlayer, g_szSounds[ g_eMsgData[MSG_SOUND_ID] ])
}
#endif
}

if(g_eMsgData[IS_MULTI_MSG]) {
func_PrintMessage(iTaskID)
return
}

func_SetTask()
}

/* -------------------- */

func_SetTask() {
set_task(random_float(g_eCvar[CVAR__FREQ_MIN], g_eCvar[CVAR__FREQ_MAX]), "func_PrintMessage", TASKID_TIMER)
}

/* -------------------- */

public srvcmd_CmdShowStatus() {
server_print("%s Total messages: %i | Last printed: #%i", PLUGIN_PREFIX, g_iMsgCount, g_iCurPos)
return PLUGIN_HANDLED
}

/* -------------------- */

public srvcmd_CmdShowCustomMessage() {
new iMsgID = read_argv_int(1)

if(!(g_iMsgCount + 1 > iMsgID > 0)) { /* if(1 > iMsgID || iMsgID > g_iMsgCount) */
server_print("%s Error! Wrong message ID #%i (Total: %i)", PLUGIN_PREFIX, iMsgID, g_iMsgCount)
}
else {
remove_task(TASKID_TIMER)
g_iCurPos = iMsgID - 1
func_PrintMessage(0)
server_print("%s Message #%i (Total: %i) printed!", PLUGIN_PREFIX, iMsgID, g_iMsgCount)
}

return PLUGIN_HANDLED
}

/* -------------------- */

public srvcmd_CmdReloadFile() {
remove_task(TASKID_TIMER)
ArrayClear(g_aMsgArray)
ArrayClear(g_aAuReArray)
g_iAuReCount = 0
new iOldMsgCount = g_iMsgCount
g_iMsgCount = 0
g_iCurPos = 0
g_iFirstSkipPos = 0
func_LoadMessages(MODE_MANUAL)
server_print("%s Message count before/after reading: %i/%i", PLUGIN_PREFIX, iOldMsgCount, g_iMsgCount)

return PLUGIN_HANDLED
}

/* -------------------- */

stock func_ReplacePatterns(pPlayer) {
if(CheckPatternBit(PATTERN__HOSTNAME)) {
get_user_name(0, g_szBuffer, chx(g_szBuffer))
replace_stringex(g_szMsg, chx(g_szMsg), PATTERNS[PATTERN__HOSTNAME], g_szBuffer)
}

if(CheckPatternBit(PATTERN__MAXPLAYERS)) {
replace_stringex(g_szMsg, chx(g_szMsg), PATTERNS[PATTERN__MAXPLAYERS], fmt("%i", MaxClients))
}

if(CheckPatternBit(PATTERN__NUMPLAYERS)) {
replace_stringex(g_szMsg, chx(g_szMsg), PATTERNS[PATTERN__NUMPLAYERS], fmt("%i", get_playersnum()))
}

if(CheckPatternBit(PATTERN__SERVER_IP)) {
get_user_ip(0, g_szBuffer, chx(g_szBuffer), .without_port = 0)
replace_stringex(g_szMsg, chx(g_szMsg), PATTERNS[PATTERN__SERVER_IP], g_szBuffer)
}

if(CheckPatternBit(PATTERN__MAPNAME)) {
get_mapname(g_szBuffer, chx(g_szBuffer))
replace_stringex(g_szMsg, chx(g_szMsg), PATTERNS[PATTERN__MAPNAME], g_szBuffer)
}

if(CheckPatternBit(PATTERN__SV_CONTACT)) {
get_cvar_string("sv_contact", g_szBuffer, chx(g_szBuffer))
replace_stringex(g_szMsg, chx(g_szMsg), PATTERNS[PATTERN__SV_CONTACT], g_szBuffer)
}

if(CheckPatternBit(PATTERN__TIMELEFT)) {
new iTimeleft = get_timeleft()

replace_stringex( g_szMsg, chx(g_szMsg), PATTERNS[PATTERN__TIMELEFT],
fmt("%02d:%02d", iTimeleft / SECONDS_IN_MINUTE, iTimeleft % SECONDS_IN_MINUTE) );
}

if(CheckPatternBit(PATTERN__PLAYER_NAME)) {
get_user_name(pPlayer, g_szBuffer, chx(g_szBuffer))
replace_stringex(g_szMsg, chx(g_szMsg), PATTERNS[PATTERN__PLAYER_NAME], g_szBuffer)
}

if(CheckPatternBit(PATTERN__PLAYER_STEAMID)) {
get_user_authid(pPlayer, g_szBuffer, chx(g_szBuffer))
replace_stringex(g_szMsg, chx(g_szMsg), PATTERNS[PATTERN__PLAYER_STEAMID], g_szBuffer)
}

if(CheckPatternBit(PATTERN__PLAYER_IP)) {
get_user_ip(pPlayer, g_szBuffer, chx(g_szBuffer), .without_port = 1)
replace_stringex(g_szMsg, chx(g_szMsg), PATTERNS[PATTERN__PLAYER_IP], g_szBuffer)
}
}

/* -------------------- */

stock func_FindPatterns() {
for(new i; i < PATTERNS_ENUM; i++) {
if(contain(g_eMsgData[MSG_BODY], PATTERNS[i]) != -1) {
SetPatternBit(i)
}
}
}

/* -------------------- */

stock func_ReplaceML(pPlayer) {
formatex(g_szMsg, chx(g_szMsg), "%L", pPlayer, g_eMsgData[MSG_BODY])
}

/* -------------------- */

public plugin_end() {
ArrayDestroy(g_aMsgArray)
ArrayDestroy(g_aAuReArray)

#if defined CMD_NAME
if(g_hVault != INVALID_HANDLE) {
nvault_close(g_hVault)
}
#endif
}

/* -------------------- */

#if defined CMD_NAME
public client_authorized(pPlayer, const szAuthID[]) {
if(g_hVault == INVALID_HANDLE) {
g_bDisabled[pPlayer] = false
return
}

g_bDisabled[pPlayer] = bool:nvault_get(g_hVault, szAuthID)

#if defined OBSOLETE_DAYS
if(g_bDisabled[pPlayer]) {
nvault_touch(g_hVault, szAuthID)
}
#endif
}
#endif

/* -------------------- */

#if defined USE_SOUND
public plugin_precache() {
for(new i; i < sizeof(g_szSounds); i++) {
precache_sound(g_szSounds[i])
}
}
#endif

/* -------------------- */

stock func_SendAudio(pPlayer, const szSample[]) {
message_begin(MSG_ONE_UNRELIABLE, g_iMsgSendAudio, .player = pPlayer)
write_byte(pPlayer)
write_string(szSample)
write_short(PITCH_NORM)
message_end()
}
Обновил ReGameDLL и перестал работать.
 

wellasgood

Кидала, мошенник, вымогатель
Сообщения
1,409
Реакции
182
Помог
2 раз(а)
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
34] Reklama 09.07.2019 mx?! reklama.amxx running
15 Ноя 2019
ставь debug, напротив плугина, перезапусти сервер, посмотри что будет в логах
 
Сообщения
30
Реакции
1
wellasgood, да в консоле показывает что работает, но на сервере ничего не выводит и когда пишу консольную каманду плагина, пишет что нет такой команды.
 

wellasgood

Кидала, мошенник, вымогатель
Сообщения
1,409
Реакции
182
Помог
2 раз(а)
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
ты залезь, в консоль сервера, а не amxx (q-console), т.е нужно посмотреть именно логи при запуске сервера из консоли.
15 Ноя 2019
если логирование отключено консольное, то можно включить, добавив к строке запуска сервера параметр: -debug и/или - condebug. Если в логах потом увидишь какие-то ошибки от модулей/плугинов, то исправляй..
 
Последнее редактирование:
Сообщения
30
Реакции
1
wellasgood, я не понимаю о чем ты говоришь :sad:
15 Ноя 2019
блин только потом увидел сообщение ниже, как это сделать. Сейчас сделаю все.
15 Ноя 2019
wellasgood, а по какому пути будут писаться логи эти?
 

wellasgood

Кидала, мошенник, вымогатель
Сообщения
1,409
Реакции
182
Помог
2 раз(а)
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
Ищи в папке cstrike/ а еще ранее может писаться тоже логи, смотря что у тебя за хостинг, как настроено.. смотри у себя папки logs, до папки cstrike..
15 Ноя 2019
qconsole.log
 
Сообщения
30
Реакции
1
wellasgood, у меня такого файла нет в моем доступе если он сеть вообще. У меня хостинг myarena.
L 11/15/2019 - 14:10:10: Log file started (file "logs/L1115054.log") (game "cstrike") (version "48/1.1.2.7/Stdio/1997")
L 11/15/2019 - 14:10:10: Server cvar "mp_logdetail" = "3"
L 11/15/2019 - 14:10:10: Server cvar "sv_alltalk" = "0"
L 11/15/2019 - 14:10:10: Server cvar "mp_item_staytime" = "5000"
L 11/15/2019 - 14:10:18: World triggered "Round_Start"
L 11/15/2019 - 14:13:08: [META] ini: Begin re-reading plugins list: /home/server3604/game/cstrike/addons/metamod/plugins.ini
L 11/15/2019 - 14:13:08: [META] ini: Read plugin config for: VoiceTranscoder
L 11/15/2019 - 14:13:08: [META] ini: Read plugin config for: Reunion
L 11/15/2019 - 14:13:08: [META] ini: Read plugin config for: AMX Mod X
L 11/15/2019 - 14:13:08: [META] ini: Read plugin config for: SafeNameAndChat
L 11/15/2019 - 14:13:08: [META] ini: Read plugin config for: ReAuthCheck
L 11/15/2019 - 14:13:08: [META] ini: Read plugin config for: Rechecker
L 11/15/2019 - 14:13:08: [META] ini: Read plugin config for: WHBlocker
L 11/15/2019 - 14:13:08: [META] ini: Read plugin config for: ReSemiclip
L 11/15/2019 - 14:13:08: [META] ini: Finished reading plugins list: /home/server3604/game/cstrike/addons/metamod/plugins.ini; Found 8 plugins
L 11/15/2019 - 14:13:08: [META] dll: Updating plugins...
L 11/15/2019 - 14:13:08: [META] dll: Finished updating 18 plugins; kept 8, loaded 0, unloaded 0, reloaded 0, delayed 0
L 11/15/2019 - 14:13:08: Log file closed

L 11/15/2019 - 14:13:08: Log file started (file "logs/L1115055.log") (game "cstrike") (version "48/1.1.2.7/Stdio/1997")
L 11/15/2019 - 14:13:08: Loading map "$2000$"
L 11/15/2019 - 14:13:08: Server cvars start
L 11/15/2019 - 14:13:08: Server cvar "admincmd_rbs" = "19.11.04"
L 11/15/2019 - 14:13:08: Server cvar "aes" = "0.5 Vega"
L 11/15/2019 - 14:13:08: Server cvar "aes_track_pause" = "0"
L 11/15/2019 - 14:13:08: Server cvar "allow_spectators" = "1"
L 11/15/2019 - 14:13:08: Server cvar "amx_client_languages" = "0"
L 11/15/2019 - 14:13:08: Server cvar "amx_language" = "ru"
L 11/15/2019 - 14:13:08: Server cvar "amx_nextmap" = "de_dust2_2x2_winter"
L 11/15/2019 - 14:13:08: Server cvar "amxmodmenu_rbs" = "18.12.18"
L 11/15/2019 - 14:13:08: Server cvar "amxmodx_version" = "1.9.0.5263"
L 11/15/2019 - 14:13:08: Server cvar "coop" = "0"
L 11/15/2019 - 14:13:08: Server cvar "deathmatch" = "1"
L 11/15/2019 - 14:13:08: Server cvar "decalfrequency" = "60"
L 11/15/2019 - 14:13:08: Server cvar "edgefriction" = "2"
L 11/15/2019 - 14:13:08: Server cvar "ff_damage_reduction_bullets" = "0.35"
L 11/15/2019 - 14:13:08: Server cvar "ff_damage_reduction_grenade" = "0.25"
L 11/15/2019 - 14:13:08: Server cvar "ff_damage_reduction_grenade_self" = "1.0"
L 11/15/2019 - 14:13:08: Server cvar "ff_damage_reduction_other" = "0.35"
L 11/15/2019 - 14:13:08: Server cvar "game_version" = "5.12.0.425-dev"
L 11/15/2019 - 14:13:08: Server cvar "gamecms_api" = "5.3.5"
L 11/15/2019 - 14:13:08: Server cvar "gamecms_gagmanager" = "2.2.3"
L 11/15/2019 - 14:13:08: Server cvar "humans_join_team" = "any"
L 11/15/2019 - 14:13:08: Server cvar "lite_aesp" = "1.1"
L 11/15/2019 - 14:13:08: Server cvar "mapm_version" = "3.0.4"
L 11/15/2019 - 14:13:08: Server cvar "max_queries_sec" = "3.0"
L 11/15/2019 - 14:13:08: Server cvar "max_queries_sec_global" = "30"
L 11/15/2019 - 14:13:08: Server cvar "max_queries_window" = "60"
L 11/15/2019 - 14:13:08: Server cvar "metamod_version" = "1.21p37"
L 11/15/2019 - 14:13:08: Server cvar "mockery_of_players" = "15.07.15"
L 11/15/2019 - 14:13:08: Server cvar "mode2x2_version" = "2.5re"
L 11/15/2019 - 14:13:08: Server cvar "mp_afk_bomb_drop_time" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_autokick" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_autokick_timeout" = "-1"
L 11/15/2019 - 14:13:08: Server cvar "mp_autoteambalance" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_buy_anywhere" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_buytime" = "0.25"
L 11/15/2019 - 14:13:08: Server cvar "mp_c4timer" = "35"
L 11/15/2019 - 14:13:08: Server cvar "mp_chattime" = "10"
L 11/15/2019 - 14:13:08: Server cvar "mp_consistency" = "1"
L 11/15/2019 - 14:13:08: Server cvar "mp_fadetoblack" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_flashlight" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_footsteps" = "1"
L 11/15/2019 - 14:13:08: Server cvar "mp_forcecamera" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_forcechasecam" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_forcerespawn" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_fraglimit" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_fragsleft" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_freeforall" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_freezetime" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_friendlyfire" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_hostage_hurtable" = "1"
L 11/15/2019 - 14:13:08: Server cvar "mp_hostagepenalty" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_infinite_ammo" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_infinite_grenades" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_item_staytime" = "5000"
L 11/15/2019 - 14:13:08: Server cvar "mp_kickpercent" = "0.66"
L 11/15/2019 - 14:13:08: Server cvar "mp_limitteams" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_logdetail" = "3"
L 11/15/2019 - 14:13:08: Server cvar "mp_logfile" = "1"
L 11/15/2019 - 14:13:08: Server cvar "mp_logmessages" = "1"
L 11/15/2019 - 14:13:08: Server cvar "mp_mapvoteratio" = "0.66"
L 11/15/2019 - 14:13:08: Server cvar "mp_maxmoney" = "16000"
L 11/15/2019 - 14:13:08: Server cvar "mp_maxrounds" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_mirrordamage" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_playerid" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_radio_maxinround" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_radio_timeout" = "1.5"
L 11/15/2019 - 14:13:08: Server cvar "mp_respawn_immunity_effects" = "1"
L 11/15/2019 - 14:13:08: Server cvar "mp_respawn_immunitytime" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_round_infinite" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_round_restart_delay" = "5"
L 11/15/2019 - 14:13:08: Server cvar "mp_roundover" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_roundtime" = "1.75"
L 11/15/2019 - 14:13:08: Server cvar "mp_show_scenarioicon" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_startmoney" = "800"
L 11/15/2019 - 14:13:08: Server cvar "mp_timeleft" = "27:00"
L 11/15/2019 - 14:13:08: Server cvar "mp_timelimit" = "30"
L 11/15/2019 - 14:13:08: Server cvar "mp_tkpunish" = "0"
L 11/15/2019 - 14:13:08: Server cvar "mp_weapons_allow_map_placed" = "1"
L 11/15/2019 - 14:13:08: Server cvar "mp_windifference" = "1"
L 11/15/2019 - 14:13:08: Server cvar "mp_winlimit" = "0"
L 11/15/2019 - 14:13:08: Server cvar "pausable" = "0"
L 11/15/2019 - 14:13:08: Server cvar "reaimdetector_version" = "0.2.2"
L 11/15/2019 - 14:13:08: Server cvar "reauthcheck_version" = "0.1.6"
L 11/15/2019 - 14:13:08: Server cvar "resemiclip_version" = "2.3.9"
L 11/15/2019 - 14:13:08: Server cvar "reu_version" = "0.1.0.92c"
L 11/15/2019 - 14:13:08: Server cvar "SNAC_Version" = "1.1"
L 11/15/2019 - 14:13:08: Server cvar "snipers_rbs" = "19.09.10"
L 11/15/2019 - 14:13:08: Server cvar "stimulation_rbs" = "19.11.02"
L 11/15/2019 - 14:13:08: Server cvar "sv_accelerate" = "5"
L 11/15/2019 - 14:13:08: Server cvar "sv_aim" = "0"
L 11/15/2019 - 14:13:08: Server cvar "sv_airaccelerate" = "10"
L 11/15/2019 - 14:13:08: Server cvar "sv_allowupload" = "0"
L 11/15/2019 - 14:13:08: Server cvar "sv_alltalk" = "0"
L 11/15/2019 - 14:13:08: Server cvar "sv_bounce" = "1"
L 11/15/2019 - 14:13:08: Server cvar "sv_cheats" = "0"
L 11/15/2019 - 14:13:08: Server cvar "sv_clienttrace" = "1"
L 11/15/2019 - 14:13:08: Server cvar "sv_contact" = ""
L 11/15/2019 - 14:13:08: Server cvar "sv_friction" = "4"
L 11/15/2019 - 14:13:08: Server cvar "sv_gravity" = "800"
L 11/15/2019 - 14:13:08: Server cvar "sv_logblocks" = "0"
L 11/15/2019 - 14:13:08: Server cvar "sv_maxrate" = "20000"
L 11/15/2019 - 14:13:08: Server cvar "sv_maxspeed" = "320"
L 11/15/2019 - 14:13:08: Server cvar "sv_minrate" = "8000"
L 11/15/2019 - 14:13:08: Server cvar "sv_password" = ""
L 11/15/2019 - 14:13:08: Server cvar "sv_proxies" = "1"
L 11/15/2019 - 14:13:08: Server cvar "sv_restart" = "0"
L 11/15/2019 - 14:13:08: Server cvar "sv_restartround" = "0"
L 11/15/2019 - 14:13:08: Server cvar "sv_stepsize" = "18"
L 11/15/2019 - 14:13:08: Server cvar "sv_stopspeed" = "75"
L 11/15/2019 - 14:13:08: Server cvar "sv_uploadmax" = "0.5"
L 11/15/2019 - 14:13:08: Server cvar "sv_version" = "1.1.2.7/Stdio,48,1997"
L 11/15/2019 - 14:13:08: Server cvar "sv_voiceenable" = "1"
L 11/15/2019 - 14:13:08: Server cvar "sv_wateraccelerate" = "10"
L 11/15/2019 - 14:13:08: Server cvar "sv_waterfriction" = "1"
L 11/15/2019 - 14:13:08: Server cvar "ultimate_models" = "19.09.20"
L 11/15/2019 - 14:13:08: Server cvar "ultimate_weapons" = "19.11.02"
L 11/15/2019 - 14:13:08: Server cvar "vip_rbs" = "19.11.02"
L 11/15/2019 - 14:13:08: Server cvar "VTC_Version" = "2017RC4"
L 11/15/2019 - 14:13:08: Server cvar "whb_version" = "1.5.696"
L 11/15/2019 - 14:13:08: Server cvars end
L 11/15/2019 - 14:13:09: [VIP RBS] Добавлено 9 пунктов в [menu]
L 11/15/2019 - 14:13:09: [VIP RBS] Добавлено 18 пунктов в [more]
L 11/15/2019 - 14:13:09: [VIP RBS] Включено ограничение бонусов на карте $2000$
L 11/15/2019 - 14:13:09: Server cvar "sv_maxspeed" = "900"
L 11/15/2019 - 14:13:09: Server cvar "mp_timelimit" = "20"
L 11/15/2019 - 14:13:09: Server cvar "sv_alltalk" = "1"
L 11/15/2019 - 14:13:09: Server cvar "mp_item_staytime" = "300"
L 11/15/2019 -
15 Ноя 2019
только это вот нашел и в папке амхмодх/logs есть но там фиксирует только плагин gamecms_api, сколько загружено привилегий
 

wellasgood

Кидала, мошенник, вымогатель
Сообщения
1,409
Реакции
182
Помог
2 раз(а)
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
после того, как ты поставишь к строке запуска сервера, -debug. и/или -condebug, то после перезапуска сервера у тебя создаются файл qconsole.log, по пути: 'cstrike/'
 
Сообщения
30
Реакции
1
Я слепой немного. За место -condebug включил это -debug.
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 18:13:20 Sep 30 2019 (1997)
Server IP address 46.174.53.103:27015

Metamod version 1.21p37 Copyright (c) 2001-2013 Will Day
Patch: Metamod-P (mm-p) v37 Copyright (c) 2004-2013 Jussi Kivilinna
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.


AMX Mod X version 1.9.0.5263 Copyright (c) 2004-2015 AMX Mod X Development Team
AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
This is free software and you are welcome to redistribute it under
certain conditions; type 'amxx gpl' for details.

[ReAuthCheck] Version: 0.1.6 Linux 'Counter-Strike 1.6'
[ReAuthCheck] Success: Configuration executed.
[ReAuthCheck] Success: Build ReHLDS version defined Linux '1997'
[WHB] Version: 1.5.696 Linux (Usage SSE 4.1)
[WHB] Success: Build ReHLDS version defined Linux '1997'
[WHB] Success: Configuration executed.
ReGameDLL version: 5.12.0.425-dev
L 11/15/2019 - 14:29:02: -------- Mapchange to de_dust2_2x2_snow --------
[ReAimDetector] Version: 0.2.2 Linux 'Counter-Strike 1.6'
[ReAimDetector] Success: Build ReHLDS version defined Linux '1997'.
[VIP RBS] Добавлено 9 пунктов в [menu]
[VIP RBS] Добавлено 18 пунктов в [more]
Executing ReGameDLL Configuration File
Executing AMX Mod X Configuration File
Executing GameCMS Configuration File
Executing CMS Gag Manager Configuration File

Advanced Experience System Copyright (c) 2016 serfreeman1337
Version 0.5 Vega build on 11, June (06), 2016

L 11/15/2019 - 14:29:03: [gamecms_api_5.3.5.amxx] Соединение с базой данных GameCMS установлено
[AmxModMenu RBS] Добавлено 6 пунктов в amxmodmenu
[AmxModMenu RBS] Добавлено 6 пунктов в amx_menu
Executing Map Manager Configuration File
Server logging data to file logs/L1115002.log
L 11/15/2019 - 14:29:04: Log file started (file "logs/L1115002.log") (game "cstrike") (version "48/1.1.2.7/Stdio/1997")
L 11/15/2019 - 14:29:04: Server cvar "mp_logdetail" = "3"
L 11/15/2019 - 14:29:04: Server cvar "sv_alltalk" = "0"
L 11/15/2019 - 14:29:04: Server cvar "mp_item_staytime" = "5000"
L 11/15/2019 - 14:29:04: [gamecms_api_5.3.5.amxx] Загружено из базы данных: услуг по флагам 16 шт. / других услуг: 23 шт.
L 11/15/2019 - 14:29:04: [fB 1.4.2b]mySQL is OK! Time difference 3 sec, DB delay 0.178605556 sec
Connection to Steam servers successful.
VAC secure mode disabled.
L 11/15/2019 - 14:29:11: World triggered "Round_Start"
Currently loaded plugins:
name version author file status
[ 1] GameCMS_API 5.3.5 zhorzh78 gamecms_api_5.3 running
[ 2] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 3] FreshBans 1.4.2b kanagava fresh_bans_142_ running
[ 4] WebHS 0.1 kanagava fb_web_online.a running
[ 5] GameCMS_GagManager 2.2.3 zhorzh78 gamecms_gagmana running
[ 6] [ReAMX] AdminCmd RBS 19.11.04 SKAJIbnEJIb & AM admincmd_rbs.am running
[ 7] Menus Front-End 18.12.18 AMXX Dev Team & amxmodmenu_rbs. running
[ 8] Maps Menu 1.4.1 neugomon mapsmenu.amxx running
[ 9] Mockery Of Players 15.07.15 Sanlerus mockery_of_play running
[ 10] Menu System 0.1.2 serfreeman1337 menuSystem.amxx running
[ 11] Map Manager: Core 3.0.4 Mistrick map_manager_cor running
[ 12] Map Manager: Scheduler 0.1.2 Mistrick map_manager_sch running
[ 13] Map Manager: Effects 0.0.8 Mistrick map_manager_eff running
[ 14] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
[ 15] Map Manager: Nominatio 0.1.0 Mistrick map_manager_nom running
[ 16] Map Manager: Rtv 0.1.0 Mistrick map_manager_rtv running
[ 17] [SxGeo] Connect Info 1.0 s1lent sxgeo_connect_i running
[ 18] Chat Manager 1.1.2-16 Mistrick chatmanager.amx running
[ 19] Chat Manager: Addon 0.0.4-70 Mistrick chatmanager_add running
[ 20] Advanced Experience Sy 0.5 Vega serfreeman1337 aes_main.amxx running
[ 21] AES: CStrike Addon 0.5 Vega serfreeman1337 aes_exp_cstrike running
[ 22] AES: Admin Tools 0.5 Vega serfreeman1337 aes_exp_editor. running
[ 23] AES: Informer 0.5 Vega serfreeman1337 aes_informer.am running
[ 24] AES: StatsX 0.5.9 [REA serfreeman1337/s aes_statsx_cstr running
[ 25] Advanced Kill Assists 0.9 Spection next21_kill_ass running
[ 26] [ReAMX] Ultimate Weapo 19.11.02 SKAJIbnEJIb ultimate_weapon running
[ 27] ReTalisman 1.4.2 gyxoBka ReTalisman.amxx running
[ 28] [ReAMX] Ultimate Model 19.09.20 SKAJIbnEJIb ultimate_models running
[ 29] [ReAMX] VIP RBS 19.11.02 SKAJIbnEJIb vip_rbs.amxx running
[ 30] [ReAMX] Stimulation RB 19.11.02 SKAJIbnEJIb stimulation_rbs running
[ 31] [ReAPI] Block 'Fire in 0.0.1 sergrib reapi_block_FIT running
[ 32] [ReAPI] Silly C4 2.0 F@ntoM & Cheap_S reapi_sillyc4.a running
[ 33] Parachute Lite [ReAPI] 11.0 Leo_[BH] parachute_lite. running
[ 34] Reklama 09.07.2019 mx?! reklama.amxx running
[ 35] Mode 2x2 2.5re s1lent mode.amxx running
[ 36] [ReAPI] Damager 1.1 phe damager_1.amxx running
[ 37] resetscore(ReAPI) 1.0 Phantom resetscore.amxx running
[ 38] AFK Control ReNew 1.2(a) neygomon afk_control.amx running
[ 39] [ReAPI] No Team Flash 0.0.3 Vaqtincha no_team_flash.a running
[ 40] [ReAMX] Snipers RBS 19.09.10 SKAJIbnEJIb snipers_rbs.amx running
[ 41] [ReAPI] Round Balancer 1.1 neygomon round_balancer. running
[ 42] Lite Admin ESP 1.1 neygomon, AcE admin_esp.amxx running
[ 43] C4 Timer on roundtime 0.3.3a neygomon c4timer.amxx running
[ 44] Smoke HealthNade 1.1 medusa + ApXuTek Smoke_HealthNad running
[ 45] Throwing Knives 1.0 Autor + ApXuTekT ThrowingKnives. running
45 plugins, 45 running
 

wellasgood

Кидала, мошенник, вымогатель
Сообщения
1,409
Реакции
182
Помог
2 раз(а)
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
попробуй поставь плугин рекламы выше в списке плагинов.. ошибок вроде нету
15 Ноя 2019
а также список модулей в metamod plugins, нарушена очередность, кажется нужно там менять местами строки, эксперементируй, посмотри, нет ли других плугинов которые могли бы конфликтовать
 
Сообщения
30
Реакции
1
wellasgood, ты имеешь ввиду вот это?:
linux addons/vtc/VoiceTranscoder.so
linux addons/amxmodx/dlls/amxmodx_mm_i386.so
linux addons/reunion/reunion_mm_i386.so
linux addons/safenameandchat/SafeNameAndChat.so
linux addons/reauthcheck/reauthcheck_mm_i386.so
linux addons/rechecker/rechecker_mm_i386.so
linux addons/whblocker/whblocker_mm_i386.so
linux addons/resemiclip/resemiclip_mm_i386.so
 

wellasgood

Кидала, мошенник, вымогатель
Сообщения
1,409
Реакции
182
Помог
2 раз(а)
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
Skwoz, именно, поставь выше главное, ниже менее главное и нужное (но, не всегда именно так нужно, в зависимости от ситуации нужно пробовать разные вариации)
15 Ноя 2019
попробуй safename, затем уже reunion, reauthcheck, потом vtc и т.д. меняй , смотри есть , изменения
 
Последнее редактирование:
Сообщения
1,340
Реакции
529
Помог
91 раз(а)
Skwoz, Chat Manager и Chat Manager: Addon поставь ниже Reklama в списке плагинов
 
Сообщения
30
Реакции
1
present, в самый верх Reklama поставил. Сейчас попробую поставлю модули в порядке как написал wellasgood.
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу