Code Monkey home page Code Monkey logo

ingrex_lib's People

Contributors

blackgear 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ingrex_lib's Issues

faction chats

Hi,

How can we read faction chats? In parser only allComm :(

Missing ingrex.ini file

The config file ingrex.ini is missing.
Not asking for your personal Token of course, but a template would still be nice ;)

Encoding problems

  File "C:\Python34\lib\encodings\cp1251.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 1557-1563: character maps to <undefined>

I guess this problem is from Python 2 parts of code. But where is it?

Upd: test.py works fine in Python 2, but comm.py shows this error in both 2 and 3

bad tilecounts in util.py

It's seems like tilecounts are outdated.
It must be like [1,1,1,40,40,80,80,320,1000,2000,2000,4000,8000,16000,16000,32000] .
Works fine with that numeric array.

Problem with Intel

Hello again. Yesterday, everything worked fine. However, today I got an exception in self.refresh_version() function: List index out of range.

When trying to print parsed page, I get this one:

<html>
  <head>
    <title>Ingress Intel Map</title>
    <meta charset="UTF-8">
    <meta property="og:type" content="website" />
    <meta name="name" itemprop="name" property="og:title" content="Ingress - Game Reality" />
    <meta name="description" itemprop="description" property="og:description" content="The world around you is not what it seems. Our future is at stake and you must choose a side. Join my faction in Ingress - a global game of mystery, intrigue and conquest." />
    <meta itemprop="image" property="og:image" content="//commondatastorage.googleapis.com/ingress.com/img/Ingress_logo_512px.png" />

    <link rel='stylesheet' type='text/css' href='/css/common.css' />
    <link rel='stylesheet' type='text/css' href='/css/style_full.css' />
    <link rel='stylesheet' type='text/css' href='/css/basic.css' />
    <script type="text/javascript" src="//commondatastorage.googleapis.com/ingress.com/js/analytics.                  js"></script>
  </head>
  <body>
    <div id="header">
      <!-- Header: Separator -->
      <div class="separator">
        <div class="separator_left_arm"></div>
        <div class="separator_center"></div>
        <div class="separator_right_arm"></div>
      </div>
    </div>
    <!-- Dashboard Container -->
    <div id="dashboard_container">
        <h2>Welcome to Ingress.</h2>
        <div class="button unselectable">
          <a href="https://www.google.com/accounts/ServiceLogin?service=ah&passive=true&continue=https://appengine.google.com/_ah/conflogin%3Fcontinue%3Dhttps://www.ingress.com/intel&ltmpl=gm&shdf=EgJhaC(some text cut)Noinuaikg" class="button_link"
             onClick="_gaq.push(['_trackEvent', 'Velvet rope', 'Sign in'])">Sign in</a>
        </div>
        <div class="button unselectable">
          <a href="http://support.google.com/ingress" class="button_link" target="_blank"
             onClick="_gaq.push(['_trackEvent', 'Velvet rope','Learn more'])">Learn More</a>
        </div>
    </div>
  </body>
</html>

Does it mean that cookie is outdated?

test.py fetches nothing

Hi, when running test.py i just got a {} back.
comm.py works fine. (I wondered that im able to see messages from Beijing if i was online in germany with my handy)

Id run test.py with python test.py
Did i made sth wrong?

Thanks in advance,
gamecompiler

Messy 'artifacts' in intel.py

Not affecting script work. But maybe fix that to have the code more production-ready? :)

def send_msg(self, msg, tab='all'):
..
return self.fetch(url, payload)['artifacts']

def send_invite(self, address):
   ..
    return self.fetch(url, payload)['artifacts']

def redeem_code(self, passcode):
    ..
    return self.fetch(url, payload)['artifacts']

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.