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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Merudo
Senior Member
Join Date: Feb 2016
Old 03-23-2016 , 17:16   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #811

Your version doesn't work with Windows. That's the problem.

The truth is, there is no working version of Left 4 Downtown 2 for windows with player slot patched, and as far as I can see, nobody on Linux shared any code that could be of use for Windows users.
__________________

Last edited by Merudo; 03-23-2016 at 17:58.
Merudo is offline
Merudo
Senior Member
Join Date: Feb 2016
Old 03-23-2016 , 17:36   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #812

I'm trying to edit the code for the extension but I need to change USE_PLAYERSLOTS_PATCHES, somehow I can't find this definition, where is it?
__________________

Last edited by Merudo; 03-23-2016 at 17:58.
Merudo is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 03-23-2016 , 18:53   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #813

Look for Attano's fork. Use the Player slot files from there.
__________________
Spirit_12 is offline
Merudo
Senior Member
Join Date: Feb 2016
Old 03-23-2016 , 22:06   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #814

Thanks Spirit12 Do I need to specify a parameter / variable to make it a patched slot build?
__________________
Merudo is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 03-23-2016 , 23:11   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #815

From my tests. Just grab the playerslots cpp files from his fork and compile it on windows. I think you have to replace 2 files at max. No coding change, just replace the old files with the ones from his fork.
__________________
Spirit_12 is offline
Merudo
Senior Member
Join Date: Feb 2016
Old 03-24-2016 , 13:23   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #816

Cool, thanks!

I also noticed you changed the following signatures:

- OnMobRushStart
- Zombiemanager_SpawnITmob
- Zombiemanager_SpawnMob
- CTerrorPlayer_OnShovedBySurvivor

Unfortunately, the signatures don't work on Windows. Maybe you are using some old windows signatures that don't work?
__________________

Last edited by Merudo; 03-24-2016 at 13:28.
Merudo is offline
Merudo
Senior Member
Join Date: Feb 2016
Old 03-24-2016 , 13:39   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #817

Alright, I compiled the fixed Left 4 Downtown 2 extension for windows according to Spirit_12's instructions.

To compile it, I used the source code & gamedata from the first post, and replaced player_slots.h and player_slots.cpp by the files from the Attano fork.

I also added Attano's signatures for Linux:

-CTerrorWeapon__OnHit
-CBasePlayer::WaterMove
-CTerrorGameRules__GetMissionInfo
-CBaseServer__FillServerInfo
-VanillaModeOffset

I took the liberty to include Spirit_12's linux files in the zip. Hence, the extension should work on both linux and windows.

EDIT: Playerslots doesn't work on windows, l4d_maxplayers can't be set above 8. Get l4dtoolz instead.
Attached Files
File Type: zip left4downtown2-v0.5.4.2.zip (222.5 KB, 2514 views)
File Type: zip left4downtown2-v0.5.4.2-playerslots.zip (227.6 KB, 948 views)
__________________

Last edited by Merudo; 03-30-2016 at 17:22.
Merudo is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 03-25-2016 , 02:01   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #818

Quote:
Originally Posted by Merudo View Post
Cool, thanks!

I also noticed you changed the following signatures:

- OnMobRushStart
- Zombiemanager_SpawnITmob
- Zombiemanager_SpawnMob
- CTerrorPlayer_OnShovedBySurvivor

Unfortunately, the signatures don't work on Windows. Maybe you are using some old windows signatures that don't work?
I do not support Windows. I'll update all the signatures for Linux, but Windows is too much time consuming.
__________________
Spirit_12 is offline
RDiver
Member
Join Date: Mar 2010
Old 03-28-2016 , 09:16   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #819

Quote:
Originally Posted by Merudo View Post
Alright, I compiled the fixed Left 4 Downtown 2 extension for windows according to Spirit_12's instructions.

To compile it, I used the source code & gamedata from the first post, and replaced player_slots.h and player_slots.cpp by the files from the Attano fork.

I also added Attano's signatures for Linux:

-CTerrorWeapon__OnHit
-CBasePlayer::WaterMove
-CTerrorGameRules__GetMissionInfo
-CBaseServer__FillServerInfo
-VanillaModeOffset

I took the liberty to include Spirit_12's linux files in the zip. Hence, the extension should work on both linux and windows.
Playerslot ver. still not work at all in Windows .
RDiver is offline
Merudo
Senior Member
Join Date: Feb 2016
Old 03-28-2016 , 09:19   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #820

What do you mean? What error message does it give? Did you set l4d_maxplayers properly?
__________________

Last edited by Merudo; 03-28-2016 at 09:25.
Merudo 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 14:01.


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