Exemplo n.º 1
0
 private void btnLife_Click(object sender, EventArgs e)
 {
     Process[] procs = Process.GetProcessesByName("Leps Craft World");
     if (procs.Length > 0)
     {
         using (saad.CheatEngine.Memory mem = new saad.CheatEngine.Memory(procs[0]))
         {
             IntPtr address = mem.GetAddress("\"UnityPlayer.dll\"+0104A714+74C");
             mem.WriteInt32(address, Convert.ToInt32(txtLife.Text));
         }
     }
 }
Exemplo n.º 2
0
 private void btnPis_Click(object sender, EventArgs e)
 {
     Process[] procs = Process.GetProcessesByName("Leps Craft World");
     if (procs.Length > 0)
     {
         using (saad.CheatEngine.Memory mem = new saad.CheatEngine.Memory(procs[0]))
         {
             IntPtr address = mem.GetAddress("\"Leps Craft World.dll\"+0064B604+40");
             mem.WriteInt32(address, Convert.ToInt32(txtPis.Text));
         }
     }
 }