Derpitron / Discord-OTP-Forcer

Selenium based discord OTP forcer
GNU Affero General Public License v3.0
43 stars 12 forks source link

small issue with setup #56

Closed Aneyemone closed 1 year ago

Aneyemone commented 1 year ago

Description

Traceback (most recent call last): File "C:\Users\achug\Discord-OTP-Forcer\main.py", line 55, in userFacing(loadcfg()) File "C:\Users\achug\Discord-OTP-Forcer\main.py", line 38, in userFacing if cfg['programMode'] not in validProgramModes: raise ValueError("Invalid program mode inputted!") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Invalid program mode inputted! Press any key to continue . . .

not sure what to do to fix this issue

Minimal Reproduction

while set up

Error

Traceback (most recent call last): File "C:\Users\achug\Discord-OTP-Forcer\main.py", line 55, in userFacing(loadcfg()) File "C:\Users\achug\Discord-OTP-Forcer\main.py", line 38, in userFacing if cfg['programMode'] not in validProgramModes: raise ValueError("Invalid program mode inputted!") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Invalid program mode inputted! Press any key to continue . . .

// not sure what to put in the "" for the progam modes i have tried true n flase but still isnt workin

Operating System Version

windows 11 64bit

Python Version

most newwst

Program Version

none

Any other information or context?

No response

Aneyemone commented 1 year ago

image what do i add in this box

LuXeZs commented 1 year ago

Haven't had much time to look over the new code and how everything works but from what I can see is you'll need to enter either login or reset in the programMode: "" and for codeMode: "" it's one of these normal, backup, both.

If this is wrong then @Derpitron should be able to give some more information on this.

Aneyemone commented 1 year ago

what do you mean like this?

image

Aneyemone commented 1 year ago

i added reset for both, then changed reset to only on of em and left on blank, i am still getting this error

Traceback (most recent call last): File "C:\Users\achug\Discord-OTP-Forcer\main.py", line 55, in userFacing(loadcfg()) File "C:\Users\achug\Discord-OTP-Forcer\main.py", line 38, in userFacing if cfg['programMode'] not in validProgramModes: raise ValueError("Invalid program mode inputted!") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: Invalid program mode inputted! Press any key to continue . . .

LuXeZs commented 1 year ago
# Program mode configuration
# Lets you skip the initial mode prompt stage by filling in your desired
# programMode and codeMode beforehand.
programMode: "reset"
codeMode: "both"

Try setting it like this in the cfg.yml.

Derpitron commented 1 year ago

@LuXeZs is it posssible for you to make a Github Wiki page about the settings and how to use them?

I currently don't have the time to write documentation.

LuXeZs commented 1 year ago

Yeah I'll get on it right now.

Derpitron commented 1 year ago

Haven't had much time to look over the new code and how everything works but from what I can see is you'll need to enter either login or reset in the programMode: "" and for codeMode: "" it's one of these normal, backup, both.

If this is wrong then @Derpitron should be able to give some more information on this.

Yes, this is correct.

@AkunoNutz I am sorry for not writing proper instructions so far!