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 Today , 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 Today , 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
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 21:04.


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