AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Plugins (https://forums.alliedmods.net/forumdisplay.php?f=76)
-   -   L4DToolZ Metamod plugin (l4d1 & l4d2) (https://forums.alliedmods.net/showthread.php?t=93600)

Dartz8901 05-21-2024 09:44

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
Quote:

Originally Posted by Accelerator (Post 2822302)
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!

Accelerator 05-21-2024 12:45

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
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.

SuperNoob 05-22-2024 11:29

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
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 05-22-2024 11:31

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
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

Spirit_12 05-22-2024 19:16

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
Quote:

Originally Posted by Accelerator (Post 2823099)
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.

Accelerator 05-23-2024 00:21

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
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.

Spirit_12 05-23-2024 22:43

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
Quote:

Originally Posted by Accelerator (Post 2823160)
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.

Was there a return value? Maybe valve did change the system and more functions need to be detoured.

Accelerator 05-23-2024 23:45

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
Try connecting to any empty official Valve server. You will not be able to do this, since even the official servers are broken due to some error in the KeyValues structure.

haiping567 05-29-2024 21:21

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
Since the L4D1 update, using the latest version of L4DToolZ, my Linux server, manually adding bots, simply crashes without any error. The strange thing is that using the l4dmultislots (by Harry Potter) plugin players join the generated robots normally, I don't understand why.

ManoZacca 05-31-2024 10:39

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
Hi, I'm having a problem with Toolz on my server. I'm currently using Ubuntu 24.04 and the latest version of Toolz, Meta Mod and Source Mod.
This is what it shows on the screen after the VAC secure line.

"
VAC secure mode is activated.
meta list
Listing 3 plugins:
[01] <ERROR>
[02] SourceMod (1.11.0.69.64) by AlliedModders LLC
[03] SDK Tools (1.11.0.69.64) by AlliedModders LLC
"

What can I do to solve this?


All times are GMT -4. The time now is 14:31.

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