Участник
Пользователь
- Сообщения
- 460
- Реакции
- 68
- Помог
- 7 раз(а)
- Ошибка
-
Стоит плагин на сервере показано что запущен но игроки могут реконектится дальше.
- ОС
- Windows
- Amx Mod X
-
AMX Mod X 1.9.0.5235 (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: Dec 18 2018 01:20:16
Built from: https://github.com/alliedmodders/amxmodx/commit/6c53524d
Build ID: 5235:6c53524d
Core mode: JIT+ASM32
- Билд
-
Protocol version 48
Exe version 1.1.2.7 (cstrike)
ReHLDS version: 3.4.0.668-dev
Build date: 09:47:42 Sep 29 2018 (1631)
Build from: https://github.com/dreamstalker/rehlds/commit/89be216
- ReGamedll
-
ReGameDLL version: 5.7.0.322-dev
Build date: 11:41:14 Jan 13 2019
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/7398bb7
- Версия Metamod
-
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 15:47:38 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
- Список метамодулей
-
[ 1] VoiceTranscoder RUN - voicetranscoder.dll v2017RC3 ini ANY ANY
[ 2] Reunion RUN - reunion_mm.dll v0.1.0.133 ini Start Never
[ 3] ReSemiclip RUN - resemiclip_mm.dll v2.3.9 ini Chlvl ANY
[ 4] AMX Mod X RUN - amxmodx_mm.dll v1.9.0.5235 ini Start ANY
[ 5] WHBlocker RUN - whblocker_mm.dll v1.5.696 ini Chlvl ANY
[ 6] Rechecker RUN - rechecker_mm.dll v2.5 ini Chlvl ANY
[ 7] ReAuthCheck RUN - reauthcheck_mm.dll v0.1.6 ini Start Never
[ 8] CStrike RUN - cstrike_amxx.dll v1.9.0.5235 pl4 ANY ANY
[ 9] SQLite RUN - sqlite_amxx.dll v1.9.0.5235 pl4 ANY ANY
[10] ReAPI RUN - reapi_amxx.dll v5.7.0.162-dev pl4 ANY Never
[11] Engine RUN - engine_amxx.dll v1.9.0.5235 pl4 ANY ANY
[12] Ham Sandwich RUN - hamsandwich_amxx.dll v1.9.0.5235 pl4 ANY ANY
[13] FakeMeta RUN - fakemeta_amxx.dll v1.9.0.5235 pl4 ANY ANY
[14] ReAimDetector RUN - reaimdetector_amxx.dll v0.2.2 pl4 ANY Never
[15] hackdetector RUN - hackdetector_amxx.dll v0.15.328.lite pl4 ANY ANY
[16] Fun RUN - fun_amxx.dll v1.9.0.5235 pl4 ANY ANY
16 plugins, 16 running
- Список плагинов
-
name version author file status
[ 1] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 2] Advanced Client Checke 0.3.6 Mistrick cmdchecker.amxx running
[ 3] CSStatsX SQL 0.7.4+1 serfreeman1337 csstatsx_sql.am running
[ 4] FreshBans 1.3.9b kanagava fresh_bans_139_ running
[ 5] ScreenMaker 1.1 neygomon screen_maker.am running
[ 6] RC BaseChanger 1.0 phe rc_basechanger. stopped
[ 7] ReChecker Logging 1.0 custom rc_logging.amxx running
[ 8] Lite Admin ESP 1.1 neygomon, AcE admin_esp_ace.a running
[ 9] Admin Base 1.9.0.5232 AMXX Dev Team admin.amxx running
[ 10] Ping Control 1.4 neygomon Ping_Control.am running
[ 11] AFK Control ReNew 1.2(a) neygomon afk_control.amx running
[ 12] AES: StatsX 0.5.9 [REA serfreeman1337/s aes_statsx_cstr running
[ 13] Stats Configuration 1.9.0.5232 AMXX Dev Team statscfg.amxx running
[ 14] Advanced Gag 1.9.0 neygomon amx_gag.amxx running
[ 15] Advanced MapChooser 1.4 neygomon map_chooser.amx running
[ 16] [ReAPI] No Team Flash 0.0.2 Vaqtincha no_team_flash.a running
[ 17] Items Restrict 1.0 s1lent items_restrict. running
[ 18] resetscore(ReAPI) 1.0 Phantom resetscore.amxx running
[ 19] Maps Menu 1.4.1 neugomon mapsmenu.amxx running
[ 20] Radio Hudmsg Block 1.0 AcE radio_hudmsg_bl running
[ 21] Server Menu 1.5.0 F@nt0M server_menu.amx running
[ 22] SF Bets 0.1.5 serfreeman1337 sf_bets.amxx running
[ 23] Parachute for ALL [ReA 3.0 Leo_[BH] parachute.amxx running
[ 24] Lite C4 Timer 1.0.0 neygomon lite_c4timer.am running
[ 25] Auto Demo Recorder 2.3 F@nt0M demo_recorder.a running
[ 26] Rock to Ban 1.02 Safety1st rock2ban.amxx running
[ 27] Players Menu 1.7 neugomon players_menu.am running
[ 28] Kills Counter 0.3 serfreeman1337 kills_counter.a running
[ 29] Killer ScreenFade 0.0.5 Vaqtincha reapi_killer_sc running
[ 30] Grab 2.5 Support123 grab_new.amxx running
[ 31] [ReAPI] Damager 1.1 phe re_damager.amxx running
[ 32] Lite Translit 2.8 neygomon lite_translit_c debug
[ 33] SF Warn Menu 0.1.4g serfreeman1337 sf_admin_warns. running
[ 34] Advanced Kill Assists 0.9 Spection next21_kill_ass running
[ 35] AES: StatsX Info Rank 0.1 serfreeman1337 aes_statsx_rank running
[ 36] Say me and Say hp 1.4 neygomon sayme_reapi.amx running
[ 37] Adverts 1.0 pUzzlik adverts_message running
[ 38] SpecList 1.2a FatalisDK speclist.amxx running
[ 39] No Name Change 0.1.1 VEN no_changename.a running
[ 40] Steam Models 0.1b+mod.l Freedo.m steam_models.am running
[ 41] [ReAPI] Round Balancer 1.1 neygomon round_balancer. running
[ 42] Plugins Controller 1.0 neygomon plugins_control stopped
[ 43] BunnyHop 1.0 PurposeLess bunnyhop.amxx stopped
[ 44] Anti reconnect 3.0 JohnJ antireconnect.a running
[ 45] V.I.P Custom Weapons 1.0.0 Vaqtincha vip_custom.amxx running
[ 46] V.I.P Custom DEAGLE 1.0.0 Vaqtincha custom_deagle.a debug
[ 47] V.I.P Custom M4A1 1.0.0 Vaqtincha custom_m4a1.amx debug
[ 48] V.I.P Custom AK-47 1.0.0 Vaqtincha custom_ak47.amx debug
[ 49] V.I.P Custom AWP 1.0.0 Vaqtincha custom_awp.amxx debug
[ 50] Advanced Experience Sy 0.5.9 [REA serfreeman1337/s aes_main.amxx running
[ 51] AES: CStrike Addon 0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[ 52] AES: Informer 0.5.9 [REA serfreeman1337/s aes_informer.am running
[ 53] AES: Admin Tools 0.5.9 [REA serfreeman1337/s aes_exp_editor. running
[ 54] AES: Bonus System 0.5.9 Vega serfreeman1337/s aes_bonus_syste running
[ 55] AES: Bonus CSTRIKE 0.5.9 [REA serfreeman1337/s aes_bonus_cstri running
55 plugins, 52 running
- Автор плагина
- new AUTHOR[]="JohnJ"
- Версия плагина
- new VERSION[]="3.0"
- Исходный код
-
#include <amxmodx>
#include <cstrike>
#include <fun>
new PLUGIN[]="Anti reconnect"
new AUTHOR[]="JohnJ"
new VERSION[]="3.0"
new RTIME[]="amx_reconnect_time"
new RCAN[]="amx_reconnect_can"
new t_disconnect[33] = {0, ...}
new ips[33][24]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_cvar(RTIME, "20")
register_cvar(RCAN, "0")
}
public client_connected(id)
{
if ((is_user_bot(id)) || (get_user_flags(id) & ADMIN_RESERVATION) || (is_user_hltv(id)))
return PLUGIN_HANDLED
new maxexit = get_cvar_num(RTIME)
new canreconnect = get_cvar_num(RCAN)
new ip[24]
get_user_ip(id,ip,23,0)
if ((maxexit>0) && (canreconnect==0) && (equali(ip,ips[id])))
{
new Float:nexTime = get_gametime()
if (t_disconnect[id] > nexTime)
{
new timewait
timewait=t_disconnect[id]-floatround(nexTime)
server_cmd("kick #%d ^"Вы часто перезаходите на сервер, ждите %d сек.^"", get_user_userid(id), timewait)
return PLUGIN_CONTINUE
}
}
return PLUGIN_CONTINUE
}
public client_disconnected(id)
{
if ((is_user_bot(id)) || (get_user_flags(id) & ADMIN_RESERVATION) || (is_user_hltv(id)))
return PLUGIN_HANDLED
new maxexit = get_cvar_num(RTIME)
new Float:theTime = get_gametime()
t_disconnect[id] = floatround(theTime) + maxexit
get_user_ip(id,ips[id],23,0)
return PLUGIN_CONTINUE
}
В amx.cfg такие настройки
PHP:
amx_reconnect_can 0 ; разрешена ли команда reconnect. (по умолчанию 1).
amx_reconnect_time 15 ; если reconnect запрещен, то сколько секунд нельзя будет присоедениться к серверу. (по умолчанию 7).
В этой теме было размещено решение! Перейти к решению.