I am trying to store my data class on my server as is or even as a text file and then when the application loads it gets the class or text file and I can use it as normal.
Internally everything works just fine, but I can not seem to figure out how to load this "AddressesClass.cs" file from my server and use it in my application.
Once I put that file on my server where do I go from there? what do I do to load it into my application? and once it is loaded into the application do just call to it the same as before?
The class is formed like this:
public class Addresses
{
public static uint run = 0x00000001;
public static uint walk = 0x00000002;
public static uint jump = 0x00000003;
public static uint sit = 0x00000004;
}
and when I use one of the "Addresses" It is called like this
private void checkBox1_CheckedChanged(object sender)
{
if (checkBox1.Checked)
gamename.setmemory(Addresses.run, new byte[] { 0x00, 0x00 });
}
else
{
gamename.setmemory(Addresses.run, new byte[] { 0x00, 0x01 });
}
}
User contributions licensed under CC BY-SA 3.0