Example #1
0
 private void restoreToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         Dank.SetMeme(restoreGame, restore);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Example #2
0
 public static void ChangeString(uint freemem, byte[] value, string inputBox, uint pointer)
 {
     Dank.SetMeme(freemem, clearmem);
     Dank.WriteString(freemem, inputBox);
     Dank.SetMeme(pointer, value);
 }
Example #3
0
 public static void SetName(uint Offset, string Text)
 {
     byte[] bytes = Encoding.ASCII.GetBytes(Text);
     Array.Resize <byte>(ref bytes, bytes.Length + 1);
     Dank.SetMeme(Offset, bytes);
 }