jaseemkm / loco-hack Goto Github PK
View Code? Open in Web Editor NEWBot that helps to play loco trivia game in real time.
Bot that helps to play loco trivia game in real time.
ImportError: No module named googleapiclient.discovery
Can you please create a step by step tutorial?
I've input my cse_id and api_id. But, I'm getting multiple errors.
Please upload a tutorial
Traceback (most recent call last):
File "C:\Users\anish\Desktop\Locohack.py", line 117, in
normal = normal_scores(question,options)
File "C:\Users\anish\Desktop\Locohack.py", line 33, in normal_scores
results = google_search(question, api_key, cse_id, num=10)
File "C:\Users\anish\Desktop\Locohack.py", line 22, in google_search
return res['items']
KeyError: 'items
Getting error
RESTART: C:\Users\srini\Downloads\loco-hack-master\loco-hack-master\play.py
Wait for the next question and press Enter key instantly when it's displayed
Traceback (most recent call last):
File "C:\Users\srini\Downloads\loco-hack-master\loco-hack-master\play.py", line 105, in
split_screen_to_question_and_options()
File "C:\Users\srini\Downloads\loco-hack-master\loco-hack-master\play.py", line 81, in split_screen_to_question_and_options
i = Image.open('screen.png')
File "C:\Users\srini\AppData\Local\Programs\Python\Python36\lib\site-packages\PIL\Image.py", line 2590, in open
% (filename if filename else fp))
OSError: cannot identify image file 'screen.png'
pls help me someone to fix this error
Traceback (most recent call last):
File "C:\Users\Sahil\Desktop\LOCO SCRIPT\LOCO HACK.py", line 114, in
question = get_text_from_response(responses[0])
File "C:\Users\Sahil\Desktop\LOCO SCRIPT\LOCO HACK.py", line 75, in get_text_from_response
t = response['textAnnotations'][0]
KeyError: 'textAnnotations'
Can someone provide me with an API key?
Thank You
@jaseemkm Help with my problem, how to solve it, I will be very grateful?
please update a new code
what should i do even my device is connected to adb please respond someone
please tell me name of error errors after key error : text annotation
Taking screenshot from desktop does not require ADB. Mobile can be screen casted through Wi-Fi and it need not be connected from USB.
does any one know how much money is deducted after billing ( cse id)
How to know loco answers before the game
a = input()("Wait for the next question and press Enter key instantly when it's displayed\n")
TypeError: 'str' object is not callable
Give me google api key and cse id
Dosto agr aaplogo ke paas api key hai ya credit card to 1 year ke liye free mein signup kr skte ho. maine pura setup kar liya hai keval api key chahiye. agr kisi ko mera modified script chahiy to reply kro
Traceback (most recent call last):
File "C:\Users\Dell\Desktop\loco-hack-master\play.py", line 114, in
options = [get_text_from_response(responses[1]),get_text_from_response(responses[2]),get_text_from_response(responses[3])]
File "C:\Users\Dell\Desktop\loco-hack-master\play.py", line 74, in get_text_from_response
t = response['textAnnotations'][0]
KeyError: 'textAnnotations'
Traceback (most recent call last):
File "play.py", line 118, in
normal = normal_scores(question,options)
File "play.py", line 33, in normal_scores
results = google_search(question, api_key, cse_id, num=10)
File "play.py", line 22, in google_search
return res['items']
KeyError: 'items'
This API method requires billing to be enabled. Please enable billing on project!!!
API key returned by google is not matching by key 'itmes'
It shows as...
Traceback (most recent call last):
File "play.py", line 118, in
normal = normal_scores(question,options)
File "play.py", line 34, in normal_scores
results = google_search(question, api_key, cse_id, num=10)
File "play.py", line 23, in google_search
return res['items']
KeyError: 'items'
any one plzz give me a step by step tutorial as i am new to hacking plzz guys u can contact me through my mail too
Can anyone pls send a billing enable google api key
@jaseemkm please help
can you guide me step by step. i am operating in mac and so far the terminal is not installing requirements.pip
i have tried many question but method 1 is not work ,method 2 is work fine pls help for method 1
i have completely debugged the code and its working
can someone tell me the further procedure please asap
Keyerror: items
Traceback (most recent call last):
File "C:\Users\Venkat\Desktop\Qureka\New folder\loco-hack.py", line 116, in
options = [get_text_from_response(responses[1]),get_text_from_response(responses[2]),get_text_from_response(responses[3])]
File "C:\Users\Venkat\Desktop\Qureka\New folder\loco-hack.py", line 75, in get_text_from_response
t = response['textAnnotations'][0]
KeyError: 'textAnnotations'
Name error raw_input is not defined
how to install requirements please help me as i am new to both hacking and programming.
i am using vygor in windows . it is taking screenshot but the screen.png is blank .
File "play.py", line 103, in
a = raw_input("Wait for the next question and press Enter key instantly when it's displayed\n")
NameError: name 'raw_input' is not defined
This bot doesn't even answer any questions correctly and has two confusing methods . Which methods should we go fir?
i have installed all requirements, tesseract is installed and is in path but getting error when i run program on a screenshot question. i have mouse pointer to get co-ordinates but how to make changes to this in program:
frame = i.crop(((0,400,width,650)))
File "D:\Python36\loco-hack - Copy\play.py", line 105, in
split_screen_to_question_and_options()
File "D:\Python36\loco-hack - Copy\play.py", line 81, in split_screen_to_question_and_options
i = Image.open('screen.png')
File "D:\Python36\lib\site-packages\PIL\Image.py", line 2590, in open
% (filename if filename else fp))
OSError: cannot identify image file 'screen.png'
This bot doesn't even answer any questions correctly and has two confusing methods . Which methods should we go fir?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.