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
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 07-30-2017 , 21:01   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #901

Quote:
Originally Posted by Spirit_12 View Post
[...]
I have to disagree on the clarification part. You can use both but one of those convars needs to be set to -1. On my testings from the past day, using Infected Bots Control plugin with L4DToolz does not increase the limit for infected which means it sticks to the default which is 4 no matter what value you set while using the plugin with L4DT 2 does.
cravenge is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-30-2017 , 21:37   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #902

Quote:
Originally Posted by cravenge View Post
I have to disagree on the clarification part. You can use both but one of those convars needs to be set to -1. On my testings from the past day, using Infected Bots Control plugin with L4DToolz does not increase the limit for infected which means it sticks to the default which is 4 no matter what value you set while using the plugin with L4DT 2 does.
Setting one value to -1 is equivalent to not using one or disabling one, so my point stands. As for the Infected Bot Control plugin. How does it unlocks the max limit? What cvar?
__________________
Spirit_12 is offline
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 08-03-2017 , 02:55   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #903

Fork from Attano (V1SOR) v0.6 with my changes- https://github.com/Accelerator74/Left4Downtown2
Accelerator is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-03-2017 , 06:21   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #904

Quote:
Originally Posted by Accelerator74 View Post
Fork from Attano (V1SOR) v0.6 with my changes- https://github.com/Accelerator74/Left4Downtown2
What are your changes? Also, I still see missing windows signatures.
__________________
Spirit_12 is offline
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 08-03-2017 , 06:37   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #905

CInferno__Spread and CTerrorPlayer__OnShovedByPounceLanding is not used.
All changes are written on github.
Accelerator is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-03-2017 , 08:15   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #906

Quote:
Originally Posted by Accelerator74 View Post
CInferno__Spread and CTerrorPlayer__OnShovedByPounceLanding is not used.
All changes are written on github.
I might have those signatures. It doesn't matter, if a native is being used or not. Natives are there to provide options not the other way around.
__________________
Spirit_12 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-03-2017 , 16:18   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #907

Quote:
Originally Posted by Accelerator74 View Post
CInferno__Spread and CTerrorPlayer__OnShovedByPounceLanding is not used.
All changes are written on github.
I just can't wrap my head around github. No time to learn, but these are the untested signatures for those 2 functions.

PHP Code:
            /* 
            * CInferno::Spread(Vector  const&)
            */
            
"CInferno__Spread"
            
{
                
"library"        "server"
                "linux"            "@_ZN8CInferno6SpreadERK6Vector"
                "windows"         "\x53\x8B\xDC\x83\xEC\x08\x83\xE4\xF0\x83\xC4\x04\x55\x8B\x6B\x04\x89\x6C\x24\x04\x8B\xEC\x81\xEC\x78\x01\x00\x00\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\xFC\x8B\x43\x08\x56\x57"
                
/* 53 8B DC 83 EC 08 83 E4 F0 83 C4 04 55 8B 6B 04 89 6C 24 04 8B EC 81 EC 78 01 00 00 A1 ? ? ? ? 33 C5 89 45 FC 8B 43 08 56 57 */
            
}
            
            
/* 
            * CTerrorPlayer::OnShovedByPounceLanding(CTerrorPlayer*)
            */
            
"CTerrorPlayer__OnShovedByPounceLanding"
            
{
                
"library"        "server"
                "linux"            "@_ZN13CTerrorPlayer23OnShovedByPounceLandingEPS_b"
                "windows"         "\x55\x8B\xEC\x83\xEC\x74\x53\x56\x57\x8B\x7D\x08\x8B\xF1"
                
/* 55 8B EC 83 EC 74 53 56 57 8B 7D 08 8B F1 */
            

__________________
Spirit_12 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-07-2017 , 08:55   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #908

WeaponInfoDatabase is still not available on Windows. Anyone willing to work on that part?
__________________
Spirit_12 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-13-2017 , 22:27   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #909

Here is a little update from me. This is Left4Downtown2-0.6.1 which includes the improvements made by Visor and Accelerator74. Special thanks to epzminion for contributing towards Windows fix.

Both Windows and Linux are supported. You can find the binaries below.

Quote:
Change Log: 13 August, 2017
  • Fixed compatibility with Sourcemod 1.8
  • Updated Gamedata for GameRules.
  • Fixed WeaponInfoDatabase.
  • Fixed MeleeWeaponInfoStore.
Attached Files
File Type: zip Left4Downtown2-0.6.1.zip (243.2 KB, 529 views)
File Type: zip Left4Downtown2-0.6.1-Player-Slots.zip (247.3 KB, 300 views)
__________________
Spirit_12 is offline
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 08-14-2017 , 01:20   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #910

The address of Gamerules is obtained through SDKTools and does not require a signature in gamedata.
WeaponInfoDatabase and MeleeWeaponInfoStore worked, but just in version 0.5.4.2 in gamedata there was not enough offset address for TheDirector in Windows. This caused a problem with the functions that also use TheZombieManager, WeaponInfoDatabase and MeleeWeaponInfoStore.
I do not see any changes in your distribution.

Quote:
###August 14, 2017 :: 0.6.2###
  • New native: L4D2_GetWitchCount() -- Gets the number of witches currently in play.
  • New native: L4D2_GetVersusWitchFlowPercent(Float:witchFlo ws[2]) -- Gets the flow percent for witch spawns for both versus rounds.
  • New native: L4D2_SetVersusWitchFlowPercent(Float:witchFlo ws[2]) -- Sets the flow percent for witch spawns for both versus rounds.
  • Little fixes
https://github.com/Accelerator74/Lef...master/Release

Last edited by Accelerator; 08-14-2017 at 05:13.
Accelerator 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:37.


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