Raised This Month: $51 Target: $400
 12% 

[L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MasterMind420
BANNED
Join Date: Nov 2010
Plugin ID:
5670
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Delete This Thread
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, upload source and use the Report Post button for a new review.
    Old 06-22-2017 , 12:26   [L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix
    Reply With Quote #1

    THIRDPERSONSHOULDER SHOTGUN SOUND FIX
    Authors MasterMind420 & Lux

    This is a rewrite of Thirdpersonshoulder Shotgun Sound Bug Fix...

    REQUIRED Download ThirdPersonShoulder_Detect Plugin
    https://forums.alliedmods.net/showthread.php?t=298649

    VERSION 1.1 ( Windows )
    Code Optimizations
    Crashing on windows should be resolved
    Corrected low volume with EmitSoundToClient

    VERSION 1.1 ( Linux )
    Code Optimizations
    Added incendiary ammo gunfire sounds

    Last edited by DarkDeviL; 10-18-2021 at 09:05. Reason: Restore to previous version.
    MasterMind420 is offline
    Edison1318
    Senior Member
    Join Date: Nov 2015
    Location: Peaceful place of the in
    Old 06-22-2017 , 19:54   Re: [L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix
    Reply With Quote #2

    I've tested it on L4D2, somehow it starts to crash when i test shoot the shotgun on thirdpersonshoulder. Even i did included the ThirdPersonShoulder_Detect Plugin.
    __________________
    EdisonGar

    Last edited by Edison1318; 06-23-2017 at 01:45.
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    MasterMind420
    BANNED
    Join Date: Nov 2010
    Old 06-25-2017 , 12:35   Re: [L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix
    Reply With Quote #3

    Quote:
    Originally Posted by Edison1318 View Post
    I've tested it on L4D2, somehow it starts to crash when i test shoot the shotgun on thirdpersonshoulder. Even i did included the ThirdPersonShoulder_Detect Plugin.
    hmm i can't say why it would be crashing for you, try redownloading it, i've updated it since...
    MasterMind420 is offline
    Edison1318
    Senior Member
    Join Date: Nov 2015
    Location: Peaceful place of the in
    Old 06-25-2017 , 21:15   Re: [L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix
    Reply With Quote #4

    Quote:
    Originally Posted by MasterMind420 View Post
    hmm i can't say why it would be crashing for you, try redownloading it, i've updated it since...
    I've redownloaded it. But it still crashes.
    __________________
    EdisonGar
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    MasterMind420
    BANNED
    Join Date: Nov 2010
    Old 06-26-2017 , 12:49   Re: [L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix
    Reply With Quote #5

    Quote:
    Originally Posted by Edison1318 View Post
    I've redownloaded it. But it still crashes.
    ok I need more info than that. I run everything on linux so i'm guessing your using windows. If so and there's anyone else out there that can confirm while using windows this crashes please say so, otherwise all I can assume is that there's a problem with your server/sourcemod installation. No error logs at all?
    MasterMind420 is offline
    Edison1318
    Senior Member
    Join Date: Nov 2015
    Location: Peaceful place of the in
    Old 06-26-2017 , 22:06   Re: [L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix
    Reply With Quote #6

    Quote:
    Originally Posted by MasterMind420 View Post
    ok I need more info than that. I run everything on linux so i'm guessing your using windows. If so and there's anyone else out there that can confirm while using windows this crashes please say so, otherwise all I can assume is that there's a problem with your server/sourcemod installation. No error logs at all?
    Yes it's true i'm using Windows. However, it does not appear the error log after my game crashes. So i perhaps i don't know the issue about that.
    __________________
    EdisonGar
    Edison1318 is offline
    Send a message via Skype™ to Edison1318
    MasterMind420
    BANNED
    Join Date: Nov 2010
    Old 06-26-2017 , 19:25   Re: [L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix
    Reply With Quote #7

    Quote:
    Originally Posted by Edison1318 View Post
    I've redownloaded it. But it still crashes.
    Try this version...I suspect what may be wrong but I have no way to test it myself. If it crashes again there's one more change I can make.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_shotgun_sound_fix.sp - 605 views - 7.7 KB)
    MasterMind420 is offline
    JohnnyDave255
    Member
    Join Date: May 2017
    Location: Philippines
    Old 06-23-2017 , 06:03   Re: [L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix
    Reply With Quote #8

    I think this plugin is made by DeathChaos. Anyway, nice, will try to test this.
    __________________
    https://forums.alliedmods.net/signaturepics/sigpic279390_1.gif
    >>>Johnny Dave<<<
    JohnnyDave255 is offline
    MasterMind420
    BANNED
    Join Date: Nov 2010
    Old 06-25-2017 , 12:33   Re: [L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix
    Reply With Quote #9

    Quote:
    Originally Posted by JohnnyDave255 View Post
    I think this plugin is made by DeathChaos. Anyway, nice, will try to test this.
    It originally was his plugin, I took it over for him months ago. His plugin didn't actually have proper thirdpersonshoulder detection, this one does...also fixes some bugs where thirdpersonshoulder detection would come back false...
    MasterMind420 is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 06-26-2017 , 13:51   Re: [L4D/L4D2] Thirdpersonshoulder Shotgun Sound Fix
    Reply With Quote #10

    Checking for client -1 is not good form, you probably want to change that to client < 1 or client <= 0.

    You're also mixing new syntax with old syntax which could cause problems.
    Visual77 is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 21:30.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode