FrenchBot
New Member
- Joined
- Sep 10, 2012
- Messages
- 459
- Reaction score
- 1
Hi guys,
I totally suck at programing and some help would be appreciated here.
Problem is with this plugin: http://www.thebuddyforum.com/demonb...em-rules-2-file-based-scripting-language.html and item rules with russian names of objects.
The russian names aren't properly read, resulting in errors and legendaries being sold :/
Someone told me problem came from this part:
He fixed it with this (for chinese language) :
I'm looking for the same fix but dunno what to use for russian language instead.
Thx in advance
I totally suck at programing and some help would be appreciated here.
Problem is with this plugin: http://www.thebuddyforum.com/demonb...em-rules-2-file-based-scripting-language.html and item rules with russian names of objects.
The russian names aren't properly read, resulting in errors and legendaries being sold :/
Someone told me problem came from this part:
Code:
regex = new Regex(@"\""[0-9A-Za-z' :\-]*\""", RegexOptions.Compiled);
Patterns.Add(TokenType.STRING, regex);
Tokens.Add(TokenType.STRING);
He fixed it with this (for chinese language) :
Code:
regex = new Regex(@"\""[0-9A-Za-z[B]\u4e00-\u9fa5[/B]' :\-]*\""", RegexOptions.Compiled);
Patterns.Add(TokenType.STRING, regex);
Tokens.Add(TokenType.STRING);
I'm looking for the same fix but dunno what to use for russian language instead.
Thx in advance
Last edited:






