private void Form1_Load(object sender, EventArgs e) { Globals.dt = DateTime.Now; // Form açıldığında başlangıç zamanını aldım. tmrDBUpdate.Start(); switch (Globals.selectedGame) { case "NFS13": { GameIndexRow = 0; pointer = 0; offset = 1; break; } case "CSGO": { GameIndexRow = 1; pointer = 0; offset = 1; break; } case "diablo3": { GameIndexRow = 2; pointer = 0; offset = 1; break; } default: { MessageBox.Show("AURA Lightning Doesn't Support this Game..."); break; } } oku = new Bellek(prc[0]); foreach (ProcessModule modul in prc[0].Modules) { if (modul.ModuleName == Globals.selectedGame + ".exe") { anaAdres = modul.BaseAddress.ToInt64(); timer1.Enabled = true; } } }
private void Form1_Load(object sender, EventArgs e) { //oku = new Bellek("explorer.exe"); oku = new Bellek(prc[0]); foreach (ProcessModule modul in prc[0].Modules) { if (modul.ModuleName == "explorer.exe") { anaAdres = modul.BaseAddress.ToInt64(); } } }
private void useButton_Click(object sender, EventArgs e) { if (useButton.Text == "USE") { panel2.Enabled = false; panel3.Enabled = false; useButton.Text = "WORKING"; useButton.ForeColor = Color.Green; refreshButton.Enabled = false; notifyIcon1.Icon = new System.Drawing.Icon("C:/Users/ridva/Desktop/WindowsFormsApp6/WindowsFormsApp6/Resources/green.ico"); notifyIcon1.Text = "Active"; toolStripStatusLabel3.ForeColor = Color.Green; toolStripStatusLabel3.Text = "ACTIVE"; if (Properties.Settings.Default.notifyGoster) { notifyIcon1.BalloonTipTitle = "Active"; notifyIcon1.BalloonTipText = "Program sağ alt köşede konumlandı."; notifyIcon1.BalloonTipIcon = ToolTipIcon.None; notifyIcon1.ShowBalloonTip(15000); Properties.Settings.Default.notifyGoster = false; Properties.Settings.Default.Save(); } } else { panel2.Enabled = true; panel3.Enabled = true; useButton.ForeColor = Color.Black; useButton.Text = "USE"; refreshButton.Enabled = true; notifyIcon1.Icon = new System.Drawing.Icon("C:/Users/ridva/Desktop/WindowsFormsApp6/WindowsFormsApp6/Resources/red.ico"); notifyIcon1.Text = "Passive"; toolStripStatusLabel3.ForeColor = Color.Red; toolStripStatusLabel3.Text = "PASSIVE"; } //METHOD 1 FAIL Process[] prc = Process.GetProcessesByName("explorer"); oku = new Bellek(prc[0]); foreach (ProcessModule modul in prc[0].Modules) { if (modul.ModuleName == "explorer.exe") { anaAdres = modul.BaseAddress.ToInt64(); //processLabel.Text = "sssd"; } //processLabel.Text = modul.ModuleName; } //Program 64 bit debug modunda patlıyor bu yüzden realase de build yap, 32 bit debug modunda ne oluyoır blmiyorum ama ondada muhtemelen aynı şey olur //deger = oku.Int_OKU_Offset(anaAdres + yanDeger, new int[] { offset1, offset2, offset3, offset4, offset5, offset6 }); //deger = oku.Int_OKU_Offset(anaAdres + yanDeger, "338+789+e8+c4+40"; //offsetler alttan üste doğruu cheat engine ile alıyorsan eğer // eğer ilk oku. yı kullanacaksan offset1 falan yerlere 0x338 falan olması gerekiyor // yan değer misal 00068c7 falansa başındaki sıfırları silip 0x68c7 yazabilirsin, fark etmiyor // yan deger her halukarda başında 0x var unutma // offset ve yandeğer yazan yerler Int32 // METHOD 2 FAIL /* * for (int i = 0; i < listView1.Items.Count; i++) * { * if(listView1.Items[i].Checked == true) * { * string ID = listView1.Items[i].SubItems[0].Text; * * Process localById = Process.GetProcessById(Int32.Parse(ID)); * oku = new Bellek(exeName); * * foreach (ProcessModule modul in localById.Modules) * { * if (modul.ModuleName == exeName + ".exe") * { * anaAdres = modul.BaseAddress.ToInt64(); * processLabel.Text = "sd"; * } * processLabel.Text = modul.ModuleName; * } * * } * }*/ }