Dedicated-Server.RU  


Ответ
 
Опции темы Опции просмотра
Старый 25.09.2017, 18:29   #1
Не проверенный
 
Регистрация: 19.12.2013
Адрес: Санкт-Петербург
Сообщений: 4
Сказал спасибо: 7
Поблагодарили 0 раз(а) в 0 сообщениях
Rehlds Балансировка команд для ReCSDM

Добрый день.
После переноса CSDM серверов на платформу "Re" перестал работать плагин CSDM Auto Balance. То есть он компилируется, запускается, но переноса игрока в команду с меньшим количеством игроков не происходит. Плагин просто запускается и всё, далее своего предназначения не выполняет, как будто его нет. Ошибок по серверу - нет, логи все чистые. Я не часто обращаюсь за помощью, но тут мои силы иссякли, не знаю куда копать. Прошу вашей помощи в решении проблемы.

Информация о AIM/AWP DM серверах:

Version

Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.3.0.595-dev
Build date: 00:07:13 Sep 13 2017 (1250)
Build from: https://github.com/dreamstalker/rehlds/commit/3c036ed
[свернуть]

Meta List

Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] Reunion RUN - reunion_mm_i386. v0.1.75 ini Start Never
[ 2] VoiceTranscoder RUN - VoiceTranscoder. v2017RC3 ini ANY ANY
[ 3] ReAuthCheck RUN - reauthcheck_mm_i v0.1.6 ini Start Never
[ 4] Rechecker RUN - rechecker_mm_i38 v2.4 ini Chlvl ANY
[ 5] WHBlocker RUN - whblocker_mm_i38 v1.5.692 ini Chlvl ANY
[ 6] ReSemiclip RUN - resemiclip_mm_i3 v2.3.9 ini Chlvl ANY
[ 7] AMX Mod X RUN - amxmodx_mm_i386. v1.8.3-R ini Start ANY
[ 8] NoSeeVar RUN - nsv_mm_i386.so v1.21 ini Chlvl Chlvl
[ 9] MySQL RUN - mysql_amxx_i386. v1.82e pl7 ANY ANY
[10] Engine RUN - engine_amxx_i386 v1.8.3-R pl7 ANY ANY
[11] FakeMeta RUN - fakemeta_amxx_i3 v1.8.3-R pl7 ANY ANY
[12] CStrike RUN - cstrike_amxx_i38 v1.8.3-R pl7 ANY ANY
[13] Ham Sandwich RUN - hamsandwich_amxx v1.8.3-R pl7 ANY ANY
[14] hackdetector RUN - hackdetector_amx v0.15.32 pl7 ANY ANY
[15] ReAPI RUN - reapi_amxx_i386. v5.2.0.1 pl7 ANY Never
[16] CSX Extended RUN - csx_amxx_i386.so v1.5 pl7 ANY ANY
[17] Fun RUN - fun_amxx_i386.so v1.8.3-R pl7 ANY ANY
[18] ReCSDM RUN - csdm_amxx_i386.s v3.6 pl7 ANY ANY
18 plugins, 18 running
[свернуть]

AMX Plugins

