Raised This Month: $51 Target: $400
 12% 

[L4D2] Improved Automatic Campaign Switcher (ACS) [v2.3.0 (20201024)]


Post New Thread Reply   
 
Thread Tools Display Modes
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 05-30-2021 , 10:11   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.3.0 (20201024)]
Reply With Quote #161

Quote:
Originally Posted by Proaxel View Post
I found a problem with some custom maps where the level is technically a finale, with a rescue vehicle and end credits and everything, but ACS does not see it this way, thus it doesn't display a campaign vote and doesn't change the level when the end credits are reached. An example where this happens is Tank Challenge

Is there a way to force the plugin to treat the current map as if it's a finale, and thus have it show the map vote and change to said vote winner when the end of the campaign is triggered?
To debug and potentially resolve the issue, I would suggest checking the directory...

left4dead2\missions.cache

...and make sure there is a *.txt file there that matches your custom campaign name. In that text file, for the appropriate game mode, check the campaign entry shows all of the maps, including the finale map. If any maps are missing here, add the appropriate entry.

Next check the file...

left4dead2\addons\sourcemod\translations\miss ions.phrases.txt

...and ensure the custom campaign shows up, and if not add it.

And you can manually add/remove which campaigns can be voted on by modifying the contents of the file...

left4dead2\addons\sourcemod\configs\missioncy cle.coop.txt

...or scavenge/survival/versus if not coop.

For what it is worth, I find that ACS meets my current needs and works fine, but one of its main features is that it is supposed to eliminate the need to make manual edits when custom campaigns are added/removed, but due to so many custom campaigns having incomplete info, this just doesn't work. Does anyone have a suggestion for an alternative plugin that pops up a menu to vote for the next map as each player spawns into the finale safe room, and auto-switches to the next campaign when the finale ends?
__________________
Mystik Spiral is offline
in2002
Member
Join Date: Apr 2021
Location: Taiwan
Old 06-18-2021 , 21:01   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.3.0 (20201024)]
Reply With Quote #162

Quote:
Originally Posted by Mystik Spiral View Post
There are probably a few ways to have ACS only cycle through custom maps, but I think the way I would choose is to manually modify the <game_server>/left4dead2/addons/sourcemod/configs/missioncycle.coop.txt file and just remove all of the L4D2CXX entries.
will automatically add back after deletion
in2002 is offline
Hawkins
Senior Member
Join Date: Jul 2021
Old 10-08-2021 , 16:39   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.3.0 (20201024)]
Reply With Quote #163

Is not switching to the first map on the list when empty.
Vote menu is not displayed in finales, despite:

acs_voting_ad_mode "3"

Last edited by Hawkins; 10-08-2021 at 17:15.
Hawkins is offline
ChadMaestro
Junior Member
Join Date: Dec 2009
Old 10-17-2021 , 17:25   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.3.0 (20201024)]
Reply With Quote #164

Edit: Restarted server and CVARs are loading. Thank you.

Hi there, I'm getting an issue that thsm plugine CVARs aren't recognised.

Installed as directed.

Code:
[SM] Listing 24 plugins:
  01 "Automatic Campaign Switcher (ACS)" (v2.1.1) by Rikka0w0, Chris Pringle
  02 "Admin File Reader" (1.10.0.6517) by AlliedModders LLC
  03 "AdminCheats" (0.2) by devicenull
  04 "Admin Help" (1.10.0.6517) by AlliedModders LLC
  05 "Admin Menu" (1.10.0.6517) by AlliedModders LLC
  06 "Anti-Flood" (1.10.0.6517) by AlliedModders LLC
  07 "Basic Ban Commands" (1.10.0.6517) by AlliedModders LLC
  08 "Basic Chat" (1.10.0.6517) by AlliedModders LLC
  09 "Basic Comm Control" (1.10.0.6517) by AlliedModders LLC
  10 "Basic Commands" (1.10.0.6517) by AlliedModders LLC
  11 "Basic Info Triggers" (1.10.0.6517) by AlliedModders LLC
  12 "Basic Votes" (1.10.0.6517) by AlliedModders LLC
  13 "Client Preferences" (1.10.0.6517) by AlliedModders LLC
  14 "Fun Commands" (1.10.0.6517) by AlliedModders LLC
  15 "Fun Votes" (1.10.0.6517) by AlliedModders LLC
  16 "Heartbeat trigger" (1.0) by B-man
  17 "l4d2_changelevel" (1.2.0) by Lux
  18 "L4D2 Mission Manager" (v1.0.0) by Rikka0w0
  19 "L4D2 MissionManager AdminMenu" (v1.0.0) by Rikka0w0
  20 "L4D2 Survivor Bot Fix" (1.00) by DingbatFlat
  21 "L4D Survivor AI Pounced Fix" (1.0.5) by  AtomicStryker
  22 Disabled: "Nextmap" (1.10.0.6517) by AlliedModders LLC
  23 "Player Commands" (1.10.0.6517) by AlliedModders LLC
  24 "Sound Commands" (1.10.0.6517) by AlliedModders LLC

Code:
sm exts list
[SM] Displaying 8 extensions:
[01] Automatic Updater (1.10.0.6517): Updates SourceMod gamedata files
[02] Webternet (1.10.0.6517): Extension for interacting with URLs
[03] SDK Tools (1.10.0.6517): Source SDK Tools
[04] BinTools (1.10.0.6517): Low-level C/C++ Calling API
[05] Top Menus (1.10.0.6517): Creates sorted nested menus
[06] Client Preferences (1.10.0.6517): Saves client preference settings
[07] SQLite (1.10.0.6517): SQLite Driver
[08] SDK Hooks (1.10.0.6517): Source SDK Hooks
Code:
sm plugins load "L4D2 Mission Changer"
[SM] Plugin L4D2 Mission Changer.smx failed to load: Unable to open file.
Any help appreciated. I've not tried it in-game yet.

