Cannot install AuthEmu

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
6
Реакции
2
Ошибка
L 07/03/2020 - 02:39:02: Error:
L 07/03/2020 - 02:39:02: [AMXX] Module is not a valid library (file "cstrike\addons\amxmodx\modules\authemu_amxx.dll")
L 07/03/2020 - 02:39:02: [AMXX] Plugin "authemu.amxx" failed to load: Module/Library "authemu" required for plugin. Check modules.ini.
ОС
Windows
Amx Mod X
AMX Mod X 1.9.0.5249 (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: Jun 19 2019 13:32:02
Built from: https://github.com/alliedmodders/amxmodx/commit/6cecb34e
Build ID: 5249:6cecb34e
Core mode: JIT+ASM32
C++
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.695-dev
Build date: 06:51:12 Apr  6 2020 (2186)
Build from: https://github.com/dreamstalker/rehlds/commit/7513e71
C++
ReGamedll
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.695-dev
Build date: 06:51:12 Apr  6 2020 (2186)
Build from: https://github.com/dreamstalker/rehlds/commit/7513e71
C++
Версия 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
C++
Список метамодулей
Currently loaded plugins:
      description      stat pend  file                  vers         src  load  unload
 [ 1] SafeNameAndChat  RUN   -    safenameandchat.dll   v1.1         ini  ANY   ANY
 [ 2] Reunion          RUN   -    reunion_mm.dll        v0.1.0.92    ini  Start Never
 [ 3] AMX Mod X        RUN   -    amxmodx_mm.dll        v1.9.0.5249  ini  Start ANY
 [ 4] ReAuthCheck      RUN   -    reauthcheck_mm.dll    v0.1.6       ini  Start Never
 [ 5] Revoice          RUN   -    revoice_mm.dll        v0.1.0.34    ini  Start Never
 [ 6] Rechecker        RUN   -    rechecker_mm.dll      v2.5         ini  Chlvl ANY
 [ 7] Booster          RUN   -    booster_mm.dll        v2.40        ini  Chlvl Pause
 [ 8] MySQL            RUN   -    mysql_amxx.dll        v1.9.0.5249  pl3  ANY   ANY
 [ 9] Ham Sandwich     RUN   -    hamsandwich_amxx.dll  v1.9.0.5249  pl3  ANY   ANY
 [10] FakeMeta         RUN   -    fakemeta_amxx.dll     v1.9.0.5249  pl3  ANY   ANY
 [11] Engine           RUN   -    engine_amxx.dll       v1.9.0.5249  pl3  ANY   ANY
 [12] CStrike          RUN   -    cstrike_amxx.dll      v1.76        pl3  ANY   ANY
 [13] Fun              RUN   -    fun_amxx.dll          v1.9.0.5249  pl3  ANY   ANY
 [14] CSX              RUN   -    csx_amxx.dll          v1.75        pl3  ANY   ANY
 [15] GeoIP            RUN   -    geoip_amxx.dll        v1.9.0.5249  pl3  ANY   ANY
15 plugins, 15 running
C++
Список плагинов
amxx list
Currently loaded plugins:
       name                    version     author            file             status
 [  1] Admin Base              1.9.0.5249  AMXX Dev Team     admin.amxx       running
 [  2] Admin Base (SQL)        1.9.0.5249  AMXX Dev Team     admin_sql.amxx   running
 [  3] Admin Commands          1.9.0.5249  AMXX Dev Team     admincmd.amxx    running
 [  4] Admin Help              1.9.0.5249  AMXX Dev Team     adminhelp.amxx   running
 [  5] Slots Reservation       1.9.0.5249  AMXX Dev Team     adminslots.amxx  running
 [  6] Multi-Lingual System    1.9.0.5249  AMXX Dev Team     multilingual.am  running
 [  7] Menus Front-End         1.9.0.5249  AMXX Dev Team     menufront.amxx   running
 [  8] Commands Menu           1.9.0.5249  AMXX Dev Team     cmdmenu.amxx     running
 [  9] Players Menu            1.9.0.5249  AMXX Dev Team     plmenu.amxx      running
 [ 10] Maps Menu               1.9.0.5249  AMXX Dev Team     mapsmenu.amxx    running
 [ 11] Plugin Menu             1.9.0.5249  AMXX Dev Team     pluginmenu.amxx  running
 [ 12] Admin Chat              1.9.0.5249  AMXX Dev Team     adminchat.amxx   running
 [ 13] Anti Flood              1.9.0.5249  AMXX Dev Team     antiflood.amxx   running
 [ 14] Scrolling Message       1.9.0.5249  AMXX Dev Team     scrollmsg.amxx   running
 [ 15] Info. Messages          1.9.0.5249  AMXX Dev Team     imessage.amxx    running
 [ 16] Admin Votes             1.9.0.5249  AMXX Dev Team     adminvote.amxx   running
 [ 17] Pause Plugins           1.9.0.5249  AMXX Dev Team     pausecfg.amxx    running
 [ 18] CRXRanks: nVault to My  1.0         OciXCrom          nvaulttosql.amx  running
 [ 19] precacheControl         1.0                           precache_contro  running
 [ 20] unknown                 unknown     unknown           authemu.amxx     bad load
 [ 21] unknown                 unknown     unknown           Fix_Buffer_Over  running
 [ 22] Parachute               1.3         KRoT@L/JTP10181   amx_parachute.a  running
 [ 23] No See Vars             0.1.0       ConnorMcLeod      antioverflow.am  running
 [ 24] WarmUP Pro              5.6 Beta    ReymonARG         warmuppro.amxx   running
 [ 25] Extra Precacher         1.0         Alka              extra_precacher  running
 [ 26] Bad spawn preventer     1.3         beast             bsp.amxx         running
 [ 27] ADV. QUAKE SOUNDS (ENA  5.0         HATTRICK (HTTRCK  QuakeSounds.amx  running
 [ 28] [QS] Man Standing (ENA  1.0         HATTRICK (HTTRCK  qs_manstanding.  running
 [ 29] Automatic Unstuck       1.5         NL)Ramon(NL       stuck.amxx       running
 [ 30] Spectator Banner Ads    0.1.16      iG_os             spec_banner_ads  running
 [ 31] ComboSprites            0.2         Chrescoe1         combo_sprites.a  running
 [ 32] C4                      1.5         WarTroyan         c4.amxx          running
 [ 33] Galileo                 v5.9.1-926  Brad Jones/Addon  galileo.amxx     running
 [ 34] CS AFK Manager          1.0.6 (amx  Freeman           afk_manager_1-8  running
 [ 35] Grenade Trail           1.0         Jim               grenade_trail.a  running
 [ 36] Sentry guns             0.5.3       JGHG & GlobalMod  gmsentryguns.am  running
 [ 37] OciXCrom's Rank System  3.9         OciXCrom          crx_ranksystem.  running
 [ 38] Fast Knife              1.0         OciXCrom          crx_fast_knife.  running
 [ 39] Chat Manager            4.5.1       OciXCrom          crx_chatmanager  running
 [ 40] CM: Toggle Chat         4.1         OciXCrom          crx_chatmanager  running
 [ 41] Suicidio Explosivo      1.2         Metrikcz          Suicidio-Explos  running
 [ 42] Dropeo de balas         1.3         NikKOo31          dropear_balas_v  running
 [ 43] You Are Dead!           1.0         OciXCrom          crx_youdead.amx  running
 [ 44] Best Player MOTD        1.2.1       OciXCrom          crx_bestplayer.  running
 [ 45] Advanced Bullet Damage  1.0         Sn!ff3r           abd.amxx         running
 [ 46] CS Revo: Gun Drop Effe  1.0         Wilian M.         csr_gundrop.amx  running
 [ 47] Laser/Tripmine Entity   3.13        Aoi.Kagase        lasermine.amxx   running
 [ 48] Weapon Icon             1.2         hoboman313/Zenix  weapon_icon.amx  running
 [ 49] GHW Connect Messages    1.1         GHW_Chronic       GHW_connect.amx  running
 [ 50] Exploding Gernade       1.0         P34nut            grenaderealism.  running
 [ 51] Back Weapons            1.2         Cheap_Suit        back_weapons.am  running
 [ 52] Show Admins Online      1.1         vato loco [GE-S]  show_admins_vl.  running
 [ 53] Show TeamMates Money    1.4         DiGiTaL           get_money.amxx   running
 [ 54] amx_respawn             0.9.4       f117bomb          amx_respawn.amx  running
 [ 55] FragCounter             1.01        Scarzzurs         fragcounter.amx  running
 [ 56] Custom N Menu           1.4         Just In Case      cnm.amxx         running
 [ 57] Health Shop             1.0         ZaCkY             health_shop.amx  running
 [ 58] Auto Demo Recorder      1.5         IzI               amx_demorecorde  running
 [ 59] Spam Blocker            3.6         Teo               spam_blocker.am  running
 [ 60] Custom Shop             4.2.3       OciXCrom          custom_shop.amx  running
 [ 61] [CS] Player Models API  1.2         WiLS              cs_player_model  running
 [ 62] MAX Tendero             3.6         Smilex_Gamer      costumes.amxx    running
 [ 63] CSHOP: Default Items    4.2.2       OciXCrom          cshop_items.amx  running
( 20) Load fails: Module/Library "authemu" required for plugin.  Check modules.ini.
C++
Автор плагина
authemu
Версия плагина
4.1.12.311
Исходный код
#include <amxmodx>
#include <amxmisc>
#include <authemu>

new const VERSION[] = "1.0";
new const g_szCfgFile[] = "authemu.ini";

enum
{
	SECTION_NONE,
	SECTION_LOG,
	SECTION_PUNISH
};

const TASK_PUNISH_ID = 548678;

new g_iPunishDetect, g_iLogDetect, g_iPunishTime;
new g_szPunishReason[64], g_szPunishString[192], g_szLogString[192];

public plugin_init()
{
	register_plugin("AuthEmu API", VERSION, "Dev-MS Team");

	register_concmd("aemuinfo", "cmdClientInfo", ADMIN_BAN, "<name or #userid>");
	register_concmd("aemulist", "cmdClientList", ADMIN_BAN);

	ReadCfg();
}

public client_disconnected(id)
{
	remove_task(id + TASK_PUNISH_ID);
}

public aemu_dac_query(const id, const DAC_QueryType:type)
{
	switch (type)
	{
		case DAC_QUERY_DETECT:
		{
			if (g_iLogDetect)
			{
				new szModulePath[128], szModuleHash[32]
				new iDacReason = aemu_dac_get_reason();

				aemu_dac_get_module(szModulePath, sizeof(szModulePath), true);
				formatex(szModuleHash, charsmax(szModuleHash), "%X", aemu_dac_get_module_hash());

				LogDetect(id, iDacReason, szModulePath, szModuleHash);
			}

			if (g_iPunishDetect)
			{
				remove_task(id + TASK_PUNISH_ID);
				set_task(1.0, "TaskPunishPlayer", id + TASK_PUNISH_ID);
			}
		}
	}

	return PLUGIN_CONTINUE;
}

public TaskPunishPlayer(id)
{
	id -= TASK_PUNISH_ID;

	PunishPlayer(id);
}

public cmdClientInfo(id, level, cid)
{
	if (!cmd_access(id, level, cid, 2))
		return PLUGIN_HANDLED;

	new arg[32];
	read_argv(1, arg, charsmax(arg));
	new player = cmd_target(id, arg, CMDTARGET_NO_BOTS);

	if (!player)
		return PLUGIN_HANDLED

	// It's authemu client?
	if (!is_user_authemu(player))
	{
		console_print(id, "  clientinfo: This target:(%i) isn't it authemu client.", player);
		return PLUGIN_HANDLED;
	}

	// Print client info
	console_print(id, "^nClient info:");

	new szDate[64], szBranch[64], szUIDHash[11];
	format_time(szDate, charsmax(szDate), "%X %b %d %Y", aemu_get_clientinfo(player, aci_lasttime_upd));
	aemu_get_clientinfo(player, aci_packname, szBranch, charsmax(szBranch));
	aemu_get_clientinfo(player, aci_unique_id, szUIDHash, charsmax(szUIDHash));

	console_print(id, "  Build: %i (%X) (%s) - %s", aemu_get_clientinfo(player, aci_build), aemu_get_clientinfo(player, aci_hash), szDate, szBranch);
	console_print(id, "  Steam: %s", aemu_get_clientinfo(player, aci_steam) ? "Yes" : "No");
	console_print(id, "  Beta:  %s", aemu_get_clientinfo(player, aci_beta) ? "Yes" : "No");
	console_print(id, "  UID:   %s", szUIDHash);

	// Print desktop screen info
	console_print(id, "^nScreen info:");

	new wide, tall;
	aemu_get_desk_screeninfo(player, wide, tall);
	console_print(id, "  %ix%i (Desktop)", wide, tall);

	aemu_get_game_screeninfo(player, wide, tall);
	console_print(id, "  %ix%i (Game)", wide, tall);

	// Print OS info
	console_print(id, "^nOS info:");
	console_print(id, "  Type %i", aemu_get_clientinfo(player, aci_OS_type));

	new szOSName[32];
	aemu_get_clientinfo(player, aci_OS_name, szOSName, charsmax(szOSName));
	console_print(id, "  Name: %s", szOSName);
	console_print(id, "  Build %i", aemu_get_clientinfo(player, aci_OS_build));
	console_print(id, "  Major %i", aemu_get_clientinfo(player, aci_OS_majorVersion));
	console_print(id, "  Minor %i", aemu_get_clientinfo(player, aci_OS_minorVersion));

	return PLUGIN_HANDLED;
}

public cmdClientList(id, level, cid)
{
	if (!cmd_access(id, level, cid, 1))
		return PLUGIN_HANDLED;

	new szName[32], szIp[22], szTime[6];
	console_print(id, "^n^n------------------------------------------------------------------------------^n");
	console_print(id, "%-2s %-32s %-6s %-5s %-21s %s", "#", "Name", "Userid", "Time", "IP", "Authemu");
	for (new i = 1; i <= get_maxplayers(); i++)
	{
		if (!is_user_connecting(i) && !is_user_connected(i))
			continue;

		get_user_name(i, szName, charsmax(szName));
		get_user_ip(i, szIp, charsmax(szIp));
		get_user_play_time(i, szTime, charsmax(szTime));

		console_print(id, "%-2i %-32s %-6i %-5s %-21s %s", i, szName, get_user_userid(i), szTime, szIp, is_user_authemu(i) ? "yes" : "no");
	}

	console_print(id, "^n------------------------------------------------------------------------------^n^n");
	return PLUGIN_HANDLED;
}

stock PunishPlayer(const id)
{
	new szUserId[10], szSteam[33], szIp[17], szTime[10], szPunishString[128];

	formatex(szUserId, charsmax(szUserId), "#%d", get_user_userid(id));

	get_user_authid(id, szSteam, charsmax(szSteam));
	get_user_ip(id, szIp, charsmax(szIp), 1);

	num_to_str(g_iPunishTime, szTime, charsmax(szTime));

	copy(szPunishString, charsmax(szPunishString), g_szPunishString);

	replace_string(szPunishString, charsmax(szPunishString), "[userid]", szUserId);
	replace_string(szPunishString, charsmax(szPunishString), "[steam]", szSteam);
	replace_string(szPunishString, charsmax(szPunishString), "[ip]", szIp);
	replace_string(szPunishString, charsmax(szPunishString), "[reason]", g_szPunishReason);
	replace_string(szPunishString, charsmax(szPunishString), "[time]", szTime);

	server_cmd("%s", szPunishString);
}

stock LogDetect(const id, iDacReason, szModulePath[], szModuleHash[])
{
	new szFile[32], szDacReason[10], szName[32], szSteam[33], szIp[17], szUniqId[65], szLogString[512];

	get_user_name(id, szName, charsmax(szName));
	get_user_authid(id, szSteam, charsmax(szSteam));
	get_user_ip(id, szIp, charsmax(szIp), 1);

	formatex(szDacReason, charsmax(szDacReason), "%i", iDacReason);
	copy(szLogString, charsmax(szLogString), g_szLogString);

	aemu_get_clientinfo(id, aci_unique_id, szUniqId);

	replace_string(szLogString, charsmax(szLogString), "[name]", szName);
	replace_string(szLogString, charsmax(szLogString), "[steam]", szSteam);
	replace_string(szLogString, charsmax(szLogString), "[ip]", szIp);
	replace_string(szLogString, charsmax(szLogString), "[uniqId]", szUniqId);
	replace_string(szLogString, charsmax(szLogString), "[reason]", szDacReason);
	replace_string(szLogString, charsmax(szLogString), "[module]", szModulePath);
	replace_string(szLogString, charsmax(szLogString), "[hash]", szModuleHash);

	get_time("AuthEmu_%Y%m%d.log", szFile, charsmax(szFile));
	log_to_file(szFile, "%s", szLogString);
}

stock get_user_play_time(id, dest[], const length)
{
	new iMinutes = get_user_time(id) / 60;
	new iSeconds = get_user_time(id) % 60;

	new minutes[3], seconds[3], temp[2];
	num_to_str(iMinutes, temp, sizeof(temp));

	if (iMinutes >= 10)
	{
		minutes[0] = temp[0];
		minutes[1] = temp[1];
	}
	else
	{
		minutes[0] = '0';
		minutes[1] = temp[0];
	}

	minutes[2] = '^0';

	num_to_str(iSeconds, temp, sizeof(temp));
	if (iSeconds >= 10)
	{
		seconds[0] = temp[0];
		seconds[1] = temp[1];
	}
	else
	{
		seconds[0] = '0';
		seconds[1] = temp[0];
	}

	seconds[2] = '^0';

	formatex(dest, length, "%s:%s", minutes, seconds);
}

stock ReadCfg()
{
	new iSection, szKey[128], szValue[1024];
	new szFile[250], szConfigDir[64], szTemp[1024];

	get_localinfo("amxx_configsdir", szConfigDir, charsmax(szConfigDir));
	formatex(szFile, charsmax(szFile), "%s/%s", szConfigDir, g_szCfgFile);

	new fHandle = fopen(szFile, "rt");

	while (!feof(fHandle))
	{
		fgets(fHandle, szTemp, charsmax(szTemp));
		trim(szTemp);

		if (szTemp[0] == '[')
		{
			GetCurrentSection(szTemp, iSection);
			continue;
		}

		if (!szTemp[0] || szTemp[0] == ';' || szTemp[0] == '/') continue;

		strtok(szTemp, szKey, charsmax(szKey), szValue, charsmax(szValue), '=');
		trim(szKey);
		trim(szValue);

		switch (iSection)
		{
			case SECTION_LOG:
			{
				if (equal(szKey, "LOG_DETECT"))
					g_iLogDetect = str_to_num(szValue);
				else if (equal(szKey, "LOG_STRING"))
					copy(g_szLogString, charsmax(g_szLogString), szValue);
			}
			case SECTION_PUNISH:
			{
				if (equal(szKey, "PUNISH"))
					g_iPunishDetect = str_to_num(szValue);

				else if (equal(szKey, "REASON"))
					copy(g_szPunishReason, charsmax(g_szPunishReason), szValue);

				else if (equal(szKey, "TIME"))
					g_iPunishTime = str_to_num(szValue);

				else if (equal(szKey, "CMD"))
					copy(g_szPunishString, charsmax(g_szPunishString), szValue);
			}
		}
	}

	fclose(fHandle);
}

stock GetCurrentSection(szTemp[1024], &iSection)
{
	if (contain(szTemp, "LOG") != -1)
		iSection = SECTION_LOG;
	else if (contain(szTemp, "PUNISH") != -1)
		iSection = SECTION_PUNISH;
}
C++
Hola chicos, estoy teniendo un servidor CS 1.6. Instalé AuthEmu, y cuando inicio el servidor aparece un error

L 07/03/2020 - 02:39:02: Error:
L 07/03/2020 - 02:39:02: [AMXX] Module is not a valid library (file "cstrike\addons\amxmodx\modules\authemu_amxx.dll")
L 07/03/2020 - 02:39:02: [AMXX] Plugin "authemu.amxx" failed to load: Module/Library "authemu" required for plugin. Check modules.ini.

Some One can Give me a hand here
 
В этой теме было размещено решение! Перейти к решению.
Сообщения
39
Реакции
14
Did you have added authemu_amxx.dll file to amx modules dir ( cstrike/addons/amxmodx/modules )?
 
Сообщения
6
Реакции
2
pepeargento, show amxmodx\configs\modules.ini
Hello again,

Here is the content of modules.ini

Код:
;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time.  Use      ;;
;;  amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here.              ;;
;; You can just list their names, without the _amxx ;;
;;  or file extension.                              ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded   ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.                       ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
;hamsandwich
;authemu
C++
 
Последнее редактирование модератором:
Сообщения
141
Реакции
55
Помог
2 раз(а)
Hello again,

Here is the content of modules.ini

;fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
;hamsandwich
;authemu
Please use CODE next time :)

Is AuthEmu auto activated? Tried without semicolon?
Код:
authemu
C++
AuthEmu requires Reunion 92c (от 0.1.0.92c или dev 0.1.0.135) - tried that?
https://dev-cs.ru/resources/886/

Rest of setup done correctly?
Код:
Copy the aemu.cfg settings file to the server root or mod folder
C++
 
Сообщения
6
Реакции
2
Please use CODE next time :)

Is AuthEmu auto activated? Tried without semicolon?
Код:
authemu
C++
AuthEmu requires Reunion 92c (от 0.1.0.92c или dev 0.1.0.135) - tried that?
https://dev-cs.ru/resources/886/

Rest of setup done correctly?
Код:
Copy the aemu.cfg settings file to the server root or mod folder
C++
Well..
1. I updated reunion to v0.1.0.135...
2. I take away the semicolon from modules.ini, just for authemu


And works.

Thank you all peopple.

Greetings from Argentina!!
 
Сообщения
141
Реакции
55
Помог
2 раз(а)
Congrats and greetings from cold germany :D

Close please :)
 
Статус
В этой теме нельзя размещать новые ответы.

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

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