diff --git a/.vs/CsgoTranslator/v16/.suo b/.vs/CsgoTranslator/v16/.suo index 5e88a30..0673ed3 100644 Binary files a/.vs/CsgoTranslator/v16/.suo and b/.vs/CsgoTranslator/v16/.suo differ diff --git a/CsgoTranslator/Controllers/LogsController.cs b/CsgoTranslator/Controllers/LogsController.cs index 2fa5a20..a5b66fe 100644 --- a/CsgoTranslator/Controllers/LogsController.cs +++ b/CsgoTranslator/Controllers/LogsController.cs @@ -36,7 +36,7 @@ static public void LoadLogs(int amount) else if(Chats.Where(x => x.Message == messages[i] && x.Name == names[i]).Count() == 0) { Chat chat = new Chat(chatTypes[i], names[i], messages[i]); - Chats.Add(chat); + Chats.Insert(0, chat); if(chat.ChatType == ChatType.All && chat.Translation != chat.Message && chat.Translation != "") { TelnetHelper.SendTranslationInTeamChat(chat); @@ -109,7 +109,7 @@ private static (List chatTypes, List names, List messa foreach (string l in lines) { //filter the lines on chat message syntax - if (l.Contains(" : ") && !l.Contains(" : ") && !l.Contains("!.")) + if (l.Contains(" : ") && !l.Contains(" : ") && !l.Contains("!.") && !l.Trim().StartsWith("Duplicate : ")) { string[] temp = l.Split(new string[] { " : " }, 2, StringSplitOptions.None); diff --git a/CsgoTranslator/bin/Release/CsgoTranslator.exe b/CsgoTranslator/bin/Release/CsgoTranslator.exe index 8a2cb5b..1830a1c 100644 Binary files a/CsgoTranslator/bin/Release/CsgoTranslator.exe and b/CsgoTranslator/bin/Release/CsgoTranslator.exe differ diff --git a/CsgoTranslator/bin/Release/CsgoTranslator.pdb b/CsgoTranslator/bin/Release/CsgoTranslator.pdb index 8fa4253..653487e 100644 Binary files a/CsgoTranslator/bin/Release/CsgoTranslator.pdb and b/CsgoTranslator/bin/Release/CsgoTranslator.pdb differ diff --git a/CsgoTranslator/obj/Release/CSGO-Translator.csprojAssemblyReference.cache b/CsgoTranslator/obj/Release/CSGO-Translator.csprojAssemblyReference.cache index 1f94fb6..efb037e 100644 Binary files a/CsgoTranslator/obj/Release/CSGO-Translator.csprojAssemblyReference.cache and b/CsgoTranslator/obj/Release/CSGO-Translator.csprojAssemblyReference.cache differ diff --git a/CsgoTranslator/obj/Release/CsgoTranslator.exe b/CsgoTranslator/obj/Release/CsgoTranslator.exe index 8a2cb5b..1830a1c 100644 Binary files a/CsgoTranslator/obj/Release/CsgoTranslator.exe and b/CsgoTranslator/obj/Release/CsgoTranslator.exe differ diff --git a/CsgoTranslator/obj/Release/CsgoTranslator.pdb b/CsgoTranslator/obj/Release/CsgoTranslator.pdb index 8fa4253..653487e 100644 Binary files a/CsgoTranslator/obj/Release/CsgoTranslator.pdb and b/CsgoTranslator/obj/Release/CsgoTranslator.pdb differ