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
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-04-2020 , 02:09   Re: [L4D & L4D2] Left 4 DHooks Direct (1.7) [04-Mar-2020]
Reply With Quote #41

Code:
1.7 (04-Mar-2020)
    - Added natives "L4D_GetNearestNavArea" and "L4D_FindRandomSpot" to get a random spawn position.
    - Fixed native "L4D2Direct_GetFlowDistance" sometimes causing server crashes.
    - Fixed natives "L4D_IsFirstMapInScenario" and "L4D_IsMissionFinalMap" sometimes returning incorrect values. Thanks to "Accelerator74".
    - Updated: Plugin and GameData files.
__________________
Silvers is offline
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin
Old 03-07-2020 , 05:01   Re: [L4D & L4D2] Left 4 DHooks Direct (1.7) [04-Mar-2020]
Reply With Quote #42

This is pure awesomeness! Period.
__________________
finishlast is offline
toniex
Junior Member
Join Date: Feb 2020
Old 03-07-2020 , 14:18   Re: [L4D & L4D2] Left 4 DHooks Direct (1.7) [04-Mar-2020]
Reply With Quote #43

forgive my ignorance but what is this for ??????
PD:I want to use the cvar l4d2_addons_eclipse at 0 , but it doesn't seem to work
toniex is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-07-2020 , 15:42   Re: [L4D & L4D2] Left 4 DHooks Direct (1.7) [04-Mar-2020]
Reply With Quote #44

Quote:
Originally Posted by toniex View Post
forgive my ignorance but what is this for ??????
PD:I want to use the cvar l4d2_addons_eclipse at 0 , but it doesn't seem to work
This gives other plugins lots of functions to use just like left4downtown extension except I've added even more for both games.

"l4d2_addons_eclipse" 0 is working for me to disallow addons from being used. Where are you setting the value, can you verify it's actually "0" and not "-1"?
__________________
Silvers is offline
toniex
Junior Member
Join Date: Feb 2020
Old 03-07-2020 , 16:26   Re: [L4D & L4D2] Left 4 DHooks Direct (1.7) [04-Mar-2020]
Reply With Quote #45

Quote:
Originally Posted by Silvers View Post
This gives other plugins lots of functions to use just like left4downtown extension except I've added even more for both games.

"l4d2_addons_eclipse" 0 is working for me to disallow addons from being used. Where are you setting the value, can you verify it's actually "0" and not "-1"?
I want to disable all the addons for this i put l4d2_addons_eclipse 0 on my server.cfg and I refuse the cvar
or shouldn't it be in server.cfg? the addon did not create a .cfg in left4dead/cfg/sourcemod
toniex is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-07-2020 , 16:41   Re: [L4D & L4D2] Left 4 DHooks Direct (1.7) [04-Mar-2020]
Reply With Quote #46

Yeah "server.cfg" but sometimes I find this doesn't get executed so in "autoexec.cfg" I have exec "cfg/server.cfg". This is probably wrong anyway. Maybe I'll just make this plugin create a cvar config.
__________________

Last edited by Silvers; 03-07-2020 at 16:42.
Silvers is offline
toniex
Junior Member
Join Date: Feb 2020
Old 03-07-2020 , 16:51   Re: [L4D & L4D2] Left 4 DHooks Direct (1.7) [04-Mar-2020]
Reply With Quote #47

Quote:
Originally Posted by Silvers View Post
Yeah "server.cfg" but sometimes I find this doesn't get executed so in "autoexec.cfg" I have exec "cfg/server.cfg". This is probably wrong anyway. Maybe I'll just make this plugin create a cvar config.

I already tried to put in autoexec.cfg and cfg/server.cfg l4d2_addons_eclipse 0 or sm_cvar l4d2_addons_eclipse 0 but not working
do it please since I try to modify the .sp and compile it but I don't have the ext or inc necessaries

Last edited by toniex; 03-07-2020 at 16:55.
toniex is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-07-2020 , 17:01   Re: [L4D & L4D2] Left 4 DHooks Direct (1.8) [08-Mar-2020]
Reply With Quote #48

Done.

Code:
1.8 (08-Mar-2020)
    - Added AutoExecConfig to generate a cvars config saved to "cfgs/sourcemod/left4dhooks.cfg".
    - Loads signatures in "OnPluginStart" except "g_pGameRules" which can only load in "OnMapStart".
    - Thanks to "Accelerator74" for requesting and testing.
    - Fixed some wrong return types in the include file.

    - Updated: Plugin and Include files.
__________________
Silvers is offline
toniex
Junior Member
Join Date: Feb 2020
Old 03-07-2020 , 17:18   Re: [L4D & L4D2] Left 4 DHooks Direct (1.8) [08-Mar-2020]
Reply With Quote #49

still doesn't create the cfg

Quote:
AutoExecConfig(true, "left4dhooks");
_____________________________________________ __________________________

It could also be a solution to set the l4d2_addons_eclipse directly in .smx to 0 for people who want it

Quote:
g_hCvarAddonsEclipse = CreateConVar("l4d2_addons_eclipse", "-1", .........

Last edited by toniex; 03-07-2020 at 17:19.
toniex is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-07-2020 , 17:21   Re: [L4D & L4D2] Left 4 DHooks Direct (1.8) [08-Mar-2020]
Reply With Quote #50

Quote:
Originally Posted by toniex View Post
still doesn't create the cfg
Restarted server? Changed map?

Quote:
Originally Posted by toniex View Post
It could also be a solution to set the l4d2_addons_eclipse directly in .smx to 0 for people who want it
No bad advice not required.
__________________
Silvers 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 19:09.


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