Raised This Month: $ Target: $400
 0% 

Stripper:Source (Updated 2011-04-15)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 03-05-2020 , 10:40   Re: Stripper:Source (Updated 2011-04-15)
Reply With Quote #1

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?
__________________

Last edited by Accelerator; 03-05-2020 at 10:58.
Accelerator is offline
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 #2

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
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 13:11.


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