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
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 05-15-2020 , 17:17   Re: [L4D & L4D2] Left 4 DHooks Direct (1.15) [15-May-2020]
Reply With Quote #91

Quote:
Originally Posted by tRololo312312 View Post
Since this plugin cant have L4D_LobbyUnreserve, could you make an extension that only contains just that and nothing else, so it can work with this plugin?
Quote:
Originally Posted by Dragokas View Post
tRololo312312, isn't it working for you?

[L4D(2)] Remove Lobby Reservation (When Full)
Quote:
Originally Posted by Silvers View Post
That uses L4D_LobbyUnreserve which comes from left4downtown and not supported by left4dhooks.
This discussion is futile as the plugin is obsolete. Don't see why people are even running that plugin. The only time you would need to unreserve lobby is if you want to extend slots. To extend slots you need L4DToolz, which states.

Code:
sv_force_unreserved - if you set it to 1 before connection from lobby your server will stay unreserved and allow players to connect using connect command, this command sets sv_allow_lobby_connect_only 0, so you need to create lobby using ms_force_dedicated_server and then connect to server, your friends may see wrong max players in friend lobby, so give them ip.
https://forums.alliedmods.net/showpo...33&postcount=1

Just set sv_force_unreserved to 1 and you don't need that plugin.
__________________

Last edited by Spirit_12; 05-15-2020 at 17:17.
Spirit_12 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-15-2020 , 17:55   Re: [L4D & L4D2] Left 4 DHooks Direct (1.15) [15-May-2020]
Reply With Quote #92

Spirit_12, I'm always using sv_force_unreserved "1" in my server.cfg,
but that doesn't fix for me this lock: [L4D] Unable to change difficulty (lobby reservation)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 05-16-2020 , 00:46   Re: [L4D & L4D2] Left 4 DHooks Direct (1.15) [15-May-2020]
Reply With Quote #93

Quote:
Originally Posted by Dragokas View Post
Spirit_12, I'm always using sv_force_unreserved "1" in my server.cfg,
but that doesn't fix for me this lock: [L4D] Unable to change difficulty (lobby reservation)
You can always use this forward and change the return value. That should take care of your issue.

PHP Code:
// L4D2 only. Used to deny/allow difficulty changes in different game modes
forward Action L4D_OnHasConfigurableDifficulty(int &retVal); 
__________________
Spirit_12 is offline
tRololo312312
Senior Member
Join Date: Apr 2015
Old 05-16-2020 , 04:41   Re: [L4D & L4D2] Left 4 DHooks Direct (1.15) [15-May-2020]
Reply With Quote #94

"sv_force_unreserved" from L4DToolz does not work with "sv_allow_lobby_connect_only 1" and it cant unreserve on fly, only on lobby reservation.
tRololo312312 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-16-2020 , 07:01   Re: [L4D & L4D2] Left 4 DHooks Direct (1.15) [15-May-2020]
Reply With Quote #95

Quote:
Originally Posted by Spirit_12 View Post
You can always use this forward and change the return value. That should take care of your issue.
I know, but I can't use it because I have L4D1, and I didn't find appropriate function in IDA.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 05-30-2020 , 19:06   Re: [L4D & L4D2] Left 4 DHooks Direct (1.15) [15-May-2020]
Reply With Quote #96

Hello, I ask you a question....
About L4D2_OnUseHealingItems(int client)
is any way to hook whether a bot is eating a pill or he is giving it to another player??

I would like to prevent bot eating pills and using medkits. Thanks
axelnieves2012 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-30-2020 , 19:25   Re: [L4D & L4D2] Left 4 DHooks Direct (1.15) [15-May-2020]
Reply With Quote #97

Through some coding logic possibly but this forward only works on Windows. Also causes bugs where Survivor Bots stand still doing nothing when blocked. If it's to prevent using pills/first aid until they reach a certain HP I have a private plugin doing this, bug again it's Windows only. Would need to re-write a bunch of ASM and memory patch to make work for both OS but I don't have time and can't be bothered to figure it out, so not released. L4D2 Linux is really where the problem lies since that requires some ASM re-write, L4D1 and Windows L4D2 could possibly work using another extension. The plugin for doing this has been in work and private and re-written several times since ~2012.
__________________

Last edited by Silvers; 05-30-2020 at 19:27. Reason: typo
Silvers is offline
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 05-30-2020 , 20:31   Re: [L4D & L4D2] Left 4 DHooks Direct (1.15) [15-May-2020]
Reply With Quote #98

Quote:
Originally Posted by Silvers View Post
Through some coding logic possibly but this forward only works on Windows. Also causes bugs where Survivor Bots stand still doing nothing when blocked. If it's to prevent using pills/first aid until they reach a certain HP I have a private plugin doing this, bug again it's Windows only. Would need to re-write a bunch of ASM and memory patch to make work for both OS but I don't have time and can't be bothered to figure it out, so not released. L4D2 Linux is really where the problem lies since that requires some ASM re-write, L4D1 and Windows L4D2 could possibly work using another extension. The plugin for doing this has been in work and private and re-written several times since ~2012.
I think it would be nice to have that plugin you are talking about. I'm running Windows 7 and my server is private most times. I really hate when bots eats pills whenever they are rescued in closets.
I think they don't need to eat pills if they are 50hp (facepalm)
axelnieves2012 is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 06-03-2020 , 20:16   Re: [L4D & L4D2] Left 4 DHooks Direct (1.15) [15-May-2020]
Reply With Quote #99

Quote:
Originally Posted by Spirit_12 View Post
This discussion is futile as the plugin is obsolete. Don't see why people are even running that plugin. The only time you would need to unreserve lobby is if you want to extend slots. To extend slots you need L4DToolz, which states.
Not really. I think Silvers work is amazing and for sure this plugin is so much more updated and better, and also has Silvers support when bugs are identified. No doubt how good he is.

But it is essential to remove lobby reservation only **WHEN FULL**. And I tell you why. When your server is empty and someone joins, automatically creates a lobby and +3 (coop) +7 (versus) will be connecting while the server is not unreserved. This helps a lot early in the mornings/week days.

It would be nice if someone could split the whole left4downtown plugin and keeps only the lobbyunreserve thing. My acknowledge about editing/compiling extensions are very limited (never done before). So if someone can do this for us, I would be grateful by the eternity.
SilentBr is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 06-03-2020 , 20:42   Re: [L4D & L4D2] Left 4 DHooks Direct (1.15) [15-May-2020]
Reply With Quote #100

Quote:
Originally Posted by SilentBr View Post
Not really. I think Silvers work is amazing and for sure this plugin is so much more updated and better, and also has Silvers support when bugs are identified. No doubt how good he is.

But it is essential to remove lobby reservation only **WHEN FULL**. And I tell you why. When your server is empty and someone joins, automatically creates a lobby and +3 (coop) +7 (versus) will be connecting while the server is not unreserved. This helps a lot early in the mornings/week days.

It would be nice if someone could split the whole left4downtown plugin and keeps only the lobbyunreserve thing. My acknowledge about editing/compiling extensions are very limited (never done before). So if someone can do this for us, I would be grateful by the eternity.
You want something so bad but not willing to offer money for their time you may be waiting alongtime.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux 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:05.


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