Coder Social home page Coder Social logo

loco-hack's People

Contributors

jaseemkm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

loco-hack's Issues

key error

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

jaseem bro help me to solve this issue

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'

IMAGE ERROR

screenshot 232
it doesnt screenshot?? the screenshots when i look them up in the folder come out to be empty? plis help

TYPE ERROR

a = input()("Wait for the next question and press Enter key instantly when it's displayed\n")
TypeError: 'str' object is not callable

now i'm getting new error please help someone

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'

Key Error: Text annotations

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'

Guide

can you guide me step by step. i am operating in mac and so far the terminal is not installing requirements.pip

Wrong Output

Bhai jaisa tera video me tuple return kar rha h.. originally tera code kuch ar hi output de rha h..
The method 1 output is same for every question.

screen
This is a sample question.

wrong
This is the output which is wrong.
Correct option is A

raw_input

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'

api

  1. why we need api ?
  2. can we remove that api need ?

Name Error

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

how to set points

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'

API

Can someone provide me with an API key?
Thank You

Api key

Give me google api key and cse id

billing price

does any one know how much money is deducted after billing ( cse id)

import error

ImportError: No module named googleapiclient.discovery

TUTORIAL

i have completely debugged the code and its working
can someone tell me the further procedure please asap

install requirements

how to install requirements please help me as i am new to both hacking and programming.

KeyError: 'textAnnotations'

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'

method 1 is not working

i have tried many question but method 1 is not work ,method 2 is work fine pls help for method 1

tutorial

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

Kisi ke paas API Key hai Kya?

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

Tutorial

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

Billling!

This API method requires billing to be enabled. Please enable billing on project!!!

textAnnotations

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'

Api key

Can anyone pls send a billing enable google api key

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.