Code Monkey home page Code Monkey logo

league-of-legends-bot's Introduction

Welcome to LeagueBot.

This project is deprecated.

  • League of legends bot is a pixel bot for League Of Legends 10.19, written in C# .NET using image processing (image & text recognition), Interop and scriptting engine.
  • This software is opensource and free feel free to create a pull request!
  • It's a good way to raise your account level 30 without having to play or simply to win blue essences.

Version: League of Legends 10.19

This product is used to work with other program/service (League of Legends) so you take full responsibility for breaking their Terms of Service and full responsibility for the accounts that you’re using with this bot and agree to use it at your own risk.

Current Features

  • Start a Coop Game
  • Follow the strongest Ally
  • Cast spells on champions and minions
  • Back and buy items when weak
  • End game, earn experience
  • Loop 👨‍🌾🐿️

Installation

Requirements :

  • Actual League Of Legends client
  • A League of legends account
  • A monitor with a 1920 * 1080 screen resolution.
  • .NET framework 4.7 installed on computer.

Author

Special Thanks

  • Arecki - For his help with LCU Api.

league-of-legends-bot's People

Contributors

buiko32 avatar c2bw avatar ccentrixx avatar dependabot[bot] avatar erszzz avatar glenndilen avatar kbakdev avatar kevdah avatar mkmark avatar nezitro avatar skinz3 avatar umbranominis avatar wafend avatar whyanamewhy avatar zorbuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

league-of-legends-bot's Issues

EmptyPage Error

I do every setttings correctly but its say EmptyPage always but old coop not say that but old coop just playing shit and do something stupitly

Bot is Stuck in Coop

The Bot gets stuck when he tries to follow a player who is at the base because he clicks the shop and can't close the shop menu

Error

I have problem, I launched the bot but once it got into the match it was still on main menu where it says "Game is still in progress..."

This is what command line said:

(StartAramPattern): Press Play Button Duration:1s
(StartAramPattern): Press Coop Against IA MButon Duration:0.5s
(StartAramPattern): Press Begginner Button Duration:0.5s
(StartAramPattern): Press Play Button Duration:3s
(StartAramPattern): Press Play Button Duration:3s
(StartAramPattern): Finding match... Duration:2s

Is there anyway to fix this problem? I seen someone else here having the same problem.

some questions plz

Hey bro:

i'm a new programmer (( C.C++.Java)) interested in Auto bot for League of Legends , wanna ask some questions for u.

  1. What parts should i learn about C# and .NET to make a shape of this program like you ?

  2. Is possible to make auto bot with Autoit ?
    cause i cant invoke mouse in LOL Client interface , i dont know the problem is on me or Riot setting?

thanks for your response first , i'm very interested in it , hope you can help me...

A little mistake in "EndCoop.cs".

In the 35 line from EndCoop.cs you used the if, but when happen more the one reward, the screen stay locked. I switched the if to while and now is totally working.

Bot cannot read the process

There is listing:

Enter a pattern filename, type 'help' for help.
Coop
Pattern : Coop (safe)
Waiting for league of legends process...

I think it might be due to the recent update.

Where is the variable with the process name stored?

Enable cooperation with programms like Deceive to mask your onlinestatus.

Quite simple:
Enable to possibility to set a start-way for the "new Client" using Deceive (https://github.com/molenzwiebel/Deceive/releases).
This would allow you to apear offline even you restart your client after each game. If you just enable it before the first one, Decive will be closed after the first game and your status wont be masked from there on.

Would love to see this feature.

Idea how to change it:
Implent the possibility to set a path for an alternative Riot Client Starter named "RiotClient2.exe" or even just "Deceive.exe" and allow decive to start the game every time the bot starts it again.

Not working

(StartAramPattern): Press Play Button Duration:1s
(StartAramPattern): Press Coop Against IA MButon Duration:0.5s
(StartAramPattern): Press Begginner Button Duration:0.5s
(StartAramPattern): Press Play Button Duration:3s
(StartAramPattern): Press Play Button Duration:3s
(StartAramPattern): Finding match... Duration:2s

In Game Problem

While in game, the bot sometimes bacs, returns to lane, and only when he is on lane tries to buy items, but as he cant, he just goes afk

Afk clicking on launcher client (sorry)

The bot works perfect from the start and automatically starts ARAM.

When loading in the game it keeps clicking on the other client, so the actual game client is behind the launcher client. So it stays afk in base.

I changed the process names within the file ''leagueconstants'' with notepad ++ and saved it. Still got stuck.
It got to this message:
(StartAramPattern): Press Play Button Duration:1s
(StartAramPattern): Press Coop Against IA MButon Duration:0,5s
(StartAramPattern): Press Begginner Button Duration:0,5s
(StartAramPattern): Press Play Button Duration:3s
(StartAramPattern): Press Play Button Duration:3s

Thanks in advance!
Your friendly neighbour from belgium :)

