This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

L4DToolZ Metamod plugin (l4d1 & l4d2)


Post New Thread Reply   
 
Thread Tools Display Modes
Dartz8901
Junior Member
Join Date: Dec 2018
Location: Brazil
Old 05-21-2024 , 09:44   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1581

Quote:
Originally Posted by Accelerator View Post
Versions prior to 2.0.0 used a different method to block lobby creation. It did not allow assigning a lobby ID to the server, and also did not allow it to be removed by blocking the CBaseServer::SetReservationCookie function. In version 2.0.0, another method is used, more correct, based on offsets, namely, blocking the server's response to a lobby request, the function CBaseServer::ReplyReservationRequest(netadr_s &, bf_read&). When you set the cvar sv_force_unreserved to 1, the server will stop responding to any lobby requests. This replicates the way the original engine worked, where it would block a request to create a lobby from a client whose version is different from the server version.

UPD: I have added a reservation check. Now the server will respond to the lobby request in any case if it has already been reserved.
Hi, first of all thank you so much for your effort in maintaining this great plugin

However, after installing version 2.0.1 (in order to fix issues with the previous version after the last L4D update), my server stopped accepting requests from lobby. Players can now only connect via connect command or openserverbrowser.

My configs are as following:
PHP Code:
sm_cvar sv_removehumanlimit 1
sm_cvar sv_maxplayers 18
sm_cvar sv_visiblemaxplayers 18
sm_cvar sv_force_unreserved 1
sv_allow_lobby_connect_only 0 
Now, if I set sv_force_unreserved to 0 and sv_allow_lobby_connect_only to 1, lobby requests works fine, but then, when server is "full" (4 players for coop), and I try to connect I receive the message "Failed to join session because the session did not have enough open slots.".

Before the Valve's update, when I was using the old version of l4dtoolz, everything was working fine, lobby requests working fine as well connections from console and openserverbrowser.

Now, I have no clue how to solve this issue.

My server is Ubuntu 22.04 and I am using the latest stable versions of SM and Metamod.

Can you guys help me in this matter?

Thanks!
Dartz8901 is offline
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 05-21-2024 , 12:45   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1582

You could never allow more players on your server than 4 players for coop and 8 for versus. When the lobby is full, you need to remove the lobby reservation. It's always been like this. Left4DHooks or some other plugins can remove the lobby.
__________________
Accelerator is offline
SuperNoob
Junior Member
Join Date: Jul 2022
Old Yesterday , 11:29   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1583

L4dToolz Version 2.0.1 Linux doesn't work for me. I can't connect to server when there are 4/8 people.

There are cvars in server.cfg:

exec l4dtoolz // do I need that?
sv_visiblemaxplayers "8"
sv_allow_lobby_connect_only "0"
sv_consistency "0"
sv_removehumanlimit "1"
sv_maxplayers "8"
sv_force_unreserved "1"

I am asking for help. Want to use mm_dedicated_force_servers and not blocking it and connectong through connect.
Before in older versions had l4dtoolz.cfg, but I don't know, do I need it now or no.
SuperNoob is offline
SuperNoob
Junior Member
Join Date: Jul 2022
Old Yesterday , 11:31   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1584

Quote:
Before the Valve's update, when I was using the old version of l4dtoolz, everything was working fine, lobby requests working fine as well connections from console and openserverbrowser.
same
SuperNoob is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old Yesterday , 19:16   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1585

Quote:
Originally Posted by Accelerator View Post
You could never allow more players on your server than 4 players for coop and 8 for versus. When the lobby is full, you need to remove the lobby reservation. It's always been like this. Left4DHooks or some other plugins can remove the lobby.
I believe L4DToolZ did remove lobby reservation as well in the past. I have yet to migrate to the new one, but I did not use any additional plugins for to remove lobby reservation.
__________________
Spirit_12 is offline
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old Today , 00:21   Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
Reply With Quote #1586

The old version simply did a return for the SetReservationCookie function. The new version essentially does the same thing. Nothing has changed in this regard. At the moment, due to the update on May 14, the lobby and steam group system is a little broken, there may be a problem because of this.
__________________

Last edited by Accelerator; Today at 00:22.
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 18:08.


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