Fixed a few little mistakes I forgot about
This commit is contained in:
parent
c148ca8f4a
commit
d72c765186
@ -845,7 +845,7 @@ namespace IW4MAdmin
|
|||||||
}
|
}
|
||||||
catch (Exception E)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -521,7 +521,7 @@ namespace IW4MAdmin
|
|||||||
if (ThreadHandle == null || ThreadHandle == IntPtr.Zero)
|
if (ThreadHandle == null || ThreadHandle == IntPtr.Zero)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
WaitForSingleObject(ThreadHandle, 5000);
|
WaitForSingleObject(ThreadHandle, 500000);
|
||||||
|
|
||||||
// cleanup
|
// cleanup
|
||||||
if (!VirtualFreeEx(ProcessHandle, codeAllocation, 0, AllocationType.Release))
|
if (!VirtualFreeEx(ProcessHandle, codeAllocation, 0, AllocationType.Release))
|
||||||
@ -593,7 +593,7 @@ namespace IW4MAdmin
|
|||||||
if (ThreadHandle == null || ThreadHandle == IntPtr.Zero)
|
if (ThreadHandle == null || ThreadHandle == IntPtr.Zero)
|
||||||
return requestedDvar;
|
return requestedDvar;
|
||||||
|
|
||||||
WaitForSingleObject(ThreadHandle, 5000);
|
WaitForSingleObject(ThreadHandle, 500000);
|
||||||
|
|
||||||
if (!VirtualFreeEx(ProcessHandle, codeAllocation, 0, AllocationType.Release))
|
if (!VirtualFreeEx(ProcessHandle, codeAllocation, 0, AllocationType.Release))
|
||||||
Console.WriteLine(Marshal.GetLastWin32Error());
|
Console.WriteLine(Marshal.GetLastWin32Error());
|
||||||
|
@ -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)
|
if (count % 2 != 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user