kgsensei / BlooketHack

One of the First Blooket hacks online.
https://link.kgsensei.dev/discord
Creative Commons Zero v1.0 Universal
57 stars 115 forks source link

NameError: name 'jsondata' is not defined #13

Closed Coolhackerkid2009 closed 2 years ago

Coolhackerkid2009 commented 2 years ago

Upon starting the cheat I get an error that says: "File "C\users\Myusername\Downloads\BlooketHack-master\main.py", line 117, in for question in jsondata['questions']: NameError: name 'jsondata' is not defined" It stops there and nothing happens. If anyone can tell me how to fix this I would love it. Screenshot 2021-09-28 092947

kgsensei commented 2 years ago

Someone else had the same issue I think, while I haven't been able to conduct real research into the problem. I might have a theory on how to fix it but not sure yet. I'm gonna ask a few questions, please answer them to the best of your ability but know that you don't have to answer if you feel a question is invasive.

How fast is your internet connection? What python version are you running? What Blooket game mode where you attempting to run? What Chrome version are you on?

kgsensei commented 2 years ago

I think the issue might be when you start the cheat. Please make sure that you start it once you get to the select Blook screen. [The screen where you can see all of the Blooks].

If you wait till then to start the cheat it should work.

Coolhackerkid2009 commented 2 years ago

I waited until the Blooks show up and loaded fully to start the cheat, but it still gave me the jsondata error. As to your earlier questions:

  1. Because I'm on school wifi I usually get around 5 down, but 1 in bad cases. (Mbps)
  2. Python 2.7
  3. Crypto Hack
  4. Chrome version 94.0.4606.71
Coolhackerkid2009 commented 2 years ago

I have installed this on a school computer where I am NOT the admin, but I seemed to have been able to install python, steam, unity, etc. This could be causing this issue because python wasn't installed correctly?

kgsensei commented 2 years ago

I would recommend using python 3.7+ as I know it should work for every version after that. There shouldn't be an issue there. Your chrome version matches with the driver so that's good. Crypto worked last time I tried it but I can test again. Administrator shouldn't be an issue at all. I can go through the code later and try to make it work.

Another question, are you using any Chrome extensions that could interfere with the cheat?

kgsensei commented 2 years ago

I hink I fixed the issue causing this yesterday. Let me know if it works.

kgsensei commented 2 years ago

If I didn't fix this issue 3 days ago then I can almost guarantee that I have fixed it now.

Alincutber commented 2 years ago

how get to hack i dont know how