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)

HarryPotter 05-05-2024 23:58

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

Originally Posted by Accelerator (Post 2822142)
v2.0.0
  • The extension code has been completely rewritten.
  • Complete rejection of signatures in favor of using offsets.
  • The work of the code is comparable to the work of the code in the engine itself.
Download: https://github.com/accelerator74/l4d...ases/tag/2.0.0

The l4d1 windows server just crash when server startup

Crash: https://crash.limetech.org/4gi762pdw7mt

Accelerator 05-06-2024 02:41

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
Thanks! Fixed.

HarryPotter 05-06-2024 03:55

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

Originally Posted by Accelerator (Post 2822210)
Thanks! Fixed.

:D

Profanuch 05-06-2024 05:35

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
1 Attachment(s)
Quote:

Originally Posted by Accelerator (Post 2822142)
v2.0.0
  • The extension code has been completely rewritten.
  • Complete rejection of signatures in favor of using offsets.
  • The work of the code is comparable to the work of the code in the engine itself.
Download: https://github.com/accelerator74/l4d...ases/tag/2.0.0

not work

Accelerator 05-06-2024 05:49

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
Your game hosting is using an old OS. You need to compile the extension source code yourself under an older OS.

HarryPotter 05-06-2024 12:55

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

Originally Posted by Profanuch (Post 2822218)
not work

What is your os version? Ubuntu 20.04? L4D1?

HarryPotter 05-07-2024 07:57

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

Originally Posted by Accelerator (Post 2822210)
Thanks! Fixed.

I appreicate your work, but something bugs out in v2.0.0 when connect server from lobby

In previous version (1.1.0.2),
We can connect server from lobby successfully
Spoiler


But in 2.0.0, connection from lobby is totally blocked
Spoiler


I have tried the following cvars, but not working
PHP Code:

sv_allow_lobby_connect_only 0/1
sv_force_unreserved 0
/

Connecting server directly via "connect xx.xx.xx.xx:27018" is still fine.
Game: L4D1&2 linux and winodws.

Accelerator 05-07-2024 08:22

Re: L4DToolZ Metamod plugin (l4d1 & l4d2)
 
For the lobby to work, the cvar value must be:
Code:

sv_force_unreserved 0
sv_allow_lobby_connect_only 1


HarryPotter 05-07-2024 09:14

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

Originally Posted by Accelerator (Post 2822294)
For the lobby to work, the cvar value must be:
Code:

sv_force_unreserved 0
sv_allow_lobby_connect_only 1


That works, just sometimes players can't conenct directly in windows server,
Thanks

Accelerator 05-07-2024 09:36

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


All times are GMT -4. The time now is 19:18.

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