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

[L4D & L4D2] Left 4 DHooks Direct (1.146) [21-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
devilesk
Junior Member
Join Date: May 2019
Old 09-27-2020 , 22:34   Re: [L4D & L4D2] Left 4 DHooks Direct (1.23) [27-Sep-2020]
Reply With Quote #191

Quote:
Originally Posted by Silvers View Post
Ok thanks, I'll take your word for it and make the change.

Code:
1.24 (27-Sep-2020)
    - Reverted change: native "L4D_GetTeamScore" now accepts values 1 and 2 again.
    - Changed natives:
        "L4D2Direct_GetVSTankFlowPercent", "L4D2Direct_SetVSTankFlowPercent", "L4D2Direct_GetVSTankToSpawnThisRound",
        "L4D2Direct_SetVSTankToSpawnThisRound", "L4D2Direct_GetVSWitchFlowPercent", "L4D2Direct_SetVSWitchFlowPercent",
        "L4D2Direct_GetVSWitchToSpawnThisRound" and "L4D2Direct_SetVSWitchToSpawnThisRound".
    - Corrected natives "roundNumber" to consider "m_bAreTeamsFlipped" and "m_bInSecondHalfOfRound".
    - Thanks to "devilesk" for native value clarification.
Thanks for the update. I tested the new version and it's returning the correct values now.
devilesk is offline
iaNanaNana
Member
Join Date: Sep 2020
Location: Two-dimensional
Old 09-30-2020 , 00:01   Re: [L4D & L4D2] Left 4 DHooks Direct (1.24) [27-Sep-2020]
Reply With Quote #192

I got "Invalid melee ID ( or melee unavailable (0)" when I used L4D2_GetIntMeleeAttribute, but actually L4D2_GetMeleeWeaponIndex return a valid melee ID.

PHP Code:
Find melee (electric_guitarcontain index 8
L 09
/30/2020 11:52:52: [left4dhooks.smxInvalid melee ID (8) or melee unavailable (0)
1 Find melee (katanacontain index 7
L 09
/30/2020 11:52:52: [left4dhooks.smxInvalid melee ID (7) or melee unavailable (0)
2 Find melee (fireaxecontain index 0
3 Find melee 
(crowbarcontain index 4
4 Find melee 
(baseball_batcontain index 3
5 Find melee 
(knifecontain index 9
L 09
/30/2020 11:52:52: [left4dhooks.smxInvalid melee ID (9) or melee unavailable (0
iaNanaNana is offline
SDArt
Member
Join Date: Aug 2019
Old 09-30-2020 , 20:31   Re: [L4D & L4D2] Special Infected Limit
Reply With Quote #193

Quote:
Originally Posted by Silvers View Post
About:
  • Uses the z_*_limit cvar values to limit the maximum number of each Special Infected type allowed to be alive.



This plugin does not work for me i got no errors in logs whatsoever and it does not generate the .cfg file for the CVARS.

Last edited by SDArt; 11-04-2020 at 04:02.
SDArt is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-30-2020 , 20:40   Re: [L4D & L4D2] Left 4 DHooks Direct (1.24) [27-Sep-2020]
Reply With Quote #194

They are game cvars.


Code:
1.25 (01-Oct-2020)
    - Added survivor specific target filters:   @nick, @rochelle, @coach, @ellis, @bill, @zoey, @francis, @louis
    - Added special infected target filters:    @smokers, @boomers, @hunters, @spitters, @jockeys, @chargers
    - Changed native "L4D2_GetMeleeWeaponIndex" to return -1 instead of throwing an error, due to melee being unavailable.
    - Fixed melee weapon IDs being incorrect depending on which are enabled. Thanks to "iaNanaNana" for reporting.
    - Updated the "data/left4dhooks.l4d2.cfg" config with latest "ACT_*" animation numbers.
__________________

Last edited by Silvers; 09-30-2020 at 22:17.
Silvers is offline
SDArt
Member
Join Date: Aug 2019
Old 09-30-2020 , 23:52   Re: [L4D & L4D2] Left 4 DHooks Direct (1.25) [01-Oct-2020]
Reply With Quote #195

Game cvars so that means i have to put them in my sourcemod.cfg?

Last edited by SDArt; 09-30-2020 at 23:54.
SDArt is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-01-2020 , 00:02   Re: [L4D & L4D2] Left 4 DHooks Direct (1.25) [01-Oct-2020]
Reply With Quote #196

Quote:
Originally Posted by SDArt View Post
Game cvars so that means i have to put them in my sourcemod.cfg?
Put them in Server.cfg. Maybe with "sm_cvar" in front.


Code:
1.26 (01-Oct-2020)
    - L4D2: Fixed the new target filters not working correctly, now matches by modelname for Survivors instead of character netprop.
__________________
Silvers is offline
SDArt
Member
Join Date: Aug 2019
Old 10-01-2020 , 02:23   Re: [L4D & L4D2] Left 4 DHooks Direct (1.25) [01-Oct-2020]
Reply With Quote #197

Quote:
Originally Posted by Silvers View Post
Put them in Server.cfg. Maybe with "sm_cvar" in front.
The cvars seems to work but only 3 spawn at once how can i change the overall limit of SI?

Last edited by SDArt; 10-01-2020 at 02:24.
SDArt is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 10-01-2020 , 14:18   Re: [L4D & L4D2] Left 4 DHooks Direct (1.25) [01-Oct-2020]
Reply With Quote #198

Quote:
Originally Posted by SDArt View Post
The cvars seems to work but only 3 spawn at once how can i change the overall limit of SI?
One way is to edit VScripts.
For l4d2 there is "MaxSpecials" director keyvalue(director keyvalues take priority over cvars, like gauntlet events remove spitters and limit chargers ect, gameplay balance)
[L4D2] VScript Director Options Unlocker

Or you just use plugin to spawn infected without being limited by the director.
Spawn infected without being limited by the director.
Infected Bots Control Improved Version
__________________

Last edited by HarryPotter; 10-01-2020 at 15:08.
HarryPotter is offline
Forgetest
Member
Join Date: Aug 2020
Old 10-01-2020 , 15:22   Re: [L4D & L4D2] Left 4 DHooks Direct (1.23) [27-Sep-2020]
Reply With Quote #199

Quote:
Originally Posted by Silvers View Post
Code:
1.24 (27-Sep-2020)
    - Reverted change: native "L4D_GetTeamScore" now accepts values 1 and 2 again.
Sorry for troubles brought to guys due to my words, but I'd like to say that it looks kind of weird to start from 1. But well I never reach the reason why downtown sticks to these values without a correction of description, just throwing an error where contains the valid values instead. It seems that there's no report about this native. Anyway for now I think it would be fine to just give it a fix in the include file.

Besides, campaign scores don't act as expected as the remark shows. They actually keep up with the realtime score, instead of not being set until 2nd round end. In regard of map score, it will be set to 0 once the current round ends. In addition, values of team obeys the conversion around InSecondHalfOfRound and AreTeamsFlipped.

Last edited by Forgetest; 10-02-2020 at 01:44.
Forgetest is offline
TiTz
Member
Join Date: Jan 2020
Old 10-02-2020 , 18:31   Re: [L4D & L4D2] Left 4 DHooks Direct (1.26) [01-Oct-2020]
Reply With Quote #200

Hey Silvers,

Getting this error on my L4D1 server

Code:
L 10/02/2020 - 22:34:50: Info (map "l4d_airport01_greenhouse") (file "D:\servl4dt1\left4dead\addons\sourcemod\logs\errors_20201002.log")
L 10/02/2020 - 22:34:50: [left4dhooks.smx] Failed to find "AddonEclipse1" offset.
L 10/02/2020 - 22:34:50: [left4dhooks.smx] Failed to find "AddonEclipse2" offset.
Cheers

TiTz
TiTz 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 01:40.


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