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

[L4D & L4D2] Shove Direction Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Voevoda
Senior Member
Join Date: Aug 2016
Old 04-21-2022 , 08:17   Re: [L4D2] Shove Direction Fix
Reply With Quote #21

not work
Voevoda is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 04-22-2022 , 00:40   Re: [L4D2] Shove Direction Fix
Reply With Quote #22

Quote:
Originally Posted by Voevoda View Post
not work
oh no
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
Voevoda
Senior Member
Join Date: Aug 2016
Old 05-15-2022 , 12:27   Re: [L4D2] Shove Direction Fix
Reply With Quote #23

Quote:
L 05/15/2022 - 03:15:28: SourceMod error session started
L 05/15/2022 - 03:15:28: Info (map "c5m1_waterfront") (file "/home/l4d2server/serverfiles/left4dead2/addons/sourcemod/logs/errors_20220515.log")
L 05/15/2022 - 03:15:28: [SM] Unable to load extension "actions.ext": /home/l4d2server/serverfiles/left4dead2/addons/sourcemod/extensions/actions.ext.so: cannot open shared object file: No such file or directory
L 05/15/2022 - 03:150: [SM] Unable to load plugin "l4d2_shove_fix.smx": Native "BehaviorAction.OnShoved.set" was not found
L 05/15/2022 - 03:152: Error log file session closed.
Voevoda is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 05-18-2022 , 01:38   Re: [L4D2] Shove Direction Fix
Reply With Quote #24

Updated
PHP Code:
Fixed for latest extension version 
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 12-03-2022 , 22:16   Re: [L4D2] Shove Direction Fix
Reply With Quote #25

Updated
PHP Code:
- Finally added showcase 
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 12-04-2022 , 23:53   Re: [L4D2] Shove Direction Fix
Reply With Quote #26

Thanks for the update!
__________________

Looking for some fun!
thewintersoldier97 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 07-03-2023 , 13:05   Re: [L4D2] Shove Direction Fix
Reply With Quote #27

I think it should ignore witch?

PHP Code:
public Action OnShovedBehaviorAction actionint actorint shoverActionDesiredResult result )
{
    if(
IsWitch(actor)) return Plugin_Continue;
    return 
Plugin_Handled;
}

bool IsWitch(int entity)
{
    if(
entity MaxClients && IsValidEntity(entity))
    {
        static 
char classname[64];
        
GetEntityClassname(entityclassnamesizeof(classname));        
        return 
strcmp(classname"witch"false) == 0;
    }

    return 
false;

__________________

Last edited by HarryPotter; 07-03-2023 at 13:05.
HarryPotter is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 07-05-2023 , 00:06   Re: [L4D2] Shove Direction Fix
Reply With Quote #28

Quote:
Originally Posted by HarryPotter View Post
I think it should ignore witch?
InfectedShoved are used for both witch and common infected.
I guess adding support for witch shove will be better than don't consider it at all.
__________________
cry

Last edited by BHaType; 07-05-2023 at 00:06.
BHaType is offline
Send a message via AIM to BHaType
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 07-05-2023 , 05:00   Re: [L4D2] Shove Direction Fix
Reply With Quote #29

Quote:
Originally Posted by BHaType View Post
InfectedShoved are used for both witch and common infected.
I guess adding support for witch shove will be better than don't consider it at all.
That is the problem.
I try to shove witch when she is stagger, witch seems not get stumble second time.
__________________

Last edited by HarryPotter; 07-07-2023 at 17:12.
HarryPotter is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 07-06-2023 , 22:49   Re: [L4D2] Shove Direction Fix
Reply With Quote #30

Quote:
Originally Posted by HarryPotter View Post
That is the problem
Oh I see. Fixed.

Updated
PHP Code:
Excluded witch (Thanks to HarryPotter for report
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
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 03:48.


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