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

[EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown


Post New Thread Reply   
 
Thread Tools Display Modes
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 12-18-2016 , 19:20   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #851

Quote:
Originally Posted by NeoTM View Post
Hi!
I run a windows dedicated server at home and a linux rented server.
Left 4 downtown work good for the two server but for the windows one it make an issue with l4d2 berserker.
Everything work fine except for this two when together.

I put the files i have in attachment if someone may find what happen.

Did someone have this problem to?
From what I see, "CTerrorPlayer_OnShovedBySurvivor" signature from both your L4DT2 and BM game datas are mismatched, meaning the former patches the signature first and making the latter not able to fetch it.

Could be wrong, though.

Last edited by cravenge; 12-18-2016 at 19:21.
cravenge is offline
NeoTM
AlliedModders Donor
Join Date: Feb 2013
Location: Britain
Old 12-19-2016 , 08:35   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #852

Is there something i can do? (regarding the fact i'm not knowing how to code ^^' )
__________________
82.66.75.218:27015 - Walk In Dead Nightmare
82.66.75.218:27016 - Walk In Dead Rampage
82.66.75.218:27017 - Walk In Dead Vanilla
NeoTM is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 12-19-2016 , 10:04   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #853

Quote:
Originally Posted by NeoTM View Post
Is there something i can do? (regarding the fact i'm not knowing how to code ^^' )
Well, there are 3 options:
  1. Remove Left 4 Downtown 2 extension and stick with L4DToolz to prevent conflicts.
  2. Copy the "CTerrorPlayer_OnShovedBySurvivor" signature from the Berserk Mode gamedata and put it in L4DT2 one. Don't forget to remove the signature from L4DT2 first before doing this.
  3. Hope for an update of the plugin (this might take a while).
cravenge is offline
NeoTM
AlliedModders Donor
Join Date: Feb 2013
Location: Britain
Old 12-20-2016 , 14:49   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #854

Signatures are the same in both file

"CTerrorPlayer_OnShovedBySurvivor"
{
"library" "server"
"linux" "@_ZN13CTerrorPlayer18OnShovedBySurvivorEPS_R K6Vector"
"windows" "\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\xA1\x2A \x2A\x2A\x2A\x33\xC5\x89\x45\xFC\x53\x8B\x5D\ x08\x56\x57\x8B\x7D\x0C\x8B\xF1"
/* 55 8B EC 81 EC ? ? ? ? A1 ? ? ? ? 33 C5 89 45 FC 53 8B 5D 08 56 57 8B 7D 0C 8B F1 */
}

I'll try the other bm signature i have but i don't want to remove left 4 downtown cos i need to run at least 8 place on the server.

I hope someone will find a solution.
__________________
82.66.75.218:27015 - Walk In Dead Nightmare
82.66.75.218:27016 - Walk In Dead Rampage
82.66.75.218:27017 - Walk In Dead Vanilla
NeoTM is offline
NeoTM
AlliedModders Donor
Join Date: Feb 2013
Location: Britain
Old 12-21-2016 , 08:07   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #855

:/
Nothing to do, plugins don't want to work together while each are working fine alone.

I messed around with all gamedata files i had.

I also try to make a mix but as i don't know nothing in coding (only few commande in php) i did it blindly and i think my chance to succeed are very tiny.

Last thing for me is to prey for someone who have l4DT2 and Berserker working together on a windows server.
__________________
82.66.75.218:27015 - Walk In Dead Nightmare
82.66.75.218:27016 - Walk In Dead Rampage
82.66.75.218:27017 - Walk In Dead Vanilla
NeoTM is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-21-2016 , 08:15   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #856

Wildcard the first 8 bytes of the signature to fix the conflict, though you might need to create a longer signature to ensure you're still matching the correct function.
__________________
asherkin is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 12-21-2016 , 21:57   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #857

Untested but might work (followed asherkin's advice):
PHP Code:
"CTerrorPlayer_OnShovedBySurvivor"
{
    
"library"    "server"
    "linux"    "@_ZN13CTerrorPlayer18OnShovedBySurvivorEPS_RK6Vector"
    "windows" "\x2A\x2A\x2A\x2A\xEC\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\xFC\x53\x8B\x5D\x08\x56\x57\x8B\x7D\x0C\x8B\xF1\xF5\x8C\x03\x2A\x8C\x5B\x2A\xA1"
    
/* ? ? ? ? EC ? ? ? ? A1 ? ? ? ? 33 C5 89 45 FC 53 8B 5D 08 56 57 8B 7D 0C 8B F1 F5 8C 03 ? 8C 5B ? A1 */


Last edited by cravenge; 12-21-2016 at 22:03.
cravenge is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 12-22-2016 , 09:35   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #858

Quote:
Originally Posted by cravenge View Post
Untested but might work (followed asherkin's advice):
PHP Code:
"CTerrorPlayer_OnShovedBySurvivor"
{
    
"library"    "server"
    "linux"    "@_ZN13CTerrorPlayer18OnShovedBySurvivorEPS_RK6Vector"
    "windows" "\x2A\x2A\x2A\x2A\xEC\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\xFC\x53\x8B\x5D\x08\x56\x57\x8B\x7D\x0C\x8B\xF1\xF5\x8C\x03\x2A\x8C\x5B\x2A\xA1"
    
/* ? ? ? ? EC ? ? ? ? A1 ? ? ? ? 33 C5 89 45 FC 53 8B 5D 08 56 57 8B 7D 0C 8B F1 F5 8C 03 ? 8C 5B ? A1 */

you only wildcarded the first 4, not 8
Dr!fter is offline
NeoTM
AlliedModders Donor
Join Date: Feb 2013
Location: Britain
Old 12-23-2016 , 11:51   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #859

It's good right now !!

L4DT and Berserker are working together.

Thanks to epzminion who pm me the berserker signature

And thank you guys for the effort to help

I put the file i use on my windows server in attachment
Attached Files
File Type: dll left4downtown.ext.2.l4d2.dll (191.0 KB, 455 views)
File Type: txt left4downtown.l4d2.txt (49.0 KB, 444 views)
File Type: smx l4d2_berserk_mode.smx (52.0 KB, 209 views)
File Type: txt l4d2_bm_sig.txt (4.2 KB, 301 views)
__________________
82.66.75.218:27015 - Walk In Dead Nightmare
82.66.75.218:27016 - Walk In Dead Rampage
82.66.75.218:27017 - Walk In Dead Vanilla
NeoTM is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 12-24-2016 , 03:40   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #860

Which reminds me, does your version of this extension patches player slots (provides l4d_maxplayers cvar) and has a working FindScavengeItem function? I've been trying forever to make those two work together.
cravenge 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 20:33.


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