iholston / lol-bot

An account leveling bot for League of Legends written in Python
MIT License
327 stars 54 forks source link

the system cannot find the specified file #186

Closed lolboter closed 10 months ago

lolboter commented 10 months ago

* image this is basically what happens to me when i try to launch it image and this is the configuration tab pls help

iholston commented 10 months ago

remove the 'Game' part of the path.

F:\Lol\League of Legends

should work.

lolboter commented 10 months ago

When i put that path it wont even lunch the bot bcs it says it cannot find path

iholston commented 10 months ago

is there a file named LeagueClient.exe in that folder?

lolboter commented 10 months ago

There is

iholston commented 10 months ago

in the F:\Lol\League of Legends folder or the F:\Lol\League of Legends\Game folder? LeagueClient.exe is usually installed in the "League of Legends" folder not the "League of Legends\Game" folder. there is a separate exe in the Game folder called League of Legends.exe and that is not the correct file.

lolboter commented 10 months ago

I was reffering to the leagueclient.exe wich is installed and i checked now in F:\Lol\League of Legends and when i out that path the bot wont load it says it cant find path

iholston commented 10 months ago

Try using forward slashes instead of backslashes. Otherwise, im not really sure why it won't run. If it can find F:\Lol\League of Legends\Game, then it should be able to find F:\Lol\League of Legends

lolboter commented 10 months ago

Does it maybe have something to do with the fact that i only downloaded python without the addons(things installed with -pip)

iholston commented 10 months ago

are you running the .exe? if so you don't need python. if you were running it with python the app would not work unless you installed the -pip requirements. If it is still not working i would reinstall League of Legends and try adding the path the the League of Legends directory to the bot.

lolboter commented 10 months ago

I was running the exe but i will put it into the directory and try it

iholston commented 10 months ago

no you don't need to put the exe in the directory of League of Legends. Just reinstall league and try adding the path on the config tab like you were doing before.

lolboter commented 10 months ago

i fixed after hours lol ty for the help

iholston commented 10 months ago

lol glad you got it to work