1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

support UTF8 in log files

sayteam registered as say event
updated readme
This commit is contained in:
RaidMax
2018-04-19 17:52:48 -05:00
parent 8e9d8e46c7
commit 75439e8c2a
11 changed files with 190 additions and 612 deletions

View File

@ -648,7 +648,7 @@ namespace IW4MAdmin
CustomCallback = await ScriptLoaded();
string mainPath = EventParser.GetGameDir();
#if DEBUG
basepath.Value = @"\\192.168.88.253\Call of Duty Black Ops II";
basepath.Value = @"D:\";
#endif
string logPath = game.Value == string.Empty ?
$"{basepath.Value.Replace('\\', Path.DirectorySeparatorChar)}{Path.DirectorySeparatorChar}{mainPath}{Path.DirectorySeparatorChar}{logfile.Value}" :