porkshopp
Active member
I get this error when trying to run the code
Activated Event Time Duration Thread
Exception thrown: 'System.IO.FileNotFoundException' in VAMemory.dll ("Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.") Exception thrown: 'System.IO.FileNotFoundException' in VAMemory.dll ("Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.") Hyperlink: Activate Historical Debugging 0.14s [13308] Main Thread
C#:
using System;
using System.Threading;
namespace cTest
{
class Program
{
public static int Base = 0x004E4DBC;
public static int Health = 0xF4;
static void Main(string[] args)
{
VAMemory vam = new VAMemory("ac_client");
int LocalPlayer = vam.ReadInt32((IntPtr)Base);
while (true)
{
int address = LocalPlayer + Health;
vam.WriteInt32((IntPtr)address, 9999);
Thread.Sleep(100);
}
}
}
}
Exception thrown: 'System.IO.FileNotFoundException' in VAMemory.dll ("Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.") Exception thrown: 'System.IO.FileNotFoundException' in VAMemory.dll ("Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.") Hyperlink: Activate Historical Debugging 0.14s [13308] Main Thread