Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop at Alien Worlds login screen #4

Open
jpedro06 opened this issue Apr 11, 2021 · 54 comments
Open

Stop at Alien Worlds login screen #4

jpedro06 opened this issue Apr 11, 2021 · 54 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@jpedro06
Copy link

Works normally until you reach the login screen

https://imgur.com/a/AOnvbHW

@jpedro06
Copy link
Author

I believe the problem is in the move_by_offset, but I don't know how to find the correct one. Does the entire desktop count or just the browser window?

@filipmagula
Copy link

filipmagula commented Apr 11, 2021

Open the devtools in Brave (F12) and set the size of the window to 925x982. Seems working well, but for exact numbers we need to wait for anonieX comment.

See #3 for more details.

@cpegasus2
Copy link

Sorry for the question, but how do I set the size of the window to 925x982? I have very little experience coding and don't know how to do it using the devtools... I have the same issue than jpedro06, it works normally if I have the devtools open but it freezes once I reach the alienworlds login screen

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

I believe the problem is in the move_by_offset, but I don't know how to find the correct one. Does the entire desktop count or just the browser window?

Hi, it counts just for the browser window. There is no good way to account for any resolution as far as I know. Not resizing the window should do the trick. 929 x 1012 is the default window size, it or anything close will work.

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

Sorry for the question, but how do I set the size of the window to 925x982? I have very little experience coding and don't know how to do it using the devtools... I have the same issue than jpedro06, it works normally if I have the devtools open but it freezes once I reach the alienworlds login screen

Hey, if you don't resize the window at all after it appears it should be working. Otherwise you can use http://howbigismybrowser.com/ to set your browser to 929 x 1012 or anything close. Let me know if the default open size is different

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

I just uploaded a new version that has this issue patched. Let me know if it works.

@anonieX anonieX added bug Something isn't working good first issue Good for newcomers labels Apr 11, 2021
@cpegasus2
Copy link

Hey, if you don't resize the window at all after it appears it should be working. Otherwise you can use http://howbigismybrowser.com/ to set your browser to 929 x 1012 or anything close. Let me know if the default open size is different

Thanks for your time! Now it appears to be working without opening devtools but it still freezes at alienworlds login. My default open size is 937x664 according to http://howbigismybrowser.com/ I cannot resize it to more than 929x768 since I am using a TV screen.

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

Hey, if you don't resize the window at all after it appears it should be working. Otherwise you can use http://howbigismybrowser.com/ to set your browser to 929 x 1012 or anything close. Let me know if the default open size is different

Thanks for your time! Now it appears to be working without opening devtools but it still freezes at alienworlds login. My default open size is 937x664 according to http://howbigismybrowser.com/ I cannot resize it to more than 929x768 since I am using a TV screen.

Alright, I'll make a "Any Resolution"-friendly version today. Thanks for the issue submit

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

Hey, if you don't resize the window at all after it appears it should be working. Otherwise you can use http://howbigismybrowser.com/ to set your browser to 929 x 1012 or anything close. Let me know if the default open size is different

Thanks for your time! Now it appears to be working without opening devtools but it still freezes at alienworlds login. My default open size is 937x664 according to http://howbigismybrowser.com/ I cannot resize it to more than 929x768 since I am using a TV screen.

Have you tried version 1.1.1? It will resize to that size automatically, please try it and let me know

@cpegasus2
Copy link

Have you tried version 1.1.1? It will resize to that size automatically, please try it and let me know

I redownloaded it just in case and tried it and my window size is still 937x664 according to http://howbigismybrowser.com/

It seems to be working without devtools but it still freezes at alienworlds login for me

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

Have you tried version 1.1.1? It will resize to that size automatically, please try it and let me know

I redownloaded it just in case and tried it and my window size is still 937x664 according to http://howbigismybrowser.com/

It seems to be working without devtools but it still freezes at alienworlds login for me

I found a solution to this, new update will be uploaded later today.

@jpedro06
Copy link
Author

In my case, I managed to make it work by changing the height offset by 50 for operation, because in my Brave another bar appears in addition to the bar that says it is an automated test and each bar occupies 50 in height.

I also added an automatic resize when opening the browser.

@jpedro06
Copy link
Author

Have you tried version 1.1.1? It will resize to that size automatically, please try it and let me know

I redownloaded it just in case and tried it and my window size is still 937x664 according to http://howbigismybrowser.com/

It seems to be working without devtools but it still freezes at alienworlds login for me

If more than one warning bar is appearing on Brave, adjust the offsets by removing 50 at the height for each bar. In my case there was a bar in addition to the standard one.

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

In my case, I managed to make it work by changing the height offset by 50 for operation, because in my Brave another bar appears in addition to the bar that says it is an automated test and each bar occupies 50 in height.

I also added an automatic resize when opening the browser.

How many bars are there in total? I have 3

@jpedro06
Copy link
Author

How many bars are there in total? I have 3

I have 2

@jpedro06
Copy link
Author

You can use a variable to handle this.

@cpegasus2
Copy link

I get 3 bars at first but 2 at the login screen.

How many bars are there in total? I have 3

I have 2

I get 3 at first but one closes quickly and so there's only 2 at the alienworlds login screen. I have tried doing what jpedro wrote and adjusting the screen to 937x564 once it's opened by using howbigismybrowser.com and it still freezes at alienworlds login.

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

Currently working on a new version that will automatically calculate click points. Will be uploaded in about an hour

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

Hey, version 1.1.2 just came out, it automatically resizes your screen to fit the game and automatically calculates button positions. I tried it on 1920x1200, 1920x1080, 1600x1200 and it always worked. It should work on any 16:9 and 16:9-like screens. Let me know if it works or doesnt work for you! Thanks

https://github.com/anonieX/alienworldsauto/releases/tag/1.1.2

@vaskhan
Copy link

vaskhan commented Apr 11, 2021

Hey, version 1.1.2 just came out, it automatically resizes your screen to fit the game and automatically calculates button positions. I tried it on 1920x1200, 1920x1080, 1600x1200 and it always worked. It should work on any 16:9 and 16:9-like screens. Let me know if it works or doesnt work for you! Thanks

https://github.com/anonieX/alienworldsauto/releases/tag/1.1.2
It doesn't work for me, at first in the first window when logging in to the wax wallet, he himself could not click on the edit icon for authorization, when he clicked, logged in and again only reached the login on https://play.alienworlds.io/ then no changes, no actions occurred

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

Hey, version 1.1.2 just came out, it automatically resizes your screen to fit the game and automatically calculates button positions. I tried it on 1920x1200, 1920x1080, 1600x1200 and it always worked. It should work on any 16:9 and 16:9-like screens. Let me know if it works or doesnt work for you! Thanks
https://github.com/anonieX/alienworldsauto/releases/tag/1.1.2
It doesn't work for me, at first in the first window when logging in to the wax wallet, he himself could not click on the edit icon for authorization, when he clicked, logged in and again only reached the login on https://play.alienworlds.io/ then no changes, no actions occurred

What's your screen resolution?

@vaskhan
Copy link

vaskhan commented Apr 11, 2021

Hey, version 1.1.2 just came out, it automatically resizes your screen to fit the game and automatically calculates button positions. I tried it on 1920x1200, 1920x1080, 1600x1200 and it always worked. It should work on any 16:9 and 16:9-like screens. Let me know if it works or doesnt work for you! Thanks
https://github.com/anonieX/alienworldsauto/releases/tag/1.1.2
It doesn't work for me, at first in the first window when logging in to the wax wallet, he himself could not click on the edit icon for authorization, when he clicked, logged in and again only reached the login on https://play.alienworlds.io/ then no changes, no actions occurred

What's your screen resolution?

1366x768

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