Currently loaded plugins:
name version author file status
[ 1] mysqlQ 0.1.2 kanagava mysqlq.amxx running
[ 2] FreshBans 1.3.7b kanagava fresh_bans.amxx running
[ 3] AIM detector 0.9.4b kanagava aim_detector.am running
[ 4] WebHS 0.1 kanagava fb_web_online.a running
[ 5] DopBan 2.8.2b kanagava dop_ban.amxx running
[ 6] RC BaseChanger Anti-Cheat custom rc_basechanger. stopped
[ 7] Anti Flood 1.8.3-Re AMXX Dev Team antiflood.amxx running
[ 8] Admin Base 1.8.3-Re AMXX Dev Team admin.amxx running
[ 9] Admin Commands 1.8.3-Re AMXX Dev Team admincmd.amxx running
[ 10] Menus Front-End 1.8.3-Re AMXX Dev Team menufront.amxx running
[ 11] Commands Menu 1.8.3-Re AMXX Dev Team cmdmenu.amxx running
[ 12] Players Menu 1.8.3-Re AMXX Dev Team plmenu.amxx running
[ 13] Teleport Menu 1.8.3-Re AMXX Dev Team telemenu.amxx running
[ 14] Maps Menu 1.8.3-Re AMXX Dev Team mapsmenu.amxx running
[ 15] Plugin Menu 1.8.3-Re AMXX Dev Team pluginmenu.amxx running
[ 16] Admin Chat 1.8.3-Re AMXX Dev Team adminchat.amxx running
[ 17] Admin Votes 1.8.3-Re AMXX Dev Team adminvote.amxx running
[ 18] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 19] Map Manager: Sub Plugi 0.1 Mistrick mapmanager_subp running
[ 20] TimeLeft 1.8.3-Re AMXX Dev Team timeleft.amxx running
[ 21] Pause Plugins 1.8.3-Re AMXX Dev Team pausecfg.amxx running
[ 22] Stats Configuration 1.8.3-Re AMXX Dev Team statscfg.amxx running
[ 23] Restrict Weapons 1.8.3-Re AMXX Dev Team restmenu.amxx running
[ 24] StatsX 1.8.3-Re AMXX Dev Team [U statsx_gui.amxx running
[ 25] Map Spawns Editor 1.0.16 iG_os Map_Spawns_Edit running
[ 26] Custom Sky 1.1 cheap_suit custom_sky.amxx running
[ 27] Mini Sound Esp Fix 1.0 ranget mini_sound_esp_ running
[ 28] AFK Manager v1.6 Leon McVeran afk_manager.amx running
[ 29] CSXE Noob Entry Remove 0.2 serfreeman1337 csxe_noob_remov running
[ 30] Ping Control 0.1.5 Freedo.m | neygo ping_control.am running
[ 31] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 32] Block Name Spam 0.1 s1lent block_name_spam running
[ 33] ResetScore 0.3.1 aNNakin/Safety1s resetscore.amxx running
[ 34] Block HudTextArgs 1.0 AMXX Block_HudTextAr running
[ 35] Rock to Ban 1.55f Safety1st rock2ban.amxx running
[ 36] Spam Blocker 3.6 Teo spam_blocker.am running
[ 37] Block Radio Commands 1.0 SchlumPF* block_radio_com running
[ 38] Block Spray 1.0 LeOnArD blockspray.amxx running
[ 39] AntiSpam FlashLight 1.2a Leo_[BH] flashlight_no_s running
[ 40] Aliases checker 1.0.3 kanagava alias_detector. running
[ 41] Lame Connection Punish 1.2 MeRcyLeZZ lame_connection running
[ 42] Grab + Hook + Rope 1.0 GHW_Chronic GHW_GHR.amxx running
[ 43] Vampire Weapons 1.2 Hafner vampire_weapons running
[ 44] Money as Frag Counter 0.1 Safety1st money_frag_coun running
[ 45] Timeleft as Roundtime 1.2 AcidoX (idea), A timeleft_as_rou running
[ 46] Chat Manager 1.1.1-11 Mistrick chatmanager.amx running
[ 47] Remove Map Weapons 0.1 Safety1st remove_map_weap running
[ 48] Spawn Protection 1.2 Safety1st spawnprotection running
[ 49] ReCSDM Main 3.6 ReCSDM Team csdm_main.amxx running
[ 50] ReCSDM Equip 3.6 ReCSDM Team csdm_equip.amxx running
[ 51] ReCSDM Spawns 3.6 ReCSDM Team csdm_spawn_pres running
[ 52] ReCSDM Misc 3.6 ReCSDM Team csdm_misc.amxx running
[ 53] CSDM Auto Balance 1.0 xPaw csdm_auto_balan running
53 plugins, 52 running
[свернуть]

Meta Version

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)
[свернуть]

Re платформа:
ReHLDS 3.3.0.595
ReGameDLL 5.3.0.222
ReAPI 5.2.0.120
Re AMX Mod X 1.8.3 Build 7

Использованные плагины (во вложении):

CSDM Auto Balance 1.0 by xPaw

