Metin 2 (C# Basit Radar Source)

Seçkin Üye
Katılım
13 Nis 2022
Mesajlar
301
Tepki puanı
30
Ödüller
4
Yaş
24
4 HİZMET YILI
nasıl yapılıyor bu acil yardımcı olabılırsenız cok sevınırım
 
Uzman Üye
Katılım
12 Nis 2022
Mesajlar
169
Tepki puanı
112
Ödüller
4
Yaş
27
4 HİZMET YILI
nasıl yapılıyor bu acil yardımcı olabılırsenız cok sevınırım
döngü
C#:
 for (int i=0; i < 64; i+=4)
float ent_local_y = m.ReadFloat($"Legend2_global.exe+0x003B9244,{i},660");
                        float ent_local_x = m.ReadFloat($"Legend2_global.exe+0x003B9244,{i},660");

                        if (ent_local_y == 0 || ent_local_x == 0)
                        {
                            return;
                        }
                        else
                        {
                      
                           // paint gelicek yer
                        }
 
Adaletin Bumu Dünya
Süper Üye
Katılım
11 Ocak 2020
Mesajlar
1,078
Çözümler
1
Tepki puanı
66
Ödüller
8
Yaş
27
6 HİZMET YILI
Metin 2 Basit Radar Source
C# Radar Bölüm #6 - Radar kodlama

Code
C#:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Memory;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.Button;

namespace telefarm
{
    public partial class Form1 : Form
    {
        [DllImport("user32.dll")]
        static extern short GetAsyncKeyState(System.Windows.Forms.Keys vKey);
        Mem m = new Mem();
        public Form1()
        {
            InitializeComponent();
        }
        Pen m_iPlayerColor = new Pen(Color.Red, 3);
        private void Form1_Load(object sender, EventArgs e)
        {
            int PID = m.GetProcIdFromName("Metin2Distribute.exe");
            if(PID > 0)
            {
                m.OpenProcess(PID);
                MessageBox.Show(PID.ToString());
            }
        }
        public const string dwPlayerY = "Metin2Distribute.exe+2F4FA0,14,650";
        public const string dwPlayerX = "Metin2Distribute.exe+2F4FA0,14,64C";
        // enemy addr 1
        public const string enemy1Y = "Metin2Distribute.exe+002A25C0,5C,E18";
        public const string enemy1X = "Metin2Distribute.exe+002A25C0,5C,E14";
        // enemy addr 2
        public const string enemy2Y = "Metin2Distribute.exe+002A25C0,64,E18";
        public const string enemy2X = "Metin2Distribute.exe+002A25C0,64,E14";
        // enemy addr 3
        public const string enemy3Y = "Metin2Distribute.exe+002A25C0,68,E18";
        public const string enemy3X = "Metin2Distribute.exe+002A25C0,68,E14";
        // enemy addr 4
        public const string enemy4Y = "Metin2Distribute.exe+002A25C0,6C,E18";
        public const string enemy4X = "Metin2Distribute.exe+002A25C0,6C,E14";
        // enemy addr 5
        public const string enemy5Y = "Metin2Distribute.exe+002A25C0,70,E18";
        public const string enemy5X = "Metin2Distribute.exe+002A25C0,70,E14";
        // enemy addr 6
        public const string enemy6Y = "Metin2Distribute.exe+002A25C0,74,E18";
        public const string enemy6X = "Metin2Distribute.exe+002A25C0,74,E14";
        // enemy addr 7
        public const string enemy7Y = "Metin2Distribute.exe+002A25C0,78,E18";
        public const string enemy7X = "Metin2Distribute.exe+002A25C0,78,E14";
        // enemy addr 8
        public const string enemy8Y = "Metin2Distribute.exe+002A25C0,7C,E18";
        public const string enemy8X = "Metin2Distribute.exe+002A25C0,7C,E14";
        // enemy addr 9
        public const string enemy9Y = "Metin2Distribute.exe+002A25C0,80,E18";
        public const string enemy9X = "Metin2Distribute.exe+002A25C0,80,E14";
        // enemy addr 10
        public const string enemy10Y = "Metin2Distribute.exe+002A25C0,88,E18";
        public const string enemy10X = "Metin2Distribute.exe+002A25C0,88,E14";
        // enemy addr 11
        public const string enemy11Y = "Metin2Distribute.exe+002A25C0,8C,E18";
        public const string enemy11X = "Metin2Distribute.exe+002A25C0,8C,E14";
        // enemy addr 12
        public const string enemy12Y = "Metin2Distribute.exe+002A25C0,90,E18";
        public const string enemy12X = "Metin2Distribute.exe+002A25C0,90,E14";
        // enemy addr 13
        public const string enemy13Y = "Metin2Distribute.exe+002A25C0,94,E18";
        public const string enemy13X = "Metin2Distribute.exe+002A25C0,94,E14";
        // enemy addr 14
        public const string enemy14Y = "Metin2Distribute.exe+002A25C0,A0,E18";
        public const string enemy14X = "Metin2Distribute.exe+002A25C0,A0,E14";
        // enemy addr 15
        public const string enemy15Y = "Metin2Distribute.exe+002A25C0,A4,E18";
        public const string enemy15X = "Metin2Distribute.exe+002A25C0,A4,E14";
        // enemy addr 16
        public const string enemy16Y = "Metin2Distribute.exe+002A25C0,A8,E18";
        public const string enemy16X = "Metin2Distribute.exe+002A25C0,A8,E14";
        // enemy addr 17
        public const string enemy17Y = "Metin2Distribute.exe+002A25C0,B0,E18";
        public const string enemy17X = "Metin2Distribute.exe+002A25C0,B0,E14";
        // enemy addr 18
        public const string enemy18Y = "Metin2Distribute.exe+002A25C0,B4,E18";
        public const string enemy18X = "Metin2Distribute.exe+002A25C0,B4,E14";
        // enemy addr 19
        public const string enemy19Y = "Metin2Distribute.exe+002A25C0,B8,E18";
        public const string enemy19X = "Metin2Distribute.exe+002A25C0,B8,E14";
        // enemy addr 20
        public const string enemy20Y = "Metin2Distribute.exe+002A25C0,BC,E18";
        public const string enemy20X = "Metin2Distribute.exe+002A25C0,BC,E14";
        private void Checkmb_Tick(object sender, EventArgs e)
        {
            float m_iPlayerY = m.ReadFloat(dwPlayerY);
            //label1.Text = m_iPlayerY.ToString();
            float m_iPlayerX = m.ReadFloat(dwPlayerX);
           // label2.Text = m_iPlayerX.ToString();
           panel1.Refresh();
            if (GetAsyncKeyState(Keys.X) < 0)
            {
                // enemy 1
                m.WriteMemory(enemy1Y, "float", m_iPlayerY.ToString());
                m.WriteMemory(enemy1X, "float", m_iPlayerX.ToString());
                // enemy 2
                m.WriteMemory(enemy2Y, "float", m_iPlayerY.ToString());
                m.WriteMemory(enemy2X, "float", m_iPlayerX.ToString());
                // enemy 3
                m.WriteMemory(enemy3Y, "float", m_iPlayerY.ToString());
                m.WriteMemory(enemy3X, "float", m_iPlayerX.ToString());
                // enemy 4
                m.WriteMemory(enemy4Y, "float", m_iPlayerY.ToString());
                m.WriteMemory(enemy4X, "float", m_iPlayerX.ToString());
                // enemy 5
                m.WriteMemory(enemy5Y, "float", m_iPlayerY.ToString());
                m.WriteMemory(enemy5X, "float", m_iPlayerX.ToString());
                // enemy 6
                m.WriteMemory(enemy6Y, "float", m_iPlayerY.ToString());
                m.WriteMemory(enemy6X, "float", m_iPlayerX.ToString());
                // enemy 7
                m.WriteMemory(enemy7Y, "float", m_iPlayerY.ToString());
                m.WriteMemory(enemy7X, "float", m_iPlayerX.ToString());
                // enemy 8
                m.WriteMemory(enemy8Y, "float", m_iPlayerY.ToString());
                m.WriteMemory(enemy8X, "float", m_iPlayerX.ToString());
                // enemy 9
                m.WriteMemory(enemy9Y, "float", m_iPlayerY.ToString());
                m.WriteMemory(enemy9X, "float", m_iPlayerX.ToString());
                // enemy 10
                m.WriteMemory(enemy10Y, "float", m_iPlayerY.ToString());
                m.WriteMemory(enemy10X, "float", m_iPlayerX.ToString());
            }
        }
        private void checkBox1_CheckedChanged(object sender, EventArgs e)
        {
            if(checkBox1.Checked == true)
            {
                Checkmb.Start();
            }
            else
            {
                Checkmb.Stop();
            }
        }
        bool m_iPlayerRadar = true;
        Pen m_iCricle = new Pen(Color.White, 3);
        bool m_iEnemyOkuma = true;
        Pen m_iEntityColor = new Pen(Color.White, 3);
        Pen m_iYeni = new Pen(Color.Yellow, 3);
        int veri = 100;
        private void panel1_Paint(object sender, PaintEventArgs e)
        {
            var g = e.Graphics; SolidBrush redBrush = new SolidBrush(Color.Red);
            float m_iPlayerY = m.ReadFloat(dwPlayerY);
            label1.Text = m_iPlayerY.ToString();
            float m_iPlayerX = m.ReadFloat(dwPlayerX);
            label2.Text = m_iPlayerX.ToString();
            float GelenY = Math.Abs(m_iPlayerY) / veri;
            float GelenX = Math.Abs(m_iPlayerX) / veri;
            // enemy listesi
            float dw_1Y = m.ReadFloat(enemy1Y);
            float dw_1X = m.ReadFloat(enemy1X);
            float Gelen1Y = Math.Abs(dw_1Y) / veri;
            float Gelen1X = Math.Abs(dw_1X) / veri;

            float dw_2Y = m.ReadFloat(enemy2Y);
            float dw_2X = m.ReadFloat(enemy2X);
            float Gelen2Y = Math.Abs(dw_2Y) / veri;
            float Gelen2X = Math.Abs(dw_2X) / veri;

            float dw_3Y = m.ReadFloat(enemy3Y);
            float dw_3X = m.ReadFloat(enemy3X);
            float Gelen3Y = Math.Abs(dw_3Y) / veri;
            float Gelen3X = Math.Abs(dw_3X) / veri;

            float dw_4Y = m.ReadFloat(enemy4Y);
            float dw_4X = m.ReadFloat(enemy4X);
            float Gelen4Y = Math.Abs(dw_4Y) / veri;
            float Gelen4X = Math.Abs(dw_4X) / veri;

            float dw_5Y = m.ReadFloat(enemy5Y);
            float dw_5X = m.ReadFloat(enemy5X);
            float Gelen5Y = Math.Abs(dw_5Y) / veri;
            float Gelen5X = Math.Abs(dw_5X) / veri;

            float dw_6Y = m.ReadFloat(enemy6Y);
            float dw_6X = m.ReadFloat(enemy6X);
            float Gelen6Y = Math.Abs(dw_6Y) / veri;
            float Gelen6X = Math.Abs(dw_6X) / veri;

            float dw_7Y = m.ReadFloat(enemy7Y);
            float dw_7X = m.ReadFloat(enemy7X);
            float Gelen7Y = Math.Abs(dw_7Y) / veri;
            float Gelen7X = Math.Abs(dw_7X) / veri;

            float dw_8Y = m.ReadFloat(enemy8Y);
            float dw_8X = m.ReadFloat(enemy8X);
            float Gelen8Y = Math.Abs(dw_8Y) / veri;
            float Gelen8X = Math.Abs(dw_8X) / veri;

            float dw_9Y = m.ReadFloat(enemy9Y);
            float dw_9X = m.ReadFloat(enemy9X);
            float Gelen9Y = Math.Abs(dw_9Y) / veri;
            float Gelen9X = Math.Abs(dw_9X) / veri;

            float dw_10Y = m.ReadFloat(enemy10Y);
            float dw_10X = m.ReadFloat(enemy10X);
            float Gelen10Y = Math.Abs(dw_10Y) / veri;
            float Gelen10X = Math.Abs(dw_10X) / veri;

            float dw_11Y = m.ReadFloat(enemy11Y);
            float dw_11X = m.ReadFloat(enemy11X);
            float Gelen11Y = Math.Abs(dw_11Y) / veri;
            float Gelen11X = Math.Abs(dw_11X) / veri;

            float dw_12Y = m.ReadFloat(enemy12Y);
            float dw_12X = m.ReadFloat(enemy12X);
            float Gelen12Y = Math.Abs(dw_12Y) / veri;
            float Gelen12X = Math.Abs(dw_12X) / veri;

            float dw_13Y = m.ReadFloat(enemy13Y);
            float dw_13X = m.ReadFloat(enemy13X);
            float Gelen13Y = Math.Abs(dw_13Y) / veri;
            float Gelen13X = Math.Abs(dw_13X) / veri;

            float dw_14Y = m.ReadFloat(enemy14Y);
            float dw_14X = m.ReadFloat(enemy14X);
            float Gelen14Y = Math.Abs(dw_14Y) / veri;
            float Gelen14X = Math.Abs(dw_14X) / veri;

            float dw_15Y = m.ReadFloat(enemy15Y);
            float dw_15X = m.ReadFloat(enemy15X);
            float Gelen15Y = Math.Abs(dw_15Y) / veri;
            float Gelen15X = Math.Abs(dw_15X) / veri;

            float dw_16Y = m.ReadFloat(enemy16Y);
            float dw_16X = m.ReadFloat(enemy16X);
            float Gelen16Y = Math.Abs(dw_16Y) / veri;
            float Gelen16X = Math.Abs(dw_16X) / veri;

            float dw_17Y = m.ReadFloat(enemy17Y);
            float dw_17X = m.ReadFloat(enemy17X);
            float Gelen17Y = Math.Abs(dw_17Y) / veri;
            float Gelen17X = Math.Abs(dw_17X) / veri;

            float dw_18Y = m.ReadFloat(enemy18Y);
            float dw_18X = m.ReadFloat(enemy18X);
            float Gelen18Y = Math.Abs(dw_18Y) / veri;
            float Gelen18X = Math.Abs(dw_18X) / veri;

            float dw_19Y = m.ReadFloat(enemy18Y);
            float dw_19X = m.ReadFloat(enemy18X);
            float Gelen19Y = Math.Abs(dw_19Y) / veri;
            float Gelen19X = Math.Abs(dw_19X) / veri;

            float dw_20Y = m.ReadFloat(enemy20Y);
            float dw_20X = m.ReadFloat(enemy20X);
            float Gelen20Y = Math.Abs(dw_20Y) / veri;
            float Gelen20X = Math.Abs(dw_20X) / veri;

            try
            {
                if (m_iPlayerRadar)
                {
                    e.Graphics.DrawRectangle(m_iPlayerColor, GelenY + 10, GelenX + 10, xdy.Value, xdx.Value);
                    if(checkBox2.Checked)
                    {
                        g.DrawEllipse(m_iCricle, GelenY + 10, GelenX + 10, gunaTrackBar2.Value, gunaTrackBar1.Value);
                    }
                    if(checkBox3.Checked)
                    {
                        g.DrawString("Shirbaz", this.Font, redBrush, GelenY + 10, GelenX + 10);
                    }
                    if(m_iEnemyOkuma)
                    {
                        e.Graphics.DrawRectangle(m_iEntityColor, Gelen1Y + 10, Gelen1X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iEntityColor, Gelen2Y + 10, Gelen2X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iEntityColor, Gelen3Y + 10, Gelen3X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iEntityColor, Gelen4Y + 10, Gelen4X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iEntityColor, Gelen5Y + 10, Gelen5X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iEntityColor, Gelen6Y + 10, Gelen6X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iEntityColor, Gelen7Y + 10, Gelen7X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iEntityColor, Gelen8Y + 10, Gelen8X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iEntityColor, Gelen9Y + 10, Gelen9X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iEntityColor, Gelen10Y + 10, Gelen10X + 10, 3, 3);
                        // + 10 enemy
                        e.Graphics.DrawRectangle(m_iYeni, Gelen11Y + 10, Gelen11X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iYeni, Gelen12Y + 10, Gelen12X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iYeni, Gelen13Y + 10, Gelen13X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iYeni, Gelen14Y + 10, Gelen14X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iYeni, Gelen15Y + 10, Gelen15X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iYeni, Gelen16Y + 10, Gelen16X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iYeni, Gelen17Y + 10, Gelen17X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iYeni, Gelen18Y + 10, Gelen18X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iYeni, Gelen19Y + 10, Gelen19X + 10, 3, 3);
                        e.Graphics.DrawRectangle(m_iYeni, Gelen20Y + 10, Gelen20X + 10, 3, 3);
                    }
                }
            }
            catch(Exception ex)
            {
                MessageBox.Show("Error : " + ex.ToString());
            }
        }
    }
}
Ekli dosyayı görüntüle 89693
Rar source virüs total :
Bağlantıları görmek için lütfen Giriş Yap

GunaUI Memory.dll telefarm.exe virüs total :
Bağlantıları görmek için lütfen Giriş Yap

indirme linki source :
Bağlantıları görmek için lütfen Giriş Yap


arkadaslar sunu belirtmek isterim ben basit bir sekilde yaptım
Files : MPHLVN > bu files de denerseniz sorunsuz calıstıgını görürsünüz baska sunucu icinse size bırakıyorum
Gelistirmek sizin elinizde olan birsey güle güle kullanın metin2 de proje si olan arkadaslar da genelde radar yok ekleye bilirsiniz
tabi ben tek tek ekledim ama siz entitylist den direk alarak herkezi cizdire bilirsiniz
@lunaUI
Arkadaslar eklemeyi unuttum paneli ters yönde haraktet ettirirseniz panel de gitti göne dogru gider ve fotoraf ekleyenler icin daha güzel olur
pvp server calışıyormu ve detaylı şalıştırma video atabilirmisin rica etsem
 
Seçkin Üye
Katılım
15 Tem 2016
Mesajlar
319
Çözümler
2
Tepki puanı
34
Ödüller
9
9 HİZMET YILI
Ellerine sağlık kodları okurken hayran kaldım muazzam bir çalışma kesinlikle deneyeceğim.
 
Seçkin Üye
Katılım
1 Eyl 2018
Mesajlar
312
Tepki puanı
23
Ödüller
6
Yaş
28
7 HİZMET YILI
çok ihtiyacım vardı ama bypass lazım
 
Onaylı Üye
Katılım
18 Ocak 2019
Mesajlar
50
Tepki puanı
5
Ödüller
5
Yaş
26
7 HİZMET YILI
hile çok iyi gerçekten takdir edilemsi gerek tek ban yemediğim hile diyebilirim güvenle kullanabilirsiniz iyi günler
 
Üye
Katılım
18 Haz 2019
Mesajlar
13
Tepki puanı
1
Ödüller
3
Yaş
58
6 HİZMET YILI
Fazla emeny olması gereken for döngüsü kullanırsan daha iyi olur. Offset olarak 0x789ABCDEF kullanılarak 0x20 + 0x789ABCDEF toplama işlemi yapabiliyor. Bunu dışında güzel bir konu eline sağlık
 
Onaylı Üye
Katılım
8 Nis 2023
Mesajlar
52
Tepki puanı
2
Ödüller
1
Yaş
30
3 HİZMET YILI
Bot kontrolleri oluyor onlarıda ayarlarsanız çok temiz bot yapılabilir bilenin eline geçerse baya iyi belki sitede de görürüz
 
Üst