Raised This Month: $208 Target: $400
 52% 

[L4D & L4D2] God Frames Patch (1.3) [05-Feb-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
fbef0102
Senior Member
Join Date: Sep 2017
Location: TW
Old 12-10-2019 , 09:19   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #11

@Silvers, I notice that your plugin does not work in l4d1 windows and linux when I tested

I did put gamedata
there is a cfg/sourcemod/l4d_god_frames.cfg created by plugin, but nothing works
no error logs, I didn't change any convars
__________________

Last edited by fbef0102; 12-10-2019 at 09:19.
fbef0102 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 01-12-2020 , 20:50   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #12

I like the fact that you added float ConVars. That would really help add a whole new dynamic to the game. Maybe some forwards would also be great for this sort of plugin to disable godframes on particular situations.
__________________

Last edited by Spirit_12; 01-12-2020 at 20:51.
Spirit_12 is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 01-12-2020 , 21:37   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #13

Attached example plugin using the main plugins forward. Thanks to Lux for example idea: common damage on invulnerable incapped client.

Also these are the cvars common infected actually use for invulnerable timers:
PHP Code:
z_throttle_hit_interval_easy             0.5      : , "sv""cheat"  Minimum time between damaging a Survivor from a mob
z_throttle_hit_interval_expert           
1        : , "sv""cheat"  Minimum time between damaging a Survivor from a mob
z_throttle_hit_interval_hard             
0.5      : , "sv""cheat"  Minimum time between damaging a Survivor from a mob
z_throttle_hit_interval_normal           
0.33     : , "sv""cheat"  Minimum time between damaging a Survivor from a mob 
Attached Files
File Type: inc l4d_god_frames.inc (524 Bytes, 22 views)
File Type: sp Get Plugin or Get Source (l4d_god_frames_forward.sp - 13 views - 1.3 KB)
__________________

Last edited by Silvers; 01-20-2020 at 23:51.
Silvers is offline
paul92
Senior Member
Join Date: Sep 2010
Old 01-18-2020 , 20:30   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #14

Thank you Silver. Will try out the new version and see how it goes. Will report back in the next days!
paul92 is offline
fbef0102
Senior Member
Join Date: Sep 2017
Location: TW
Old 01-20-2020 , 04:57   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #15

still didn't work in l4d1,
PHP Code:
public Action OnTakeDamage(int clientint &attackerint &inflictorfloat &damageint &damagetype)
{
    
PrintToChatAll("here");
    if( 
g_bInvulnerable[client] )
    {
        
PrintToChatAll("here2"); //server never prints this line
    
....
    .... 
__________________
fbef0102 is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 01-20-2020 , 23:50   Re: [L4D & L4D2] God Frames Patch (1.0) [01-Dec-2019]
Reply With Quote #16

Quote:
Originally Posted by fbef0102 View Post
still didn't work in l4d1
Thanks, fixed.

Code:
1.2 (21-Jan-2020)
    - Fixed L4D1 not using IsInvulnerable function in OnTakeDamage. Thanks to "fbef0102" for reporting.
    - Thanks to Lux for various help. L4D1 now reads and sets the IsInvulnerable timer directly.
    - L4D1 gamedata update required.
    - L4D2 gamedata update required if updating from 1.0.
Had a test with some cvars and they seem to be working so I removed the beta versions and pushed to the first post.
__________________
Silvers is offline
fbef0102
Senior Member
Join Date: Sep 2017
Location: TW
Old 01-21-2020 , 10:49   Re: [L4D & L4D2] God Frames Patch (1.2) [21-Jan-2020]
Reply With Quote #17

finally it works in l4d1,
thanks, Silvers
__________________
fbef0102 is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 02-05-2020 , 23:11   Re: [L4D & L4D2] God Frames Patch (1.3) [05-Feb-2020]
Reply With Quote #18

Code:
1.3 (05-Feb-2020)
    - Moved forward creation to the correct place. Was rushed for demonstration.
__________________
Silvers is offline
Reply


Thread Tools
Display Modes

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 05:13.


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