Example #1
0
 public void crash(string ipFrom)
 {
     if (os.connectedComp != null && os.connectedComp.Equals(this) && !os.connectedComp.Equals(os.thisComputer))
     {
         os.connectedComputerCrashed(this);
     }
     else if (os.thisComputer.Equals(this) || os.thisComputer.Equals(os.connectedComp))
     {
         os.thisComputerCrashed();
     }
     if (!silent)
     {
         log("CRASH REPORT: Kernel Panic -- Fatal Trap");
     }
     disabled  = true;
     bootTimer = BASE_BOOT_TIME;
     tryExternalCounterpartDisconnect();
     sendNetworkMessage("cCrash " + ip + " " + ipFrom);
 }