Fixed a few little mistakes I forgot about

This commit is contained in:
raidmax@live.com 2015-07-06 21:15:27 -05:00
parent c148ca8f4a
commit d72c765186
3 changed files with 4 additions and 4 deletions

View File

@ -845,7 +845,7 @@ namespace IW4MAdmin
}
catch (Exception E)
{
Log.Write("Error during initialization - " + E.Message, Log.Level.All);
Log.Write("Error during initialization - " + E.Message +"--" + E.StackTrace, Log.Level.All);
return false;
}
}

View File

@ -521,7 +521,7 @@ namespace IW4MAdmin
if (ThreadHandle == null || ThreadHandle == IntPtr.Zero)
return;
WaitForSingleObject(ThreadHandle, 5000);
WaitForSingleObject(ThreadHandle, 500000);
// cleanup
if (!VirtualFreeEx(ProcessHandle, codeAllocation, 0, AllocationType.Release))
@ -593,7 +593,7 @@ namespace IW4MAdmin
if (ThreadHandle == null || ThreadHandle == IntPtr.Zero)
return requestedDvar;
WaitForSingleObject(ThreadHandle, 5000);
WaitForSingleObject(ThreadHandle, 500000);
if (!VirtualFreeEx(ProcessHandle, codeAllocation, 0, AllocationType.Release))
Console.WriteLine(Marshal.GetLastWin32Error());

View File

@ -123,7 +123,7 @@ namespace IW4MAdmin_Web
}
}
players.AppendFormat("<td><a href='/{0}/{1}/userip/?player'>{2}</a></td>", Servers[i].pID(), P.getDBID(), IW4MAdmin.Utilities.nameHTMLFormatted(P));
players.AppendFormat("<td><a href='/{0}/{1}/userip/?player'>{2}</a></td>", i, P.getDBID(), IW4MAdmin.Utilities.nameHTMLFormatted(P));
if (count % 2 != 0)
{