View Single Post
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 03-05-2020 , 16:36   Re: Stripper:Source (Updated 2011-04-15)
Reply With Quote #1715

Quote:
Originally Posted by Accelerator74 View Post
Sometimes map configs do not load if the case does not match.
For example, on the l4d2 game server, the campaign "c12" can be loaded either with a capital letter or with a small letter, i.e C12m1_hilltop and sometimes c12m1_hilltop. This applies to the rest of the campaign maps. After changing levels, a capital letter can go lowercase. And it absolutely does not depend on plugins, etc., just for some reason the server loads it like that, although the map bsp file is also written with a small letter. As a result, on a Linux system, you have to create two identical configuration files for one map with the same contents, which is not good. I met such a problem in other games, specifically in cs go.

Could you add to the code so that maps configs are loaded with a small letter always for all symbols map name?
I notice this happens when calling the campaign voting method.
I guess you can fix it by correcting mission.txt file with lower case.
Code:
		"coop"
		{
			"1"
			{
				"Map" "C12m1_hilltop"
				"DisplayName" "#L4D360UI_LevelName_COOP_C12M1"
				"Image" "maps/C12m1_hilltop"
			}

			"2"
			{
				"Map" "C12m2_traintunnel"
				"DisplayName" "#L4D360UI_LevelName_COOP_C12M2"
				"Image" "maps/C12m2_traintunnel"
			}

			"3"
			{
				"Map" "C12m3_bridge"
				"DisplayName" "#L4D360UI_LevelName_COOP_C12M3"
				"Image" "maps/C12m3_bridge"
			}

			"4"		
			{
				"Map" "C12m4_barn"
				"DisplayName" "#L4D360UI_LevelName_COOP_C12M4"
				"Image" "maps/C12m4_barn"
			}

			"5"		
			{
				"Map" "C12m5_cornfield"
				"DisplayName" "#L4D360UI_LevelName_COOP_C12M5"
				"Image" "maps/C12m5_cornfield"
			}
		}
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline