- Ошибка
-
Не работают плагины imessage.amxx и scrollmsg.amxx
- ОС
- Linux
- 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:00
- Билд
-
Protocol version 48
Exe version 1.0.1.4 (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: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
- Список метамодулей
-
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] SafeNameAndChat RUN - SafeNameAndChat.so v1.1 ini ANY ANY
[ 2] Reunion RUN - reunion_mm_i386.so v0.1.0.92 ini Start Never
[ 3] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 4] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 5] ReSRDetector RUN - resrdetector_mm_i386.so v0.1.0 ini Chlvl ANY
[ 6] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC3 ini ANY ANY
[ 7] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5235 ini Start ANY
[ 8] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 9] WHBlocker RUN - whblocker_mm_i386.so v1.5.696 ini Chlvl ANY
[10] ReAPI RUN - reapi_amxx_i386.so v5.7.0.162-dev pl7 ANY Never
[11] ReCSDM RUN - csdm_amxx_i386.so v3.6 pl7 ANY ANY
[12] MySQL RUN - mysql_amxx_i386.so v1.9.0.5235 pl7 ANY ANY
[13] Engine RUN - engine_amxx_i386.so v1.9.0.5235 pl7 ANY ANY
[14] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5235 pl7 ANY ANY
[15] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl7 ANY Never
[16] hackdetector RUN - hackdetector_amxx_i386.so v0.15.328.lite pl7 ANY ANY
[17] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5235 pl7 ANY ANY
[18] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5235 pl7 ANY ANY
[19] CSX RUN - csx_amxx_i386.so v1.9.0.5235 pl7 ANY ANY
19 plugins, 19 running
- Список плагинов
-
Currently loaded plugins:
name version author file status
[ 1] fb_forwards 0.1.4 Kanagava & Realu fb_forwards.amx running
[ 2] admin_loader 0.4 kanagava admin_loader.am running
[ 3] FreshBans 1.4.0b kanagava fresh_bans.amxx running
[ 4] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 5] Aliases checker 1.0.3 kanagava alias_detector. running
[ 6] Info. Messages 1.10.0-man AMXX Dev Team imessage.amxx running
[ 7] Admin Chat 1.9.0.5235 AMXX Dev Team adminchat.amxx running
[ 8] Admin Commands 1.9.0.5235 AMXX Dev Team admincmd.amxx running
[ 9] Admin Votes 1.9.0.5235 AMXX Dev Team adminvote.amxx running
[ 10] Anti Flood 1.9.0.5235 AMXX Dev Team antiflood.amxx running
[ 11] Commands Menu 1.9.0.5235 AMXX Dev Team cmdmenu.amxx running
[ 12] Maps Menu 1.9.0.5235 AMXX Dev Team mapsmenu.amxx running
[ 13] Menus Front-End 1.9.0.5235 AMXX Dev Team menufront.amxx running
[ 14] Players Menu 1.9.0.5235 AMXX Dev Team plmenu.amxx running
[ 15] Stats Configuration 1.9.0.5235 AMXX Dev Team statscfg.amxx running
[ 16] StatsX 1.9.0.5235 AMXX Dev Team statsx.amxx running
[ 17] Chat Manager 1.1.1-11 Mistrick chatmanager.amx running
[ 18] Chat Manager: Addon 0.0.4-70 Mistrick chatmanager_add running
[ 19] RE Vampire 1.0.7 MakapoH, AcE, RE re_vampire.amxx running
[ 20] ResetScore 1.0 Leo_[BH] resetscore_reap running
[ 21] Respawn 0.1 unnamed respawn.amxx running
[ 22] [ReAMX] Parachute RBS 17.12.12 KRoT@L/JTP10181 parachute_rbs.a running
[ 23] Refill Weapon On Kill 0.2 Vaqtincha refill_weapon_o running
[ 24] AFK Control ReNew 1.2(a) neygomon afk_control.amx running
[ 25] ReCSDM Main 3.6 ReCSDM Team csdm_main.amxx running
[ 26] ReCSDM Equip 3.6 ReCSDM Team csdm_equip.amxx running
[ 27] ReCSDM Spawns 3.6 ReCSDM Team csdm_spawn_pres running
[ 28] ReCSDM Misc 3.6 ReCSDM Team csdm_misc.amxx running
[ 29] ReCSDM Stripper 3.6 KWo csdm_stripper.a running
[ 30] ReCSDM Protection 3.6 BAILOPAN csdm_protection running
[ 31] ReCSDM FFA 3.6 ReCSDM Team csdm_ffa.amxx running
[ 32] Map Manager: Core 3.0.2 Mistrick map_manager_cor running
[ 33] Map Manager: Scheduler 0.1.1 Mistrick map_manager_sch running
[ 34] Map Manager: Rtv 0.0.4 Mistrick map_manager_rtv running
[ 35] Map Manager: Nominatio 0.1.0 Mistrick map_manager_nom running
[ 36] Map Manager: BlockList 0.0.3 Mistrick map_manager_blo running
[ 37] Map Manager: Online so 0.0.2 Mistrick map_manager_onl running
[ 38] Map Manager: Effects 0.0.8 Mistrick map_manager_eff running
[ 39] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
39 plugins, 39 running
- Автор плагина
- AMXX Dev Team
- Версия плагина
- 1.10.0-man
- Исходный код
-
// vim: set ts=4 sw=4 tw=99 noet:
//
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
// Copyright (C) The AMX Mod X Development Team.
//
// This software is licensed under the GNU General Public License, version 3 or higher.
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
// https://alliedmods.net/amxmodx-license
//
// Info. Messages Plugin
//
#include <amxmodx>
#include <amxmisc>
#define X_POS -1.0
#define Y_POS 0.20
#define HOLD_TIME 12.0
new Array:g_Values
new Array:g_Messages
new g_MessagesNum
new g_Current
new amx_freq_imessage;
public plugin_init()
{
g_Messages=ArrayCreate(384);
g_Values=ArrayCreate(3);
register_plugin("Info. Messages", AMXX_VERSION_STR, "AMXX Dev Team")
register_dictionary("imessage.txt")
register_dictionary("common.txt")
register_srvcmd("amx_imessage", "setMessage")
amx_freq_imessage=register_cvar("amx_freq_imessage", "10")
new lastinfo[8]
get_localinfo("lastinfomsg", lastinfo, charsmax(lastinfo))
g_Current = str_to_num(lastinfo)
set_localinfo("lastinfomsg", "")
}
public infoMessage()
{
if (g_Current >= g_MessagesNum)
g_Current = 0
// No messages, just get out of here
if (g_MessagesNum==0)
{
return;
}
new values[3];
new Message[384];
ArrayGetString(g_Messages, g_Current, Message, charsmax(Message));
ArrayGetArray(g_Values, g_Current, values);
new hostname[64];
get_cvar_string("hostname", hostname, charsmax(hostname));
replace(Message, charsmax(Message), "%hostname%", hostname);
set_hudmessage(values[0], values[1], values[2], X_POS, Y_POS, 0, 0.5, HOLD_TIME, 2.0, 2.0, -1);
show_hudmessage(0, "%s", Message);
client_print(0, print_console, "%s", Message);
++g_Current;
new Float:freq_im = get_pcvar_float(amx_freq_imessage);
if (freq_im > 0.0)
set_task(freq_im, "infoMessage", 12345);
}
public setMessage()
{
new Message[384];
remove_task(12345)
read_argv(1, Message, charsmax(Message))
while (replace(Message, charsmax(Message), "\n", "^n")) {}
new mycol[12]
new vals[3];
read_argv(2, mycol, charsmax(mycol)) // RRRGGGBBB
vals[2] = str_to_num(mycol[6])
mycol[6] = 0
vals[1] = str_to_num(mycol[3])
mycol[3] = 0
vals[0] = str_to_num(mycol[0])
g_MessagesNum++
new Float:freq_im = get_pcvar_float(amx_freq_imessage)
ArrayPushString(g_Messages, Message);
ArrayPushArray(g_Values, vals);
if (freq_im > 0.0)
set_task(freq_im, "infoMessage", 12345)
return PLUGIN_HANDLED
}
public plugin_end()
{
new lastinfo[8]
num_to_str(g_Current, lastinfo, charsmax(lastinfo))
set_localinfo("lastinfomsg", lastinfo)
ArrayDestroy(g_Messages)
ArrayDestroy(g_Values)
}
Не могу понять почему плагины не работают. Разные версии ставил и все равно не работают. Квары прописаны, плагины запущены а сообщения не выводятся.
scrollmsg.amxx в данный момент отключил так как с ним так-же как и с imessage.amxx. Помогите пожалуйста.
scrollmsg.amxx в данный момент отключил так как с ним так-же как и с imessage.amxx. Помогите пожалуйста.