#include <amxmodx>
#include <cstrike>
#include <csdm>

#define BALANCE_IMMUNITY ADMIN_IMMUNITY

#if AMXX_VERSION_NUM < 183
#define client_disconnected client_disconnect
#endif

/*
csdm_auto_balance
- 0: Disabled
- 1: Enabled
- 2: Enabled, obey immunity
*/

new bool:g_bConnected[33], bool:g_bImmunity[33], CsTeams:g_iNewTeam[33];
new g_pCvar, g_iMaxPlayers, g_iMsgScreenFade, g_iPlayers, g_iMsgSayText

public plugin_init() {
register_plugin("CSDM Auto Balance", "1.0", "xPaw");

g_pCvar = register_cvar("csdm_auto_balance", "1");

g_iMsgScreenFade = get_user_msgid("ScreenFade");
g_iMsgSayText = get_user_msgid("SayText");
g_iMaxPlayers = get_maxplayers();
}

public client_authorized(id)
g_bImmunity[id] = bool:(get_user_flags(id) & BALANCE_IMMUNITY);

public client_putinserver(id) {
g_bConnected[id] = true; // bool:!is_user_bot(id);
g_iPlayers++;
}

public client_disconnected(id) {
g_iNewTeam[id] = CS_TEAM_UNASSIGNED;
g_bImmunity[id] = false;
g_bConnected[id] = false;
g_iPlayers--;
}

public csdm_PostDeath(iKiller, id, bHeadShot, const szWeapon[]) {
if(g_iPlayers < 4 || iKiller == id || !g_bConnected[id])
return;

set_task(0.3, "transfer_task", id)
}

public transfer_task(id)
{
new iCvar = get_pcvar_num(g_pCvar);

if(iCvar <= 0 || iCvar == 2 && g_bImmunity[id])
return;

new iPlayers[2];

for(new i = 1; i <= g_iMaxPlayers; i++) {
if(!g_bConnected[i])
continue;

switch(cs_get_user_team(i)) {
case CS_TEAM_T: iPlayers[0]++;
case CS_TEAM_CT: iPlayers[1]++;
}
}

new CsTeams:iCheck, iDifference = iPlayers[1] - iPlayers[0];

if(iDifference > 0)
iCheck = CS_TEAM_T;
else if(iDifference < 0)
iCheck = CS_TEAM_CT;
else
return;

if(!is_user_connected(id)) return;
if(abs(iDifference) < 2 || cs_get_user_team(id) == iCheck)
return;

cs_set_user_team(id, iCheck);

new szName[32];
get_user_name(id, szName, 31);

g_iNewTeam[id] = iCheck;
csdm_respawn(id);
}
public csdm_PostSpawn(id, bool:bFake) {
new CsTeams:iNewTeam = g_iNewTeam[id];

if(iNewTeam > CS_TEAM_UNASSIGNED) {
g_iNewTeam[id] = CS_TEAM_UNASSIGNED;

new szName[32];
get_user_name(id, szName, 31);

UTIL_GreenPrintAll(id, "^4[CSDM]^3 %s^1 has been transfered to^3 %s^1.", szName, iNewTeam == CS_TEAM_T ? "Terrorists" : "Counter-Terrorists");

set_hudmessage(0, 100, 255, -1.0, 0.2, 0, 6.0, 5.0, 0.1, 0.2, -1);
show_hudmessage(id, "You have been transfered to %s!", iNewTeam == CS_TEAM_T ? "Terrorists" : "Counter-Terrorists");

UTIL_ScreenFade(id, iNewTeam == CS_TEAM_T ? 175 : 0, 0, iNewTeam == CS_TEAM_CT ? 175 : 0);
}
}

UTIL_GreenPrintAll(const iSender, const Message[], any:...) {
new szMessage[192];
vformat(szMessage, 191, Message, 3);

message_begin(MSG_BROADCAST, g_iMsgSayText);
write_byte(iSender);
write_string(szMessage);
message_end();
}

