Comments (42)
@mbelhaouz I am not planning on adding any features regarding image computing atm as the bot does everything I need it to, and I don't like being locked into a specific resolution.
If you would like to fork the repo and implement it yourself the best place to start would most likely be pyautogui and opencv for image recognition which would be resolution specific or if you want to go more in depth i would recommend learncodebygaming's tutorials on vision recognition to create a machine learning solution that is resolution independent.
from lol-bot.
from lol-bot.
from lol-bot.
This sometimes happens if you do not have a real mouse plugged in. Is there a mouse plugged in on your setup?
from lol-bot.
from lol-bot.
Can you send some screenshots?
from lol-bot.
@iholston do you got discord to discuss in real time please?
or add me on discord : Mahdi#9830
from lol-bot.
from lol-bot.
When i tab out of league it starts clicking on everything but not in league also it changes my settings in game the resolution and window settings На пт, 5.05.2023 г. в 20:50 ч. Isaac Holston @.> написа:
…
Can you send some screenshots? — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5JQVCJKUVVKOHQ65JEERGDXEU4VLANCNFSM6AAAAAAXXKZV4I . You are receiving this because you authored the thread.Message ID: @.>
@iholston do you got discord to discuss in real time please? or add me on discord : Mahdi#9830
Can you send some screenshots?
hello, what was the solution? I have the same problem
from lol-bot.
@DenisDanov @anaquierealgo the bot has use the mouse and keyboard to play the game. You unfortunately cannot be using your computer at the same time. I would recommend running the bot when you go to sleep and/or work if you only have one computer. Alternatively, you can try and get it running in a vm. But that may come with its own issues, see #6
from lol-bot.
As for it changing the window size/resolution, those settings are to ensure that the ratios work correctly. you can try changing the game.cfg file in resources and setting the Height and Width to whatever you like. But the mouse clicks might not work as intended.
If that is something you want to do you can use the ratio_builder.py to find new ratios for the buttons and/or modify the game.py file to suit your needs.
from lol-bot.
from lol-bot.
from lol-bot.
The intent of this bot is to level brand new accounts. The bot will only be able to purchase items if the shop is the the default spot. It clicks on an item and then clicks on the purchase button. if something is blocking the purchase button or the shop is in a non-default position then it wont be able to buy anything. As for moving, it right clicks on the nexus on the minimap.
from lol-bot.
if the clicking is altogether not working, Im not sure what exactly the problem or the solution could be.
from lol-bot.
from lol-bot.
Without some screenshots of or something more specific, I cannot really help you figure this out.
from lol-bot.
Without some screenshots of or something more specific, I cannot really help you figure this out.
This is how the window of the client works and the cmd window it looks like everything works, but for example if i tab to the cmd window my mouse will move and click but when its in league it doesnt click thats the issue.
from lol-bot.
Without some screenshots of or something more specific, I cannot really help you figure this out.
This is how the window of the client works and the cmd window it looks like everything works, but for example if i tab to the cmd window my mouse will move and click but when its in league it doesnt click thats the issue.
this is offscreen ping window always shows up when i get into game too
from lol-bot.
Okay! So make sure the cmd is minimized all the clicks/button presses should go to the league game. the issue might be simply that another window (in this case cmd) is getting the clicks instead.
The league client works without mouse clicks because the bot communicates with the LCU API. The actual league game that opens afterward must be the active window to receive the clicks/button pressed the bot tries to make to play the game. The off-screen pings popup shouldnt effect anything as long as the league game window is on top.
from lol-bot.
¡Bueno! Así que asegúrese de que el cmd esté minimizado, todos los clics/pulsaciones de botones deben ir al juego de la liga. el problema podría ser simplemente que otra ventana (en este caso, cmd) está recibiendo los clics.
El cliente de la liga funciona sin clics del mouse porque el bot se comunica con la API de LCU. El juego de liga real que se abre después debe ser la ventana activa para recibir los clics/botones presionados que el bot intenta hacer para jugar el juego. La ventana emergente de pings fuera de la pantalla no debería afectar nada mientras la ventana del juego de la liga esté en la parte superior.
look at you, the mouse clicks on the link when the client window is not selected
from lol-bot.
Okay! So make sure the cmd is minimized all the clicks/button presses should go to the league game. the issue might be simply that another window (in this case cmd) is getting the clicks instead.
The league client works without mouse clicks because the bot communicates with the LCU API. The actual league game that opens afterward must be the active window to receive the clicks/button pressed the bot tries to make to play the game. The off-screen pings popup shouldnt effect anything as long as the league game window is on top.
Well when i minimize the cmd window and league is the main window the mouse stops moving and clicking its like the bot isnt on
from lol-bot.
@anaquierealgo is that running in a vm? I dont see the mouse cursor in the video. I have about 5 bots running and I just cant seem to recreate this issue directly (same issue @DenisDanov is having I assume). The only way I can recreate something similar is if there is no mouse connected. It should work without a keyboard but if there is no mouse then the keyboard inputs won't work either. The bot uses python's pyautogui, keyboard, and mouse libraries for clicks/button presses.
from lol-bot.
@anaquierealgo¿Eso se ejecuta en una máquina virtual? No veo el cursor del mouse en el video. Tengo alrededor de 5 bots en ejecución y parece que no puedo recrear este problema directamente (el mismo problema@DenisDanoves tener supongo). La única forma en que puedo recrear algo similar es si no hay un mouse conectado. Debería funcionar sin teclado, pero si no hay mouse, las entradas del teclado tampoco funcionarán. El bot usa las bibliotecas pyautogui, teclado y mouse de python para hacer clic o presionar botones.
Look this, not is virtual. https://youtu.be/k3f_wjWgy5I
from lol-bot.
@anaquierealgo is that running in a vm? I dont see the mouse cursor in the video. I have about 5 bots running and I just cant seem to recreate this issue directly (same issue @DenisDanov is having I assume). The only way I can recreate something similar is if there is no mouse connected. It should work without a keyboard but if there is no mouse then the keyboard inputs won't work either. The bot uses python's pyautogui, keyboard, and mouse libraries for clicks/button presses.
Is it possible that the issue is in the libraries then ?
from lol-bot.
I tried it on another pc with a resolution of 1980x1080 and it works, could that be the problem?
from lol-bot.
I don't think the resolution is the problem, I run the bots on 2k resolution. It is most likely something specific to the first machine you were using.
from lol-bot.
Is it possible that the issue is in the libraries then ?
Yea, something about your setup is causing them to not work correctly.
from lol-bot.
from lol-bot.
Unfortunately I don't know how to fix your issue. It's not something wrong with the code so I can only recommend running it on a different setup. Let me know if you figure something out though.
from lol-bot.
@iholston i got an other question related to the features of the bot, are you planning to add some specific image computing to the bot so it can detect like ('ally', 'ennermy','towers'..) or any suggestions so i can do it myself.
Thanks for your time
from lol-bot.
Unfortunately I don't know how to fix your issue. It's not something wrong with the code so I can only recommend running it on a different setup. Let me know if you figure something out though.
I downloaded autoclicker so that way it doesnt kick me for afk in game but im level 21 already so bots games doesnt give me enough exp can u tell me how i can make the bot to start arams instead ?
from lol-bot.
I would not recommend aram for two reasons,
- you will be reported every game
- you don't get much more xp than beginner bots
But if you still would like to play arams instead, simply change constants.py:
GAME_LOBBY_ID = BEGINNER_BOTS_GAME_LOBBY_ID to
GAME_LOBBY_ID = 450
Best of luck!
from lol-bot.
No recomendaría aram por dos razones,
- serás reportado cada juego
- no obtienes mucho más xp que los bots principiantes
Pero si aún desea jugar arams, simplemente cambie constants.py: GAME_LOBBY_ID = BEGINNER_BOTS_GAME_LOBBY_ID a GAME_LOBBY_ID = 450
¡Toda la suerte!
Ty, Could you share your configuration so that the machine is not detected?
from lol-bot.
The current config of the repo is what I use. The bot itself will not be detected by riot games. However, the human players may report the bot if they think it is a bot. In beginner bot lobbies this doesn't happen because the bot behaves the way a new player would.
Aram, on the other hand, is filled with experienced players who may be able to tell that the bot is a bot and report it.
from lol-bot.
Hello im sorry for spamming here again but do u know any free working auto clicker for league ? i used murgee autoclicker but i found out its paid after some time
from lol-bot.
I don't know any particular auto clicker off the top of my head. It is, however, rather easy to make your own. I would using recommend AutoHotKey to write a short script to keep you from going afk.
from lol-bot.
uhh, i got that problom too
from lol-bot.
@enochos yea unfortunately this is not an issue with the software (as far as i can tell) but rather something with your set up. If you figure something out please let me know.
from lol-bot.
Hi, sorry for necro but i've had this problem and fixed it by running the launcher.bat with admin rights. Also edit the launcher and instead of cd scripts use cd "C:\Users\you\InstallLocation\lol-bot\scripts"
from lol-bot.
Hi, sorry for necro but i've had this problem and fixed it by running the launcher.bat with admin rights. Also edit the launcher and instead of cd scripts use cd "C:\Users\you\InstallLocation\lol-bot\scripts"
@Nubidubi23
So on one hand openning with admin rights, but what do you mean with the CD scripts? Can you help me, I have the same problem as the author...
Also I get this message when I open the launcher with admin right:
from lol-bot.
Open your launcher.bat in notepad or something and change "cd scripts" to "C:\Users\you\InstallLocation\lol-bot\scripts" (change "you" to your username and "InstallLocation" to where the bot is installed)
from lol-bot.
Related Issues (20)
- What is the probability of banning the accounts? HOT 1
- 404 Error HOT 1
- Handle username setting and dodging initial tutorial flow HOT 3
- Every account is getting banned HOT 8
- Hello add me to discord pls i have a project to you HOT 1
- Accept Terms of Service HOT 2
- 2.30 KeyError: 'level' HOT 2
- v2.3.0 BOT will stop after 24 hours. HOT 5
- a error HOT 1
- 400 error HOT 1
- Boy stays in jungle doesn’t go mid HOT 3
- Anyone know how to fine tune the bot?
- Bot doesn't buy items! HOT 1
- I’ve been banned 2 times now HOT 1
- not working HOT 1
- Banned after a few games (with a screenshot of the message) HOT 7
- Is the bot gonna be updated anytime soon? HOT 1
- BOT stops when other cheat users are present. HOT 1
- change onother champs HOT 2
- This script doesn't work. Does anyone know about the new method?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lol-bot.