Author Topic: [SHOPITEM] - Cat's Feet (Silence player footsteps)  (Read 5491 times)

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
[SHOPITEM] - Cat's Feet (Silence player footsteps)
« on: November 27, 2012, 12:39:30 AM »
I haven't had a chance to test this yet, but it should work ok.  I'll hopefully get to test it in the next few days if no one gets a chance before then.

As I understand it, this will NOT silence the sound a player makes when jumping, only when running.

* CHANGELOG *
1.0.1 - Added a message when the item is purchased.
« Last Edit: November 27, 2012, 01:22:25 AM by Remy Lebeau »

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #1 on: November 27, 2012, 12:45:47 AM »
yay
-fluttershy

Revan

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #2 on: November 27, 2012, 12:46:46 AM »
thats cool :D wanted such a thing for ages
#war3source on gamesurge

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #3 on: November 27, 2012, 10:36:39 PM »
While this item DOES do what it's supposed to (makes player's footsteps silent), it has a couple of bugs as well.

Because of the way it works, it makes the player look like they are crouching.  Also, while players own this item, they can't plant the bomb ...

I don't really know of an alternative way to code it, unless I try hooking onto the sound files and setting the volume to 0 or something (which I'll try next)

Fabolous1

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #4 on: January 05, 2013, 10:01:07 PM »
Are you still working with this? I'd be interested in a nonbuggy version :) thanks.

Fabolous1

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #5 on: January 06, 2013, 12:24:22 AM »
By the way I believe this plugin crashes my server everytiem a bot buys its. I didn't test buying it myself

Ownz

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #6 on: January 06, 2013, 10:26:39 PM »
this plugin has too many side effects, its not worth using.

Necavi

  • Sr. Member
  • ****
  • Posts: 499
    • View Profile
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #7 on: January 06, 2013, 10:35:58 PM »
That's because its setting the flags too uncaringly, I'll see if I can dig up my old version, it just sets very specific flags for the same effect.

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #8 on: January 07, 2013, 07:01:02 PM »
I've been using this version on my server just fine.  It still have the two bugs listed below.  The bomb planting one can be fixed by hitting crouch a couple of times when you go to plant.

I haven't been able to find if there are other exact flags that does what we want without the unwanted consequences.  Necavi - if you've got em that'd be great :D

re: bots - my test server runs bots without a problem :S

Necavi

  • Sr. Member
  • ****
  • Posts: 499
    • View Profile
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #9 on: January 07, 2013, 07:31:21 PM »
Didn't test it, but this MIGHT be an improvement (no guarantees here!)

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #10 on: January 08, 2013, 01:42:10 AM »
The only problem with that necavi is that it would exacerbate the issue where you can't plant the bomb ...  With my version at least by hitting crouch a couple of times it will let you plant, with yours surely it would always consider you to be above the bomb site?

I guess I could add in a check to see if the player has the bomb out ...

Necavi

  • Sr. Member
  • ****
  • Posts: 499
    • View Profile
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #11 on: January 08, 2013, 04:15:49 AM »
Well, this allows for defusing, which is more important, pretty much :P

Revan

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #12 on: January 08, 2013, 05:50:11 AM »
i've read somewhere in the SM forums it's possible to hook some "stepsound" vtable func in CBasePlayer, this should be a easy to do with DHooks. The 'local'-player will still hear his own sound(predicted) but other won't notice them. I'll try my luck if nobody want's to do that :D
#war3source on gamesurge

Necavi

  • Sr. Member
  • ****
  • Posts: 499
    • View Profile
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #13 on: January 08, 2013, 05:54:17 AM »
That'd be pretty neat :D

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #14 on: February 04, 2013, 08:06:51 PM »
does crouching a couple of times fix it?

yprovost

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • Email
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #15 on: February 17, 2016, 07:05:00 AM »
Not working, both are freezing.
Cannot plant and defuse

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
Re: [SHOPITEM] - Cat's Feet (Silence player footsteps)
« Reply #16 on: February 18, 2016, 11:20:30 PM »
Not working, both are freezing.
Cannot plant and defuse

What do you mean by freezing?  I need more details than you've given.

As for plant/defuse, as you can see from the above discussion, there is not really a workaround with the current implementation.