UTIL_ScreenFade(const id, const iRed, const iGreen, const iBlue) {
message_begin(MSG_ONE_UNRELIABLE, g_iMsgScreenFade, _, id);
write_short(2000);
write_short(2000);
write_short(0);
write_byte(iRed);
write_byte(iGreen);
write_byte(iBlue);
write_byte(175);
message_end();
}
[свернуть]

CSDM Auto Balance 1.0.3 by the_hunter

#include <amxmodx>
#include <reapi>

#pragma semicolon 1

#if AMXX_VERSION_NUM < 183
#define MAX_NAME_LENGTH 32
#define client_disconnected client_disconnect
#endif

#define CHECK_TIME 30.0 // Frequency (in sec) balance check.
#define SCREEN_FADE // Screen fade in color of players new team.
// #define MSG_CENTER // Screen center message on player transfer.
// #define PLAY_SOUND // Sound on player transfer. Sound is just like "beep".

new TeamName:g_teamBigger;
new TeamName:g_teamSmaller;

new g_bitsImmunity = ADMIN_IMMUNITY;
new g_iImmunitySteam = 1;
new bool:g_isBalancing = false;

stock const SOUND[] = "events/enemy_died.wav";

#if defined PLAY_SOUND

public plugin_precache()
{
precache_sound(SOUND);
}

#endif

public plugin_init()
{
register_plugin("CSDM Auto Balance", "1.0.3", "the_hunter");

register_event("TeamInfo", "event_team_info", "a", "1>0", "2!UNASSIGNED");
RegisterHookChain(RG_CBasePlayer_Spawn, "fwd_player_spawn_post", true);

#if AMXX_VERSION_NUM < 183

register_srvcmd("dmb_immunity_steam", "cmd_immunity_steam");
register_srvcmd("dmb_immunity_flags", "cmd_immunity_flags");

#else

new pcvImmunitySteam = create_cvar("dmb_immunity_steam", "0");
new pcvImmunityFlags = create_cvar("dmb_immunity_flags", "a", FCVAR_NOEXTRAWHITEPACE);

bind_pcvar_num(pcvImmunitySteam, g_iImmunitySteam);
hook_cvar_change(pcvImmunityFlags, "cvar_change_callback");

#endif

set_task(CHECK_TIME, "task_check_balance", .flags = "b");
}

/*************** CHECKS ***************/

public task_check_balance()
{
new iTcount = get_member_game(m_iNumTerrorist);
new iCTcount = get_member_game(m_iNumCT);
new iLimitTeams = get_member_game(m_iLimitTeams);

if (iLimitTeams && abs(iTcount - iCTcount) > iLimitTeams)
{
if (iTcount > iCTcount)
{
g_teamBigger = TEAM_TERRORIST;
g_teamSmaller = TEAM_CT;
}
else
{
g_teamBigger = TEAM_CT;
g_teamSmaller = TEAM_TERRORIST;
}

g_isBalancing = true;
}
else
{
g_isBalancing = false;
}
}

bool:check_team(iPlayer)
{
return
get_member(iPlayer, m_iTeam) == g_teamBigger;
}

bool:check_immunity(iPlayer)
{
return
(get_user_flags(iPlayer) & g_bitsImmunity) ||
(g_iImmunitySteam && is_user_steam(iPlayer));
}

/*************** FORWARDS ***************/

public event_team_info()
{
if (g_isBalancing)
{
task_check_balance();
}
}

public fwd_player_spawn_post(iPlayer)
{
if (g_isBalancing && check_team(iPlayer) && !check_immunity(iPlayer))
{
new ModelName:model = get_opposite_player_model(iPlayer);

if (rg_set_user_team(iPlayer, g_teamSmaller, model, true))
{
set_member(iPlayer, m_bTeamChanged, false);

#if defined MSG_CENTER
msg_center(iPlayer, g_teamSmaller);
#endif

#if defined SCREEN_FADE
screen_fade(iPlayer, g_teamSmaller);
#endif

#if defined PLAY_SOUND
util_send_audio(iPlayer, SOUND);
#endif
}
}

return HC_CONTINUE;
}

public client_disconnected()
{
if (g_isBalancing)
{
task_check_balance();
}

return PLUGIN_CONTINUE;
}