Hey, version 1.1.2 just came out, it automatically resizes your screen to fit the game and automatically calculates button positions. I tried it on 1920x1200, 1920x1080, 1600x1200 and it always worked. It should work on any 16:9 and 16:9-like screens. Let me know if it works or doesnt work for you! Thanks
https://github.com/anonieX/alienworldsauto/releases/tag/1.1.2
It doesn't work for me, at first in the first window when logging in to the wax wallet, he himself could not click on the edit icon for authorization, when he clicked, logged in and again only reached the login on https://play.alienworlds.io/ then no changes, no actions occurred

What's your screen resolution?

1366x768

The only way to fix this is to force a resolution set for everyone. Something like 500x500 because developing for all resolutions is problematic, especially for resolutions this tiny. I'm currently working on that

@icetooth-sketch
Copy link

Hey, version 1.1.2 just came out, it automatically resizes your screen to fit the game and automatically calculates button positions. I tried it on 1920x1200, 1920x1080, 1600x1200 and it always worked. It should work on any 16:9 and 16:9-like screens. Let me know if it works or doesnt work for you! Thanks
https://github.com/anonieX/alienworldsauto/releases/tag/1.1.2
It doesn't work for me, at first in the first window when logging in to the wax wallet, he himself could not click on the edit icon for authorization, when he clicked, logged in and again only reached the login on https://play.alienworlds.io/ then no changes, no actions occurred

What's your screen resolution?

1366x768

The only way to fix this is to force a resolution set for everyone. Something like 500x500 because developing for all resolutions is problematic, especially for resolutions this tiny. I'm currently working on that

500x500 best for me, how can I change the resolution myself?

@vaskhan
Copy link

vaskhan commented Apr 11, 2021

Привет, только что вышла версия 1.1.2, она автоматически изменяет размер экрана в соответствии с игрой и автоматически вычисляет положение кнопок. Я пробовал его на 1920х1200, 1920х1080, 1600х1200, и он всегда работал. Он должен работать на любых экранах формата 16: 9 и 16: 9. Дайте мне знать, работает это для вас или не работает! Спасибо
https://github.com/anonieX/alienworldsauto/releases/tag/1.1.2
У меня не работает, сначала в первом окне при входе в кошелек с воском сам не мог нажать на редактировать значок для авторизации, когда он нажал, вошел в систему и снова дошел только до логина на https://play.alienworlds.io/ то никаких изменений, никаких действий не произошло

Какое у вас разрешение экрана?

Полный размер - 1366x768

Единственный способ исправить это - установить разрешение для всех. Что-то вроде 500x500, потому что разработка для всех разрешений проблематична, особенно для таких крошечных разрешений.

I think it won't be a problem to have a resolution of 500 by 500 if it can run in the background or minimized. It can also work behind other windows, right?

@cpegasus2
Copy link

I've been testing the new version (1.1.2) and at least for me it only logs into wax cloud wallet once I open devtools using F12. Afterwards it works but it still freezes at Alienworlds login. The screen resolution is set to 1372x584 according to http://howbigismybrowser.com/

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

Hey, version 1.1.2 just came out, it automatically resizes your screen to fit the game and automatically calculates button positions. I tried it on 1920x1200, 1920x1080, 1600x1200 and it always worked. It should work on any 16:9 and 16:9-like screens. Let me know if it works or doesnt work for you! Thanks
https://github.com/anonieX/alienworldsauto/releases/tag/1.1.2
It doesn't work for me, at first in the first window when logging in to the wax wallet, he himself could not click on the edit icon for authorization, when he clicked, logged in and again only reached the login on https://play.alienworlds.io/ then no changes, no actions occurred

What's your screen resolution?

1366x768

The only way to fix this is to force a resolution set for everyone. Something like 500x500 because developing for all resolutions is problematic, especially for resolutions this tiny. I'm currently working on that

500x500 best for me, how can I change the resolution myself?

You can't yet, working on a new version right now

@anonieX
Copy link
Owner

anonieX commented Apr 11, 2021

