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

[L4D2] Release Victim Extended Version


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Plugin ID:
6855
Plugin Version:
0.4
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allow to release victim
    Old 12-14-2019 , 02:33   [L4D2] Release Victim Extended Version
    Reply With Quote #1

    ConVars
    1. sm_release_distance - Release distance
    2. sm_release_height - Release height
    3. sm_release_ability_reset - Reset ability cooldown or not
    4. sm_release_effect - Show effect after release
    Attached Files
    File Type: txt l4d2_release_victim_data.txt (1.8 KB, 273 views)
    File Type: sp Get Plugin or Get Source (l4d2_release_victim.sp - 454 views - 7.3 KB)
    __________________
    cry

    Last edited by BHaType; 07-25-2021 at 04:50.
    BHaType is offline
    Send a message via AIM to BHaType
    login101
    Senior Member
    Join Date: Sep 2017
    Old 12-14-2019 , 21:30   Re: [L4D2] Release Victim Extended Version
    Reply With Quote #2

    Quote:
    Originally Posted by BHaType View Post
    ConVars
    PHP Code:
    sm_release_distance Release distance
    sm_release_height 
    Release height
    sm_release_ability_reset 
    Reset ability cooldown or not 
    what?
    login101 is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 12-15-2019 , 07:06   Re: [L4D2] Release Victim Extended Version
    Reply With Quote #3

    This plugins is just extended version of this
    __________________
    cry
    BHaType is offline
    Send a message via AIM to BHaType
    login101
    Senior Member
    Join Date: Sep 2017
    Old 12-15-2019 , 18:25   Re: [L4D2] Release Victim Extended Version
    Reply With Quote #4

    Quote:
    Originally Posted by BHaType View Post
    This plugins is just extended version of this

    understand
    login101 is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 08-20-2020 , 09:35   Re: [L4D2] Release Victim Extended Version
    Reply With Quote #5

    error spam
    Spoiler
    __________________

    Last edited by HarryPotter; 08-20-2020 at 09:36.
    HarryPotter is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 08-20-2020 , 19:58   Re: [L4D2] Release Victim Extended Version
    Reply With Quote #6

    Quote:
    Originally Posted by fbef0102 View Post
    error spam
    I don't know how this is possible, but I will still add a check


    Updated
    __________________
    cry
    BHaType is offline
    Send a message via AIM to BHaType
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 08-23-2020 , 10:05   Re: [L4D2] Release Victim Extended Version
    Reply With Quote #7

    Quote:
    Originally Posted by BHaType View Post
    I don't know how this is possible, but I will still add a check


    Updated

    same error today
    Spoiler


    I personally think this is the problem
    PHP Code:
    line 105SDKCall(g_hChargerclienttrue1); //when there is no client 1 in server, error spam 
    should be SDKCall(g_hCharger, client, true, client);?
    __________________

    Last edited by HarryPotter; 08-23-2020 at 10:08.
    HarryPotter is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 08-23-2020 , 12:28   Re: [L4D2] Release Victim Extended Version
    Reply With Quote #8

    Quote:
    Originally Posted by fbef0102 View Post
    should be SDKCall(g_hCharger, client, true, client);?
    No, it should be -1 like what its predecessor did.
    cravenge is offline
    BHaType
    Great Tester of Whatever
    Join Date: Jun 2018
    Old 08-23-2020 , 20:42   Re: [L4D2] Release Victim Extended Version
    Reply With Quote #9

    This is my mistake there should be zero or any player so argument is optional and is only used for the event

    PHP Code:
    if ( a3 )
          {
            
    v21 = *(void (__cdecl **)(int, const char *, int))(*(_DWORD *)v12 48);
            
    v20 = (*(int (__cdecl **)(CBaseEntity *, _DWORD))(*(_DWORD *)engine 64))(engine, *((_DWORD *)a3 12));
            
    v19 v21;
          }
          
    v19(v12"rescuer"v20); 
    Updated
    __________________
    cry

    Last edited by BHaType; 08-23-2020 at 20:43.
    BHaType is offline
    Send a message via AIM to BHaType
    axelnieves2012
    Senior Member
    Join Date: Oct 2014
    Location: Argentina
    Old 12-25-2020 , 18:06   Re: [L4D2] Release Victim Extended Version
    Reply With Quote #10

    Is this only for versus??? I would like IA auto-release victims
    axelnieves2012 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 02:45.


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