AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [L4D/L4D2] Return To Lobby Fix For Campaign Switching Plugins (https://forums.alliedmods.net/showthread.php?t=316913)

MasterMind420 06-17-2019 10:48

[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

Mr. Man 06-17-2019 16:42

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.

Psyk0tik 06-17-2019 19:02

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.

MasterMind420 06-22-2019 15:55

Re: [L4D/L4D2] Return To Lobby Fix
 
Quote:

Originally Posted by Crasher_3637 (Post 2655831)
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.

campaign shift by ngbuckwangs does this...in my opinion his is coded best to handle end game stuff accordingly...however it lacks any type of menu or voting system other than replay vote. A mashup of campaignshift and ACS with my fix would be ideal...imo.

Lux 06-22-2019 18:56

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

MasterMind420 06-30-2019 10:27

Re: [L4D/L4D2] Return To Lobby Fix
 
Quote:

Originally Posted by Lux (Post 2656383)
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

Thanks for this...i'll have a look. I'm gonna do some more testing at campaign end to see what can and cannot be done. Having an indefinite window at the end gives some possibilities.

MasterMind420 07-03-2019 20:01

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...

phoenix0001 07-09-2019 11:31

Re: [L4D/L4D2] Return To Lobby Fix
 
PHP Code:

/home/groups/sourcemod/upload_tmp/phpJndwmv.sp(25) : warning 217loose indentation
/home/groups/sourcemod/upload_tmp/phpJndwmv.sp(28) : warning 217loose indentation 


Mr. Man 07-09-2019 14:17

Re: [L4D/L4D2] Return To Lobby Fix
 
Quote:

Originally Posted by phoenix0001 (Post 2658470)
PHP Code:

/home/groups/sourcemod/upload_tmp/phpJndwmv.sp(25) : warning 217loose indentation
/home/groups/sourcemod/upload_tmp/phpJndwmv.sp(28) : warning 217loose indentation 


Just a formatting problem most commonly caused by copy/paste. The plugin will work just fine.

MasterMind420 07-12-2019 21:14

Re: [L4D/L4D2] Return To Lobby Fix
 
Quote:

Originally Posted by Mr. Man (Post 2658491)
Just a formatting problem most commonly caused by copy/paste. The plugin will work just fine.

yah in most cases...if there are tabs or spaces mixed into the sp it will loose indentate those lines. The .sp as is has no loose indentations, i make sure every plugin i post has 0 errors in sourcemod when compiling(using tabs for spacing not spaces). The original file has no loose indentations. He either copy and pasted something or modified the .sp before trying to compile it.


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

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