MrBot Update!

02/20/2011 16:51 GRB#1
From previous thread that was closed!

This version now works on x86 and x64 machines!

Or at least is intended to work on both machines, since i changed some code, it should be working.

Plz post here if u keep getting any error, and on what machine ur, if x64 or x86.

Best Regards
GRB


[Only registered and activated users can see links. Click Here To Register...]
02/20/2011 17:31 -Hauro-#2
Quote:
Originally Posted by killer5000i View Post
a bot for lague of legends is not needed.

its a great game and shouldnt be hack.
No Brainer ??? This is a Cheat-Forum go to official or leagucraft if u want no cheats ...
Hope it works now Ty GRB great work !
02/20/2011 17:45 GRB#3
Its gaving me an error when start to read the offsets, u guys having the same error?
02/20/2011 17:51 Hartz IV Empfänger#4
i have x86 and i can open the menu, but if i start a game nothing happens... and after ~2minutes a windows comes with a error with net framework, i have net framework 4.0
02/20/2011 18:01 GRB#5
Quote:
Originally Posted by RayManD View Post
i have x86 and i can open the menu, but if i start a game nothing happens... and after ~2minutes a windows comes with a error with net framework, i have net framework 4.0
i know, this version is even more bugged then the other one, and i know what error ur having, is the target error offsets, since if u dont click on any target at the start of the game, it will gave u that error, couse hes trying to fill the bar will a value of 999999999 while the maxed allowed is 100. That error i know, and it only happens after 2m couse i set a timer of 2m to game load into the actual game. You can solve ur problem by selecting a target at the start of the game, even a team m8, or press continue when the error appears.

And now i know why this is not working on x64 again, couse i still used a dependancy of fasm.dll and that was build to only work on x86. Need to redo all the code from scratch, i will post here all the code i done, since im gona redo it all over again to work on x86 and x64.
02/20/2011 18:03 GRB#6
Ok heres the source code of this project, all offsets are up to date.

Code:
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.Runtime.InteropServices;
using System.Globalization;
using MM;

namespace MrBot
{
    public partial class frmmain : Form
    {
        public frmmain()
        {
            InitializeComponent();
            timer1.Start();
        }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands")]
        public void timer1_Tick(object sender, EventArgs e)
        {
            //Player Reset Stats
            picboxplayer.Image = global::MrBot.Properties.Resources.NotAvailiable;
            lblplayerlvl.Text = "LvL: ";
            lblplayerhp.Text = "0/0";
            lblplayermana.Text = "0/0";
            probarplayerhp.Value = 0;
            probarplayermana.Value = 0;
            lblplayerattpower.Text = "Attack Power: ";
            lblplayerabpower.Text = "Ability Power: ";
            lblplayerattspeed.Text = "Attack Speed: ";
            lblplayermovespeed.Text = "Move Speed: ";
            lblplayerarmorres.Text = "Armor Res: ";
            lblplayermagicres.Text = "Magic Res: ";
            lblpmoney.Text = "Player Money: ";

            //Target Reset Stats
            picboxtarget.Image = global::MrBot.Properties.Resources.NotAvailiable;
            lbltargetlvl.Text = "LvL: ";
            lbltargethp.Text = "0/0";
            lbltargetmana.Text = "0/0";
            probartargethp.Value = 0;
            probartargetmana.Value = 0;
            lbltargetattpower.Text = "Attack Power: ";
            lbltargetabpower.Text = "Ability Power: ";
            lbltargetattspeed.Text = "Attack Speed: ";
            lbltargetmovespeed.Text = "Move Speed: ";
            lbltargetarmorres.Text = "Armor Res: ";
            lbltargetmagicres.Text = "Magic Res: ";
            lbltargetcritical.Text = "Critical Strike: ";

            //Set the setting to start/restart the program
            listBox1.Items.Clear();
            listBox1.Items.Add("Waiting on League of legends...");
            chboxzoomhack.Enabled = true;
            chboxzoomhack.Checked = false;

            //Look if the game is running or not
            if (Process.GetProcesses().Any(prc => prc.ProcessName.Contains("League of Legends")))
            {
                timer3.Start();
                timer1.Stop();
            }
        }

        //Start the hacks/bot here
        public void timer2_Tick(object sender, EventArgs e)
        {
            MemoryManager lol = new MemoryManager();

            lol.OpenProcessAndThread(SProcess.GetProcessFromProcessName("League of Legends"));

            listBox1.Items.Clear();
            listBox1.Items.Add("Hooked on League of Legends");
            listBox1.Items.Add("Gathering character information...");
            listBox1.Items.Add("");

            //Set the offsets to what we need for player
            uint baseLOLpchamp = lol.ReadUInt(lol.ReadUInt(0x9E7F70)+0x3F0)+ 0x59E;
            string champ = lol.ReadASCIIString((uint)baseLOLpchamp, 256);
            uint baseLOLp = lol.ReadUInt(lol.ReadUInt(0x9E7FB4) + 0xCC);
            uint baseLOLpfloat = lol.ReadUInt(lol.ReadUInt(0x9E7FB4) + 0xC8);
            uint baseLOLplvl = lol.ReadUInt((baseLOLp) + 0x150);
            int baseLOLphp = lol.ReadInt((baseLOLp) + 0x140);
            int baseLOLphpmax = lol.ReadInt((baseLOLp) + 0x144);
            int baseLOLpmana = lol.ReadInt((baseLOLp) + 0x148);
            int baseLOLpmanamax = lol.ReadInt((baseLOLp) + 0x14C);
            int baseLOLpmoney = lol.ReadInt((baseLOLpfloat) + 0xF0);
            float baseLOLpattpower = lol.ReadFloat((baseLOLpfloat) + 0x108);
            float baseLOLpabpower = lol.ReadFloat((baseLOLpfloat) + 0x100);
            float baseLOLpattspeed = lol.ReadFloat((baseLOLpfloat) + 0x10C);
            float baseLOLpmovespeed = lol.ReadFloat((baseLOLpfloat) + 0x118);
            float baseLOLparmorres = lol.ReadFloat((baseLOLpfloat) + 0x104);
            float baseLOLpmagicres = lol.ReadFloat((baseLOLpfloat) + 0x114);

            //Radar

            //Set the offsets to what we need for target
            uint baseLOLt = lol.ReadUInt(lol.ReadUInt(0x9E7FB4) + 0xD8);
            uint baseLOLtlvl = lol.ReadUInt((baseLOLt) + 0x1D8);
            int baseLOLthp = lol.ReadInt((baseLOLt) + 0x1C8);
            int baseLOLthpmax = lol.ReadInt((baseLOLt) + 0x1CC);
            int baseLOLtmana = lol.ReadInt((baseLOLt) + 0x1D0);
            int baseLOLtmanamax = lol.ReadInt((baseLOLt) + 0x1D4);
            float baseLOLtattpower = lol.ReadFloat((baseLOLt) + 0x7B0);
            float baseLOLtabpower = lol.ReadFloat((baseLOLt) + 0x7A8);
            float baseLOLtattspeed = lol.ReadFloat((baseLOLt) + 0x7B4);
            float baseLOLtmovespeed = lol.ReadFloat((baseLOLt) + 0x7C0);
            float baseLOLtarmorres = lol.ReadFloat((baseLOLt) + 0x7AC);
            float baseLOLtmagicres = lol.ReadFloat((baseLOLt) + 0x7BC);
            float baseLOLtcrit = lol.ReadFloat((baseLOLt) + 0x7B8);

            //Set the player info
            if (champ == "Ryze")
                picboxplayer.Image = global::MrBot.Properties.Resources.RyzeSquare;
            else if (champ == "Garen")
                picboxplayer.Image = global::MrBot.Properties.Resources.GarenSquare;
            else if (champ == "Bowmaster")
                picboxplayer.Image = global::MrBot.Properties.Resources.AsheSquare;
            else if (champ == "Annie")
                picboxplayer.Image = global::MrBot.Properties.Resources.AnnieSquare;
            else if (champ == "SadMummy")
                picboxplayer.Image = global::MrBot.Properties.Resources.AmumuSquare;
            else if (champ == "Cryopheonix")
                picboxplayer.Image = global::MrBot.Properties.Resources.AniviaSquare;
            else if (champ == "SteamGolem")
                picboxplayer.Image = global::MrBot.Properties.Resources.BlitzcrankSquare;
            else if (champ == "GreenTerror")
                picboxplayer.Image = global::MrBot.Properties.Resources.ChoGathSquare;
            else if (champ == "Corki")
                picboxplayer.Image = global::MrBot.Properties.Resources.CorkiSquare;
            else if (champ == "Pirate")
                picboxplayer.Image = global::MrBot.Properties.Resources.GangplankSquare;
            else if (champ == "Armsmaster")
                picboxplayer.Image = global::MrBot.Properties.Resources.JaxSquare;
            else if (champ == "Lich")
                picboxplayer.Image = global::MrBot.Properties.Resources.KarthusSquare;
            else if (champ == "Voidwalker")
                picboxplayer.Image = global::MrBot.Properties.Resources.KassadinSquare;
            else if (champ == "Judicator")
                picboxplayer.Image = global::MrBot.Properties.Resources.KayleSquare;
            else if (champ == "FallenAngel")
                picboxplayer.Image = global::MrBot.Properties.Resources.MorganaSquare;
            else if (champ == "Yeti")
                picboxplayer.Image = global::MrBot.Properties.Resources.NunuSquare;
            else if (champ == "Armordillo")
                picboxplayer.Image = global::MrBot.Properties.Resources.RammusSquare;
            else if (champ == "Jester")
                picboxplayer.Image = global::MrBot.Properties.Resources.ShacoSquare;
            else if (champ == "ChemicalMan")
                picboxplayer.Image = global::MrBot.Properties.Resources.SingedSquare;
            else if (champ == "Gemknight")
                picboxplayer.Image = global::MrBot.Properties.Resources.TaricSquare;
            else if (champ == "DarkChampion")
                picboxplayer.Image = global::MrBot.Properties.Resources.TryndamereSquare;
            else if (champ == "Cardmaster")
                picboxplayer.Image = global::MrBot.Properties.Resources.TwistedFateSquare;
            else if (champ == "Veigar")
                picboxplayer.Image = global::MrBot.Properties.Resources.VeigarSquare;
            else if (champ == "Wolfman")
                picboxplayer.Image = global::MrBot.Properties.Resources.WarwickSquare;
            else if (champ == " Chronokeeper")
                picboxplayer.Image = global::MrBot.Properties.Resources.ZileanSquare;
            else if (champ == "Shen")
                picboxplayer.Image = global::MrBot.Properties.Resources.ShenSquare;
            else if (champ == "Akali")
                picboxplayer.Image = global::MrBot.Properties.Resources.AkaliSquare;
            else if (champ == "Minotaur")
                picboxplayer.Image = global::MrBot.Properties.Resources.AlistarSquare;
            else if (champ == "Caitlyn")
                picboxplayer.Image = global::MrBot.Properties.Resources.CaitlynSquare;
            else if (champ == "Cassiopeia")
                picboxplayer.Image = global::MrBot.Properties.Resources.CassiopeiaSquare;
            else if (champ == "DrMundo")
                picboxplayer.Image = global::MrBot.Properties.Resources.DrMundoSquare;
            else if (champ == "Evelynn")
                picboxplayer.Image = global::MrBot.Properties.Resources.EvelynnSquare;
            else if (champ == "Ezreal")
                picboxplayer.Image = global::MrBot.Properties.Resources.EzrealSquare;
            else if (champ == "FiddleSticks")
                picboxplayer.Image = global::MrBot.Properties.Resources.FiddlesticksSquare;
            else if (champ == "Galio")
                picboxplayer.Image = global::MrBot.Properties.Resources.GalioSquare;
            else if (champ == "Gragas")
                picboxplayer.Image = global::MrBot.Properties.Resources.GragasSquare;
            else if (champ == "Heimerdinger")
                picboxplayer.Image = global::MrBot.Properties.Resources.HeimerdingerSquare;
            else if (champ == "Irelia")
                picboxplayer.Image = global::MrBot.Properties.Resources.IreliaSquare;
            else if (champ == "Janna")
                picboxplayer.Image = global::MrBot.Properties.Resources.JannaSquare;
            else if (champ == "Karma")
                picboxplayer.Image = global::MrBot.Properties.Resources.KarmaSquare;
            else if (champ == "Katarina")
                picboxplayer.Image = global::MrBot.Properties.Resources.KatarinaSquare;
            else if (champ == "Kennen")
                picboxplayer.Image = global::MrBot.Properties.Resources.KennenSquare;
            else if (champ == "KogMaw")
                picboxplayer.Image = global::MrBot.Properties.Resources.KogMawSquare;
            else if (champ == "Leblanc")
                picboxplayer.Image = global::MrBot.Properties.Resources.LeBlancSquare;
            else if (champ == "Lux")
                picboxplayer.Image = global::MrBot.Properties.Resources.LuxSquare;
            else if (champ == "Malphite")
                picboxplayer.Image = global::MrBot.Properties.Resources.MalphiteSquare;
            else if (champ == "Malzahar")
                picboxplayer.Image = global::MrBot.Properties.Resources.MalzaharSquare;
            else if (champ == "Maokai")
                picboxplayer.Image = global::MrBot.Properties.Resources.MaokaiSquare;
            else if (champ == "MasterYi")
                picboxplayer.Image = global::MrBot.Properties.Resources.MasterYiSquare;
            else if (champ == "MissFortune")
                picboxplayer.Image = global::MrBot.Properties.Resources.MissFortuneSquare;
            else if (champ == "Mordekaiser")
                picboxplayer.Image = global::MrBot.Properties.Resources.MordekaiserSquare;
            else if (champ == "Nasus")
                picboxplayer.Image = global::MrBot.Properties.Resources.NasusSquare;
            else if (champ == "Nidalee")
                picboxplayer.Image = global::MrBot.Properties.Resources.NidaleeSquare;
            else if (champ == "Olaf")
                picboxplayer.Image = global::MrBot.Properties.Resources.OlafSquare;
            else if (champ == "Pantheon")
                picboxplayer.Image = global::MrBot.Properties.Resources.PantheonSquare;
            else if (champ == "Poppy")
                picboxplayer.Image = global::MrBot.Properties.Resources.PoppySquare;
            else if (champ == "Renekton")
                picboxplayer.Image = global::MrBot.Properties.Resources.RenektonSquare;
            else if (champ == "Sion")
                picboxplayer.Image = global::MrBot.Properties.Resources.SionSquare;
            else if (champ == "Sivir")
                picboxplayer.Image = global::MrBot.Properties.Resources.SivirSquare;
            else if (champ == "Sona")
                picboxplayer.Image = global::MrBot.Properties.Resources.SonaSquare;
            else if (champ == "Soraka")
                picboxplayer.Image = global::MrBot.Properties.Resources.SorakaSquare;
            else if (champ == "Swain")
                picboxplayer.Image = global::MrBot.Properties.Resources.SwainSquare;
            else if (champ == "Teemo")
                picboxplayer.Image = global::MrBot.Properties.Resources.TeemoSquare;
            else if (champ == "Tristana")
                picboxplayer.Image = global::MrBot.Properties.Resources.TristanaSquare;
            else if (champ == "Trundle")
                picboxplayer.Image = global::MrBot.Properties.Resources.TrundleSquare;
            else if (champ == "Twitch")
                picboxplayer.Image = global::MrBot.Properties.Resources.TwitchSquare;
            else if (champ == "Udyr")
                picboxplayer.Image = global::MrBot.Properties.Resources.UdyrSquare;
            else if (champ == "Urgot")
                picboxplayer.Image = global::MrBot.Properties.Resources.UrgotSquare;
            else if (champ == "Vladimir")
                picboxplayer.Image = global::MrBot.Properties.Resources.VladimirSquare;
            else if (champ == "XenZhao")
                picboxplayer.Image = global::MrBot.Properties.Resources.XinZhaoSquare;
            else { picboxtarget.Image = global::MrBot.Properties.Resources.NotAvailiable; }

            lblplayerlvl.Text = "LvL: " + baseLOLplvl;
            lblplayerhp.Text = baseLOLphp + "/" + baseLOLphpmax;
            lblplayermana.Text = baseLOLpmana + "/" + baseLOLpmanamax;
            probarplayerhp.Maximum = baseLOLphpmax;
            probarplayerhp.Value = baseLOLphp;
            probarplayermana.Maximum = baseLOLpmanamax;
            probarplayermana.Value = baseLOLpmana;
            lblplayerattpower.Text = "Attack Power: " + (uint)baseLOLpattpower;
            lblplayerabpower.Text = "Ability Power: " + (uint)baseLOLpabpower;
            lblplayerattspeed.Text = "Attack Speed: " + baseLOLpattspeed;
            lblplayermovespeed.Text = "Move Speed: " + baseLOLpmovespeed;
            lblplayerarmorres.Text = "Armor Res: " + (uint)baseLOLparmorres;
            lblplayermagicres.Text = "Magic Res: " + (uint)baseLOLpmagicres;
            lblpmoney.Text = "Player Money: " + baseLOLpmoney;

            //Set the target info
            lbltargetlvl.Text = "LvL: " + baseLOLtlvl;
            lbltargethp.Text = baseLOLthp + "/" + baseLOLthpmax;
            lbltargetmana.Text = baseLOLtmana + "/" + baseLOLtmanamax;
            probartargethp.Maximum = baseLOLthpmax;
            probartargethp.Value = baseLOLthp;
            probartargetmana.Maximum = baseLOLtmanamax;
            probartargetmana.Value = baseLOLtmana;
            lbltargetattpower.Text = "Attack Power: " + (uint)baseLOLtattpower;
            lbltargetabpower.Text = "Ability Power: " + (uint)baseLOLtabpower;
            lbltargetattspeed.Text = "Attack Speed: " + baseLOLtattspeed;
            lbltargetmovespeed.Text = "Move Speed: " + baseLOLtmovespeed;
            lbltargetarmorres.Text = "Armor Res: " + (uint)baseLOLtarmorres;
            lbltargetmagicres.Text = "Magic Res: " + (uint)baseLOLtmagicres;
            lbltargetcritical.Text = "Critical Strike: " + baseLOLtcrit;

            if (chboxzoomhack.Checked == true)
            {
                string zoompat = "F3 0F 11 05 00 00 00 00 5F 5E B0 01 5B 59";
                string zoommask = "xxxx????xxxxxx";

                uint zoomhack = lol.FindPattern(zoompat, zoommask);
                byte[] nop = { 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90 };

                lol.WriteBytes(zoomhack, nop);
                chboxzoomhack.Enabled = false;
            }
            timer2.Stop();
            timer4.Start();
        }

