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

[L4D & L4D2] Left 4 DHooks Direct (1.145) [03-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
GoGetSomeSleep
Senior Member
Join Date: Dec 2018
Location: Miami/Florida
Old 04-18-2021 , 22:21   Re: [L4D & L4D2] Left 4 DHooks Direct (1.16) [05-Jun-2020]
Reply With Quote #291

Quote:
Originally Posted by Silvers View Post
Finally supporting [L4D(2)] Remove Lobby Reservation (When Full). Download latest version below.

You can thank "SilentBr" for pushing me to do it.

Code:
1.16 (05-Jun-2020)
    - Added native "L4D_LobbyUnreserve" finally, to support "Remove Lobby Reservation (When Full)" plugin.
    - Huge thanks to "GAMMACASE" and "Deathreus" for helping figure why the native was crashing.

    - Updated: L4D1 GameData file.
    - Updated: Plugin and Include file.

Attached is version 1.2 of "Remove Lobby Reservation" compiled against left4dhooks and updated syntax.
Code:
1.2 (05-Jun-2020)
    - Converted to the latest syntax.
    - Compiled using left4dhooks include file.
so wich plugin i need to 8/10 l4d2 versus but 2 slots for spectators? l4dtoolz or something? what i need to put in server.cfg? i just lost in old threads please help.

Last edited by GoGetSomeSleep; 04-18-2021 at 22:22.
GoGetSomeSleep is offline
lightphoenix2
Member
Join Date: Feb 2016
Old 04-19-2021 , 01:13   Re: [L4D & L4D2] Left 4 DHooks Direct (1.16) [05-Jun-2020]
Reply With Quote #292

Quote:
Originally Posted by GoGetSomeSleep View Post
so wich plugin i need to 8/10 l4d2 versus but 2 slots for spectators? l4dtoolz or something? what i need to put in server.cfg? i just lost in old threads please help.
l4dtoolz is used for removing the limit that is allowed on the server. This allows players to connect to your server even when it's full. You just need to set sv_maxplayers to 10 or something higher. Since you want spectators, I believe you don't need plugins like ABM that add slots. When there are not enough slots, you will be a spectator automatically. I also don't know what I'm talking about, so don't take my word for it.
lightphoenix2 is offline
GoGetSomeSleep
Senior Member
Join Date: Dec 2018
Location: Miami/Florida
Old 04-19-2021 , 09:57   Re: [L4D & L4D2] Left 4 DHooks Direct (1.16) [05-Jun-2020]
Reply With Quote #293

Quote:
Originally Posted by lightphoenix2 View Post
l4dtoolz is used for removing the limit that is allowed on the server. This allows players to connect to your server even when it's full. You just need to set sv_maxplayers to 10 or something higher. Since you want spectators, I believe you don't need plugins like ABM that add slots. When there are not enough slots, you will be a spectator automatically. I also don't know what I'm talking about, so don't take my word for it.
Everything was fine until the end

when i use l4dtoolz, its removing reservation all the time. not when server is full.

so i wanna know what is the needed items, i have linux dedicated...

Last edited by GoGetSomeSleep; 04-19-2021 at 10:00.
GoGetSomeSleep is offline
jeremyvillanueva
AlliedModders Donor
Join Date: Jan 2021
Location: dcord:Jeremy333#7632
Old 04-19-2021 , 12:58   Re: [L4D & L4D2] Left 4 DHooks Direct (1.35) [10-Apr-2021]
Reply With Quote #294

Thanks to Proaxel I'm updating this post:

Hi, for multislots you need:
(1)
L4DToolZ Extension
https://forums.alliedmods.net/showthread.php?t=93600
--I'm using [01] L4DToolZ (1.0.0.9r1) by Ivailosp
https://forums.alliedmods.net/showpo...postcount=1493

(2)
Left 4 DHooks Direct from this post
from Silvers,
for the unreserve command

and
(3)
don't forget the requirement:
Dhooks 2.2.0-detours from Peace-Maker

You need also Metamod and SourceMod

If you are making a server in a lobby on L4D2 Windows Client
You need to use this Workshop to Start Coop Games with 8 players
https://steamcommunity.com/sharedfil.../?id=546656726

For more than 8 players you need a dedicated server...

Whenever you have the players on the server as spectators, you need
a multislots manager plugin like abm or superversus

Also you need to use cvars, I use these:
//maxplayers 16
sm_cvar sv_maxplayers 16
sm_cvar "survivor_limit" 16
sm_cvar sv_visiblemaxplayers "-1"
sm_cvar sv_allow_lobby_connect_only "0"//solo conectar desde el lobby

//lobby (sin lobby para mas de 4)
sm_cvar sv_force_unreserved "1"//1//otherwise the lobby/match will receive a reservation token once the first 4 slots (for campaign) are filled
//dhooks & plugin
sm_l4dd_unreserve
sm_unreserve

Last edited by jeremyvillanueva; 07-14-2021 at 11:56.
jeremyvillanueva is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-20-2021 , 10:09   Re: [L4D & L4D2] Left 4 DHooks Direct (1.36) [20-Apr-2021]
Reply With Quote #295

Code:
1.36 (20-Apr-2021)
    - Added optional forward "AP_OnPluginUpdate" from "Autoreload Plugins" by Dragokas, to rescan required detours when loaded plugins change.
    - Fixed native "L4D2Direct_GetFlowDistance" sometimes returning -9999.0 when invalid, now returns 0.0;
    - Fixed native "L4D_FindRandomSpot" from crashing Linux servers. Thanks to "Gold Fish" for reporting and fixing and "Marttt" for testing.
    - Restricted native "L4D2_IsReachable" client index to Survivor bots only. Attempts to find a valid bot otherwise it will throw an error. Thanks to "Forgetest" for reporting.
    - Signatures compatibility with plugins detouring them. L4D1: "OnLedgeGrabbed", "OnRevived" and L4D2: "OnLedgeGrabbed". Thanks to "Dragokas" for providing.

    - Updated: L4D1 GameData file.
    - Updated: L4D2 GameData file.
    - Updated: Plugin and Include file.
    - Updated: Test plugin to reflect above changes.
__________________
Silvers is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 04-20-2021 , 13:36   Re: [L4D & L4D2] Left 4 DHooks Direct (1.36) [20-Apr-2021]
Reply With Quote #296

L4D part one linux server
MetaMod Version: 1.11.0-dev+1144
SourceMod Version: 1.10.0.6502

After updating to 1.36 I see in the logs

L 04/20/2021 - 202:26: SourceMod error session started
L 04/20/2021 - 202:26: Info (map "l4d_hospital01_apartment") (file "/home/gameserver9654/serverfiles/left4dead/addons/sourcemod/logs/errors_20210420.log")
L 04/20/2021 - 202:26: [left4dhooks.smx] Failed to find signature: RoundRespawn
__________________

Last edited by Ja-Forces; 04-20-2021 at 14:01.
Ja-Forces is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-20-2021 , 14:07   Re: [L4D & L4D2] Left 4 DHooks Direct (1.37) [20-Apr-2021]
Reply With Quote #297

Thanks.

Code:
1.37 (20-Apr-2021)
    - Removed "RoundRespawn" being used, was for private testing, maybe a future native. Thanks to "Ja-Forces" for reporting.
__________________
Silvers is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 04-22-2021 , 02:55   Re: [L4D & L4D2] Left 4 DHooks Direct (1.37) [20-Apr-2021]
Reply With Quote #298

left4dhooks.smx ([L4D & L4D2] Left 4 DHooks Direct): Required extension "dhooks" file("dhooks.ext") not running

L4D 1.0.3.8
linux server
MetaMod Version: 1.11.0-dev+1144
SourceMod Version: 1.10.0.6502


Where can I get the dhooks that I can use
ZBzibing is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 04-22-2021 , 03:02   Re: [L4D & L4D2] Left 4 DHooks Direct (1.37) [20-Apr-2021]
Reply With Quote #299

Quote:
Originally Posted by ZBzibing View Post
left4dhooks.smx ([L4D & L4D2] Left 4 DHooks Direct): Required extension "dhooks" file("dhooks.ext") not running

L4D 1.0.3.8
linux server
MetaMod Version: 1.11.0-dev+1144
SourceMod Version: 1.10.0.6502


Where can I get the dhooks that I can use
I found him. If you have any questions, you can download

dhooks-2.2.0-detours16-sm110.zip

https://forums.alliedmods.net/showpo...&postcount=589

Last edited by ZBzibing; 04-22-2021 at 03:03.
ZBzibing is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 04-22-2021 , 03:03   Re: [L4D & L4D2] Left 4 DHooks Direct (1.37) [20-Apr-2021]
Reply With Quote #300

Quote:
Originally Posted by ZBzibing View Post
left4dhooks.smx ([L4D & L4D2] Left 4 DHooks Direct): Required extension "dhooks" file("dhooks.ext") not running

L4D 1.0.3.8
linux server
MetaMod Version: 1.11.0-dev+1144
SourceMod Version: 1.10.0.6502


Where can I get the dhooks that I can use
Use the 1.10 version attached to this post: https://forums.alliedmods.net/showpo...&postcount=589
__________________
Psyk0tik 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 17:35.


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