Chad

Last edited by ChadMaestro; 10-17-2021 at 17:26. Reason: Mistaken on error.
ChadMaestro is offline
ChadMaestro
Junior Member
Join Date: Dec 2009
Old 10-17-2021 , 21:23   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.3.0 (20201024)]
Reply With Quote #165

Edit: I see a file has been generated in cfg/sourcemod/ - I'll use that file. Thanks.

Hi there, thank you for this. What would you recommend to get the Chat notification to appear at a reasonable rate? I set it to 0 expecting it to show only once.

Would -1 be good? Or something like 600 to make it every 10 minutes?

Chad

Last edited by ChadMaestro; 10-17-2021 at 21:25.
ChadMaestro is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 10-21-2021 , 07:11   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.3.0 (20201024)]
Reply With Quote #166

Spoiler

I've been getting a lot of these dumped in my server's error logs lately. Hope someone can help!
__________________

Looking for some fun!

Last edited by thewintersoldier97; 10-21-2021 at 07:25.
thewintersoldier97 is offline
plug344
Member
Join Date: Dec 2021
Old 12-23-2021 , 22:00   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.3.0 (20201024)]
Reply With Quote #167

Why are L4D2C6 and L4D2C14 in 3-rd maps? I seem to well on these two maps, but hesitate to move them from 3-rd to Mission Name. Maybe it have there some bugs on these two maps that I don’t know will cause the game to crash..?
I noticed that there is a sentence in the Change Log of the original acs

v1.2.4 (Dec 31, 2020)
-Added precache of witch models to fix bug in The Passing campaign transition crash
Is it related to this?

Last edited by plug344; 01-10-2022 at 04:19.
plug344 is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 06-02-2022 , 22:41   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.3.0 (20201024)]
Reply With Quote #168

Started throwing these errors recently:

Code:
L 06/02/2022 - 21:29:50: [SM] Blaming: L4D2_ACS.smx
L 06/02/2022 - 21:29:50: [SM] Call stack trace:
L 06/02/2022 - 21:29:50: [SM]   [1] Line 1922, acs.sp::findVoteWinner
L 06/02/2022 - 21:29:50: [SM]   [2] Line 1987, acs.sp::SetTheCurrentVoteWinner
L 06/02/2022 - 21:29:50: [SM]   [3] Line 1250, acs.sp::Event_PlayerDisconnect
L 06/02/2022 - 21:29:50: [SM] Exception reported: Array index out-of-bounds (index -1, limit 4)
Code:
L 06/02/2022 - 21:30:10: [SM] Blaming: L4D2_ACS.smx
L 06/02/2022 - 21:30:10: [SM] Call stack trace:
L 06/02/2022 - 21:30:10: [SM]   [1] Line 198, acs.sp::ACS_GetMissionIndexList
L 06/02/2022 - 21:30:10: [SM]   [2] Line 211, acs.sp::ACS_GetMissionCount
L 06/02/2022 - 21:30:10: [SM]   [3] Line 2019, acs.sp::OnFinaleOrScavengeMap
L 06/02/2022 - 21:30:10: [SM]   [4] Line 1823, acs.sp::Timer_DisplayVoteAdToAll
L 06/02/2022 - 21:30:17: [SM] Exception reported: Tracker stack is out of bounds
Code:
 06/02/2022 - 21:30:17: [SM] Blaming: L4D2_ACS.smx
L 06/02/2022 - 21:30:17: [SM] Call stack trace:
L 06/02/2022 - 21:30:17: [SM]   [1] Line 1922, acs.sp::findVoteWinner
L 06/02/2022 - 21:30:17: [SM]   [2] Line 1987, acs.sp::SetTheCurrentVoteWinner
L 06/02/2022 - 21:30:17: [SM]   [3] Line 1250, acs.sp::Event_PlayerDisconnect
L 06/02/2022 - 21:30:17: [SM]   [5] FireEvent
L 06/02/2022 - 21:30:17: [SM]   [6] Line 104, temp\cannounce/suppress.sp::event_PlayerDisconnect_Suppress
L 06/02/2022 - 21:30:17: [SM]   [7] Line 240, temp\cannounce.sp::event_PlayerDisconnect
L 06/02/2022 - 21:30:17: [SM] Exception reported: Tracker stack is out of bounds
__________________

Last edited by Mr. Man; 06-02-2022 at 22:42.
Mr. Man is offline
LordVGames
Junior Member
Join Date: Mar 2021
Old 06-17-2022 , 02:02   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.3.0 (20201024)]
Reply With Quote #169

I'm getting error code 3 for a bunch of mission files, even though some of them look just fine in the missions.cache when comparing them to good ones from the VDC page on L4D2 mission files. I've even copied the file of a working missions.cache file, and filled in the values with the bad mission.cache file's values, and that still didn't fix the file.
Is there a way I can figure out what's going wrong w/o trial and error?
LordVGames is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-04-2023 , 07:14   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.3.0 (20201024)]
Reply With Quote #170

It happens often that a finale will end, swap to the current finale and the finale sequence will be stuck until !chmap is called. Any idea why? It may be vote to skip.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:29.


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