/*************** BALANCE EFFECTS ***************/

stock msg_center(iPlayer, {_, TeamName}:team)
{
static const szTitles[][] =
{
"#Cstrike_TitlesTXT_Game_join_terrorist_auto",
"#Cstrike_TitlesTXT_Game_join_ct_auto"
};

new szName[MAX_NAME_LENGTH];
get_user_name(iPlayer, szName, MAX_NAME_LENGTH - 1);

util_text_msg(0, print_center, szTitles[team - 1], szName);
}

stock screen_fade(iPlayer, {_, TeamName}:team)
{
static const rgbaTeamColors[][4] =
{
{ 175, 0, 0, 100 },
{ 0, 0, 175, 100 }
};

const Float:flDuration = 1.0;
const Float:flHoldTime = 1.0;

util_screen_fade(iPlayer, flDuration, flHoldTime, rgbaTeamColors[team - 1]);
}

/*************** CVARS ***************/

#if AMXX_VERSION_NUM < 183

public cmd_immunity_steam()
{
if (read_argc() > 1)
{
new szArg[18];
read_argv(1, szArg, charsmax(szArg));

g_iImmunitySteam = str_to_num(szArg);
}
else
{
server_print("^"dmb_immunity_steam^" is ^"%i^"", g_iImmunitySteam);
}

return PLUGIN_HANDLED;
}

public cmd_immunity_flags()
{
if (read_argc() > 1)
{
new szArg[25];
read_argv(1, szArg, charsmax(szArg));
trim(szArg);

g_bitsImmunity = szArg[0] == '^0'
? ADMIN_ALL
: read_flags(szArg);
}
else
{
new szFlags[25];
get_flags(g_bitsImmunity, szFlags, charsmax(szFlags));

server_print("^"dmb_immunity_flags^" is ^"%s^"", szFlags);
}

return PLUGIN_HANDLED;
}

#else

public cvar_change_callback(pCvar, const szOldValue[], const szNewValue[])
{
g_bitsImmunity = szNewValue[0] == '^0' || equali(szNewValue, "empty")
? ADMIN_ALL
: read_flags(szNewValue);
}

#endif

/*************** UTILS and REUSABLE CODE ***************/

stock ModelName:get_opposite_player_model(iPlayer)
{
switch (get_member(iPlayer, m_iModelName))
{
case MODEL_T_TERROR: return MODEL_CT_URBAN;
case MODEL_CT_URBAN: return MODEL_T_TERROR;
case MODEL_T_LEET: return MODEL_CT_GSG9;
case MODEL_CT_GSG9: return MODEL_T_LEET;
case MODEL_T_ARCTIC: return MODEL_CT_SAS;
case MODEL_CT_SAS: return MODEL_T_ARCTIC;
case MODEL_T_GUERILLA: return MODEL_CT_GIGN;
case MODEL_CT_GIGN: return MODEL_T_GUERILLA;
case MODEL_T_MILITIA: return MODEL_CT_SPETSNAZ;
case MODEL_CT_SPETSNAZ: return MODEL_T_MILITIA;
case MODEL_CT_VIP: return MODEL_AUTO;
}

return MODEL_UNASSIGNED;
}

#if !defined is_user_steam
stock bool:is_user_steam(iPlayer)
{
static pcvProvider;

if (pcvProvider || (pcvProvider = get_cvar_pointer("dp_r_id_provider")))
{
const iSteamProvider = 2;

server_cmd("dp_clientinfo %d", iPlayer);
server_exec();

return (get_pcvar_num(pcvProvider) == iSteamProvider);
}

// Dproto or Reunion Not Found (?)
// So all players is Steam
return true;
}
#endif

stock util_text_msg(iReceiver, iDest, const szMsg[], szParam1[] = "", szParam2[] = "", szParam3[] = "", szParam4[] = "")
{
static msgTextMsg;
msgTextMsg || (msgTextMsg = get_user_msgid("TextMsg"));

message_begin(iReceiver ? MSG_ONE : MSG_ALL, msgTextMsg, _, iReceiver);
{
write_byte(iDest);
write_string(szMsg);
szParam1[0] && write_string(szParam1);
szParam2[0] && write_string(szParam2);
szParam3[0] && write_string(szParam3);
szParam4[0] && write_string(szParam4);
}
message_end();
}

