Git Product home page Git Product logo

nptools's Introduction

nptools

Illicit automations for neopets.

Note: I finally got frozen after autobuying 24/7 for about a month, so I won't be developing this anymore. Use at your own risk.

Features

  • Daemon that you can just configure, run, and forget about
  • Dailies, including difficult ones like Food Club (using max TER) and multi-dailies like underwater fishing
  • Plays certain games very well. e.g. Shapeshifter, Fetch, Tyranu Evavu
  • Restocks and prices items automatically ($$$)
  • Logs certain results (e.g. lab zaps)
  • Will probably get you frozen

Quick start

Put

NP_USER='username'
NP_PASS='password'
PET_NAME='xX_bestpet_Xx'

in a file called .env in this directory. Then run ./run_daemon.sh.

Additional flags include USER_AGENT and FIREFOX_COOKIES_DB.

A lot of this code was written with assumptions that only hold true on my account. So run it at your own risk and maybe start the daemon with only a few safe dailies enabled first. (Comment out most of the tasks in daemon.py)

Produced files

itemdb.db: sqlite3 database of Neopets items.
g.pickle: pickle of some state we want to persist (see `lib/g.py`).
nptools.cookies: cookies from curl.
*.log: various activity-specific log files. e.g. lab_ray.log tracks zap results.
pages/: copies of all requested pages.
shop_captchas/: images of captchas when buying items.

Directory structure

  • lib/: Base library with shared functionality.
  • activities/: Application of lib to specific activities around the site.
  • repl.py: Imports a bunch of things for python -i use.
  • daemon.py: Does activities at regular intervals you specify.

TODO

Site activities

  • Negg Cave (interesting puzzle)
  • Wishing Well (small chance of 300k-600k, probably +ev?)
  • Sakhmet Solitaire (5k/day)
  • Scarab 21 (5k/day)
  • Neggsweeper (3k/day)
  • Cliffhanger (1500 NP/day)
  • Grave Danger
  • NeoQuest II
  • Cheat
  • Sewage Surfer
  • Go go go
  • Godori
  • Krawps
  • Wheels (requires AWF)
  • NeoPoker
  • Turmaculus
  • Monthly freebies: http://www.neopets.com/freebies/index.phtml
  • Potato counter
  • Meteor crash site
  • Guess the weight of the marrow
  • Scorchy Slots (map pieces?)
  • Symol Hole
  • Island mystic (until avatar)
  • Quests
    • Illusen
    • Jhudora
    • Kitchen
    • Edna
    • Brain Tree
    • Esophagor
    • Taelia
    • Coincidence
  • Mystery pic (really interesting scraping, vision problem)
  • Scratchcard scratching

nptools's People

Contributors

neynt avatar

Stargazers

Andrew avatar

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.