Не работает бхоп при убирании шока

Сообщения
10
Реакции
1
Ошибка
Поставил на зм режим - бхоп и шок (когда бьет зомби выжившего - его не останавливает) плагин.
Когда ставлю их вместе - замедления нету от удара но перестает работать бхоп...
Может кто нибудь пофиксить в шок плагине что то)?
ОС
Linux
Amx Mod X
1.9.0
Билд
Exe build: 21:47:32 Aug  8 2018 (7882)
ReGamedll
ReGameDLL version: 5.21.0.556-dev
Версия Metamod
Metamod v1.21p37
Список метамодулей
[ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.9.0.5  ini   Start ANY  
[ 2] dproto_EF RUN - dproto_i386.so v0.9.391 ini Start Never
[ 3] VoiceTranscoder RUN - VoiceTranscoder. v2017RC3 ini ANY ANY
[ 4] Fun RUN - fun_amxx_i386.so v1.9.0.5 pl1 ANY ANY
[ 5] Engine RUN - engine_amxx_i386 v1.9.0.5 pl1 ANY ANY
[ 6] FakeMeta RUN - fakemeta_amxx_i3 v1.9.0.5 pl1 ANY ANY
[ 7] ReAPI RUN - reapi_amxx_i386. v5.22.0. pl1 ANY Never
[ 8] MySQL RUN - mysql_amxx_i386. v1.9.0.5 pl1 ANY ANY
[ 9] hackdetector RUN - hackdetector_amx v0.15.32 pl1 ANY ANY
[10] CStrike RUN - cstrike_amxx_i38 v1.9.0.5 pl1 ANY ANY
[11] CSX RUN - csx_amxx_i386.so v1.9.0.5 pl1 ANY ANY
[12] Ham Sandwich RUN - hamsandwich_amxx v1.9.0.5 pl1 ANY ANY
[13] Orpheu RUN - orpheu_amxx_i386 v2.6.3 pl1 ANY ANY
Список плагинов
[  1] block ip                0.2         legenda           amx_blockip.amx  running  
[ 2] Ideal Level System FIN 1.3 Freeman4iK ideal_level_sys running
[ 3] Admin Base 1.9.0.5249 AMXX Dev Team admin.amxx running
[ 4] Admin Commands 1.9.0.5249 AMXX Dev Team admincmd.amxx running
[ 5] Block Radio Commands 1.00 MaTTe block_radio.amx running
[ 6] HackDetector 0.15.lite Lev @ AGHL.RU De hackdetector.am running
[ 7] HTTP:X 1.11 [ --{-@ ] httpx.amxx running
[ 8] Proxy/VPN check 1.1b juice proxy_check.amx running
[ 9] Map Manager 2.5.61 Mistrick mapmanager.amxx running
[ 10] Map Manager: Sub Plugi 0.1 Mistrick mapmanager_subp running
[ 11] Name Change Control 0.1 unnamed changename.amxx running
[ 12] unknown unknown unknown Fire_in_the_hol running
[ 13] Replace Info Message 2.3 maeStro aka 9iky replace_info_ms running
[ 14] Block HudTextArgs 1.0 ConnorMcLeod HudBlock.amxx running
[ 15] Unlimited Choose Team 1.0 fl0wer unlimited_teamc running
[ 16] Speedometer 1.3 AciD & Fintok! aspeedometer.am running
[ 17] FreshBans 1.3.8b kanagava fresh_bans_138_ running
[ 18] Camera Changer 1.3 Bl0ck Camera_Changer. running
[ 19] In-Game Ads(MastaMan E 1.83 (Edit stupok in_game_ads_Mas running
[ 20] SpecInfo 1.3.1 Ian Cammarata specinfo.amxx running
[ 21] [AZ] Graffiti System R3.7Fix3 XxXx#xXxX Graffiti_System running
[ 22] Disable startup MOTD 1.0 Sn!ff3r disable_startup running
[ 23] CS AFK Manager 1.0.6 (amx Freeman cs_afk_manager_ running
[ 24] Demo Recorder 2.4.1 F@nt0M demo_recorder.a running
[ 25] Auto Team Balance Adva 1.5.1 Radius auto_team_balan running
[ 26] Parachute 1.0 maeStro parachute.amxx running
[ 27] Nice Map Check 1.0 R sector nice_map_check. running
[ 28] Edgebug Stats 2.0 xPaw EdgeBugStats.am running
[ 29] Custom skies 0.0.1 Nordic Warrior CustomSkies.amx running
[ 30] Menus Front-End 1.9.0.5249 AMXX Dev Team menufront.amxx running
[ 31] Commands Menu 1.9.0.5249 AMXX Dev Team cmdmenu.amxx running
[ 32] Players Menu 1.9.0.5249 AMXX Dev Team plmenu.amxx running
[ 33] Admin Chat 1.9.0.5249 AMXX Dev Team adminchat.amxx running
[ 34] Connect Info 1.0 Hypa_[KZ] connect_info.am running
[ 35] mute 1.0 Aziz mutes.amxx running
[ 36] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 37] Admin Prefixes 4.1 m0skVi4a ;] admin_prefixes. running
[ 38] unknown unknown unknown headshot.amxx running
[ 39] Biohazard 3.7 cheap_suit biohazard.amxx running
[ 40] Damager 1.0.0 neygomon Damager.amxx running
[ 41] [BH] Boss + EnergyBall 15.09.2015 vk.com/csplugin biohazard_boss. running
[ 42] Block Kill 1.2 leonard19941 amx_blockkill.a running
[ 43] Team Join Management 0.3fix Exolent&Alucard team_join_fix.a running
[ 44] Give ADMIN BETA SoNeeKK1 / Rom menu_donata.amx running
[ 45] MultiJump 1.1 Solo[59rus] multijump.amxx running
[ 46] Menu 1.1a legenda menu.amxx running
[ 47] Anti Infection Armor 1.0 Zombie-Mod & Str anti_infect_arm running
[ 48] [Bio] Zombie Buy Healt 1.0 ill bio_buy_health. running
[ 49] [Bio] Ultimate Skins 2.0 CSPlugin Bio_UltimateSki running
[ 50] biohazard notifier 1.2 voed bio_notifier.am running
[ 51] Player Status 1.0 QooQa VictimInfo.amxx running
[ 52] Starting sounds 2.0.0 kiryxapro Sound_round.amx running
[ 53] Ultimate KillStreak Ad 0.7 SAMURAI ut_killstreak_a running
[ 54] Napalm Nades for Bio 1.3a MeRcyLeZZ bio_napalm_nade running
[ 55] FrostNades 2.00-bh2.0 Avalanche bio_frostnades. running
[ 56] Force Field Grenade v1.6 lucas_7_94 shield_force.am running
[ 57] Light SmokeGrenade 1.1 tuty LightSmokeGrena running
[ 58] [BIO] ZM Push 1.0 QooQa bio_zmpush.amxx running
[ 59] Damage money 1.0 QooQa bio_damage_mone running
[ 60] NadeModes 11.2 Nomexous & OT nademodes.amxx running
[ 61] MoneyTransfer 0.3 ZETA [M|E|N] MoneyTransfer.a running
[ 62] Bhop buy 1.0 KTO-TO bunnyhop.amxx running
[ 63] Money Bonus 1.1a Stimul money_bonus.amx running
[ 64] Money Save 0.1 ill money_save_bio. running
[ 65] Round HP 1.0 Rejiser start_hp.amxx running
[ 66] Money 1.1 Emilioneri money.amxx running
[ 67] BIOKnife 1.5 ViniPux biohazard_biokn running
[ 68] Hats 1.0 trofian hat.amxx running
[ 69] Lite Kill Assist 1.17 neygomon lite_kill_assis running
[ 70] unknown unknown unknown gifts_zm.amxx bad load
[ 71] CSSB [WC3] Shopmenu3 1.3 CSSB wc3_ShopMenu.am running
[ 72] Golden Deagle 1.1 AlejandroSk / di wc3_goldendgl.a running
[ 73] M134 1.0 XEP wc3_extra_minig running
[ 74] Golden Ak 47 1.0 AlejandroSk wc3_goldenXM.am running
[ 75] Golden Awp 1.1 Davidoff wc3_extra_golde running
[ 76] Golden m4 1.0 AlejandroSk wc3_Goldenm4.am running
[ 77] Golden Ak 47 1.0 AlejandroSk wc3_goldenak.am running
[ 78] Extra: HK416 1.0 Crock / =) (Popr wc3_hk416.amxx running
[ 79] Rail Cannon 1.0 m4m3ts wc3_plasmXM.amx running
[ 80] [ZP] Extra: Leader ak4 1.0 Crock / =) (Popr wc3_ak47_long.a running
[ 81] [ZP] Weapon: Crossbow 1.0 Crock / =) wc3_crossbownew running
[ 82] [CSO] PlasmaGun 1.0 Dias Leon wc3_PlasmaGun.a running
[ 83] Salamander 3.4 Dias +mod.leg wc3_salamander. running
[ 84] [ZP] Extra: Blaster [S 1.0 Crock / =) (Popr wc3_weapon_sfgu running
[ 85] OICW 1.0 Dias wc3_oicw.amxx running
[ 86] Weapon Model + Sound R 1.2 GHW_Chronic Weapon_Replacem running
Автор плагина
Simon Logic
Версия плагина
1.0.0
Исходный код
/*  AMX Mod X script.

Pain Shock Free Plugin

(c) Copyright 2007, Simon Logic (e-mail: [email protected])
This file is provided as is (no warranties).

Info:
When a player is hit he slows down a bit because of a pain shock.
Sometimes it's very annoying, especially when playing dynamic style
mod, e.g. CSDM. This plugin can turn off original player's slowdown
on bullet hit.

Requirements:
* CS/CZ mod
* AMX/X 1.7x or higher
* Fakemeta module

New cvars:
* amx_painshockfree <0|1> (default=1)

History:
1.0.0 [2007-12-16]
* first release
*/

#include <amxmodx>
#include <fakemeta>

#define MY_PLUGIN_NAME "Pain Shock Free"
#define MY_PLUGIN_VERSION "1.0.0"
#define MY_PLUGIN_AUTHOR "Simon Logic"


new bool:g_bRestoreVel
new Float:g_vecVel[3]
new g_cvarPainShockFree
new g_fmPlayerPreThink
new g_fmPlayerPreThink_Post
//-----------------------------------------------------------------------------
public plugin_init()
{
register_plugin(MY_PLUGIN_NAME, MY_PLUGIN_VERSION, MY_PLUGIN_AUTHOR)

g_cvarPainShockFree = register_cvar("amx_painshockfree", "1", FCVAR_SERVER)

g_fmPlayerPreThink = register_forward(FM_PlayerPreThink, "onPlayerPreThink")
g_fmPlayerPreThink_Post = register_forward(FM_PlayerPreThink, "onPlayerPreThink_Post", 1)
}
//-----------------------------------------------------------------------------
public plugin_end()
{
if(g_fmPlayerPreThink)
unregister_forward(FM_PlayerPreThink, g_fmPlayerPreThink)
if(g_fmPlayerPreThink_Post)
unregister_forward(FM_PlayerPreThink, g_fmPlayerPreThink_Post, 1)
}
//-----------------------------------------------------------------------------
public onPlayerPreThink(id)
{
if(get_pcvar_num(g_cvarPainShockFree))
{
if(pev_valid(id) && is_user_alive(id)
&& (FL_ONGROUND & pev(id, pev_flags)))
{
pev(id, pev_velocity, g_vecVel)
g_bRestoreVel = true
}

return FMRES_HANDLED
}

return FMRES_IGNORED
}
//-----------------------------------------------------------------------------
public onPlayerPreThink_Post(id)
{
if(g_bRestoreVel)
{
g_bRestoreVel = false

if(!(FL_ONTRAIN & pev(id, pev_flags)))
{
// NOTE: within DLL PlayerPreThink Jump() function is called;
// there is a conveyor velocity addiction we should care of

static iGEnt

iGEnt = pev(id, pev_groundentity)
if(pev_valid(iGEnt) && (FL_CONVEYOR & pev(iGEnt, pev_flags)))
{
static Float:vecTemp[3]

pev(id, pev_basevelocity, vecTemp)

g_vecVel[0] += vecTemp[0]
g_vecVel[1] += vecTemp[1]
g_vecVel[2] += vecTemp[2]
}

set_pev(id, pev_velocity, g_vecVel)

return FMRES_HANDLED
}
}

return FMRES_IGNORED
}
//-----------------------------------------------------------------------------
Сверху проблему описал:)
 
Сообщения
893
Реакции
149
Помог
25 раз(а)
А разве в моде нету вшитого пейншока?)
Вот тебе квар:
C++:
zp_surv_painfree 1 // Pain shock free (Для выжившего)
zp_nem_painfree 0 // Pain shock free (Для дьявола аля немезиды)
zp_zombie_painfree 2 // Zombies are pain shock free [0-disabled // 1-enabled // 2-only last zombie]
Квар для зомби. Его значения: 0 - Выключить, 1 - Включить, 2 - Только для последнего зомби
1 Фев 2023
А, тут не зп 4.3, мой завтык.
1 Фев 2023
В био есть квар:
C++:
bh_painshockfree
Попробуй его заюзать.
 

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

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