stock util_send_audio(iReceiver, const szSound[], iSender = 0, iPitch = PITCH_NORM)
{
static msgSendAudio;
msgSendAudio || (msgSendAudio = get_user_msgid("SendAudio"));

message_begin(iReceiver ? MSG_ONE : MSG_ALL, msgSendAudio, _, iReceiver);
{
write_byte(iSender);
write_string(szSound);
write_short(iPitch);
}
message_end();
}

stock util_screen_fade(iReceiver, Float:flDuration, Float:flHoldTime, const rgbaColor[4], bitsFlags = 0)
{
const iScale = 4096;

new iDuration = util_fixed_ushort(flDuration, iScale);
new iHoldTime = util_fixed_ushort(flHoldTime, iScale);

static msgScreenFade;
msgScreenFade || (msgScreenFade = get_user_msgid("ScreenFade"));

message_begin(iReceiver ? MSG_ONE : MSG_ALL, msgScreenFade, _, iReceiver);
{
write_short(iDuration);
write_short(iHoldTime);
write_short(bitsFlags);
write_byte(rgbaColor[0]);
write_byte(rgbaColor[1]);
write_byte(rgbaColor[2]);
write_byte(rgbaColor[3]);
}
message_end();
}

stock util_fixed_ushort(Float:flValue, iScale)
{
new iOutput = floatround(flValue * iScale);

if (iOutput < 0)
return 0;

const iUshortMax = 0xFFFF;

if (iOutput > iUshortMax)
return iUshortMax;

return iOutput;
}
[свернуть]

Конфиг серверов:

Server.cfg

// Counter-Strike 1.6 Game Server Config

listipcfgfile "listip.cfg"
syserror_logfile "sys_error.log"
sv_auto_precache_sounds_in_models "0"
sv_delayed_spray_upload "1"
sv_echo_unknown_cmd "0"
sv_force_ent_intersection "1"
sv_rehlds_force_dlmax "1"
sv_rehlds_movecmdrate_max_avg "1800"
sv_rehlds_movecmdrate_avg_punish "5"
sv_rehlds_movecmdrate_max_burst "5500"
sv_rehlds_movecmdrate_burst_punish "5"
sv_rehlds_stringcmdrate_max_avg "250"
sv_rehlds_stringcmdrate_avg_punish "5"
sv_rehlds_stringcmdrate_max_burst "500"
sv_rehlds_stringcmdrate_burst_punish "5"
sv_rehlds_hull_centering "1"
sv_rehlds_userinfo_transmitted_fields "\name\model\*sid\*hltv"
sv_rehlds_attachedentities_playeranimationspeed_fix "1"
sv_rehlds_local_gametime "1"

