nicoco007 / LoL-Auto-Login

Automatic login for League of Legends.
https://www.nicoco007.com/lol-auto-login/
GNU Affero General Public License v3.0
29 stars 5 forks source link

Opening LoL but not entering password #21

Closed clay10101 closed 6 years ago

clay10101 commented 6 years ago

Hi, new to github.

I've not been able to use lol-auto-login for maybe a fortnight or so, maybe more. I run at 4k with 150% scaling, if that might be causing an issue?

Latest log here: 0:00:00:00.0035025 [INFO] Started LoL Auto Login v2.0.2.0 0:00:00:00.0195132 [INFO] Loading settings from "C:\Riot Games\League of Legends\Config\LoLAutoLoginSettings.yaml" 0:00:00:00.0930621 [INFO] Loaded settings. 0:00:00:00.1801203 [INFO] Found new/resized window: {Handle=722634, Name="League of Legends", Class="RCLIENT", Rectangle={X=413,Y=180,Width=1920,Height=1080}} 0:00:00:00.1811211 [INFO] Client is already open! 0:00:00:00.2326554 [INFO] Client doesn't seem to be on login page. Focusing client. 0:00:00:00.2421613 [INFO] Deleting 2 old log files... 0:00:00:00.2436626 [INFO] Done. 0:00:00:00.2461643 [INFO] Pixel matching statistics: 0:00:00:00.2466647 [INFO] Minimum: 0.05273 (54/1024) 0:00:00:00.2471651 [INFO] Maximum: 0.05273 (54/1024) 0:00:00:00.2471651 [INFO] Required: 0.85000 (870/1024) 0:00:00:00.2476656 [INFO] Shutting down

nicoco007 commented 6 years ago

That's most likely the issue. I honestly hadn't though of scaling when I first created this program; I'll add it to my testing process. This should be fixed in the next release. Thanks for the report!

clay10101 commented 6 years ago

No worries! Glad I could help. Great little tool by the way. I've been using it for ages! So dumb that LoL doesn't auto remember. I barely even play it anymore, but I still keep an eye on Lol auto login.

Have a great day.

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, May 9, 2018 at 1:58 PM, Nicolas Gnyra notifications@github.com wrote:

That's most likely the issue. I honestly hadn't though of scaling when I first created this program; I'll add it to my testing process. This should be fixed in the next release. Thanks for the report!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nicoco007/LoL-Auto-Login/issues/21#issuecomment-387729797, or mute the thread https://github.com/notifications/unsubscribe-auth/AlT6TSd5skB4RZdgOzyAVwD9LwAGEywVks5twuf8gaJpZM4T4Kv6 .

nicoco007 commented 6 years ago

Would you be able to send me screenshots of your client in the login screen (in all sizes listed in Settings > General if possible)? I don't have a 4K monitor on hand and it would help make recognition more accurate on high DPI screens.

clay10101 commented 6 years ago

Not at home for a few days but I will do this Sunday/Monday for you.

On Sat, 12 May 2018, 07:34 Nicolas Gnyra, notifications@github.com wrote:

Would you be able to send me screenshots of your client in the login screen (in all sizes listed in Settings > General if possible)? I don't have a 4K monitor on hand and it would help make recognition more accurate on high DPI screens.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nicoco007/LoL-Auto-Login/issues/21#issuecomment-388534294, or mute the thread https://github.com/notifications/unsubscribe-auth/AlT6TSym6I5Gzvm84QirqXvdKYrv-dV5ks5txoJwgaJpZM4T4Kv6 .

clay10101 commented 6 years ago

This is at 150% scaling on 4k. Is that what you were looking for? 1024x576 1280x720 1600x900 1920x1080

nicoco007 commented 6 years ago

That's exactly what I was looking for, thanks! I should be able to get a working version for you to try out very soon (most likely by the end of the week).

nicoco007 commented 6 years ago

Hey! Sorry for taking so long. Could you try this build out? You'll have to manually put the files in your League of Legends folder. I recommend that you uninstall/remove the version you currently have and reinstall it after you're done testing.

