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

it ceeps clicking everywhere. especialli at the bankheis icon. do you run it at a specific resolution>? desktop and player? #2

Open
Breuk22 opened this issue Oct 8, 2023 · 22 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Breuk22
Copy link

Breuk22 commented Oct 8, 2023

No description provided.

@Breuk22
Copy link
Author

Breuk22 commented Oct 8, 2023

and i get this message:
haning on bankheist

@atokcullens
Copy link

im using it and keep crash when to load pop up.. any suggestion?

@Breuk22
Copy link
Author

Breuk22 commented Oct 9, 2023

what php version do you use?
Also the money, rolls etc in the header of your screen isn't ritght
it says 0, money, 0 rolls etc

image

@atokcullens
Copy link

i don't know which php.. im just downloading the files and install using the guide lines.. when to start the program.. the pop up appear and auto close..

@atokcullens
Copy link

video_2023-10-10_14-54-12.mp4

see its close automatically

@ethanriverpage ethanriverpage added the documentation Improvements or additions to documentation label Oct 10, 2023
@ethanriverpage ethanriverpage self-assigned this Oct 10, 2023
@ethanriverpage
Copy link
Owner

@atokcullens You must specify the name of your BlueStacks instance in the .env file in the project directory. See here: https://github.com/ethanriverpage/monopolygobot#environment-variables. Also ensure to have your window in the foreground.

@Breuk22 @atokcullens The bot works best when maximized to it's full resolution while maintaining it's aspect ratio (this means no black bars but stretched to full vertical resolution). Try also moving it to the left side of the screen and see if that makes any difference. I haven't had much time to test it's adaptability to different window sizes and resolutions.

Here are my BlueStacks instance settings, for reference:
HD-MultiInstanceManager_yEqDF52cyc
HD-MultiInstanceManager_yEqDF52cyc

@Breuk22 The bank heist handler will hang due to needing to use a BlueStacks macro for interaction with the game client, instead of using the script itself to do it. I have attached the BlueStacks macro I use, but you might have to remake them for your game client. You can import these through the macro manager of BlueStacks, by default AutoRoll is mapped to Num0 and BankHeist to Num1.

BankHeist.json
AutoRoll.json

@atokcullens
Copy link

@atokcullens You must specify the name of your BlueStacks instance in the .env file in the project directory. See here: https://github.com/ethanriverpage/monopolygobot#environment-variables. Also ensure to have your window in the foreground.

@Breuk22 @atokcullens The bot works best when maximized to it's full resolution while maintaining it's aspect ratio (this means no black bars but stretched to full vertical resolution). Try also moving it to the left side of the screen and see if that makes any difference. I haven't had much time to test it's adaptability to different window sizes and resolutions.

Here are my BlueStacks instance settings, for reference: HD-MultiInstanceManager_yEqDF52cyc HD-MultiInstanceManager_yEqDF52cyc

@Breuk22 The bank heist handler will hang due to needing to use a BlueStacks macro for interaction with the game client, instead of using the script itself to do it. I have attached the BlueStacks macro I use, but you might have to remake them for your game client. You can import these through the macro manager of BlueStacks, by default AutoRoll is mapped to Num0 and BankHeist to Num1.

BankHeist.json AutoRoll.json

hi,,, thanks for reply..

but still i can't open it..
1sy im using normal bot from lewisgibson.. it work and can open..
2nd im installing this bot it won't start.. anything im messing up??
Screenshot (13)
Screenshot (14)

@Breuk22
Copy link
Author

Breuk22 commented Oct 11, 2023

first of all : thank you for your quick responses and help! I really admire that.
I did what you told me and imported the macros. (are there more?)
it freezes now on caching the images:
image

I run it in a vm. does it need cuda? or a powerfull videocard/processor/ram?
I give it now 4 cores and 8 gig and only have a intel 840. is that enough?
I really love your project. I am learning a lot about it, but am far from your level

@Breuk22
Copy link
Author

Breuk22 commented Oct 11, 2023

the heist btw is just a coincident.

I use the latest version of python 10.

as you can see it doesn't read the money, rolls right
image

could you please give me a little bit more instructions?

Thanks in advance

Kind regards Bjorn

@Breuk22
Copy link
Author

Breuk22 commented Oct 11, 2023

btw it's the same when i set the auto roll off

@ethanriverpage
Copy link
Owner

ethanriverpage commented Oct 11, 2023

@Breuk22 I've made a large mistake in that I forgot to document that you start the bot by pressing the PageUp key on your keyboard. This will in turn activate all the different mechanisms of the bot to get it to function. You can then safely stop the bot by pressing PageDown.

Solutions (for repo):

  • Add note to indicate start/stop key
  • Add option to rebind start/stop key

@ethanriverpage
Copy link
Owner

@atokcullens It seems to be that the program is struggling to get the window position from your BlueStacks window.

  1. Ensure that you are running the script as administrator.
  2. Hover over the BlueStacks window to see the window title -- make sure that matches in the .env file.
  3. Turn off advertisements in BlueStacks as well.

I can't replicate this issue on my end, so it is difficult to solve this. Give these steps a shot and see if it works for you.

@Breuk22
Copy link
Author

Breuk22 commented Oct 11, 2023

thats a pretty big thing yes :)

I get now ththats a pretty big thing yes :)

now I get this with python3.11
image

@Breuk22
Copy link
Author

Breuk22 commented Oct 11, 2023

and this is what i get with python 3.10:
image

couldn't get it compiled with 3.12 because of pillow not being supported.

@atokcullens
Copy link

1._edit_0_edit_0.mp4

@atokcullens It seems to be that the program is struggling to get the window position from your BlueStacks window.

  1. Ensure that you are running the script as administrator.
  2. Hover over the BlueStacks window to see the window title -- make sure that matches in the .env file.
  3. Turn off advertisements in BlueStacks as well.

I can't replicate this issue on my end, so it is difficult to solve this. Give these steps a shot and see if it works for you.

thanks for reply..as u can see.. i already open with administrator ..but still.. please help

@atokcullens
Copy link

@atokcullens It seems to be that the program is struggling to get the window position from your BlueStacks window.

  1. Ensure that you are running the script as administrator.
  2. Hover over the BlueStacks window to see the window title -- make sure that matches in the .env file.
  3. Turn off advertisements in BlueStacks as well.

I can't replicate this issue on my end, so it is difficult to solve this. Give these steps a shot and see if it works for you.

about .env ..i didn't get it.. can you explain to me?
Screenshot (15)

@atokcullens
Copy link

thats a pretty big thing yes :)

I get now ththats a pretty big thing yes :)

now I get this with python3.11 image

so when u use this bot..can make dice ?or just bot play ?

@Breuk22
Copy link
Author

Breuk22 commented Nov 22, 2023

are you still working on this project or did you lost interest?

@atokcullens
Copy link

are you still working on this project or did you lost interest?

still working..but won't work.. i don't know how.

@Breuk22
Copy link
Author

Breuk22 commented Nov 30, 2023 via email

@McSon2
Copy link

McSon2 commented Feb 10, 2024

Hey I'm interested, I'm also stuck with the bot on [CACHE] Caching C:\Users\McSon\Desktop\monopolygobot-main\images\in-home-icon.png...

@Breuk22
Copy link
Author

Breuk22 commented Jul 23, 2024

Hi Ethan, could you please provide me a video of how the things are running at your setup?
it would help me enormously.

I've created several bot's in the meantime, on that can play up to 6 games and do all the quick wins completely by itself

1Bot-3Quickwins.2.mp4

Sorry for the bad quality had to compress it a lot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants