Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
ive tried various values above and below the default.
regexRange = new Regex(@"(?xi) (?: range ) (?: = ( [a-z]+ | \d{1,3},\d{1,3},\d{1,3} ) )?", RegexOptions.Compiled | RegexOptions.RightToLeft);
the regex line for range isnt finding any match. from what i can tell its looking range=x,x,x . Instead i think what might work is using something similar to what was used in the stable versions code and use the following.
regexRange = new Regex(@"(?xi) (?: range ) (?: = ( \d{1,3} ) )?", RegexOptions.Compiled | RegexOptions.RightToLeft);
we arent looking for letters after the "=" so leave the [a-z] out, and if your only wanting values 1-1000 then have \d{1,3} (values 0-999 will match) or \d{1,4} (values 0-9999 will match)
regexRange = new Regex(@"(?xi) (?: range ) (?: = ( [a-z]+ | \d{1,3},\d{1,3},\d{1,3} ) )?", RegexOptions.Compiled | RegexOptions.RightToLeft);
to the following allows for successful matching of a 1-3 digit number input after "range=" in the custom data of an lcd.
regexRange = new Regex(@"(?xi) (?: range ) (?: = ( \d{1,3} ) )?", RegexOptions.Compiled | RegexOptions.RightToLeft);
i made the change and saved the file, did a reload of the game, and was able to set the range to 1 meter, 10 meters, and 110 meters all successfully displaying/not displaying when entering/leaving the range.