Closed onionmansz closed 8 months ago
Did you set usernames/passwords on the accounts tab?
Yes I did. @iholston
I think i figured out the issue and it should be fixed in the release tomorrow
Thanks. BTW how can I run a sample python script to handle login? And does it handle captcha?
Sent from my iPhone
On Mar 21, 2024, at 7:23 PM, Isaac Holston @.***> wrote:
I think i figured out the issue and it should be fixed in the release tomorrow
— Reply to this email directly, view it on GitHubhttps://github.com/iholston/lol-bot/issues/203#issuecomment-2014034614, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGCWZ3YRAS7LAJOVKGY54ZLYZNTWVAVCNFSM6AAAAABEOMBP72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJUGAZTINRRGQ. You are receiving this because you authored the thread.Message ID: @.***>
The bot should take care of the login if you put the credentials in the Accounts tab. There should not be a prompt for captcha if you use the riot client api to login.
Ah, you use the old endpoint?
For my own learning though, how could I replicate in Python or postman? Sent from my iPhone
On Mar 21, 2024, at 8:09 PM, Isaac Holston @.***> wrote:
The bot should take care of the login if you put the credentials in the Accounts tab. There should not be a prompt for captcha if you use the riot client api to login.
— Reply to this email directly, view it on GitHubhttps://github.com/iholston/lol-bot/issues/203#issuecomment-2014079306, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGCWZ3ZMGGSTRUDEJRACYLDYZNZB7AVCNFSM6AAAAABEOMBP72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJUGA3TSMZQGY. You are receiving this because you authored the thread.Message ID: @.***>
if you look in bot/launcher.py there is a function called login. you need to send a post or a put request to those endpoints with the username and password in the body. its pretty simple and you should be able to do it in postman pretty easily. and the python is already in the function, you can just use that.
Do I need to get the port from the lockfile or anything? @iholston
Still getting 'League is not running' and 'Launching League'. Info says 'League is not running' but sometimes it'll show the real patch. This is on new version.
You would have to get the port info from the lockfile in Riot Client/Config not the league lockfile or you could get it from the process information if you were using python.
Are you saying that you pulled in the latest commits and are running them as a python script and you are still getting the league launcher issue?
Downloaded the latest executable, and still getting league launcher issue, correct.
Oh, so the new executable will be out tomorrow in the official release. I'm still testing to make sure the changes don't break anything major.
Thanks. Have you considered a dashboard?
I'm not sure what you mean by a dashboard
Rather than storing accounts in local config, would be nice to have them stored on a website/dashboard. Would make managing 2, or 3 PC a lot more manageable. Can also track the level easily.
Oh yea, thats a good idea but its well beyond the scope of this bot.
Fair! Also, lockfile doesnt show up in riot client :(
riot client in localapp data
Ye I don’t see anything there or main riot folder either Sent from my iPhone
On Mar 22, 2024, at 12:58 PM, Isaac Holston @.***> wrote:
riot client in localapp data
— Reply to this email directly, view it on GitHubhttps://github.com/iholston/lol-bot/issues/203#issuecomment-2015513998, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGCWZ35MYH2O32VEOJGOOCDYZRPKRAVCNFSM6AAAAABEOMBP72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJVGUYTGOJZHA. You are receiving this because you authored the thread.Message ID: @.***>
its only going to show up if riot client is open. its going to be in local/riot games/riot client/config
Anything in headers need to be sent for authotrization or credentials?
Output is looping on 'Launching League'
Most recent version (v2.2.2)
Downloaded latest release v2.2. LolBot.exe and when running, I get this issue.