msemple1111 / kahoot-hack

A suite of tools for easily manipulating the kahoot.it quiz platform
GNU General Public License v3.0
65 stars 27 forks source link

Game does not exists with that pin #9

Closed aldenkeshap closed 7 years ago

aldenkeshap commented 7 years ago

Whenever I try to use any of the tools, even when I know I am getting the pin right, the code just says Game does not exists with that pin. Is there a way for me to fix this?

msemple1111 commented 7 years ago

Do you have a proper internet connection? Are you in a firewalled network?

ElliotGluck commented 7 years ago

You should double check you have all your dependencies installed.

msemple1111 commented 7 years ago

There are no real dependencies to install now, only python 3. Requests is now included in the repo. The error is cause by the test kahoot test failing. @nedla2004 what is in your log.txt file?

jonkootje commented 7 years ago

The script works fine for me on my desktop. The second i run it on my raspberry pi it gives the same error. In the log it says Error: 909 'no game with pin' please help :D

msemple1111 commented 7 years ago

This error is to do with the program not being able to connect to the game. What happens if you run ping 8.8.8.8?

jonkootje commented 7 years ago

http://prntscr.com/e64b3y <-- this happends

msemple1111 commented 7 years ago

have you tried running the program with sudo?

jonkootje commented 7 years ago

yapp, does not help

msemple1111 commented 7 years ago

what is in your 'log.txt'

jonkootje commented 7 years ago

http://prntscr.com/e64ea9 <-- only these errors

msemple1111 commented 7 years ago

thats the same screenshot as the ping

jonkootje commented 7 years ago

No i changed it, its the right one now

msemple1111 commented 7 years ago

its the same on my end

jonkootje commented 7 years ago

huh weird. Well it only gives "Error no: 909 No kahoot Game with that pin"

jonkootje commented 7 years ago

It fails when i try to ping to www.kahoot.it, so it's probably a problem with the raspberry... It does ping with google so its pretty weird.

jonkootje commented 7 years ago

http://prntscr.com/e666eh <-- this might be interesting. When i run the test.py it gives me the following error, seems like the kahoot api gives a 403 error

ElliotGluck commented 7 years ago

Is your Pi running through some sort of VPN or firewall? My guess is that either your machine is blocking access to Kahoot's servers or vice versa.

jonkootje commented 7 years ago

It had to do with the version of python. I changed some syntax and it now kinda works. It only takes a long time before the users join.

msemple1111 commented 7 years ago

The slow time is expected, i am working on a faster version currently. The version of python is a simple mistake to make!