Участник
Пользователь
- Сообщения
- 101
- Реакции
- 18
- Ошибка
-
FATAL ERROR (shutting down): CRehldsServerStatic::GetClient_t: invalid id provided: -917216067
./hlds_run: line 272: 26206 Segmentation fault (core dumped) $HL_CMD
- ОС
- Linux
- Amx Mod X
-
AMX Mod X 1.9.0.5294 (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 3 2021 15:54:56
Built from: https://github.com/alliedmodders/amxmodx/commit/363871a
Build ID: 5294:363871a
Core mode: JIT+ASM32
- Билд
-
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.13.0.823-dev-mpatch
Build date: 11:13:41 Apr 15 2024 (3656)
Build from: https://github.com/dreamstalker/rehlds/commit/0d1bdba
- ReGamedll
-
ReGameDLL version: 5.26.0.668-dev
Build date: 19:02:48 Dec 31 2023
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/d3c0ec8
- Версия Metamod
-
Metamod-r v1.3.0.149, API (5:13)
Metamod-r build: 11:31:17 Apr 23 2024
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/603a257
- Список метамодулей
-
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] Reunion RUN - reunion_mm_i386.so v0.1.92d ini Start Never
[ 2] Ultimate Unprecacher RUN - unprecacher_i386.so vBeta 2.5.3 ini Chlvl Chlvl
[ 3] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5294 ini Start ANY
[ 4] Revoice RUN - revoice_plus_mm.so v2.1.0 ini ANY Never
[ 5] HitBox Fix RUN - hitbox_fix_mm_i386.so v1.1.5 ini Start ANY
[ 6] ReSemiclip RUN - resemiclip_mm_i386.so v2.4.3 ini Chlvl ANY
[ 7] Rechecker RUN - rechecker_mm_i386.so v2.7 ini Chlvl ANY
[ 8] ReSRDetector RUN - resrdetector_mm_i386.so v0.1.0 ini Chlvl ANY
[ 9] SafeNameAndChat RUN - SafeNameAndChat.so v1.2 Beta 3 ini ANY ANY
[10] WHBlocker RUN - whblocker_mm_i386.so v1.5.697 ini Chlvl ANY
[11] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[12] Accuracy Fix (ACS) RUN - accuracyfix_mm.so v1.0.7a ini ANY ANY
[13] MySQL RUN - mysql_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[14] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl3 ANY Never
[15] Hide Cvars RUN - hidecvars_amxx_i386.so v1.0 pl3 ANY ANY
[16] AuthEmu RUN - authemu_amxx_i386.so v5.2.12.431 pl3 ANY Never
[17] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[18] IPHub Client RUN - iphubclient_amxx_i386.so v1.0.1 pl3 ANY Never
[19] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[20] Engine RUN - engine_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[21] ReAPI RUN - reapi_amxx_i386.so v5.24.0.300-dev pl3 ANY Never
[22] Amxx Easy Http RUN - easy_http_amxx_i386.so v1.3.0 pl3 ANY ANY
[23] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[24] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
[25] Fun RUN - fun_amxx_i386.so v1.9.0.5294 pl3 ANY ANY
25 plugins, 25 running
- Список плагинов
-
Currently loaded plugins:
name version author file status
[ 1] AMXBans: Core Gm 1.6 Larte Team amxbans_core.am running
[ 2] AMXBans: Main Gm 1.6 Larte Team amxbans_main.am debug
[ 3] FreshBans 1.4.8b kanagava fresh_bans_148- running
[ 4] Bypass Guard 1.0.9 mx?! bypass_guard.am running
[ 5] [BG] Provider: IPHub-C 1.3 mx?! bg_provider_iph running
[ 6] [BG] Supervisor 0.4 mx?! bg_supervisor.a running
[ 7] [BG] Provider: GeoIP 0.3 mx?! bg_provider_geo running
[ 8] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 9] [190] Vanga Detector 23.07.29 SKAJIbnEJIb & Pr vanga_detector. running
[ 10] Vac Ban Status 0.0.1 Albertio vac_ban_status. running
[ 11] Ping Control 1.2 mx?! ping_control.am running
[ 12] AuthEmu API 1.0 Dev-MS Team authemu.amxx running
[ 13] [ReAPI] AdminFreeLook 1.0 ReHLDS Team adminfreelook.a running
[ 14] Yet Another Voteban 1.8 AndrewZ/voed yet_another_vot running
[ 15] ACS Vote 1.1.9 DEV-CS.RU acs_vote.amxx running
[ 16] ACS Mute 1.0.1.1 ACADEMY-CS.RU acs_mute.amxx running
[ 17] ReChecker Logging 1.0 custom rc_logging.amxx running
[ 18] Music Connection 1.0.1 Jumper Music_Connectio running
[ 19] Weapon Model Replacer 0.1 Vaqtincha WeaponModelRepl running
[ 20] GameCMS_API 5.6.3 zhorzh78 gamecms_api_5.6 running
[ 21] GameCMS_Registration 1.5 nb zhorzh78 gamecms_registr running
[ 22] Players Menu 22.11.15 SKAJIbnEJIb & AM admincmd_rbs.am running
[ 23] Hud_info 2.1 h1k3 hud_info.amxx running
[ 24] Telegram Reports Sende 3.0.0 @pywave & Albert telegram_report running
[ 25] [190] MOTD RBS 21.03.23 SKAJIbnEJIb motd_rbs.amxx running
[ 26] trigger_camera fix 1.0.0 Nordic Warrior fix_cam.amxx running
[ 27] Auto Logs Cleaner 0.0.1 b0t. AutoLogsCleaner running
[ 28] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 29] Rank Menu 1.1 h1k3 rankmenu.amxx running
[ 30] CSXSQL: Onlinetime Awa 0.2 serfreeman1337 csstatsx_playti running
[ 31] AES: StatsX 0.5+1 serfreeman1337 aes_statsx_cstr running
[ 32] ACS injection med-kit 1.0.6.2 DEV-CS.RU acs_injection.a running
[ 33] [ReAPI] Healthnade 0.0.15f DEV-CS.RU Commun reapi_healthnad running
[ 34] Molotov Cocktail API 2.31 CHEL74 + mx?! molotov_cocktai running
[ 35] Molotov Cocktail Spawn 1.8 mx?! molotov_cocktai running
[ 36] Blinding Time 0.0.1 Albertio blinding_time.a running
[ 37] Slots Reservation 1.9.0.5294 AMXX Dev Team adminslots.amxx running
[ 38] AFK Control ReNew 1.2(a) neygomon afk_control.amx running
[ 39] Team Balance Control 1.3.9 gyxoBka TeamBalanceCont running
[ 40] [190] Ultimate Models 21.03.23 SKAJIbnEJIb ultimate_models running
[ 41] Kills Counter 0.3 serfreeman1337 kills_counter.a running
[ 42] Menus Front-End 1.9.0.5294 AMXX Dev Team menufront.amxx running
[ 43] Commands Menu 20.06.06 SKAJIbnEJIb & AM cmdmenu_rbs.amx running
[ 44] Maps Menu 1.9.0.5294 AMXX Dev Team mapsmenu.amxx running
[ 45] Plugin Menu 1.9.0.5294 AMXX Dev Team pluginmenu.amxx running
[ 46] Reklama 20.05.2020 mx?! reklama.amxx running
[ 47] Admin Chat 1.9.0.5294 AMXX Dev Team adminchat.amxx running
[ 48] Scrolling Message 1.9.0.5294 AMXX Dev Team scrollmsg.amxx running
[ 49] Info. Messages 1.9.0.5294 AMXX Dev Team imessage.amxx running
[ 50] Chat Manager 1.1.2-16 Mistrick chatmanager.amx running
[ 51] Chat Manager: Addon 0.0.4-70 Mistrick chatmanager_add running
[ 52] FocusOnVotemap 1.2.1 Boec[SpecOPs] focus_on_votema running
[ 53] [ReAPI] Random Weapons 2.4.9 neugomon/h1k3 random_weapons_ running
[ 54] Pause Plugins 1.9.0.5294 AMXX Dev Team pausecfg.amxx running
[ 55] Stats Configuration 1.9.0.5294 AMXX Dev Team statscfg.amxx running
[ 56] StatsX 1.9.0.5294 AMXX Dev Team statsx.amxx running
[ 57] CS Stats Logging 1.9.0.5294 AMXX Dev Team stats_logging.a running
[ 58] [190] Ultimate Weapons 22.11.15 SKAJIbnEJIb ultimate_weapon running
[ 59] [190] VIP RBS 20.07.20 SKAJIbnEJIb vip_rbs.amxx running
[ 60] [190] Ultimate Flags 22.11.15 SKAJIbnEJIb ultimate_flags. running
[ 61] RoundStart Speed 0.1 Vaqtincha set_speed_round running
[ 62] [ReAPI] Silly C4 2.0 F@ntoM & Cheap_S reapi_sillyc4.a running
[ 63] ADV. QUAKE SOUNDS (ENA 8.0 HATTRICK (HTTRCK AQS.amxx running
[ 64] New Dance Menu 2.4 b0t. NewDanceMenu.am running
[ 65] Bomb Taker 0.3 Vaqtincha bomb_taker.amxx running
[ 66] Parachute Lite [ReAPI] 11.0 Leo_[BH] parachute_lite. running
[ 67] Reset Score 1.0 Silenttt resetscore.amxx running
[ 68] [190] Piss RBS 20.06.06 SKAJIbnEJIb & KR piss_rbs.amxx running
[ 69] [190] C4 Destroyer 21.03.23 SKAJIbnEJIb c4_destroyer.am running
[ 70] c4 Timer 0.2 Vaqtincha c4timer.amxx running
[ 71] WeaponBox Pack 0.2 Vaqtincha WeaponBoxPack.a running
[ 72] Knife Duel with Telepo 1.5 neygomon knife_duel_with running
[ 73] [ReAPI] Ghost after de 0.0.2 steelzzz ghost.amxx running
[ 74] unknown unknown unknown Server-Side_Smo running
[ 75] Explode Effects Remove 0.3 Vaqtincha granede_explode running
[ 76] Switch To Knife On Spa 0.2 Vaqtincha SwitchToKnifeOn running
[ 77] Grenade Info Sounds 0.1 Vaqtincha grenade_info_so running
[ 78] Grenade Animation 3rd 1.0 Prefers to be An grenade_animati running
[ 79] Advanced Kill Assists 1.5 Xelson next21_kill_ass running
[ 80] [ReAPI] Grenade Trile 1.2 Base Code: Fatih reapi_grenade_t running
[ 81] C4 GIBS 1.0 Garey c4_gibs.amxx running
[ 82] SPLESHING ON THE WATER 1.5 MayroN | KRoTaL splashing_on_th running
[ 83] Demo Recorder 2.4.1 F@nt0M demo_recorder.a running
[ 84] [190] Damager RBS 20.06.06 SKAJIbnEJIb damager_rbs.amx running
[ 85] [ReAPI] Advanced Team 0.1.0 Vaqtincha AdvancedTeamCho running
[ 86] AWPL: Disabled maps 1.0.0 Nordic Warrior awp_limiter_dis running
[ 87] AWP Limiter 1.3.0 Beta Nordic Warrior awp_limiter.amx running
[ 88] unknown unknown unknown block_msg_win.a running
[ 89] WinTeam Sprite 0.0.8 Some Scripter WinTeam_Sprite. running
[ 90] [ZP] Multi Jump 1.0 Reflectif multijump_optio running
[ 91] HS_Blood 1.1 tuty hs_blood.amxx running
[ 92] Revive Teammates: Core 2.2.5 DEV-CS.RU Commun rt_core.amxx running
[ 93] Revive Teammates: Plan 2.2.5 DEV-CS.RU Commun rt_planting.amx running
[ 94] Revive Teammates: Rest 2.2.5 DEV-CS.RU Commun rt_restrictions running
[ 95] Revive Teammates: Time 2.2.5 DEV-CS.RU Commun rt_timer.amxx running
[ 96] Revive Teammates: Effe 2.2.5 DEV-CS.RU Commun rt_effects.amxx running
[ 97] Revive Teammates: Soun 2.2.5 DEV-CS.RU Commun rt_sounds.amxx running
[ 98] Revive Teammates: Bonu 2.2.5 DEV-CS.RU Commun rt_bonus.amxx running
[ 99] Advanced Experience Sy 0.5.9 [REA serfreeman1337/s aes_main.amxx running
[100] AES: CStrike Addon 0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[101] AES: Informer 0.5.9 [REA serfreeman1337/s aes_informer.am running
[102] AES: Bonus System 0.5.9 Vega serfreeman1337/s aes_bonus_syste running
[103] AES: Bonus CSTRIKE 0.5.9.1 [R serfreeman1337/s aes_bonus_cstri running
[104] AMXBans: Screens Gm 1.6 Larte Team amxbans_ssban.a running
[105] Map Manager: Core 3.2.1 Mistrick map_manager_cor running
[106] Map Manager: Scheduler 0.2.1 Mistrick map_manager_sch running
[107] Map Manager: Rtv 0.1.5 Mistrick map_manager_rtv running
[108] Map Manager: Nominatio 0.3.5 Mistrick map_manager_nom running
[109] Map Manager: BlockList 0.0.4 Mistrick map_manager_blo running
[110] Map Manager: Online so 0.0.4 Mistrick map_manager_onl running
[111] Map Manager: Effects 0.1.3 Mistrick map_manager_eff running
[112] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
[113] Map Manager: Sounds 0.0.3 Mistrick map_manager_sou running
[114] Map Manager: Online ch 1.0.3 Sergey Shorokhov map_manager_onl running
[115] Map Manager: GUI 0.0.7 Mistrick map_manager_gui running
[116] [RE] Talisman 1.4.2 BiZaJe talisman.amxx running
[117] [RE] Talisman Health 1.4.2 BiZaJe talisman_health running
[118] [RE] Talisman HUD 1.4.2 BiZaJe talisman_hud.am running
[119] [RE] Talisman Sound 1.4.2 BiZaJe talisman_sound. running
119 plugins, 119 running
- Автор плагина
- @b0t.
- Версия плагина
- 0.1.1b
- Исходный код
-
/**
История изменений:
0.0.1 (04.02.2024) by b0t.
- Релиз;
0.0.2 (11.05.2024) by b0t.
- Оптимизация кода;
- Поддержка создания нескольких ботов;
0.1.0b (13.05.2024) by b0t.
- Отказ от реапи за ненадобностью;
- Настройка имён ботов занесена в файл;
- Добавлена механика отключения ботов при забитом сервере;
0.1.1b (14.05.2024) by b0t.
- Исправлена опечатка;
- Добавлена опция режима отображения ботов;
*/
new const VERSION[] = "0.1.1b";
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#define CONFIG_NAME "SpectatorBot.ini"
#define get_empty_slots() (get_maxplayers()-get_playersnum())
new
g_iMaxEmptySlots,
g_iDisplayType;
new
Array:g_a_BotName,
Array:g_a_BotId,
g_iMaxBotNum,
g_iBotNum;
public plugin_init() {
register_plugin("Spectator Bot",VERSION,"b0t.");
new szConfigsDir[64];
get_configsdir(szConfigsDir,charsmax(szConfigsDir));
add(szConfigsDir,charsmax(szConfigsDir),"/");
add(szConfigsDir,charsmax(szConfigsDir),CONFIG_NAME);
Func__CreateFile(szConfigsDir);
Func__ReadFile(szConfigsDir);
g_iMaxBotNum = ArraySize(g_a_BotName);
g_a_BotId = ArrayCreate();
}
public plugin_cfg() {
TaskFunc__BotConnected();
}
public TaskFunc__BotConnected() {
for(new pBot,szName[32];g_iBotNum<g_iMaxBotNum;++g_iBotNum) {
if(!CanConnect())
break;
ArrayGetString(g_a_BotName,g_iBotNum,szName,charsmax(szName));
pBot = engfunc(EngFunc_CreateFakeClient,szName);
if(!is_user_connected(pBot)) {
break;
}
dllfunc(MetaFunc_CallGameEntity,"player",pBot);
switch(g_iDisplayType) {
case 0: {
set_pev(pBot,pev_flags,FL_PROXY);
}
case 1: {
set_pev(pBot,pev_flags,FL_FAKECLIENT);
}
}
set_pev(pBot,pev_team,CS_TEAM_UNASSIGNED);
ArrayPushCell(g_a_BotId,pBot);
}
}
public client_connect(id) {
if(!CanConnect()) {
if(!g_iBotNum)
return;
g_iBotNum--;
new pBot = ArrayGetCell(g_a_BotId,g_iBotNum);
server_cmd("kick #%i",get_user_userid(pBot));
}
}
public client_disconnected(id) {
if(is_user_bot(id)) {
new iItem = ArrayFindValue(g_a_BotId,id);
if(iItem != -1) {
ArrayDeleteItem(g_a_BotId,iItem);
return PLUGIN_CONTINUE;
}
}
RequestFrame("RequestFrame_client_disconnected");
return PLUGIN_CONTINUE;
}
public RequestFrame_client_disconnected() {
if(CanConnect())
TaskFunc__BotConnected();
}
public Func__CreateFile(const szFile[]) {
if(file_exists(szFile))
return;
write_file(szFile,";Кол-во зарезервированных слотов");
write_file(szFile,"empty_slot = 2");
write_file(szFile,"");
write_file(szFile,";Способ отображения ботов");
write_file(szFile,"; 0 - Прокси(будут светиться в столбце игроков)");
write_file(szFile,"; 1 - Фейкл клиент(будут светиться в столбце ботов)");
write_file(szFile,"display_type = 1");
write_file(szFile,"");
write_file(szFile,";Имя бота");
write_file(szFile,"vk.com");
write_file(szFile,"server.ru");
}
public Func__ReadFile(const szFile[]) {
new f = fopen(szFile,"r");
new szData[256];
g_a_BotName = ArrayCreate(32);
while(fgets(f,szData,charsmax(szData))) {
trim(szData);
switch(szData[0]) {
case EOS,';': {
continue;
}
case 'e','d': {
new szLeft[64],szRight[64];
strtok2(szData,szLeft,charsmax(szLeft),szRight,charsmax(szRight),'=',TRIM_FULL);
if(equal(szLeft,"empty_slot"))
g_iMaxEmptySlots = str_to_num(szRight);
else
g_iDisplayType = str_to_num(szRight);
}
default: {
ArrayPushString(g_a_BotName,szData);
}
}
continue;
}
fclose(f);
}
stock bool:CanConnect() {
return bool:(get_empty_slots() > g_iMaxEmptySlots);
}
Всем привет! Обновился до последней версии и начался краш, предыдущая версия работает стабильно
В этой теме было размещено решение! Перейти к решению.