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

Added In depth GUI with Tkinter #45

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

mnai01
Copy link

@mnai01 mnai01 commented Dec 31, 2020

In-depth GUI with multiple options and cvv from @alfredog1976. I will be adding more options throughout time to make it even easier for people to run.

@alexschimpf
Copy link
Owner

@mnai01 You've got some conflicts after the latest merge to master.

GUI.py Show resolved Hide resolved
@mnai01
Copy link
Author

mnai01 commented Jan 3, 2021

Not a problem, I'll fix it thanks.

@alexschimpf
Copy link
Owner

Not a problem, I'll fix it thanks.

Also, the last merged PR added some new script options and whatnot... so keep that in mind.

@mnai01
Copy link
Author

mnai01 commented Jan 3, 2021

Not a problem, I'll fix it thanks.

Also, the last merged PR added some new script options and whatnot... so keep that in mind.

Ye I see in addition to CVV multiple options were added so I'll have to add that to the GUI.

GUI.py Outdated
), url=self.url_entry.get(), shoe_size=self.shoe_size.get(), cvv=self.cvv_entry.get(), purchase=purchase, release_time=release_time, page_load_timeout=page_load_timeout)

# Determines if bot features where disabled.
# if(self.login_time_int.get() != 1):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why all this is commented out?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, its old code that was used to edit the console command options executed by os.command() but that method is no longer being used so I have been using that code as a reference to create the new method which just calls the run function directly with the set options. Totally forgot that part wasn't fully converted, still working on setting all options in the run function. The comments will be removed in the next commit

main.py Outdated
parser.add_argument("--webdriver-path", required=False, default=None)
parser.add_argument("--cvv", required=False)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you screwed something up when you resolved conflicts. You're missing
--shipping-address and --shipping-option. Also --cvv has changed a bit in this PR. Does this file even need to be changed at all if you're just adding a separate GUI?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main.py wont need to be modified at all. I already updated my main.py to the latest PR. Right now i'm in the process of adding all the GUI code. The reason those are missing is because when I was looking at @alfredog1976 PR I only focused on adding the CVV since that's what I needed for my drops and at the time it wasn't pushed to the master yet.

@@ -123,6 +134,10 @@ Here is a list and description of the different arguments to use for the script:
* If specified, will use the specified driver instead of the defaults
* NOTE: The driver should match the browser specified in the `--driver-type` option (defaults to Firefox)

<b>--cvv</b>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already described in the README.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it 👍

Copy link

@baojieAngel baojieAngel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I should take a serious look, is this function already implemented

GUI.py Show resolved Hide resolved
@mnai01
Copy link
Author

mnai01 commented Jan 17, 2021

I think I should take a serious look, is this function already implemented

It works now since it has all of the required options, but I'm still in the process of adding every other option. Have been busy with work and vacation so it's been taking awhile. Should be on it soon.

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

Successfully merging this pull request may close these issues.

3 participants