Bougnas wrote:Same stuff but I have the right content for teh settings.
Same stuff meaning the tool can't start and you also have windows 10 with the latest .NET Framework?
Bougnas wrote:Same stuff but I have the right content for teh settings.
throwaway wrote:Bougnas wrote:Same stuff but I have the right content for teh settings.
Same stuff meaning the tool can't start and you also have windows 10 with the latest .NET Framework?
Bougnas wrote:throwaway wrote:Bougnas wrote:Same stuff but I have the right content for teh settings.
Same stuff meaning the tool can't start and you also have windows 10 with the latest .NET Framework?
Nah, I have win 7. But it doesn't start either.
urogard wrote: as a rule, wargame tools won't be able access the game files if the game is running
D-M wrote:Maybe you should add some error managing code. It's hard to debug stuffs without the user knowing what's going on a bit.
Code: Select all
if(file.Read(data)==0)
throw new Exception("didn't read shit");
or
if(!File.Exists(FILE_PATH))
throw new Exception("No file :<");
Code: Select all
try {
dataManager.ParseEdataFile();
}
catch (System.IO.IOException) {
warning("IOException thrown, could not parse " + paths.getNdfPath()
+ ".\nIf wargame is running, you'll have to close it to use the tool. You can avoid this by copying the files listed in settings.ini and then editing settings.ini to point to the copies.");
Application.Exit();
Environment.Exit(0);
}
Code: Select all
List<String> filteredUnits = currentUnits.FindAll(delegate (string s) {
try {
return Regex.IsMatch(s, textBox1.Text, RegexOptions.IgnoreCase);
}
catch (System.ArgumentException) {
return Regex.IsMatch(s, Regex.Escape(textBox1.Text), RegexOptions.IgnoreCase);
}
});
Code: Select all
List<String> filteredUnits = currentUnits.FindAll( x => textBox1.Text.Contains(x, StringComparison.OrdinalIgnoreCase));
D-M wrote:And I think (didn't try but it looks strange to me) the issue is in your Program.cs file, line 35 to 45 :Code: Select all
...
I wonder if your application actually take the time to display the warning window and wait for user input before terminating the application.
Mephistopheles wrote:I am using Glorious Windows 10 but i cant get your Tool to work;
Bougnas wrote:Nah, I have win 7. But it doesn't start either.
Users browsing this forum: No registered users and 23 guests