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 |
| All times are GMT -4. The time now is 22:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.