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

[L4D2]Charger_Collision_patch[Left 4 Fix][05/03/2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 07-08-2021 , 13:36   Re: [L4D2]Better_Charger_Collision+patch[Left 4 Fix]
Reply With Quote #21

The offsets for "CCharge::HandleCustomCollision" changed with today's update:
PHP Code:
"CCharge::HandleCustomCollision"
{
    
"linux"        "333" // was 327 //0x01
    
"windows"    "305" // was 297 //0x01

__________________
Psyk0tik is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 07-08-2021 , 22:22   Re: [L4D2]Better_Charger_Collision+patch[Left 4 Fix]
Reply With Quote #22

Quote:
Originally Posted by Crasher_3637 View Post
The offsets for "CCharge::HandleCustomCollision" changed with today's update:
PHP Code:
"CCharge::HandleCustomCollision"
{
    
"linux"        "333" // was 327 //0x01
    
"windows"    "305" // was 297 //0x01

Thanks crasher!

Updated gamedata
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 04-06-2022 , 17:47   Re: [L4D2]Charger_Collision_patch[Left 4 Fix][06/04/2022]
Reply With Quote #23

Quote:
Originally Posted by TrueSurvivor View Post
Neat plugin idea, everything looked in order so I decided to run it on the Servers for a day and I came across this issue (Twitch Clip)

When glancing over the source code it should prevent the damage just fine, could it be possible that m_carryVictim is changed briefly upon charger_impact?
It is very very very rare this damage bug, i'v only seen it on linux period should be fixed now if you fancy another try.


Update 2.0
Redid collision code semi custom.
Fix rare strange bug with damage(prevented damage from even being delt instead of SDKHooks way)
Prevented impulse velocity code from accounting current velocity, charger impact force is only accounted now (just sets velocity to 0)
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D

Last edited by Lux; 04-06-2022 at 17:48.
Lux is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 11-01-2022 , 07:34   Re: [L4D2]Charger_Collision_patch[Left 4 Fix][06/04/2022]
Reply With Quote #24

Lux, does dhook conflict with left4dhooks? also i get sourcescramble.ext not executed error. can you help?


Quote:
Unable to load plugin "Game/Charger_Collision_patch.smx": Required extension "Source Scramble" file("sourcescramble.ext") not running
Quote:
Unable to load extension "sourcescramble.ext": /home/user5361/gameserver/27215/left4dead2/left4dead2/addons/sourcemod/extensions/sourcescramble.ext.so: cannot open shared object file: No such file or directory
Darkwob is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 02-17-2024 , 05:59   Re: [L4D2]Charger_Collision_patch[Left 4 Fix][06/04/2022]
Reply With Quote #25

PHP Code:
L 02/17/2024 18:40:32: [SMException reportedClient 18 is not in game
L 02
/17/2024 18:40:32: [SMBlamingCharger_Collision_patch.smx
L 02
/17/2024 18:40:32: [SMCall stack trace:
L 02/17/2024 18:40:32: [SM]   [0GetClientTeam
L 02
/17/2024 18:40:32: [SM]   [1Line 201d:\Github\Private-Work\L4D2\scripting\Charger_Collision_patch.sp::ImpactSNDHook
L 02
/17/2024 18:40:32: [SM]   [3StopSound
L 02
/17/2024 18:40:32: [SM]   [4Line 740d:\Github\Private-Work\L4D2\scripting\l4d_heartbeat.sp::ResetSound
L 02
/17/2024 18:40:32: [SM]   [5Line 616d:\Github\Private-Work\L4D2\scripting\l4d_heartbeat.sp::Event_Spawned
L 02
/17/2024 18:40:32: [SMException reportedClient 18 is not in game
L 02
/17/2024 18:40:32: [SMBlamingCharger_Collision_patch.smx
L 02
/17/2024 18:40:32: [SMCall stack trace:
L 02/17/2024 18:40:32: [SM]   [0GetClientTeam
L 02
/17/2024 18:40:32: [SM]   [1Line 201d:\Github\Private-Work\L4D2\scripting_1.11\Charger_Collision_patch.sp::ImpactSNDHook
L 02
/17/2024 18:40:32: [SM]   [3StopSound
L 02
/17/2024 18:40:32: [SM]   [4Line 741d:\Github\Private-Work\L4D2\scripting\l4d_heartbeat.sp::ResetSound
L 02
/17/2024 18:40:32: [SM]   [5Line 616d:\Github\Private-Work\L4D2\scripting\l4d_heartbeat.sp::Event_Spawned 
__________________

Last edited by HarryPotter; 02-17-2024 at 06:00.
HarryPotter is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 03-05-2024 , 03:57   Re: [L4D2]Charger_Collision_patch[Left 4 Fix][06/04/2022]
Reply With Quote #26

Quote:
Originally Posted by HarryPotter View Post
PHP Code:
L 02/17/2024 18:40:32: [SMException reportedClient 18 is not in game
L 02
/17/2024 18:40:32: [SMBlamingCharger_Collision_patch.smx
L 02
/17/2024 18:40:32: [SMCall stack trace:
L 02/17/2024 18:40:32: [SM]   [0GetClientTeam
L 02
/17/2024 18:40:32: [SM]   [1Line 201d:\Github\Private-Work\L4D2\scripting\Charger_Collision_patch.sp::ImpactSNDHook
L 02
/17/2024 18:40:32: [SM]   [3StopSound
L 02
/17/2024 18:40:32: [SM]   [4Line 740d:\Github\Private-Work\L4D2\scripting\l4d_heartbeat.sp::ResetSound
L 02
/17/2024 18:40:32: [SM]   [5Line 616d:\Github\Private-Work\L4D2\scripting\l4d_heartbeat.sp::Event_Spawned
L 02
/17/2024 18:40:32: [SMException reportedClient 18 is not in game
L 02
/17/2024 18:40:32: [SMBlamingCharger_Collision_patch.smx
L 02
/17/2024 18:40:32: [SMCall stack trace:
L 02/17/2024 18:40:32: [SM]   [0GetClientTeam
L 02
/17/2024 18:40:32: [SM]   [1Line 201d:\Github\Private-Work\L4D2\scripting_1.11\Charger_Collision_patch.sp::ImpactSNDHook
L 02
/17/2024 18:40:32: [SM]   [3StopSound
L 02
/17/2024 18:40:32: [SM]   [4Line 741d:\Github\Private-Work\L4D2\scripting\l4d_heartbeat.sp::ResetSound
L 02
/17/2024 18:40:32: [SM]   [5Line 616d:\Github\Private-Work\L4D2\scripting\l4d_heartbeat.sp::Event_Spawned 
Thanks Ill add the check for that however this stopsound call for l4d_heartbeat is out of line should not be triggering this since client is not ingame anyway this plugin should check rather than just calling StopSound.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux 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 12:27.


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