- Ошибка
-
Не сохраняет глушитель на CSDM сервере
- ОС
- Windows
- Amx Mod X
-
AMX Mod X 1.9.0.5263 (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: Oct 27 2019 16:23:31
Built from: https://github.com/alliedmodders/amxmodx/commit/15a14a0
Build ID: 5263:15a14a0
Core mode: JIT+ASM32
- Билд
-
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.695-dev
Build date: 15:54:29 Apr 6 2020 (2186)
Build from: https://github.com/dreamstalker/rehlds/commit/7513e71
- ReGamedll
-
ReGameDLL version: 5.15.0.458-dev
Build date: 11:28:46 Apr 2 2020
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/5bbba22
- Версия 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] AMX Mod X RUN - amxmodx.so v1.9.0.5263 ini Start ANY
[ 2] Rechecker RUN - rechecker.so v2.5 ini ANY
[ 3] Reunion RUN - reunion.so v0.1.0.135 ini Start Never
[ 4] WHBlocker RUN - whblocker.so v1.5.696 ini ANY
[ 5] ReSemiclip RUN - resemiclip.so v2.3.9 ini ANY
[ 6] MySQL RUN - mysql_amxx_i386.so v1.9.0.5263 pl1 ANY
[ 7] SQLite RUN - sqlite_amxx_i386.so v1.9.0.5263 pl1 ANY
[ 8] Fun RUN - fun_amxx_i386.so v1.9.0.5263 pl1 ANY
[ 9] Engine RUN - engine_amxx_i386.so v1.9.0.5263 pl1 ANY
[10] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
[11] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
[12] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
[13] CSSB RUN - cssb_amxx_i386.so v5.0.0 pl1 ANY ANY
[14] ReCSDM RUN - csdm_amxx_i386.so v3.6 pl1 ANY ANY
[15] ReAPI RUN - reapi_amxx_i386.so v5.12.0.192-dev pl1 ANY Never
15 plugins, 15 running
- Список плагинов
-
Currently loaded plugins:
name version author file status
[ 1] Spam-NameBot v1.1 Aleksandr E. spam_name.amxx running
[ 2] Advanced Gag v1.4.2 neygomon amx_gag.amxx running
[ 3] AIM detector v0.9.2cs kanagava aim_detector.am running
[ 4] CSStatsX SQL v0.7.4+2 serfreeman1337 aes_csstatsx_sq running
[ 5] Admin Loader v3.5 neygomon admin_loader.am running
[ 6] [182] MapChooser RBS v20.03.16 SKAJIbnEJIb & UF mapchooser_rbs. running
[ 7] [182] MapsMenu RBS v19.09.01 SKAJIbnEJIb & AM mapsmenu_rbs.am running
[ 8] Remove Dropped Weapons v0.13b WPMG PRoSToTeM@ remove_dropped_ running
[ 9] Commands Menu v1.9.0.5263 AMXX Dev Team cmdmenu.amxx stopped
[ 10] Info. Messages v1.9.0.5263 AMXX Dev Team imessage.amxx stopped
[ 11] Menus Front-End v1.9.0.5263 AMXX Dev Team menufront.amxx stopped
[ 12] [182] NextMap v18.09.25 SKAJIbnEJIb & AM nextmap.amxx running
[ 13] Nextmap Chooser v1.9.0.5263 AMXX Dev Team mapchooser.amxx stopped
[ 14] Plugin Menu v1.9.0.5263 AMXX Dev Team pluginmenu.amxx running
[ 15] [182] TimeLeft v18.09.25 SKAJIbnEJIb & AM timeleft.amxx running
[ 16] Scrolling Message v1.9.0.5263 AMXX Dev Team scrollmsg.amxx stopped
[ 17] CS Misc. Stats v1.9.0.5263 AMXX Dev Team miscstats.amxx running
[ 18] CS Stats Logging v1.9.0.5263 AMXX Dev Team stats_logging.a running
[ 19] Stats Configuration v1.9.0.5263 AMXX Dev Team statscfg.amxx running
[ 20] ReCSDM Main v3.6 ReCSDM Team recsdm.amxx running
[ 21] [182] AC Spectator ESP v17.08.09 SKAJIbnEJIb & Ko ac_esp.amxx running
[ 22] Menus Front-End v18.12.18 AMXX Dev Team & amxmodmenu_rbs. running
[ 23] [182] Ultimate Weapons v19.11.29 SKAJIbnEJIb ultimate_weapon running
[ 24] [182] Admin Mode v18.05.16 SKAJIbnEJIb admin_mode.amxx running
[ 25] [182] Ad From Server v19.08.29 SKAJIbnEJIb ad_from_server. running
[ 26] Admin Money v0.9.3 f117bomb admin_money.amx running
[ 27] Admin Speed v1.1 KinSprite admin_speed.amx running
[ 28] Advanced Bullet Damage v1.0 Sn!ff3r advanced_bullet running
[ 29] Change Game Name v1.2 ReHLDS Team change_game_nam running
[ 30] CSSB Game Menu v1.0 CSSB cssb_game_menu. running
[ 31] Custom Shop v4.2.3 OciXCrom custom_shop.amx running
[ 32] 'Fire in the hole' blo v1.0 xPaw fire_in_the_hol running
[ 33] Fix fast download to r v0.0.3 PomanoB \ Bos93 fix_fastdl.amxx running
[ 34] FM ResetScore v0.1 neygomon fm_resetscore.a running
[ 35] GunGame AMMO v2.2 Prayer gg_ammo.amxx running
[ 36] Simple CS Bank v2.0 GHW_Chronic ghw_cs_bank.amx running
[ 37] unknown vunknown unknown groundmine.amxx running
[ 38] HeadShot Blood v1.1 tuty headshot_blood. running
[ 39] Lite Admin ESP v1.0 neygomon lite_admin_esp. running
[ 40] MultiJump v1.1 for cAh multijump.amxx running
[ 41] No fall damage v0.1 s1lent no_fall_damage. running
[ 42] [ReAPI] Hint blocker v0.1.0 F@tn0M reapi_hint_bloc running
[ 43] Simple Chat Prefix v1.0 neygomon simple_chat_pre running
[ 44] WeaponSparks v1.0 CSPlugin weaponsparks.am running
[ 45] [182] Ultimate Models v19.12.07 SKAJIbnEJIb ultimate_models running
[ 46] Block Change Name v1.0 DJ_WEST block_change_na running
[ 47] [182] AfkKicker RBS v19.08.28 SKAJIbnEJIb afkkicker_rbs.a running
[ 48] CSSB Dispenser v15.10.2018 SMaster cssbDispenser.a running
[ 49] CSSB Tesla Coil v15.10.2018 SMaster cssbTeslaCoil.a running
[ 50] CSSB Goliath Sentry Gu v23.03.2019 SMaster cssbGoliathSent running
[ 51] CSSB Destroyer v04.01.2018 SMaster cssbDestroyer.a running
[ 52] CSSB Laser Fence v15.10.2018 SMaster cssbLaserFence. running
[ 53] CSSB Laser Mines v15.10.2018 SMaster cssbLaserMines. running
[ 54] CSSB Laser Mines Verti v15.10.2018 SMaster cssbLaserMinesV running
[ 55] CSSB Laser Mines Horiz v15.10.2018 SMaster cssbLaserMinesH running
[ 56] CSSB Laser Scanner v15.10.2018 SMaster cssbLaserMinesS running
[ 57] CSSB Bazooka v15.10.2018 SMaster cssbBazooka.amx running
[ 58] CSSB Multi Vampire v15.10.2018 SMaster cssbMultiVampir running
[ 59] [182] CmdMenu RBS v18.06.09 AMXX Dev Team & cmdmenu_rbs.amx running
[ 60] [182] AMXBans RBS v19.11.29 SKAJIbnEJIb & La amxbans_rbs.amx running
[ 61] Admin Chat v1.9.0.5263 AMXX Dev Team adminchat.amxx running
[ 62] Admin Commands v1.9.0.5263 AMXX Dev Team admincmd.amxx running
[ 63] Admin Votes v1.9.0.5263 AMXX Dev Team adminvote.amxx running
[ 64] Anti Flood v1.9.0.5263 AMXX Dev Team antiflood.amxx running
[ 65] Players Menu v1.9.0.5263 AMXX Dev Team plmenu.amxx running
[ 66] Weapons MaxSpeed v0.0.5 ConnorMcLeod weapons_maxspee running
[ 67] [182] Stimulation RBS v19.11.02 SKAJIbnEJIb stimulation_rbs running
[ 68] WeaponState Remember v0.0.4 Vaqtincha weaponstate_rem running
[ 69] [WPN] Ethereal v1.0 Chrescoe1 wpn_ethereal.am running
[ 70] Block TextMsg v1.0 AcE block_textmsg.a running
[ 71] [ReAPI] No Reset MOney v0.0.5 Vaqtincha reapi_no_reset_ running
[ 72] Advanced Experience Sy v0.5 Vega serfreeman1337 aes_main.amxx running
[ 73] AES: StatsX v0.5+1 serfreeman1337 aes_statsx.amxx running
[ 74] AES: CStrike Addon v0.5 Vega serfreeman1337 aes_exp_cstrike running
[ 75] AES: Informer v0.5 Vega serfreeman1337 aes_informer.am running
[ 76] AES: Admin Tools v0.5 Vega serfreeman1337 aes_exp_editor. running
[ 77] AES: Bonus System v0.5 Vega serfreeman1337 aes_bonus_syste running
[ 78] AES: Bonus CSTRIKE v0.5 Vega serfreeman1337 aes_bonus_cstri running
[ 79] unknown vunknown unknown csdm_main.amxx bad load
[ 80] ReCSDM Equip v3.6 ReCSDM Team csdm_equip.amxx running
[ 81] ReCSDM Spawns v3.6 ReCSDM Team csdm_spawn_pres running
[ 82] ReCSDM Misc v3.6 ReCSDM Team csdm_misc.amxx running
[ 83] ReCSDM Stripper v3.6 KWo csdm_stripper.a running
[ 84] ReCSDM Protection v3.6 BAILOPAN csdm_protection running
[ 85] CSHOP: Default Items v4.2.2 OciXCrom cshop_items.amx running
( 79) Load fails: Plugin file open error (plugin "csdm_main.amxx")
85 plugins, 79 running
- Автор плагина
- Алексеич
- Версия плагина
- 0.0.4
- Исходный код
-
// Copyright © 2016 Vaqtincha
//============================ CONFIG START ===========================//
// #define ONLY_GIVEN
// #define NOTIFICATION // glock & famas
//============================= CONFIG END ============================//
#define VERSION "0.0.4"
// offsets
const m_iId = 43
const m_pPlayer = 41
const m_fWeaponState = 74
// linux extraoffset
const XO_WEAPON = 4
const PDATA_SAFE = 2
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#define MAX_PLAYERS 32
#define IsOnGround(%1) (pev(pev(%1, pev_owner), pev_flags) & FL_ONGROUND)
#define IsPlayer(%1) (1 <= (%1) <= g_iMaxPlayers)
#define get_weapon_owner(%1) get_pdata_cbase(%1, m_pPlayer, XO_WEAPON)
#define get_weapon_state(%1) any:get_pdata_int(%1, m_fWeaponState, XO_WEAPON)
#define set_weapon_state(%1,%2) set_pdata_int(%1, m_fWeaponState, any:%2, XO_WEAPON)
// #define get_weapon_id(%1) get_pdata_int(%1, m_iId, XO_WEAPON)
stock get_weapon_id(pWeapon) { // safe
new iId = get_pdata_int(pWeapon, m_iId, XO_WEAPON)
return (CSW_P228 <= iId <= CSW_P90) ? iId : 0
}
enum WeaponState
{
WPNSTATE_NULL = 0,
WPNSTATE_USP_SILENCED = (1<<0),
WPNSTATE_GLOCK18_BURST_MODE = (1<<1),
WPNSTATE_M4A1_SILENCED = (1<<2),
// WPNSTATE_ELITE_LEFT = (1<<3),
WPNSTATE_FAMAS_BURST_MODE = (1<<4),
// WPNSTATE_SHIELD_DRAWN = (1<<5)
}
new g_iMaxPlayers
new WeaponState:g_bWeaponState[MAX_PLAYERS +1][CSW_P90 + 1]
public plugin_init()
{
register_plugin("WeaponState Remember", VERSION, "Vaqtincha")
static const szWeaponList[][] = {
"weapon_m4a1", "weapon_usp",
"weapon_famas", "weapon_glock18"
}
for(new i = 0; i < sizeof(szWeaponList); ++i)
{
RegisterHam(Ham_Item_AddToPlayer, szWeaponList[i], "Item_AddToPlayer_Post", .Post = true)
RegisterHam(Ham_Weapon_SecondaryAttack, szWeaponList[i], "Weapon_SecondaryAttack_Post", .Post = true)
}
g_iMaxPlayers = get_maxplayers()
}
public client_putinserver(id)
{
g_bWeaponState[id][CSW_M4A1]
= g_bWeaponState[id][CSW_USP]
= g_bWeaponState[id][CSW_FAMAS]
= g_bWeaponState[id][CSW_GLOCK18]
= WPNSTATE_NULL;
}
public Weapon_SecondaryAttack_Post(pWeapon)
{
if(pWeapon <= 0)
return HAM_IGNORED
new id = get_weapon_owner(pWeapon)
if(IsPlayer(id))
{
// client_print(id, print_center, "current %i my %i", get_weapon_state(pWeapon), g_bWeaponState[id][get_weapon_id(wEnt)])
g_bWeaponState[id][get_weapon_id(pWeapon)] = get_weapon_state(pWeapon)
}
return HAM_IGNORED
}
public Item_AddToPlayer_Post(pWeapon, id)
{
if(pWeapon <= 0 || pev_valid(pWeapon) != PDATA_SAFE /* || !is_user_alive(id) */)
return HAM_IGNORED
#if defined ONLY_GIVEN
if(IsOnGround(pWeapon))
return HAM_IGNORED
#endif
new iId = get_weapon_id(pWeapon)
set_weapon_state(pWeapon, g_bWeaponState[id][iId])
#if defined NOTIFICATION
if((g_bWeaponState[id][iId] & WPNSTATE_FAMAS_BURST_MODE) || (g_bWeaponState[id][iId] & WPNSTATE_GLOCK18_BURST_MODE))
{
client_print(id, print_center, "#Cstrike_TitlesTXT_Switch_To_BurstFire")
}
#endif
return HAM_IGNORED
}
Здравствуйте. Помогите пожалуйста исправить работу плагина
WeaponState Remember 0.0.4
WeaponState Remember 0.0.4
В этой теме было размещено решение! Перейти к решению.