allow_spectators "1"
clockwindow "0.5"
decalfrequency "30"
edgefriction "2"
fps_max "1100"
host_framerate "0"
hostname "AIM DEATHMATCH"
log "on"
mapchangecfgfile "server_config.cfg"
max_queries_sec "3.0"
max_queries_sec_global "30"
max_queries_window "60"
mp_autokick "0"
mp_autokick_timeout "-1"
mp_autoteambalance "0"
mp_buytime "0.25"
mp_c4timer "35"
mp_chattime "3"
mp_consistency "0"
mp_fadetoblack "0"
mp_falldamage "1"
mp_flashlight "1"
mp_footsteps "1"
mp_forcecamera "0"
mp_forcechasecam "0"
mp_freezetime "0"
mp_friendlyfire "0"
mp_hostagepenalty "1"
mp_limitteams "0"
mp_logdetail "0"
mp_logecho "0"
mp_logfile "1"
mp_logmessages "1"
mp_maxrounds "0"
mp_mirrordamage "0"
mp_playerid "2"
mp_roundtime "2.5"
mp_startmoney "1337"
mp_timeleft "0"
mp_timelimit "20"
mp_tkpunish "0"
mp_winlimit "0"
pausable "0"
rcon_password "*** TOP SECRET ***"
sv_aim "0"
sv_airaccelerate "10"
sv_allow_dlfile "0"
sv_allowdownload "0"
sv_allowupload "0"
sv_alltalk "1"
sv_cheats "0"
sv_clienttrace "1"
sv_contact "*** TOP SECRET ***"
sv_downloadurl "*** TOP SECRET ***"
sv_enableoldqueries "1"
sv_filetransfercompression "0"
sv_filetransfermaxsize "31457280"
sv_friction "4"
sv_gravity "800"
sv_lan "0"
sv_lan_rate "20000"
sv_log_onefile "0"
sv_maxrate "100000"
sv_maxspeed "320"
sv_maxunlag "0.5"
sv_maxupdaterate "101"
sv_maxvelocity "2000"
sv_minrate "100000"
sv_minupdaterate "30"
sv_password ""
sv_proxies "0"
sv_rcon_banpenalty "1440"
sv_rcon_maxfailures "10"
sv_rcon_minfailures "1"
sv_rcon_minfailuretime "30"
sv_region "255"
sv_send_logos "0"
sv_send_resources "0"
sv_spectatormaxspeed "500"
sv_stats "0"
sv_stepsize "18"
sv_stopspeed "75"
sv_timeout "60"
sv_unlag "1"
sv_unlagpush "0"
sv_unlagsamples "1"
// sv_voicecodec "voice_speex"
// sv_voiceenable "0"
// sv_voicequality "3"
sys_ticrate "1100"

dp_rejmsg_avsmp "AVSMP Client NOT SUPPORT!"
dp_rejmsg_hltv "HLTV NOT SUPPORT!"
dp_rejmsg_nosteam47 "Sorry, you're using old client."
dp_rejmsg_nosteam48 "STEAM and RevEmu ONLY!"
dp_rejmsg_oldrevemu "OldRevEmu Client NOT SUPPORT!"
dp_rejmsg_pending "STEAM_ID_PENDING NOT SUPPORT!"
dp_rejmsg_revemu "RevEmu Client NOT SUPPORT!"
dp_rejmsg_revemu_sc2009 "SC2009 Client NOT SUPPORT!"
dp_rejmsg_revemu2013 "RevEmu2013 Client NOT SUPPORT!"
dp_rejmsg_steam "Steam Client NOT SUPPORT!"
dp_rejmsg_steamemu "SteamEmu Client NOT SUPPORT!"
dp_rejmsg_sxei "SXEI Client NOT SUPPORT!"
dp_rejmsg_sse3 "SSE Client NOT SUPPORT!"

vtc_log "0"
vtc_logdir ""

csdm_active "1"
csdm_spec_menu_always "1"
csdm_unlimited_team_changes "1"
csdm_block_endround_force "1"
csdm_block_drop_weapon "1"
csdm_remove_weapon_dead "1"

rch_log "1"

exec banned.cfg
exec listip.cfg
[свернуть]

Game.cfg

// ReGameDLL Configuration File

// The style of gameplay where there aren't any teams (FFA mode)
// 0 - disabled (default behaviour)
// 1 - enabled
//
// Default value: "0"
mp_freeforall "0"

// Auto balancing of teams
// 0 - disabled
// 1 - on after next round (default behaviour)
// 2 - on next round
//
// Default value: "1"
mp_autoteambalance "0"

// Designate the desired amount of buy time for each round. (in minutes)
// -1 - means no time limit
// 0 - disable buy
//
// Default value: "1.5"
mp_buytime "0.25"

// The maximum allowable amount of money in the game
//
// Default value: "16000"
mp_maxmoney "16000"

// Disable round end by game scenario
// 0 - disabled (default behaviour)
// 1 - enabled (never end round)
//
// Flags for fine grained control (choose as many as needed)
// a - block round time round end check
// b - block needed players round end check
// c - block VIP assassination/success round end check
// d - block prison escape round end check
// e - block bomb round end check
// f - block team extermination round end check
// g - block hostage rescue round end check
//
// Example setting: "ae" - blocks round time and bomb round end checks
// Default value: "0"
mp_round_infinite "abcdefg"

