Example #1
0
 protected MemoryWatcher(DeepPointer pointer)
 {
     DeepPtr    = pointer;
     AddrType   = AddressType.DeepPointer;
     Enabled    = true;
     FailAction = ReadFailAction.DontUpdate;
 }
 public void SetPointersByModuleSize(int moduleSize)
 {
     if (moduleSize == 507191296 || moduleSize == 515133440 || moduleSize == 510681088)             // STEAM VERSION
     {
         scaleSettingsDP = new DeepPointer("DOOMEternalx64vk.exe", 0x2626E70);
         minResSettingDP = new DeepPointer("DOOMEternalx64vk.exe", 0x5BF22F4);
     }
     else if (moduleSize == 450445312 || moduleSize == 444944384)             // BETHESDA VERSION
     {
         scaleSettingsDP = new DeepPointer("DOOMEternalx64vk.exe", 0x25F2FB0);
         minResSettingDP = new DeepPointer("DOOMEternalx64vk.exe", 0x5BB4874);
     }
     else             //UNKNOWN GAME VERSION
     {
         System.Windows.Forms.MessageBox.Show("This game version is not supported.", "Unsupported Game Version");
         process = null;
     }
 }
Example #3
0
 public StringWatcher(DeepPointer pointer, int numBytes)
     : this(pointer, ReadStringType.AutoDetect, numBytes)
 {
 }
Example #4
0
 public StringWatcher(DeepPointer pointer, ReadStringType type, int numBytes)
     : base(pointer)
 {
     _stringType = type;
     _numBytes   = numBytes;
 }