nicoco007 commented 6 years ago

I just noticed you might have to open Properties on the zip files and check the "Unblock" checkbox at the bottom. Windows doesn't seem to like the file for some reason.

clay10101 commented 6 years ago

Hi, This build works for me! I noticed my Avast popped up a shield window on the first attempt. so I disabled the file shield and behaviour shield and the build worked. I included the latest log.

Could potentially be that a lot of people are experiencing problems due to Avast blocking the program. (edit - have turned avast back on and lol auto login still works) 2018-05-29T18-56-58_LoLAutoLogin.log

Apologies for the delay. been real busy this last week starting a new job.

nicoco007 commented 6 years ago

Hmmm. That's annoying. I'll try to check it out tonight.

ghost commented 6 years ago

Has this been fixed yet? Im having the same issue here are my logs

0:00:00:00.0344944 [INFO] Started LoL Auto Login v2.0.2.0 0:00:00:00.1077547 [INFO] Loading settings from "C:\Riot Games\League of Legends\Config\LoLAutoLoginSettings.yaml" 0:00:00:00.1111819 [INFO] Settings file does not exist, using default settings. 0:00:00:00.4909272 [INFO] Password file not found, prompting user to enter password... 0:00:00:15.1811614 [INFO] Encrypting & saving password to file... 0:00:00:15.5275758 [INFO] Client is not running, launching client. 0:00:00:15.5280603 [INFO] Waiting for 30000 ms. 0:00:00:18.2786847 [INFO] Found new/resized window: {Handle=1114998, Name="League of Legends", Class="RCLIENT", Rectangle={X=0,Y=0,Width=1024,Height=576}} 0:00:00:18.3328287 [INFO] Client found after 2758 ms! 0:00:00:20.1604636 [INFO] Found new/resized window: {Handle=1114998, Name="League of Legends", Class="RCLIENT", Rectangle={X=128,Y=52,Width=1280,Height=720}} 0:00:00:32.3065284 [INFO] Client window lost!

nicoco007 commented 6 years ago

Unfortunately I haven't had much time lately to do anything. You might have some luck with this beta build but I can't guarantee it'll work properly all the time (if at all). I'm trying to get something stable out soon, but I can't say for when just yet.

ghost commented 6 years ago

It didnt work installing the beta. So Ill guess i just have to wait.. can you at least give an ETA is it weeks, months or?

nicoco007 commented 6 years ago

Hopefully in the coming couple of weeks, but I really can't promise anything.

nicoco007 commented 6 years ago

Alright, I got something that should make more sense. @clay10101 and @mombo2811, could you both try this build out: download the installer here or the portable version here. You might want to completely uninstall any previous versions since I had to change the way the installer works.

nicoco007 commented 6 years ago

Again, you might have to open Properties on the zip files and check the "Unblock" checkbox at the bottom. (I think it's a Windows Defender thing. It does strange things.)

possessed1911 commented 6 years ago

You could make an installer and use this program to automatically unblock the file. https://docs.microsoft.com/en-us/sysinternals/downloads/streams Sry for hijacking the issue, but, can you add native support to use multiple accounts? I have added username into my own build, but I have to compile one file for each account ( I was lazy to look into something better);

nicoco007 commented 6 years ago

The installer also suffers from this problem, so that's not really a possibility. Either way, when using the installer, the files it extracts aren't blocked. I don't think it's worth the effort since you essentially just need to check a box:

properties

As for multiple accounts, I've set up a basic roadmap of what needs to be done over at #13. You can put your suggestions/ideas/comments over there. I'll start working on it as soon as this issue has been properly dealt with.

nicoco007 commented 6 years ago

Here's another build to try out if anyone's interested: https://ci.gnyra.com/blue/organizations/jenkins/LoL-Auto-Login/detail/develop/100/artifacts

no-response[bot] commented 6 years ago

This issue has been automatically closed because there has been no response in the last 14 days.