Unhandled Exception: Leaf.xNet.HttpException

I have downloaded the zip, extracted the folder onto my desktop in an uncompressed folder, set the account.txt to my account, champlist which has one champ on each line 'missfortune' 'ahri' and 'sivir' (without quotes). I have set my monitor resolution to 1920x1080 and my client res to 1600 * 900

I open LeagueBot.exe as admin, and type 'StartCoop'. This is what I get: How do I fix this and why is it happening?

LeagueBot Error

In game problem

Ok, the bot walks and throw skills, but it doesn't lvl up any skills past lvl 2 and don't buy any items. Is it something I didn't configured? Please help :)

Doesnt work

Hi, when i run the leaguebot.exe it opens the cmd but nothing happens, just black cmd. I would love to use the bot that u made.
I will wait for your reply, ty.

Is Coop.cs in development?

I have changed the "OldCoop" parameter with "Coop" (which seems to be MUCH better) and then ran the StartCoop like usually, yet after loading the game, logs show up on the LeagueBot client about an empty page.

Not working

Have all installed, nothing works. My league is on D disk not on C

Detected as a Trojan

I tried to download it just to find that windows saw it as a Trojan. I bypassed this but then ran the file through VirusTotal to find that 7 programs recognized it as something malicious. Are these just false positives? Can anyone confirm that this program doesn't have any suspicious processes running in the background? It looks like a legit bot, but you never know if people are sneaking in keyloggers or whatnot.

nothing happens

Is it no longer working for patch 9.19?
I have everything properly set up, resolutions, .net framework 4.5+, but when I open the bot cmd pops up and completely blank black, nothing happens.

Bot is stuck

Everything works perfect before game is loading. I have a launcher client , and the game client open. It keeps letting the launcher client on the foreground. So it keeps clicking on it (the actual game client ''league of legends TM client) is behind the launcher. I got all the resolutions right and i have the right framework. I have added you on discord aswell. Sorry for this, i was really happy because im searching for a for a month now. Sorry for my english and thank you very much for having this bot up, i just a need a little help to make it work. Thank you!

Hey

Nice Trojan ;-)

Weird error trying to run this.

i got a weird error when i try to execute this in game.