Please wait for the new version, everyting will be fixed there

@vaskhan
Copy link

vaskhan commented Apr 11, 2021

Please wait for the new version, everyting will be fixed there

by some miracle, the script worked a little, but before the first mining. you get an error about another transaction, as a result, you can't mine automatically

@jpedro06
Copy link
Author

Hey, version 1.1.2 just came out, it automatically resizes your screen to fit the game and automatically calculates button positions. I tried it on 1920x1200, 1920x1080, 1600x1200 and it always worked. It should work on any 16:9 and 16:9-like screens. Let me know if it works or doesnt work for you! Thanks

https://github.com/anonieX/alienworldsauto/releases/tag/1.1.2

It worked for me, but I still had to adjust the height of the miner function. I changed the divisor to 4.22.

It was a great idea to add these dividers, congratulations.

@vaskhan
Copy link

vaskhan commented Apr 11, 2021

Привет, только что вышла версия 1.1.2, она автоматически изменяет размер экрана в соответствии с игрой и автоматически вычисляет положение кнопок. Я пробовал его на 1920x1200, 1920x1080, 1600x1200, и он всегда работал. Он должен работать на любых экранах формата 16: 9 и 16: 9. Дайте мне знать, работает это для вас или не работает! Спасибо
https://github.com/anonieX/alienworldsauto/releases/tag/1.1.2

У меня это сработало, но мне все равно пришлось отрегулировать высоту функции майнера. Я поменял делитель на 4,22.

Поздравления, добавить эти разделители было отличной идеей.

Do you have everything fully working? he starts mining himself, takes the reward himself, and then starts again? Are you not taking part in the process at all?

@vaskhan
Copy link

vaskhan commented Apr 11, 2021

image
After receiving the award, I probably can't click in the right place. Goes to sleep all the time

@jpedro06
Copy link
Author

jpedro06 commented Apr 11, 2021

Do you have everything fully working? he starts mining himself, takes the reward himself, and then starts again? Are you not taking part in the process at all?

I had to adjust the position of two clicks.

def miner
y = driver.get_window_size()["height"]/4.22

def get
y = driver.get_window_size()["height"]/2.11

See if this works for you.

@anonieX
Copy link
Owner

anonieX commented Apr 12, 2021

Hey, 1.1.3 sets the window size to 500x500 automatically so there wont be any click misalignments. There is also a fix for handling multiple infobars at the top

@vaskhan
Copy link

vaskhan commented Apr 12, 2021

Hey, 1.1.3 sets the window size to 500x500 automatically so there wont be any click misalignments. There is also a fix for handling multiple infobars at the top

image
it remains to work around this error

@vaskhan
Copy link

vaskhan commented Apr 12, 2021

image
and in this window it does not hit the necessary buttons

@vaskhan
Copy link

vaskhan commented Apr 12, 2021

In the end, everything is useless because of that error, every time it appears when the script collects the reward

@anonieX
Copy link
Owner

anonieX commented Apr 12, 2021

Hey, 1.1.3 sets the window size to 500x500 automatically so there wont be any click misalignments. There is also a fix for handling multiple infobars at the top

image
it remains to work around this error

Restart the script, never seen this issue before. Looks like the error is not bot related

@anonieX
Copy link
Owner

anonieX commented Apr 12, 2021

1.1.4 was just released. It fixes this issue and adds more debugging featues. Please let me know if it works for you, for unrelated issues to click misalignments please open a new issue.

@icetooth-sketch
Copy link

the script 1,1,4 does not hit the buttons. While version 1.1.0 is stable for me

@anonieX
Copy link
Owner

anonieX commented Apr 12, 2021

the script 1,1,4 does not hit the buttons. While version 1.1.0 is stable for me

Could you please send me the debug.log file?

@icetooth-sketch
Copy link

icetooth-sketch commented Apr 12, 2021

the script 1,1,4 does not hit the buttons. While version 1.1.0 is stable for me

Could you please send me the debug.log file?