// The round by expired time will be over, if on a map it does not have the scenario of the game.
// 0 - disabled (default behaviour)
// 1 - enabled
// Default value: "0"
mp_roundover "0"

// Number of seconds to delay before restarting a round after a win.
// Default value: "5"
mp_round_restart_delay "5"

// Disable grenade damage through walls
// 0 - disabled
// 1 - enabled
// Default value: "0"
mp_hegrenade_penetration "0"

// Drop a grenade after player death
// 0 - disabled
// 1 - drop one the grenade
// 2 - drop an everyone grenades
// Default value: "0"
mp_nadedrops "0"

// Player cannot respawn until next round
// if more than N seconds has elapsed since the beginning round
//
// Default value: "20"
mp_roundrespawn_time "20"

// Automatically reload each weapon on player spawn
// 0 - disabled (default behaviour)
// 1 - enabled
//
// Default value: "0"
mp_auto_reload_weapons "0"

// Refill amount of backpack ammo up to the max
// 0 - disabled (default behaviour)
// 1 - refill backpack ammo on player spawn
// 2 - refill backpack ammo on player spawn and on the purchase of the item
// 3 - refill backpack ammo on each weapon reload (NOTE: Useful for mods like DeathMatch, GunGame, ZombieMod etc.)
//
// Default value: "0"
mp_refill_bpammo_weapons "0"

// Automatically joins the team
// 0 - disabled
// 1 - enabled (Use in conjunction with the cvar humans_join_team any/SPEC/CT/T)
//
// Default value: "0"
mp_auto_join_team "0"

// Maximum number of allowed teamkills before autokick.
// Used when enabled mp_autokick.
// 0 - disabled
//
// Default value: "3"
mp_max_teamkills "0"

// If set to something other than 0,
// when anybody’s scored reaches mp_fraglimit the server changes map.
// 0 - means no limit
//
// Default value: "0"
mp_fraglimit "0"

// Period between map rotations.
// 0 - means no limit
//
// Default value: "0"
mp_timelimit "20"

// Players will automatically respawn when killed.
// 0 - disabled
// >0.00001 - time delay to respawn
//
// Default value: "0"
mp_forcerespawn "0"

// The hostages can take the damage.
// 0 - disabled
// 1 - enabled (default behaviour)
mp_hostage_hurtable "0"

// bot_quota "10"
// bot_difficulty "2"
// bot_chatter "off"
// bot_join_after_player "0"

// Set's the mode for the zBot
// 0 - disabled
// 1 - enable mode Deathmatch and not allow to do the scenario
//
// Default value: "0"
bot_deathmatch "1"

// Determines the type of quota.
// normal - default behaviour
// fill - the server will adjust bots to keep N players in the game, where N is bot_quota
//
// Default value: "normal"
bot_quota_mode "fill"

// Debug cvar shows triggers.
// 0 - disabled (default behaviour)
// 1 - enabled
//
// Default value: "0"
showtriggers "0"

echo "[ReHLDS] GAME.CFG Load!"
[свернуть]
Вложения
Тип файла: sma csdm_auto_balance.sma (3.0 Кб, 4 просмотров)
Тип файла: sma recsdm_auto_balance.sma (7.2 Кб, 5 просмотров)
Default. вне форума   Ответить с цитированием
Старый 26.09.2017, 18:53   #2
Не проверенный
 
Регистрация: 19.12.2013
Адрес: Санкт-Петербург
Сообщений: 4
Сказал спасибо: 7
Поблагодарили 0 раз(а) в 0 сообщениях
По умолчанию

Огромное спасибо Радиусу, что не отказал в помощи и исправил ошибку.
Исправленный плагин во вложении. Теперь всё работает как часы.
Вложения
Тип файла: sma csdm_auto_balance.sma (3.0 Кб, 17 просмотров)
Default. вне форума   Ответить с цитированием
Ответ


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 
Опции темы
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 20:45. Часовой пояс GMT +3.


Лицензия принадлежит Dedicated-Server.Ru