[L4D/L4D2] Return To Lobby Fix For Campaign Switching Plugins
This plugin will keep players on the server never disconnecting them at the end of a campaign, u can use map change cmd to change maps or use a campaign changing plugin. This prevents all Return To Lobby requests other than from votes. All campaign changing plugins that change maps at the end of a campaign should use this to correct issues with going back to lobby instead of changing maps correctly.
V1.1 - New Better Method Supporting L4D1 Thanks to Crasher_3637 |
Re: [L4D/L4D2] Return To Lobby Fix
Thanks for this, taking it for a spin right now. I see this issue in custom campaigns where the ACS system will fail to trigger and return everyone to the lobby.
|
Re: [L4D/L4D2] Return To Lobby Fix
An ideal automatic campaign switcher should let players vote to skip the stats crawl first before switching to a new campaign or returning players to the lobby. To counter that one guy who's idle during the stats crawl, there can be a check after each vote cast to determine if the majority votes to skip the stats crawl.
|
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix
if you make many proper changes in this fork of ACS
https://github.com/LuxLuma/l4d2_mission_manager Should be one of the best map changers for people looking to view stats |
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix
If anyone using this would be so kind as to test pressing space to skip stats at end brings players back to lobby or not...haven't tested that and if it does i'd like to add a few options for that...like crasher said would be nice to actually tally that vote either based on majority skipping and moving on or otherwise...but i think some viable options for that can be added to this...maybe morph this into something that handles end game things while letting any campaign changer handle the map changing stuff...
|
Re: [L4D/L4D2] Return To Lobby Fix
PHP Code:
|
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
PHP Code:
|
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix
Hi,
I have tested the plugin on my server, at the "Vote to skip", if I press the space key, nothing happens but the server prints: OnDisconnectToLobby (Message = ) return Plugin_Handled; At the end, I was not sent back to the lobby. If I didn't hit the key, I still stayed in the game. Is this considered to be the normal behavior of this plugin? I was trying to integrate this plugin with my automatic map switcher, so that at the end of a campaign, players will be sent to the next map instead of disconnected back to the lobby. |
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
Source code is available here: https://github.com/rikka0w0/l4d2_mission_manager I need to detect "the end of a campaign", my method is to read out the description file of all installed vpks and find out the name of the last map. This works for most campaigns, but very few 3rd party campaign doesn't (e.g. tanks challenge). So I'm looking for a better way, you plugin seems to be a good start point! |
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
Code:
public void OnPluginStart() |
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
The intercept for outtro_stats_done does in fact trigger after the zombie kill count is displayed, but skipouttro actually triggers when a user presses spacebar to vote skip, not when all players have voted and the credits skip is triggered. Where did you find these commands? I am trying to find the one that is called when the stats are skipped. |
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix
Does anyone have a working version of this ? because this throwns a full log of errors and does nothing, pressing space to skip, it takes me out of server to main menu screen of L4D1
Code:
L 01/08/2021 - 15:15:47: Info (map "l4d_farm01_hilltop") (file "/home/crywolf/steamcmd/l4d/left4dead/addons/sourcemod/logs/errors_20210108.log") |
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
Code:
L 01/10/2021 - 12:26:29: SourceMod error session started |
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D2] Return To Lobby Fix
You only really need "DisconnectToLobby" for both games.
PHP Code:
|
Re: [L4D2] Return To Lobby Fix
Quote:
Code:
#include <sdktools> |
Re: [L4D/L4D2] Return To Lobby Fix
V1.1 - New Better Method Supporting L4D1 Thanks to Crasher_3637
|
Re: [L4D/L4D2] Return To Lobby Fix
I can tell, that the plugin did nothing, as a client i was stucked at the end of campaign, when types press SPACE bar to skip, it showns main credits and i got black screen, reconnecting to the server it was default start map.
|
Re: [L4D/L4D2] Return To Lobby Fix
That sounds like the plugin works. All it does is prevent clients from being sent back to the lobby (unless they vote for it). You’re supposed to use another plugin that switches to another campaign when that black screen shows up.
|
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix
Can you elaborate further on what you mean by "vote skip doesn't work"? What happens when everyone skips the credits? Do you just get a black screen after skipping?
|
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix
Which plugin are you using to automatically switch to the next campaign?
|
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix
The title is misleading to be honest. It makes people think there's something wrong or glitchy with the "Return To Lobby" feature. Perhaps rename it to something more fitting like "Block Return To Lobby"?
|
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix
Quote:
|
Re: [L4D/L4D2] Return To Lobby Fix For Campaign Switching Plugins
Yes, just releazed :|
Problem is that none of the plugins around here are for L4D1 :( |
| All times are GMT -4. The time now is 22:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.