        //Waiting time to load all things till the game start
        public void timer3_Tick(object sender, EventArgs e)
        {
            timer2.Start();
            timer3.Stop();
        }

        //Check if the game still running and if not restart the program
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands")]
        public void timer4_Tick(object sender, EventArgs e)
        {
            if (Process.GetProcesses().Any(prc => prc.ProcessName.Contains("League of Legends")))
            {
                timer2.Start();
                timer4.Stop();
            }
            else
            {
                timer1.Start();
                timer4.Stop();
            }
        }
    }
}
Enjoy
02/20/2011 18:07 Warcry54#7
Quote:
Originally Posted by GRB View Post
From previous thread that was closed!

This version now works on x86 and x64 machines!

Or at least is intended to work on both machines, since i changed some code, it should be working.

Plz post here if u keep getting any error, and on what machine ur, if x64 or x86.

Best Regards
GRB


[Only registered and activated users can see links. Click Here To Register...]
can you tell me what that one here is?

[Only registered and activated users can see links. Click Here To Register...]


if i open the bot i get 2 .exe's open, that looks suspicous.
02/20/2011 18:17 GRB#8
Quote:
Originally Posted by bilal2504 View Post
can you tell me what that one here is?

[Only registered and activated users can see links. Click Here To Register...]


if i open the bot i get 2 .exe's open, that looks suspicous.
Thats strange, dont happens here. And from what u can see the source code is above, and its not calling anything other then Mrbot.exe.
02/20/2011 18:51 -Hauro-#9
Quote:
Originally Posted by bilal2504 View Post
can you tell me what that one here is?

[Only registered and activated users can see links. Click Here To Register...]


if i open the bot i get 2 .exe's open, that looks suspicous.
Das ist ein Prozess von Windows ! Er hilft bei der Fehlerberichtserstattung das kommt wohl da das ganze so verbuggt ist !
02/20/2011 19:05 GRB#10
Heres the full source code, for all of you that says its a virus, enjoy it

[Only registered and activated users can see links. Click Here To Register...]
02/20/2011 20:20 koelion#11
dont want open stil. i have windows 7 x32
02/20/2011 20:59 shakib187#12
What does this do? ok I saw RBGs project thread before and I ask does last hit one work in this version? also I start then it crashes I'm using win7 prox86 I see werfault then it goes away after error reporting
02/20/2011 21:04 koelion#13
Nothink
02/21/2011 19:34 TheAldi#14
Just Crashes before someting happens ...
02/21/2011 21:07 raresumo#15
This is the worst crap I've ever seen coded. I especially like the terrible use of timers and 70 comparison deep if..elseif..else structure and the lack of a minion seeking algorithm he claimed was in the source but "unreleased". He also heavily uses an API wrapper he doesn't understand and his comments look pulled directly from a template. There's nothing of value in this topic, GRB has brought nothing to the table.