- Ошибка
-
Where is ban?
- ОС
- Linux
- Amx Mod X
-
AMX Mod X 1.9.0.5271
- Билд
-
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.8.0.739-dev
Build date: 09:46:24 Apr 21 2021 (2566)
Build from: https://github.com/dreamstalker/rehlds/commit/6a916d7
- ReGamedll
-
ReGameDLL version: 5.20.0.505-dev
Build date: 11:06:14 Apr 17 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/e86284b
- Версия 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)
- Список метамодулей
-
description stat pend file vers src load unlod
[ 1] SafeNameAndChat RUN - SafeNameAndChat. v1.1 ini ANY ANY
[ 2] Reunion RUN - reunion_mm_i386. v0.1.0.9 ini Start Never
[ 3] <reauthcheck_mm badf load reauthcheck_mm_i v - ini - -
[ 4] Rechecker RUN - rechecker_mm_i38 v2.5 ini Chlvl ANY
[ 5] VoiceTranscoder RUN - VoiceTranscoder. v2017RC5 ini ANY ANY
[ 6] AMX Mod X RUN - amxmodx_mm_i386. v1.9.0.5 ini Start ANY
[ 7] WHBlocker RUN - whblocker_mm_i38 v1.5.697 ini Chlvl ANY
[ 8] SoftBlocker RUN - softblocker_mm_i v1.1g ini ANY Never
[ 9] ReSRDetector RUN - resrdetector_mm_ v0.1.0 ini Chlvl ANY
[10] SQLite RUN - sqlite_amxx_i386 v1.9.0.5 pl6 ANY ANY
[11] ReAimDetector RUN - reaimdetector_am v0.2.2 pl6 ANY Never
[12] ReAPI RUN - reapi_amxx_i386. v5.19.0. pl6 ANY Never
[13] FakeMeta RUN - fakemeta_amxx_i3 v1.9.0.5 pl6 ANY ANY
[14] CStrike RUN - cstrike_amxx_i38 v1.9.0.5 pl6 ANY ANY
[15] CSX RUN - csx_amxx_i386.so v1.9.0.5 pl6 ANY ANY
[16] Ham Sandwich RUN - hamsandwich_amxx v1.9.0.5 pl6 ANY ANY
[17] Engine RUN - engine_amxx_i386 v1.9.0.5 pl6 ANY ANY
[18] Fun RUN - fun_amxx_i386.so v1.9.0.5 pl6 ANY ANY
[19] GeoIP RUN - geoip_amxx_i386. v1.9.0.5 pl6 ANY ANY
- Список плагинов
-
name version author file status
[ 1] Invisible Spectator 1.0 ReHLDS Team invisible_spect running
[ 2] Admin Free Look 2.0 Jim admin_freelook. running
[ 3] ReChecker Logging 1.0 custom rc_logging.amxx running
[ 4] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 5] Admin Base 1.9.0.5271 AMXX Dev Team admin.amxx running
[ 6] Admin Commands 1.9.0.5271 AMXX Dev Team admincmd.amxx running
[ 7] Admin Help 1.9.0.5271 AMXX Dev Team adminhelp.amxx paused
[ 8] Multi-Lingual System 1.9.0.5271 AMXX Dev Team multilingual.am running
[ 9] Menus Front-End 1.9.0.5271 AMXX Dev Team menufront.amxx running
[ 10] Commands Menu 1.8.1.3746 AMXX Dev Team cmdmenu.amxx running
[ 11] Players Menu 1.9.0.5271 AMXX Dev Team plmenu.amxx running
[ 12] Maps Menu 1.9.0.5271 AMXX Dev Team mapsmenu.amxx running
[ 13] Plugin Menu 1.9.0.5271 AMXX Dev Team pluginmenu.amxx running
[ 14] Admin Chat 1.9.0.5271 AMXX Dev Team adminchat.amxx running
[ 15] Anti Flood 1.9.0.5271 AMXX Dev Team antiflood.amxx running
[ 16] Scrolling Message 1.9.0.5271 AMXX Dev Team scrollmsg.amxx running
[ 17] Info. Messages 1.9.0.5271 AMXX Dev Team imessage.amxx running
[ 18] Admin Votes 1.9.0.5271 AMXX Dev Team adminvote.amxx running
[ 19] Pause Plugins 1.9.0.5271 AMXX Dev Team pausecfg.amxx running
[ 20] Stats Configuration 1.9.0.5271 AMXX Dev Team statscfg.amxx running
[ 21] StatsX (MastaMan Editi 1.8.1.3746 AMXX Dev Team & statsx_shell.am running
[ 22] FreshBans 1.4.3b kanagava fresh_bans_143_ running
[ 23] fb_forwards 0.1.4 Kanagava & Realu fb_forwards.amx running
[ 24] BhopHack Detector 0.1 Mistrick bhophack_detect running
[ 25] Advanced Client Checke 0.3.6 Mistrick cmdchecker.amxx running
[ 26] Stop the Bastards 1.7.0 F@nt0M stop_the_bastar running
[ 27] [ReAPI] Random Weapons 2.4.9 neugomon/h1k3 random_weapons_ running
[ 28] V.I.P Custom Weapons 1.0.0 Vaqtincha vip_custom.amxx running
[ 29] V.I.P Custom AWP 1.0.0 Vaqtincha custom_awp.amxx running
[ 30] V.I.P Custom AK-47 1.0.0 Vaqtincha custom_ak47.amx running
[ 31] V.I.P Custom DEAGLE 1.0.0 Vaqtincha custom_deagle.a running
[ 32] V.I.P Custom KNIFE 1.0.0 Vaqtincha custom_knife.am running
[ 33] V.I.P Custom M4A1 1.0.0 Vaqtincha custom_m4a1.amx running
[ 34] Advanced Gag 1.9.0 neygomon amx_gag.amxx running
[ 35] Custom Smoke 1.07 bionext custom_smoke.am running
[ 36] [ReAPI] Molotov 2.1.1 wellasgood reapi_molotov.a running
[ 37] Lite AwpLimit 1.09 neygomon awp.amxx running
[ 38] Automatic knife duel 0.3x JGHG / Leo_[BH] knf_duel.amxx running
[ 39] AFK Control ReNew 1.2(a) neygomon afk_control.amx running
[ 40] Color Photo Skill 0.0.2 wopox1337 Colored_Photo_K running
[ 41] Map Spawns Editor 1.0.16 iG_os map_spawns_edit running
[ 42] Grenade Control 1.1 HeJlenocmb | Tel grenade_control running
[ 43] Advanced Kill Assists 1.3c Xelson next21_kill_ass running
[ 44] amx_brightness 1.0 Eg@r4$il{ amx_brightness. running
[ 45] SpecList 1.2a FatalisDK speclist_rus.am running
[ 46] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 47] Block Advertising 1.3 Alka block_advertisi running
[ 48] Reset Score ReFreshed 0.0.1 wopox1337@Dev-CS ResetScore_ReFr running
[ 49] Semiclip 1.31 skyjur semiclip.amxx running
[ 50] Demo Recorder 2.4.1 F@nt0M demo_recorder.a running
[ 51] AntiFlash FINAL 5.0 Leo_[BH] antiflash5_non_ running
[ 52] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 53] Parachute Lite [ReAPI] 11.0 Leo_[BH] parachute_lite. running
[ 54] Mode 2x2 1.9 s1lent mode.amxx running
[ 55] Anti Reklama 3.0b Exolent/->UrOS<- antireklama.amx running
[ 56] Lite Translit 2.8 neygomon lite_translit.a running
[ 57] Advanced Experience Sy 0.5 Vega serfreeman1337 aes_main.amxx running
[ 58] AES: CStrike Addon 0.5 Vega serfreeman1337 aes_exp_cstrike running
[ 59] AES: Informer 0.5 Vega serfreeman1337 aes_informer.am running
[ 60] AES: Admin Tools 0.5 Vega serfreeman1337 aes_exp_editor. running
- Автор плагина
- Mistrick
- Версия плагина
- 0.1
- Исходный код
-
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#define PLUGIN "BhopHack Detector"
#define VERSION "0.1"
#define AUTHOR "Mistrick"
#pragma semicolon 1
#define LOGFILE "bhopdetector.log"
enum _:PLAYER_DATA
{
m_GroundFrames,
m_OldGroundFrames,
m_PreJumpGroundFrames,
m_OldPreJumpGroundFrames,
m_AirFrames,//useless
m_JumpHoldFrames,
m_JumpPressCount,
m_DuckHoldFrames,
Float:m_Velocity//useless
};
enum _:WARNINGS_DATA
{
m_WarnEqualFrames,
m_WarnGroundEqualFrames,
m_WarnJumpSpam
}
#define MAX_JUMPCOUNT 16
#define MAX_GROUND_FRAME_COINCIDENCE 16
#define MAX_JUMP_SPAM 8
new g_ePlayerInfo[33][PLAYER_DATA];
new g_ePlayerWarn[33][WARNINGS_DATA];
new g_ePlayerWarnMax[33][WARNINGS_DATA];
new g_szLogFile[128];
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
register_forward(FM_PlayerPreThink, "FM_PlayerPreThink_Pre", false);
}
public plugin_cfg()
{
get_localinfo("amxx_logs", g_szLogFile, charsmax(g_szLogFile));
format(g_szLogFile, charsmax(g_szLogFile), "/%s/%s", g_szLogFile, LOGFILE);
}
public client_putinserver(id)
{
g_ePlayerWarn[id][m_WarnEqualFrames] = 0;
g_ePlayerWarn[id][m_WarnGroundEqualFrames] = 0;
g_ePlayerWarn[id][m_WarnJumpSpam] = 0;
}
public client_disconnect(id)
{
UTIL_LogUser(id, "onground %d, equaljump %d, jumpspam %d", g_ePlayerWarnMax[id][m_WarnGroundEqualFrames], g_ePlayerWarnMax[id][m_WarnEqualFrames], g_ePlayerWarnMax[id][m_WarnJumpSpam]);
g_ePlayerWarnMax[id][m_WarnEqualFrames] = 0;
g_ePlayerWarnMax[id][m_WarnGroundEqualFrames] = 0;
g_ePlayerWarnMax[id][m_WarnJumpSpam] = 0;
}
public FM_PlayerPreThink_Pre(id)
{
if(!is_user_alive(id)) return FMRES_IGNORED;
new buttons = pev(id, pev_button);
new oldbuttons = pev(id, pev_oldbuttons);
if(buttons & IN_JUMP)
{
g_ePlayerInfo[id][m_JumpHoldFrames]++;
}
if(buttons & IN_JUMP && ~oldbuttons & IN_JUMP)
{
g_ePlayerInfo[id][m_JumpPressCount]++;
}
if(~buttons & IN_JUMP && oldbuttons & IN_JUMP)
{
///**************************************
}
if(buttons & IN_DUCK)
{
g_ePlayerInfo[id][m_DuckHoldFrames]++;
}
new on_ground = bool:(pev(id, pev_flags) & FL_ONGROUND);
if(on_ground)
{
g_ePlayerInfo[id][m_GroundFrames]++;
}
else
{
if(g_ePlayerInfo[id][m_GroundFrames])
{
new Float:velocity[3]; pev(id, pev_velocity, velocity); velocity[2] = 0.0;
g_ePlayerInfo[id][m_Velocity] = _:vector_length(velocity);
g_ePlayerInfo[id][m_PreJumpGroundFrames] = g_ePlayerInfo[id][m_GroundFrames];
}
g_ePlayerInfo[id][m_GroundFrames] = 0;
g_ePlayerInfo[id][m_AirFrames]++;
}
if(g_ePlayerInfo[id][m_OldGroundFrames] == 0 && g_ePlayerInfo[id][m_GroundFrames])
{
if(g_ePlayerInfo[id][m_JumpPressCount] == 0 && g_ePlayerInfo[id][m_JumpHoldFrames] == 0 && g_ePlayerInfo[id][m_DuckHoldFrames] == 0)
{
//console_print(id, "wtf? JumpPressCount 0, JumpHoldFrames 0, DuckHoldFrames 0");
}
if(g_ePlayerInfo[id][m_JumpPressCount] > 0)
{
/// if g_ePlayerInfo[id][m_JumpHoldFrames] == g_ePlayerInfo[id][m_JumpPressCount] cheat
/// if g_ePlayerInfo[id][m_JumpPressCount] > 16 script
//console_print(id, "ground [%d], air [%d], jumphold [%d], jumpcount [%d], velocity [%.3f]", g_ePlayerInfo[id][m_PreJumpGroundFrames], g_ePlayerInfo[id][m_AirFrames], g_ePlayerInfo[id][m_JumpHoldFrames], g_ePlayerInfo[id][m_JumpPressCount], g_ePlayerInfo[id][m_Velocity]);
/// TODO: сделать цикл
if(g_ePlayerInfo[id][m_JumpHoldFrames] == g_ePlayerInfo[id][m_JumpPressCount])
{
g_ePlayerWarn[id][m_WarnEqualFrames]++;
if(g_ePlayerWarn[id][m_WarnEqualFrames] > g_ePlayerWarnMax[id][m_WarnEqualFrames])
{
g_ePlayerWarnMax[id][m_WarnEqualFrames] = g_ePlayerWarn[id][m_WarnEqualFrames];
}
}
else if(g_ePlayerWarn[id][m_WarnEqualFrames])
{
g_ePlayerWarn[id][m_WarnEqualFrames]--;
}
if(g_ePlayerInfo[id][m_PreJumpGroundFrames] == g_ePlayerInfo[id][m_OldPreJumpGroundFrames])
{
g_ePlayerWarn[id][m_WarnGroundEqualFrames]++;
if(g_ePlayerWarn[id][m_WarnGroundEqualFrames] > g_ePlayerWarnMax[id][m_WarnGroundEqualFrames])
{
g_ePlayerWarnMax[id][m_WarnGroundEqualFrames] = g_ePlayerWarn[id][m_WarnGroundEqualFrames];
}
}
else if(g_ePlayerWarn[id][m_WarnGroundEqualFrames])
{
g_ePlayerWarn[id][m_WarnGroundEqualFrames]--;
}
if(g_ePlayerInfo[id][m_JumpPressCount] >= MAX_JUMPCOUNT)
{
g_ePlayerWarn[id][m_WarnJumpSpam]++;
if(g_ePlayerWarn[id][m_WarnJumpSpam] > g_ePlayerWarnMax[id][m_WarnJumpSpam])
{
g_ePlayerWarnMax[id][m_WarnJumpSpam] = g_ePlayerWarn[id][m_WarnJumpSpam];
}
}
else if(g_ePlayerWarn[id][m_WarnJumpSpam])
{
g_ePlayerWarn[id][m_WarnJumpSpam]--;
}
//console_print(id, "groundequal [%d], jumpequal[%d], jumpspam [%d]", g_ePlayerWarn[id][m_WarnGroundEqualFrames], g_ePlayerWarn[id][m_WarnEqualFrames], g_ePlayerWarn[id][m_WarnJumpSpam]);
if(g_ePlayerWarn[id][m_WarnGroundEqualFrames] >= MAX_GROUND_FRAME_COINCIDENCE)
{
PunishPlayer(id, "BhopHack[g]");
g_ePlayerWarn[id][m_WarnGroundEqualFrames] = 0;
}
if(g_ePlayerWarn[id][m_WarnJumpSpam] >= MAX_JUMP_SPAM)
{
PunishPlayer(id, "BhopHack[s]");
g_ePlayerWarn[id][m_WarnJumpSpam] = 0;
}
}
g_ePlayerInfo[id][m_AirFrames] = 0;
g_ePlayerInfo[id][m_JumpHoldFrames] = 0;
g_ePlayerInfo[id][m_JumpPressCount] = 0;
g_ePlayerInfo[id][m_DuckHoldFrames] = 0;
g_ePlayerInfo[id][m_OldPreJumpGroundFrames] = g_ePlayerInfo[id][m_PreJumpGroundFrames];
}
g_ePlayerInfo[id][m_OldGroundFrames] = g_ePlayerInfo[id][m_GroundFrames];
return FMRES_IGNORED;
}
PunishPlayer(id, reason[])
{
new name[32]; get_user_name(id, name, charsmax(name));
client_print(0, print_chat, "[BH Detector] %s using %s", name, reason);
server_cmd("amx_ban 43200 #%d %s", get_user_userid(id), reason);
UTIL_LogUser(id, "using %s", reason);
}
stock UTIL_LogUser(const id, const szCvar[], any:...)
{
new iFile;
if( (iFile = fopen(g_szLogFile, "a")) )
{
new szName[32], szAuthid[32], szIp[32], szTime[22];
new message[128]; vformat(message, charsmax(message), szCvar, 3);
get_user_name(id, szName, charsmax(szName));
get_user_authid(id, szAuthid, charsmax(szAuthid));
get_user_ip(id, szIp, charsmax(szIp), 1);
get_time("%m/%d/%Y - %H:%M:%S", szTime, charsmax(szTime));
fprintf(iFile, "L %s: <%s><%s><%s> %s^n", szTime, szName, szAuthid, szIp, message);
fclose(iFile);
}
}
Всем привет
Плагин иногда банит, иногда нет но пишет в чате сервера что игрок пользует бхоп:
[BH Detector] (игрок) using BhopHack
логи того же игрока из bhopdetector.log:
L 06/20/2021 - 19:36:29: <(игрок)><(стимИд)><(ип)> using BhopHack
L 06/20/2021 - 19:38:00: <(игрок)><(стимИд)><(ип)> onground 1, equaljump 0, jumpspam 8
Плагин иногда банит, иногда нет но пишет в чате сервера что игрок пользует бхоп:
[BH Detector] (игрок) using BhopHack
логи того же игрока из bhopdetector.log:
L 06/20/2021 - 19:36:29: <(игрок)><(стимИд)><(ип)> using BhopHack
L 06/20/2021 - 19:38:00: <(игрок)><(стимИд)><(ип)> onground 1, equaljump 0, jumpspam 8