Closed grosicki closed 11 months ago
I would also like to point out that this is the first time I will be using such a 3rd party software. I'm a bit clueless, so I'm sorry if I'm considered weird. :(
The path of LoL are correct?
Your league of legends must be installed in a non-standard location. You need to update line 4 of constants.py with your league of legends installation path.
So I need to copy the League of Legends files to a different location and update the path to the files, right?
No, u need to change the folder paths for league in the code, if u need help u can send me the path of your league and i send u the files
I have run the bot once but when I want to run it again I get this problem
The path is incorrect, just look the // initial and \ after
I'm about to go crazy :D
@Legnatbird TW or DC would you like to help, I don't want to tire you by writing :(
I don't get tired bro, Im happy helping u, can add on dc with the username of github legnatbird
OK then, my English is not very good but I will try to understand you as much as I can!
So this issue is with the authentication to riot, basically the bot cannot log in. The line
RIOT_CLIENT_LOCKFILE_PATH = os.getenv('LOCALAPPDATA') is where the problem most likely is.
Try looking in C:/Users/{Your user name}/AppData/Local/Riot Games/Riot Client/Config/lockfile and see if that file exists
@iholston There is something I don't understand, or rather I am confused. I copied the game files from disk D, where League of Legends is installed, to disk C. Should I delete the League of Legends folder on disk D?
Also, it's Python now and I will reinstall the mod from the beginning.
That is not necessary, you only need to tell the bot where the Riot Client lockfile is by updating the constants.py file.
@iholston the bot works but instead of starting league of legends it opens this menu I'm about to go crazy haha :D
I'm sorry my friend, you need to understand what a "path" is before you can get this bot to work. I recommend uninstalling league entirely and installing it in the default places that it recommends and then uninstalling and reinstalling the script as well. But beyond this I cannot help you.
Actually, after reviewing your log output, it looks like you had it working fine and maybe just had a bad username and password?
did you put your username and password into the accounts.py file?
no I didn't write the username and password. i will try.
put it in parenthesis
return '159951Abc'
not
return 159951Abc
result
oh i ddnt even see, you need to put it in the return line in parenthesis
db request username where level < 30 def get_username(): return 'yourusername'
db request password where username == username def get_password(): return '159951Abc'
db set level to 30 where username == username def set_account_as_leveled(): pass
I did what you said and now this is the next error :D either I am an incompetent person or I don't understand about my computer, I really tire you too much, I apologize.
try running the launcher as administrator
when I want to run it as administrator;
I moved the game's files to folder C and updated the path with the files in folder C. This is the error I am actively getting now.
there is a file called Launcher.bat, run that as administrator
there is a file called Launcher.bat, run that as administrator
I already run Launcher.bat as administrator, but I get the screen I shared in the screenshot.
@iholston Is there any chance you can help via TeamViewer or AnyDesk?
No unfortunately not my friend. I do wish you the best, whatever your original setup was would have worked with the new username and password setup.
The screenshot I have attached shows the problem I am experiencing. Can you help me, am I missing any action application?