Raised This Month: $32 Target: $400
 8% 

[EXTENSION] [L4D2] 8+ players Bug Fixes (1.0.2)


Post New Thread Reply   
 
Thread Tools Display Modes
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 09-06-2021 , 01:51   Re: [EXTENSION] [L4D2] 8+ players Bug Fixes (1.0.2)
Reply With Quote #311

For anyone who wants to still use this alongside Lux's Left 4 Fix collection:
PHP Code:
"CDirectorMusicBanks::OnRoundStart"
{
    
"library"    "server"
    "windows"   "\x2A\x2A\x2A\x2A\x2A\x2A\x56\x57\x8B\x2A\x8B\x2A\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x84\x2A\x0F"
    
/* ? ? ? ? ? ? 56 57 8B ? 8B ? ? ? ? ? E8 ? ? ? ? 84 ? 0F */
}
"TheDirector"
{
    
"library"    "server"
    "linux"        "@TheDirector"
}
"CCharge::HandleCustomCollision"
{
    
"library"    "server"
    "linux"        "@_ZN7CCharge21HandleCustomCollisionEP11CBaseEntityRK6VectorS4_P10CGameTraceP9CMoveData"
    "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\x2A\x89\x2A\x2A\x8B\x2A\x2A\x53\x8B\x2A\x89\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x56\x8B\x2A\x2A\x57"
    
/* ? ? ? ? ? ? ? ? ? A1 ? ? ? ? 33 ? 89 ? ? 8B ? ? 53 8B ? 89 ? ? 8B ? ? ? ? ? 56 8B ? ? 57 */
}
"CCharge::HandleCustomCollision_code"
{
    
"library"    "server"
    "linux"        "\x2A\x2A\x2A\x2A\x2A\x2A\xF3\x0F\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xF3\x0F\x2A\x2A\x2A\x2A\x2A\x2A\xF3\x0F\x2A\x2A\x2A\x2A\x2A\x2A\xF3\x0F\x2A\x2A\x2A\x2A\x2A\x2A\xF3\x0F\x2A\x2A\x2A\x2A\x2A\x2A\xA1"
    
/* ? ? ? ? ? ? F3 0F ? ? ? ? ? ? C6 ? ? ? ? ? ? ? F3 0F ? ? ? ? ? ? F3 0F ? ? ? ? ? ? F3 0F ? ? ? ? ? ? F3 0F ? ? ? ? ? ? A1 */
    
"windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\xF3\x0F\x2A\x2A\x2A\xF3\x0F\x2A\x2A\x0F"
    
/* ? ? ? ? ? ? C6 ? ? 8B ? ? ? ? ? F3 0F ? ? ? F3 0F ? ? 0F */
}
"WitchAttack::WitchAttack"
{
    
"library"    "server"
    "linux"        "@_ZN11WitchAttackC1EP11CBaseEntity"
    "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x2A\x33\x2A\x33\x2A\x89\x2A\x2A\x33\x2A\x89\x2A\x2A\x57\x33\x2A\x89\x2A\x2A\x33\x2A\x89\x2A\x2A\x89\x2A\x2A\x89\x2A\x2A\x89\x2A\x2A\x89\x2A\x2A\x89\x2A\x2A\x66\x2A\x2A\x2A\x89\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x2A\x53\x8D\x2A\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x0F\x57\x2A\x8D\x2A\x2A\x2A\x2A\x2A\x88"
    
/* ? ? ? ? ? ? ? C7 ? ? ? ? ? ? C7 ? ? ? ? ? ? 33 ? 33 ? 89 ? ? 33 ? 89 ? ? 57 33 ? 89 ? ? 33 ? 89 ? ? 89 ? ? 89 ? ? 89 ? ? 89 ? ? 89 ? ? 66 ? ? ? 89 ? ? C7 ? ? ? ? ? C7 ? ? ? ? ? ? 53 8D ? ? C7 ? ? ? ? ? ? E8 ? ? ? ? 0F 57 ? 8D ? ? ? ? ? 88 */
}
"CTerrorGameRules::CalculateSurvivalMultiplier"
{
    
"library"    "server"
    "linux"        "@_ZN16CTerrorGameRules27CalculateSurvivalMultiplierEb"
    "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x80\x2A\x2A\x2A\x53\x56\x8B\x2A\x0F\x84"
    
/* ? ? ? ? ? ? 80 ? ? ? 53 56 8B ? 0F 84 */
}
"CDirector::AreTeamsFlipped"
{
    
"library"    "server"
    "linux"        "@_ZNK9CDirector15AreTeamsFlippedEv"
    "windows"   "\x57\x8B\x2A\xE8\x2A\x2A\x2A\x2A\x84\x2A\x75\x2A\xF7"
    
/* 57 8B ? E8 ? ? ? ? 84 ? 75 ? F7 */
}
"CDirector::AllowWitchesInCheckpoints"
{
    
"library"    "server"
    "linux"        "@_ZNK9CDirector25AllowWitchesInCheckpointsEv"
    "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x84\x2A\x75\x2A\xE8\x2A\x2A\x2A\x2A\x84\x2A\x75\x2A\x8B\x2A\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x84\x2A\x75\x2A\x33"
    
/* ? ? ? ? ? ? ? ? 84 ? 75 ? E8 ? ? ? ? 84 ? 75 ? 8B ? ? ? ? ? E8 ? ? ? ? 84 ? 75 ? 33 */
}
"WitchAttack::GetVictim"
{
    
"library"    "server"
    "linux"        "@_ZNK11WitchAttack9GetVictimEv"
    "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x83\x2A\x2A\x74\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x81\x2A\x2A\x2A\x2A\x2A\x03\x2A\x8D\x2A\x2A\x2A\x85\x2A\x74\x2A\xC1\x2A\x2A\x39\x2A\x2A\x75\x2A\x8B\x2A\xC3\x33\x2A\xC3\x50"
    
/* ? ? ? ? ? ? ? ? 8B ? ? 83 ? ? 74 ? 8B ? ? ? ? ? 8B ? 81 ? ? ? ? ? 03 ? 8D ? ? ? 85 ? 74 ? C1 ? ? 39 ? ? 75 ? 8B ? C3 33 ? C3 50 */

cravenge is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 09-10-2021 , 04:12   Re: [EXTENSION] [L4D2] 8+ players Bug Fixes (1.0.2)
Reply With Quote #312

Quote:
Originally Posted by yzybb View Post
Use the one by Accelerator along with the game data I provided.
cravenge is offline
yzybb
Member
Join Date: Jul 2020
Old 09-14-2021 , 06:59   Re: [EXTENSION] [L4D2] 8+ players Bug Fixes (1.0.2)
Reply With Quote #313

Quote:
Originally Posted by cravenge View Post
Use the one by Accelerator along with the game data I provided.
https://crash.limetech.org/crl75vny32kb

thanks, but , again crash.

Last edited by yzybb; 09-14-2021 at 06:59.
yzybb is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 09-18-2021 , 04:40   Re: [EXTENSION] [L4D2] 8+ players Bug Fixes (1.0.2)
Reply With Quote #314

Quote:
Originally Posted by yzybb View Post
https://crash.limetech.org/crl75vny32kb

thanks, but , again crash.
I don't know why it's crashing for you but I just 2 full campaign runs on my Windows server as a test and did not stumble upon any crash while doing so.

Edit: Are you sure this extension is causing the crashes? I'm having doubts cuz the crash logs you provided has nothing to do with the extension and all of them seem to be pointing OnTakeDamage at fault.

What I can deduce from it is the possibility of multiple plugins changing the damage received by the same victim/attacker. I happened to do the same thing by accident when I was attempting to modify the damage taken by survivors from Witches in one plugin and another blocking said damage.

If you're still confused, I hope this little demonstration will help:
Code:
Before:

Plugin 1 is changing the damage done by Witches to survivors
Plugin 2 is blocking said damage for specific players
SDKHooks freaks out cuz it can't determine which is which and crashes the server

After:

Plugin 1 now changes the damage except for those specific players that Plugin 2 checks for
Plugin 2 remains untouched
SDKHooks is now able to determine how the damage should be handled for everyone and doesn't crash the server anymore
From the demonstration above, what I'm implying is to look for the plugins that are utilizing OnTakeDamage cuz there's a chance a few of them are conflicting with one another.

Last edited by cravenge; 09-18-2021 at 06:12.
cravenge is offline
yzybb
Member
Join Date: Jul 2020
Old 09-20-2021 , 12:31   Re: [EXTENSION] [L4D2] 8+ players Bug Fixes (1.0.2)
Reply With Quote #315

Quote:
Originally Posted by cravenge View Post
I don't know why it's crashing for you but I just 2 full campaign runs on my Windows server as a test and did not stumble upon any crash while doing so.

Edit: Are you sure this extension is causing the crashes? I'm having doubts cuz the crash logs you provided has nothing to do with the extension and all of them seem to be pointing OnTakeDamage at fault.

What I can deduce from it is the possibility of multiple plugins changing the damage received by the same victim/attacker. I happened to do the same thing by accident when I was attempting to modify the damage taken by survivors from Witches in one plugin and another blocking said damage.

If you're still confused, I hope this little demonstration will help:
Code:
Before:

Plugin 1 is changing the damage done by Witches to survivors
Plugin 2 is blocking said damage for specific players
SDKHooks freaks out cuz it can't determine which is which and crashes the server

After:

Plugin 1 now changes the damage except for those specific players that Plugin 2 checks for
Plugin 2 remains untouched
SDKHooks is now able to determine how the damage should be handled for everyone and doesn't crash the server anymore
From the demonstration above, what I'm implying is to look for the plugins that are utilizing OnTakeDamage cuz there's a chance a few of them are conflicting with one another.
Thank you. I seem to understand the cause of the crash, and your reasoning process is worth learning. Thank you very much for your testing and guidance
yzybb is offline
TomDaBomb
Junior Member
Join Date: Jun 2017
Location: U.S NY
Old 09-21-2021 , 06:26   Re: [EXTENSION] [L4D2] 8+ players Bug Fixes (1.0.2)
Reply With Quote #316

Quote:
Originally Posted by HarryPotter View Post
I use this windows version and it still works for me
thanks for the reply, yeah that is weird cuz thats the windows version i used and got the error, and also used SpaceWashingMachines last post providing the Linux version, and both are giving the errors but they are for 2 different offsets, i was hoping the small L4D2 update just broke the gamedata again

its not causing crashes on the windows or linux versions, just not running so the Witch and Charger still get messed up
__________________
Enjoying Life, Day by Day.
Duskgamers.com - Steamcommunity.com/id/TLC420
******************************************
TomDaBomb is offline
McRi0t
Junior Member
Join Date: Oct 2022
Old 11-26-2022 , 18:36   Re: [EXTENSION] [L4D2] 8+ players Bug Fixes (1.0.2)
Reply With Quote #317

Hi guys,

I can't figure out the "best way" to solve the scoreboard bug where multiple players just get the same scores.

I tried this here extension to resolve it but doesn't seem to be working. Is their a better fix now or maybe a conflict with something I already have running? Currently this is what's running (just not working)
l4d2_bugfixes.ext.so

Clearly I'm missing something...
any advice from the pros would be much appreciated.

Below are the plugins currently installed. Feel free to advise if any plugins are out-dated (no longer required) to the point I shouldn't be using them OR plugins I don't have that I absolutely should.
Spoiler


Extension currently running on the server.
Spoiler

Last edited by McRi0t; 11-26-2022 at 21:44. Reason: plugin list (spoiler) edit
McRi0t is offline
McRi0t
Junior Member
Join Date: Oct 2022
Old 01-10-2023 , 12:12   Re: [EXTENSION] [L4D2] 8+ players Bug Fixes (1.0.2)
Reply With Quote #318

Sorry for bumping this.. ^^.

I still don't know how I can fix the End Score credit screen. I kind of just gave up on it but still would love to fix it on my server...

Hoping someone has a solution for me?..
McRi0t is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 01-10-2023 , 21:03   Re: [EXTENSION] [L4D2] 8+ players Bug Fixes (1.0.2)
Reply With Quote #319

Was there ever a fix for that? I think this extension was to fix it, but the offset might be off.
__________________
Spirit_12 is offline
McRi0t
Junior Member
Join Date: Oct 2022
Old 01-11-2023 , 08:45   Re: [EXTENSION] [L4D2] 8+ players Bug Fixes (1.0.2)
Reply With Quote #320

Quote:
Originally Posted by Spirit_12 View Post
Was there ever a fix for that? I think this extension was to fix it, but the offset might be off.
Ya, thought this extension did fix the final score bug? (pretty sure it did) just doesn't now (maybe I broke).
Not sure if someone came up with a new solution?

It's not a big deal just that my friends did enjoy seeing their stats at the end of a campaign (just for fun)
McRi0t 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 04:47.


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