iholston / lol-bot

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

the system cannot find the specified file #186

Closed lolboter closed 6 months ago

lolboter commented 6 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 6 months ago

remove the 'Game' part of the path.

F:\Lol\League of Legends

should work.

lolboter commented 6 months ago

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

iholston commented 6 months ago

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

lolboter commented 6 months ago

There is

iholston commented 6 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 6 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 6 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 6 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 6 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 6 months ago

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

iholston commented 6 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 6 months ago

i fixed after hours lol ty for the help

iholston commented 6 months ago

lol glad you got it to work