Ir para conteúdo

Mmmmm

Membro
  • Registro em

  • Última visita

  1. Mek Fiuchem reagiu a uma resposta no tópico: Client Chooser +
  2. Private Sub Teste reagiu a uma resposta no tópico: [Open Source] MiniBot CSharp
  3. Mmmmm postou uma resposta no tópico em Recursos Avançados
    if (!((!string.IsNullOrEmpty(foodhtk.Text)))) { MessageBox.Show("Você precisa adicionar uma HOTKEY"); checkBox3.Checked = false; } You dont need to use "!" like I did, your code works, but no sense. Você não precisa usar "!" como eu fiz, seu código funciona, mas não tem sentido. if (string.IsNullOrEmpty(foodhtk.Text)) { MessageBox.Show("Você precisa adicionar uma HOTKEY"); checkBox3.Checked = false; } and if (!((!string.IsNullOrEmpty(spelltxt.Text)) & (!string.IsNullOrEmpty(manatxt.Text)))) I think you need to use && instead of &, you can read about it. Acho que você precisa de usar && em vez de & , você pode ler sobre isso. but it is Ok for share.
  4. Private Sub Teste reagiu a uma resposta no tópico: Client Chooser +
  5. você não pode usar o operador >= para cadeias if (String.IsNullOrEmpty(cadena))
  6. Kimoszin reagiu a uma resposta no tópico: Client Chooser +
  7. Mmmmm postou uma resposta no tópico em Tutoriais sobre Programação
    This is the example of a Client Chooser, you can do it better, add more option o whatever you want. This picture shows 2 clients, 1 open and logged in and other only open. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using MXbotALFA.Objetos; using System.Diagnostics; using MXbotALFA.Forms; using System.Threading; namespace MXbotALFA { public partial class Form1 : Form { Cliente c; MainMx formBot; public List<Cliente> ClientList = new List<Cliente>(); string nombreProceso = "tibia"; string version = "9.4.2.0"; int cont = 1; public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { foreach (Process p in Process.GetProcessesByName(nombreProceso)) { if (p.MainModule.FileVersionInfo.FileVersion == version) { c = new Cliente(p, this); if (!string.IsNullOrEmpty(c.ToString())) { listBox1.Items.Add("Client #" + cont + ": " + c.ToString() + " " + c.getNombre); cont++; } else { listBox1.Items.Add("Necesitas loguear"); } } else { listBox1.Items.Add("Versión " + p.MainModule.FileVersionInfo.FileVersion + " no soportada"); } } if (ClientList.Count == 0) { listBox1.Items.Add("No se encontró ningun Cliente"); } } private void button1_Click(object sender, EventArgs e) { cont = 1; this.ClientList.Clear(); listBox1.Items.Clear(); this.Form1_Load(sender, e); } private void button2_Click(object sender, EventArgs e) { System.Environment.Exit(0); } private void listBox1_DoubleClick(object sender, EventArgs e) { int n = listBox1.SelectedIndex; if (n != -1 && n < ClientList.Count) { formBot = new MainMx(ClientList.ElementAt(n)); Thread NuevoHilo = new System.Threading.Thread(new System.Threading.ThreadStart(runMainMX)); this.Close(); NuevoHilo.SetApartmentState(System.Threading.ApartmentState.STA); NuevoHilo.Start(); } } public void runMainMX() { formBot.ShowDialog(); } } } This is the class Cliente.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.Windows.Forms; namespace MXbotALFA.Objetos { public class Cliente { public Inputhelper Input; //public Healer formHealer; public List<string> Creaturas = new List<string>(); public List<int> CreaturasHP = new List<int>(); public IntPtr Handle; Form1 MainForm; public Process proceso; public int AdressOffset; //Other Address public static uint bListstart = 0x946000; public static uint steps = 0xb0; public static uint Max = 1300; public static uint ends = bListstart + (steps * Max); //Player Address public static uint PlayerId = 0x7AC054; public static uint Experience = 0x7ABFB8; public static uint Status = 0x7BA894; public static uint Healthadr = 0x7A9CEC; public static uint Manaadr = 0x7AC004; public static uint HealthMaxadr = 0x7AC048; public static uint ManaMaxadr = 0x7ABFB0; public static uint Nivel = 0x7ABFEC; public static uint Password = 0x7BA86C; public static uint Account = 0x7BA904; public static uint Soul = 0x7ABFF0; public static uint Flags = 0x7A9CF4; public static uint Capacity = 0x7ABFC4; public static uint DistanceIsVisible = 148; public static uint CreaturaHP = 140; public static uint LastSeeID = 0x942F94; //Address public static uint HotkeyObjectStart = 0x7BA7A8; public static uint HotkeySendAutostart = 0x7BA75C; public static uint HotkeyUseTypeStart = 0x7BA6C0; public static uint HotkeyTextStart = 0x7B8290; public Cliente(Process _process, Form1 mForm) { this.MainForm = mForm; proceso = _process; proceso.EnableRaisingEvents = true; Handle = _process.Handle; AdressOffset = proceso.MainModule.BaseAddress.ToInt32() - 0x400000; MessageBox.Show(""+AdressOffset); Input = new Inputhelper(this); MainForm.ClientList.Add(this); } public uint GetPlayerAdr() { for (uint i = bListstart; i <= ends; i += steps) { if (ReadInt(i) == ReadInt(PlayerId)) { return i; } } return 0; } public void GetCreaturas() { Creaturas.Clear(); CreaturasHP.Clear(); for (uint i = bListstart; i <= ends; i += steps) { if (ReadByte(i + DistanceIsVisible) == 1) { Creaturas.Add(ReadString(i + 4)); CreaturasHP.Add(ReadInt(i + CreaturaHP)); } } } public override String ToString() { if (this.IsOnline()) { return this.proceso.Id.ToString(); } return null; } public List<string> getMonstruos { get { return Creaturas; } } public List<int> getCreaturasHP { get { return CreaturasHP; } } public bool IsOnline() { if (ReadByte(Status) == 8) { return true; } return false; } public string getNombre { get { return ReadString(GetPlayerAdr() + 4); } } public int getID { get { return ReadInt(LastSeeID); } } public string getNombreSever { get { return ReadString(GetPlayerAdr() + 30); } } public int getNivel { get { return ReadInt(Nivel); } } public string getAccount { get { return ReadString(Manaadr); } } public string getPassword { get { return ReadString(Healthadr); } } public int getMana { get { return ReadInt(Manaadr); } } public int getHp { get { return ReadInt(Healthadr); } } public int getManaMax { get { return ReadInt(ManaMaxadr); } } public int getHpMax { get { return ReadInt(HealthMaxadr); } } public void FullLight() { WriteInt(GetPlayerAdr() + 124, 27); WriteInt(GetPlayerAdr() + 128, 215); } public void adoons(int id) { WriteInt(GetPlayerAdr() + 120, id); } public enum OutfitMontura : int { WidowQueen = 368, RacingBird = 369, WarBear = 370, BlackSheep = 371, MidnightPanther = 372, Draptor = 373, Titanica = 374, TinLizzard = 375, Blazebringer = 376, RapidBoar = 377, Stampor = 378, UndeadCaveBear = 379, Donkey = 387, Uniwheel = 388, TigerSlug = 389, CrystalWolf = 391, WarHorse = 392, KinglyDeer = 401, Panda = 402, Dromedary = 405, KingScorpion = 406, RentedHorse = 421, FireWarHorse = 426, ShadowDraptor = 427, Ladybug = 447, Manta = 450 } public enum HotkeyUsetype { Onself = 2, OnTarget = 1, WithCrosshair = 0 } public struct Hotkey { public string Message; public HotkeyUsetype UseType; public int ItemId; public byte SendAuto; } public void Sendhotkey(Hotkey hotkey) { int hotkeyObject = ReadInt(HotkeyObjectStart); int hotkeySendAuto = ReadInt(HotkeySendAutostart); int hotkeyUseType = ReadInt(HotkeyUseTypeStart); string hotkeyText = ReadString(HotkeyTextStart); WriteInt(HotkeyObjectStart, hotkey.ItemId); WriteByte(HotkeySendAutostart, hotkey.SendAuto); WriteInt(HotkeyUseTypeStart, (int)hotkey.UseType); WriteString(HotkeyTextStart, hotkey.Message); Input.SendKey(Keys.F1); WriteInt(HotkeyObjectStart, hotkeyObject); WriteInt((uint)hotkeySendAuto, hotkeySendAuto); WriteInt(HotkeyUseTypeStart, hotkeyUseType); WriteString(HotkeyTextStart, hotkeyText); } #region "Memoria" public string ReadString(uint adr) { return Util.Memoria.ReadString(Handle, AdressOffset + adr); } public int ReadInt(uint adr) { return Util.Memoria.ReadInt32(Handle, AdressOffset + adr); } public byte ReadByte(uint adr) { return Util.Memoria.ReadByte(Handle, AdressOffset + adr); } public void WriteInt(uint adr, int value) { Util.Memoria.WriteInt32(Handle, AdressOffset + adr, value); } public void WriteByte(uint adr, byte value) { Util.Memoria.WriteByte(Handle, AdressOffset + adr, value); } public void WriteString(uint adr, string value) { Util.Memoria.WriteString(Handle, AdressOffset + adr, value); } #endregion } } You can do a class player with all its attributes, to do it more simple. If you have some problems interpreting the code comment, and maybe you need to eliminate some things . So all do you need is the Object c, if you want to do a healer you can pass the object to the constructor of a FormHealer for example and use it. Now you can work easily in XP and seven. Your main form will look like this. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using MXbotALFA.Objetos; using MXbotALFA.Util; namespace MXbotALFA.Forms { public partial class MainMx : Form { private Cliente c; public MainMx(Cliente c) { this.c = c; InitializeComponent(); } private void MainMx_Load(object sender, EventArgs e) { this.Text = "MXbot ~ "+c.getNombre; } } }
  8. psydack reagiu a uma resposta no tópico: Reading Account and password address
  9. I edited the post, is more easy to understand, now you only need to call c.getAccount() and c.getPassword(), (c is a Object cliente). Also have some 9.42 address and you can do a simple healer.
  10. Puncker reagiu a uma resposta no tópico: Reading Account and password address
  11. Augusto reagiu a uma resposta no tópico: Reading Account and password address
  12. Reading Account and password address Form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net.Mail; using System.Net.Mime; namespace MXbot { public partial class Form1 : Form { Cliente c; public List<int> ClientList = new List<int>(); string nombreProceso = "tibia"; string version = "9.4.2.0"; public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { foreach (Process p in Process.GetProcessesByName(nombreProceso)) { if (p.MainModule.FileVersionInfo.FileVersion == version) { c = new Cliente(p, this); listBox1.Items.Add(c.getNombre); } else { MessageBox.Show("Versión " + p.MainModule.FileVersionInfo.FileVersion + " no soportada", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Information); Environment.Exit(0); } } if (ClientList.Count == 0) { MessageBox.Show(null, "No se encontró ningun cliente", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Information); Environment.Exit(0); } } private void button1_Click(object sender, EventArgs e) { if (c.IsOnline()) { listBox1.Items.Add(c.getHp); listBox1.Items.Add(c.getNombreSever); listBox1.Items.Add(c.getNivel); } } private void checkBox1_CheckedChanged(object sender, EventArgs e) { if (checkBox1.Checked) { Life.Start(); } else { Life.Stop(); } } private void Life_Tick(object sender, EventArgs e) { if (c.IsOnline()) { textBox1.Text = c.getMana.ToString(); } } } } Client.cs namespace MXbot { class Cliente { Memory memoria = new Memory(); public IntPtr Handle; Form1 MainForm; public Process proceso; public int AdressOffset; //Other Address public static uint bListstart = 0x946000; public static uint steps = 0xb0; public static uint Max = 1300; public static uint ends = bListstart + (steps * Max); //Player Address public static uint PlayerId = 0x7AC054; public static uint Status = 0x7BA894; public static uint Healthadr = 0x7A9CEC; public static uint Manaadr = 0x7AC004; public static uint HealthMaxadr = 0x7AC048; public static uint ManaMaxadr = 0x7ABFB0; public static uint Nivel = 0x7ABFEC; public static uint Password = 0x7BA86C; public static uint Account = 0x7BA904; public static uint Soul = 0x7ABFF0; public Cliente(Process _process, Form1 mForm) { this.MainForm = mForm; proceso = _process; proceso.EnableRaisingEvents = true; Handle = _process.Handle; AdressOffset = proceso.MainModule.BaseAddress.ToInt32() - 0x400000; MainForm.ClientList.Add(proceso.Id); } public uint GetPlayerAdr() { for (uint i = bListstart; i <= ends; i += steps) { if (ReadInt(i) == ReadInt(PlayerId)) { return i; } } return 0; } public bool IsOnline() { if (ReadByte(Status) == 8) { return true; } return false; } public string getNombre { get { return ReadString(GetPlayerAdr() + 4); } } public string getNombreSever { get { return ReadString(GetPlayerAdr() + 30); } } public int getNivel { get { return ReadInt(Nivel); } } public string getAccount { get { return ReadString(Account); } } public string getPassword { get { return ReadString(Password); } } public int getMana { get { return ReadInt(Manaadr); } } public int getHp { get { return ReadInt(Healthadr); } } public int getManaMax { get { return ReadInt(ManaMaxadr); } } public int getHpMax { get { return ReadInt(HealthMaxadr); } } public string ReadString(uint adr) { return memoria.ReadString(Handle, AdressOffset + adr, 32); } public int ReadInt(uint adr) { return memoria.ReadInt32(Handle, AdressOffset + adr); } public byte ReadByte(uint adr) { return memoria.ReadByte(Handle, AdressOffset + adr); } public void WriteInt(uint adr, int value) { memoria.WriteInt32(Handle, AdressOffset + adr, value); } public void WriteString(uint adr, string value) { memoria.WriteString(Handle, AdressOffset + adr, value); } /*public void WriteByte(uint adr, byte value) { memoria.WriteBytes(Handle, AdressOffset + adr, value); }*/ } } Memory.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace MXbot { class Memory { [DllImport("kernel32.dll")] public static extern Int32 WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesWritten); [DllImport("kernel32.dll")] public static extern Int32 ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesRead); public byte[] ReadBytes(IntPtr handle, long address, uint bytesToRead) { IntPtr ptrBytesRead; byte[] buffer = new byte[bytesToRead]; ReadProcessMemory(handle, new IntPtr(address), buffer, bytesToRead, out ptrBytesRead); return buffer; } public byte ReadByte(IntPtr handle, long address) { return ReadBytes(handle, address, 1)[0]; } public string ReadString(IntPtr handle, long address, uint length) { if (length > 0) { byte[] buffer; buffer = ReadBytes(handle, address, length); return System.Text.ASCIIEncoding.Default.GetString(buffer).Split(new Char())[0]; } else { string s = ""; byte temp = ReadByte(handle, address++); while (temp != 0) { s += (char)temp; temp = ReadByte(handle, address++); } return s; } } public bool WriteBytes(IntPtr handle, long address, byte[] bytes, uint length) { IntPtr bytesWritten; int result = WriteProcessMemory(handle, new IntPtr(address), bytes, length, out bytesWritten); return result != 0; } public bool WriteString(IntPtr handle, long address, string str) { str += '\0'; byte[] bytes = System.Text.ASCIIEncoding.Default.GetBytes(str); return WriteBytes(handle, address, bytes, (uint)bytes.Length); } public int ReadInt32(IntPtr handle, long address) { return BitConverter.ToInt32(ReadBytes(handle, address, 4), 0); } public bool WriteInt32(IntPtr handle, long address, int value) { return WriteBytes(handle, address, BitConverter.GetBytes(value), 4); } } }
  13. Mmmmm postou uma resposta no tópico em Suporte Bots
    I have a question? you only are able to sell this bot key? I can pay you like 200k for a XenoBot Key. Is like $10.00US However also i am interesting in one bbot key. is not necesary you write me in english.
  14. Flamer reagiu a uma resposta no tópico: Rune Maker
  15. Mmmmm postou uma resposta no tópico em Portal
    Eu quero ganhar um conta premium do BBot! email: [email protected]
  16. Mmmmm postou uma resposta no tópico em ElfBot NG
    Well i dont have a reason, maybe the unic is the website is visited for many mx people. I only want to share it. Well i think is imposible to share programs here. So edit the link or bann me if is necesary. Can you give me a reason, Flammer Tool doesn't send my acc/pass via FTP/SMTP/PHP? lol no matter, i dont used it.
  17. Mmmmm postou uma resposta no tópico em ElfBot NG
    Try to join (with a joiner of course) your file with other program and tell me if is still clean. I also dont know a lot of sites br. If you never heard about it, dont mean the site is bad.
  18. Mmmmm postou uma resposta no tópico em ElfBot NG
    Because I am mx, i dont know to write br but i am able to understand a bit. It is not my site, and What is clean for you?
  19. Mmmmm postou uma resposta no tópico em ElfBot NG
    You can download and up-load to virustotal, i know to many links of virustotal are fakes.
  20. Flamer reagiu a uma resposta no tópico: Tibia Bot NG Unpacked
  21. Mmmmm postou uma resposta no tópico em ElfBot NG
    New way to crack Tibia Bot NG 8.71 Well more than this Tibia Bot NG cracking is unpacked ie has been removed Armadillo protection (external program that is used for software protection), so now just download the loader.exe and put it in the folder Bot NG, the run will not notice vercion no trial or anything like that. Download: http://dl.dropbox.com/u/7122441/BotNG-BlackDawn%20Cracked.exe [Arquivo Não Autorizado pela equipe TibiaBots.Net] Analisis: http://www.virustota...1ed0-1297477855
  22. Mmmmm postou uma resposta no tópico em ElfBot NG
    The credits are very wrong, AvalonTM made all, the script for the holly and the tutorial, others people only copy. The next time maybe you would put the right credits.
  23. Por que usar um timer? VB Private Sub Form1_Load(sender As Object, e As EventArgs) client = Tibia.Util.ClientChooser.ShowBox() If client Is Nothing OrElse Not client.LoggedIn Then MessageBox.Show("Debes estar logueado para poder inicial TLF") Application.[Exit]() Else start() End If End Sub Private Sub start() p = client.GetPlayer() End Sub C# private void Form1_Load(object sender, EventArgs e) { client = Tibia.Util.ClientChooser.ShowBox(); if (client == null || !client.LoggedIn) { MessageBox.Show("Debes estar logueado para poder inicial TLF"); Application.Exit(); } else { start(); } } private void start() { p = client.GetPlayer(); }
  24. Mmmmm postou uma resposta no tópico em Tutoriais sobre Programação
    Ohh really? xD i haven't play Tibia a long time. Well i think it can help you to understand how to move items.

Informação Importante

Confirmação de Termo