mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 15:52:25 -05:00
Various fixes and renamed 'libary' to 'library'
This commit is contained in:
@ -344,8 +344,19 @@ namespace IW4MAdmin
|
||||
}
|
||||
|
||||
List<IntPtr> baseAddresses = new List<IntPtr>();
|
||||
System.Diagnostics.Process P;
|
||||
|
||||
try
|
||||
{
|
||||
P = System.Diagnostics.Process.GetProcessById(pID);
|
||||
}
|
||||
|
||||
catch (System.ArgumentException)
|
||||
{
|
||||
Program.getManager().mainLog.Write("The server with PID " + pID + " was exited before deinit occured.", Log.Level.Debug);
|
||||
return false;
|
||||
}
|
||||
|
||||
System.Diagnostics.Process P = System.Diagnostics.Process.GetProcessById(pID);
|
||||
foreach (System.Diagnostics.ProcessModule M in P.Modules)
|
||||
{
|
||||
if (M.ModuleName == "AdminInterface.dll" && M.BaseAddress != IntPtr.Zero)
|
||||
|
Reference in New Issue
Block a user