'LeagueBot.vshost.exe' (CLR v4.0.30319: LeagueBot.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Cannot find or open the PDB file. 'LeagueBot.vshost.exe' (CLR v4.0.30319: LeagueBot.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'. Cannot find or open the PDB file. 'LeagueBot.vshost.exe' (CLR v4.0.30319: LeagueBot.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Cannot find or open the PDB file. 'LeagueBot.vshost.exe' (CLR v4.0.30319: LeagueBot.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Cannot find or open the PDB file. 'LeagueBot.vshost.exe' (CLR v4.0.30319: LeagueBot.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Cannot find or open the PDB file. 'LeagueBot.vshost.exe' (CLR v4.0.30319: LeagueBot.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'. Cannot find or open the PDB file. The thread 0x22d4 has exited with code 0 (0x0). The thread 0x4df0 has exited with code 0 (0x0). The program '[XXXX] LeagueBot.vshost.exe' has exited with code 0 (0x0).

Edit1: i fixed the messages, but i guest is not detecting the league process and close the tool, i change the process name to "League of Legends (TM) Client" and dont work either.

Edit2: it does detect the game but console closes without any further error... im trying to implement the SummonersRiftPattern...

Regards.-

New items shop out (bot not working)

Hello, So today the new item shops comes out with the new HUD And sadly the bot isnt working at all, it doesnt buy items and doesnt follow allies at all, we need new update that will fit with the new version of the shop

Bot not working

(StartAramPattern): Press Play Button Duration:1s
(StartAramPattern): Press Coop Against IA MButon Duration:0.5s
(StartAramPattern): Press Begginner Button Duration:0.5s
(StartAramPattern): Press Play Button Duration:3s
(StartAramPattern): Press Play Button Duration:3s
(StartAramPattern): Finding match... Duration:2s

I followed the instructions but I get the above message and nothing happens besides my mouse moving around erratically. I would greatly appreciate your help!

Right now my steps are (after making sure client size is 1600 * 900 and in game size is 1024*768 and the mode to windowed:

  1. Open up league of legends client, log in, go to home page
  2. Open up league of legends bot by clicking on the League-Of-Legends-BOT/Executable/LeagueBot.exe

Is there anything else I need to do to get this to work? I did notice that when trying to install 4.5 .NET version that it told me I already had a higher version - perhaps this is where the error is? I've attached a screenshot of my version.

Here is a screenshot of the error:

net2

Here is a screenshot of the .NET version on my computer

net

Help?

Hey just saw your bot and to me it doesnt seem to work, my client resolution can do only 1280x720 and in-game resolution and windowed mode are fine.
The bot starts but it doesnt do anything, mouse moving randomly and it only goes to the client but its doing nothing. Thanks in advance :)

Loading game problem

Hi i activated the bot and started it but when it gets to champion select stops working and doesnt do anything.

Updater Doesn't Work

Unable to install update. Error:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'F:\LeagueBot\repo\League-Of-Legends-BOT-master\Binaries'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator1.CommonInit() at System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path)
at LeagueBot.Updater.MainWindow.Install()
at LeagueBot.Updater.MainWindow.WebClient_DownloadFileCompleted(Object sender, AsyncCompletedEventArgs e)

Can I get ban?

Hello!
Can I get ban for using this?
I see it is safe, is it?

Thank you!

need update

client is updated , different click emplacements

Meme Probleme

Salut ,

Je te remercie tout d'abord d'avoir partager ton programme avec nous, ensuite j'ai le meme probleme que tous les autres qui ont posté , j'ai passé des heures à faire des tests sans que ca change quelque chose :
//
public const string LoL_VERSION = "9.2";

    public const string LoL_LAUNCHER_PROCESS = "LeagueClientUx";
    public const string LoL_GAME_PROCESS = "League of Legends";

//
J'ai mis à jour la version du jeu c'est à dire 9.2 au lieu de 8.9 , le nom des deux process sont identiques à ce que j'ai chez moi donc j'arrive vraiment pas à savoir ce qui cloche . Je te remercie d'avance pour ton aide :)

Does not work for me

when I execute it here's what happpen ;
Running startAram.lua
Waiting for league client process...
Waiting for league client to load.

and it stops there any reason ?

update has broken it

Nothing happens when the league bot is executed, does this program still get updated?

Bot Closes after i start it.

Hello There, So i am old user for this bot but right now i have an issue, when i start the bot it just starts normally then stays for like 5-10 seconds and the bot window just closes down and it dont do anything, i did all the setting of my monitor and my Client just like u said but still it doesnt work and same thing happens over and over agian so what can i do to fix this?

Bot doesn't execute any actions past the loading screen

It doesn't choose a champion in the gamemodes other than ARAM, because it's chosen automatically there. Once the game goes past champion select and onto the loading screen and game, the bot doesn't do anything anymore, it just gets kicked for being afk.

I have all the resolutions correct. I'm on windows 10.

summonerId must be long

Unhandled Exception: Newtonsoft.Json.JsonReaderException: JSON integer 2561381214914112 is too large or small for an Int32. Path 'summonerId', line 1, position 357.

Cyber Pass

Bot isn't recognizing window with Cyber Pass rewards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.