debug.log

I sometimes helped the bot to press buttons, I thought maybe he would go further on his own

@anonieX
Copy link
Owner

anonieX commented Apr 12, 2021

the script 1,1,4 does not hit the buttons. While version 1.1.0 is stable for me

Could you please send me the debug.log file?

debug.log

I sometimes helped the bot to press buttons, I thought maybe he would go further on his own

Based on the log the script should be working fine, could you run it without helping it click and send that log?

@jpedro06
Copy link
Author

Hey, 1.1.3 sets the window size to 500x500 automatically so there wont be any click misalignments. There is also a fix for handling multiple infobars at the top

image
it remains to work around this error

Restart the script, never seen this issue before. Looks like the error is not bot related

It happened to me a few times.

@jpedro06
Copy link
Author

the script 1,1,4 does not hit the buttons. While version 1.1.0 is stable for me

If you have 3 bars use debugBarsAdd = 1

@icetooth-sketch
Copy link

the script 1,1,4 does not hit the buttons. While version 1.1.0 is stable for me

Could you please send me the debug.log file?

debug.log
I sometimes helped the bot to press buttons, I thought maybe he would go further on his own

Based on the log the script should be working fine, could you run it without helping it click and send that log?

debug.log

@anonieX
Copy link
Owner

anonieX commented Apr 12, 2021

the script 1,1,4 does not hit the buttons. While version 1.1.0 is stable for me

Could you please send me the debug.log file?

debug.log
I sometimes helped the bot to press buttons, I thought maybe he would go further on his own

Based on the log the script should be working fine, could you run it without helping it click and send that log?

debug.log

How many bars do you see at the top of the window?

@anonieX
Copy link
Owner

anonieX commented Apr 12, 2021

the script 1,1,4 does not hit the buttons. While version 1.1.0 is stable for me

If you have 3 bars use debugBarsAdd = 1

The bot will automatically detect it and adjust the value

@icetooth-sketch
Copy link

the script 1,1,4 does not hit the buttons. While version 1.1.0 is stable for me

Could you please send me the debug.log file?

debug.log
I sometimes helped the bot to press buttons, I thought maybe he would go further on his own

Based on the log the script should be working fine, could you run it without helping it click and send that log?

debug.log

How many bars do you see at the top of the window?

2-3 and 0 when I disable them, but with the script version 1,1,4 I did not disable them

@anonieX
Copy link
Owner

anonieX commented Apr 12, 2021

the script 1,1,4 does not hit the buttons. While version 1.1.0 is stable for me

Could you please send me the debug.log file?

debug.log
I sometimes helped the bot to press buttons, I thought maybe he would go further on his own

Based on the log the script should be working fine, could you run it without helping it click and send that log?

debug.log

How many bars do you see at the top of the window?

2-3 and 0 when I disable them, but with the script version 1,1,4 I did not disable them

How did you disable them?

@icetooth-sketch
Copy link

the script 1,1,4 does not hit the buttons. While version 1.1.0 is stable for me

Could you please send me the debug.log file?

debug.log
I sometimes helped the bot to press buttons, I thought maybe he would go further on his own

Based on the log the script should be working fine, could you run it without helping it click and send that log?

debug.log

How many bars do you see at the top of the window?

2-3 and 0 when I disable them, but with the script version 1,1,4 I did not disable them

How did you disable them?

in the first seconds of opening the browser, if later they freeze when the cross is pressed

@wilkinshui
Copy link

working nicely for previous day on the new version but until now I need to approve the smart contract when click the claim button. (would show up everytime even I use the always approve function).

@vaskhan
Copy link

vaskhan commented Apr 13, 2021

and now the captcha has appeared... ( and before that, I had a problem that after the extraction of the reward, the bot went to sleep, woke up and went back to sleep and so on indefinitely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

8 participants
@filipmagula @wilkinshui @jpedro06 @vaskhan @anonieX @icetooth-sketch @cpegasus2 and others