Raised This Month: $ Target: $400
 0% 

[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 10-03-2020 , 12:56   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.0.0 (20181007)]
Reply With Quote #111

I've been running this plugin for over a year on my dedicated server without issue. I did have some problems/crashes using this plugin after the The Last Stand update, but that was due to bugs/problems with the L4D2 update. After updating the dedicated server using...

steamcmd.exe +login anonymous +force_install_dir "<path_to_l4d2ds>" +app_update 222860

...and updating SourceMod to 1.10, the problems/crashes went away.

Last edited by Mystik Spiral; 10-03-2020 at 12:57.
Mystik Spiral is offline
rtokuda
Senior Member
Join Date: Dec 2019
Old 10-05-2020 , 21:12   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.0.0 (20181007)]
Reply With Quote #112

What do I have to do here?
PHP Code:
L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C1" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C2" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C3" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C4" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C5" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C6" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C7" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C8" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C9" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C10" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C11" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C12" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C13" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C14" (Gamemodecoopis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C1" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C2" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C3" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C4" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C5" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C6" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C7" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C8" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C9" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C10" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C11" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C12" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C13" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C14" (Gamemodeversusis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C1" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C2" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C3" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C4" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C5" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C6" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C7" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C8" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C10" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C11" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C12" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C14" (Gamemodescavengeis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C1" (Gamemodesurvivalis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C2" (Gamemodesurvivalis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C3" (Gamemodesurvivalis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C4" (Gamemodesurvivalis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C5" (Gamemodesurvivalis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C6" (Gamemodesurvivalis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C7" (Gamemodesurvivalis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C8" (Gamemodesurvivalis not in the mission cache or no longer exists!

L 10/05/2020 22:03:38: [acs.smxMission "#L4D360UI_CampaignName_C14" (Gamemodesurvivalis not in the mission cache or no longer exists
rtokuda is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 10-06-2020 , 13:41   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.0.0 (20181007)]
Reply With Quote #113

Quote:
Originally Posted by rtokuda View Post
What do I have to do here?
Try put the campaign in the "missions.phrases.txt" in english and you language.

Example:
https://forums.alliedmods.net/showpo...&postcount=108

Last edited by Tonblader; 10-06-2020 at 14:19.
Tonblader is offline
moekai
Member
Join Date: Jul 2019
Old 10-09-2020 , 03:00   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.0.0 (20181007)]
Reply With Quote #114

When I removed the maps from the server, I get this error log. I deleted all the txt files in missions.cache and it still gives the same error. What am I doing wrong here?

Spoiler
moekai is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 10-09-2020 , 03:58   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.0.0 (20181007)]
Reply With Quote #115

Quote:
Originally Posted by moekai View Post
When I removed the maps from the server, I get this error log. I deleted all the txt files in missions.cache and it still gives the same error. What am I doing wrong here?
<<snip>>
L 10/09/2020 - 02:26:13: [servermanagement\acs.smx] Mission "re1" (Gamemode: coop) is not in the mission cache or no longer exists!

L 10/09/2020 - 02:26:13: [servermanagement\acs.smx] Mission "re2a" (Gamemode: coop) is not in the mission cache or no longer exists!

L 10/09/2020 - 02:26:13: [servermanagement\acs.smx] Mission "re2b" (Gamemode: coop) is not in the mission cache or no longer exists!

L 10/09/2020 - 02:26:13: [servermanagement\acs.smx] Mission "hauntedforest" (Gamemode: coop) is not in the mission cache or no longer exists!
<<snip>>
If those maps were installed in the workshop folder, are you sure you unsubscribed to them AND removed the maps from the workshop folder? Also check the sourcemod/configs/mission*.txt files and make sure they are removed there too.
Mystik Spiral is offline
moekai
Member
Join Date: Jul 2019
Old 10-09-2020 , 10:54   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.0.0 (20181007)]
Reply With Quote #116

Quote:
Originally Posted by Mystik Spiral View Post
If those maps were installed in the workshop folder, are you sure you unsubscribed to them AND removed the maps from the workshop folder? Also check the sourcemod/configs/mission*.txt files and make sure they are removed there too.
Removed from the missions*.txt files works. Thank you. Although when I added a new map, I received this error

Quote:
L 10/09/2020 - 10:48:06: [servermanagement\l4d2_mission_manager.smx] An error occured while parsing missions.cache/fnaf1.txt, code:9
moekai is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-09-2020 , 21:36   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.0.0 (20181007)]
Reply With Quote #117

Quote:
Originally Posted by moekai View Post
Removed from the missions*.txt files works. Thank you. Although when I added a new map, I received this error
Error code 9: "SMCError_InvalidTokens, /**< There were too many unidentifiable strings on one line */"

Bad map mission file. Contact map author to fix. So many 3rd party maps have malformed mission configs spewing errors in console and these devs don't see it or fix, makes no sense to me.
__________________
Silvers is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 10-13-2020 , 16:13   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.0.0 (20181007)]
Reply With Quote #118

I found a problem with this plugin when it displays a change to acs_max_coop_finale_failures. It would display the new value as 0.000000, even if the actual value was something like "3". I fixed it in the source code here by changing "%f" to "%i"...

Code:
	if (iMaxFailures > 0) {
		PrintToServer("[ACS] ConVar changed: Max Coop finale failures changed to %i", iMaxFailures);
		PrintToChatAll("[ACS] ConVar changed: Max Coop finale failures changed to %i", iMaxFailures);
	}
It is a simple change, but I'm including the modified source.
Attached Files
File Type: sp Get Plugin or Get Source (acs.sp - 79 views - 71.7 KB)
Mystik Spiral is offline
rikka0w0
Member
Join Date: May 2018
Location: Sydney, Australia / Beij
Old 10-23-2020 , 13:48   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.0.0 (20181007)]
Reply With Quote #119

Quote:
Originally Posted by moekai View Post
When I removed the maps from the server, I get this error log. I deleted all the txt files in missions.cache and it still gives the same error. What am I doing wrong here?
You also need to remove the entries from
Code:
addons/sourcemod/configs/missioncycle.coop.txt
Code:
addons/sourcemod/configs/missioncycle.scavenge.txt
Code:
addons/sourcemod/configs/missioncycle.survival.txt
Code:
addons/sourcemod/configs/missioncycle.versus.txt
They record the map lists that are visible to the game cycle controller. If an entry in one of those files is deleted, it will be hiden from all of the ACS menus. However, if an entry refers to a deleted map (VPK and/or mission.cache text file removed), the ACS will print out that warning.

Currently ACS will not remove those entries automatically. However, I'm think of adding a command for removing entries for all deleted campaign/maps.
__________________
rikka0w0 is offline
rikka0w0
Member
Join Date: May 2018
Location: Sydney, Australia / Beij
Old 10-23-2020 , 13:50   Re: [L4D2] Improved Automatic Campaign Switcher (ACS) [v2.0.0 (20181007)]
Reply With Quote #120

Quote:
Originally Posted by Mystik Spiral View Post
I found a problem with this plugin when it displays a change to acs_max_coop_finale_failures. It would display the new value as 0.000000, even if the actual value was something like "3". I fixed it in the source code here by changing "%f" to "%i"...

Code:
	if (iMaxFailures > 0) {
		PrintToServer("[ACS] ConVar changed: Max Coop finale failures changed to %i", iMaxFailures);
		PrintToChatAll("[ACS] ConVar changed: Max Coop finale failures changed to %i", iMaxFailures);
	}
It is a simple change, but I'm including the modified source.
Can you submit a pull request to the Github repo?
https://github.com/rikka0w0/l4d2_mission_manager

It will be easier to manage changes and merge with new features.
__________________
rikka0w0 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 15:30.


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