Hitgroup Restrictions
1 Attachment(s)
REQUIREMENTS:CVARS:
|
Re: [PLUGIN] Hitgroup Restrictions
i was expecting someone to make this, a lot of clans out there want this kind of thing to practice headshots. Good work.
|
Re: Hitgroup Restrictions
Big thanks!!!!
I was searching for a plugin like this a long time! Works great :up: |
Re: Hitgroup Restrictions
every time i run this it works fine for the map that it is enabled on but on the map change my server crashes this only happens with source mod.
|
Re: Hitgroup Restrictions
I looked through the code some, my best guess is that it's because hooks aren't being released and re-established when needed. This plugin (and perhaps even Sourcemod in general) isn't stable enough for use.
|
Re: Hitgroup Restrictions
so it could be either source mod or this mod?
|
Re: Hitgroup Restrictions
As best as I can tell, yes. I honestly don't know, I've been trying to get my server up and running stable, and I was having weird problems while running Sourcemod with my own custom scripts. No way to know whether I was doing any of it right. :( I'm giving it another shot... If I get this plugin to work okay, I'll post it here.
|
Re: Hitgroup Restrictions
thank you. Because my server crashes when I have this mod running. I want source mod to grow because of its versatility and power.
|
Re: Hitgroup Restrictions
The reason I want this to work is because player_hurt doesn't get hitgroup information, and I'm trying to get headshot hitsounds, not just a headshot sound when someone dies. What's really weird though, is that I had this working under EventScripts at one point, so in light of this, I created a new event player_hurt_x and had ES fire it off to SourceMod (which is really cool), but it wasn't including hitgroup information, and then when I tried my ES script that was working, normal hitsounds worked but headshot sounds had stopped working. My best guess is that I was running a plugin or script or something that added hitgroup information to the player_hurt event before EventScripts got it. I really wish I could figure that one out.
As far as actual hitgroup restrictions, this script is based off of a hack extension, and despite my best efforts, I haven't been able to get it to run stable. The hitgroups works for a while, and then it quits working after anywhere from a couple minutes to about 20 minutes with varying server loads. I wish the author of this thing would return to life and take a look at it :P On the upside, when not running this script, SourceMod appears to be running just fine, no weird crashes or anything. |
Re: Hitgroup Restrictions
It runs fine for me on 2 servers... What doesn't work for you? Server OS? What error do you get?
Btw. this is the player_hurt event for CS:S Code:
"player_hurt" |
All times are GMT -4. The time now is 01:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.