Quantcast
Channel: Neocodex Programs

Neoquest I autoplayer chrome extension

$
0
0

I have made a working chrome extension to play through neoquest I. It successfully completed the game 8 times on the now banned account nqHood, pet nqlupe, which you can see is currently 30th on the page of "most wins" here: http://www.neopets.com/games/neoquest.phtml?section=leaders&sub=most

 

I'm interested in contributing the extension to this site. It currently works quite will on normal difficulty. The most common problem is that it occasionally dies against the Archmagus of Roo. I think I fixed it by making it heal more frequently in that fight, but another good fix would be to ask it to fight the Archmagus at level 33 instead of level 32. In order to make it work on Evil/Insane difficulties a few things need to be changed. There are 30 points in the game where my extension stops and trains in place until it reaches a specified level. The levels that I have put in at these spots are sufficient for completion on normal difficulty but presumably too low for evil and insane. The other thing that probably needs to be changed for higher difficulty levels is the AIs to fight the various bosses. The AIs are extremely simple, and I made all of the current ones by throwing down something that seemed half reasonable and then making it heal more often until it stops dying.

 

Another obvious problem is that it doesn't wait at all between page requests. It takes about 3500 page requests on average to complete the game, and generally finishes it in less than 12 hours of run time. This looks tremendously suspicious, and indeed the account I made to test this was eventually banned. What do you guys generally do about that sort of issue? Add some random delays? Please let me know.

 

My code is pretty ad hoc since this is the first thing I've written in javascript. In particular, I didn't know about chrome.storage until after I'd already set up a complicated message passing system to use a background page for long term storage. This makes the code unnecessarily cumbersome. If anyone wants me to explain the gist of how it works, or any particulars, let me know. I hope someone here can glance over my code and check that it doesn't do anything fishy. 

 

To use, first make sure you are in the middle of a game of neoquest. It will start immediately delete this game and start over, so it better not be one you care about. Either unzip the zip file and load it into chrome as an unpacked extension (to do this you have to turn developer mode on) or change the second text file's extension to .crx and load that as a packed extension. Start up the extension, refresh the neoquest page and you're good to go.

 

Let me know what you guys think!

 

 

Edit: Oops, could a mod move this to the "User submitted programs" subform for me?

 

Edit 9/22/2016: So apparently there were a few typos in the program. I fixed them, and now it runs for me. I apparently don't have permission to make a thread, and this one is locked, so PM me or something if it still doesn't work.

 

Also, what the "new game" prompt does: if this is your first time starting the extension, it does nothing. After that, if you put 1 or any other random thing (but not 0 or false or something like that) then it will start over, throwing away the current state in the game, and resetting the game.

 

If the extension finishes the game, you'll need to reload the extension and put 1 into the box or else it will never do anything again. If you stopped the extension in the middle of a game for some other reason, make sure to put in 0 if you want it to continue.

Attached Files


adblock list creator

$
0
0

It's very basic and something I only put together for myself, but I figure someone might have a use for it, I figure I have to start somewhere and I suppose here would be a good place.

 

you paste the JN DB url, you remove the start value from the query string, the second input is an integer, it correlates to how many hundreds of items you want the image urls of, 10 = 1100 items (0 is one page, 1 is two pages) You can then paste the output straight into an adblock filter. changing the query to only a certain rarity or value you could even make a whitelist of images rather than a blacklist.

 

There's no error validation, you've been warned.

 

PM6qCEe.png

It's not much to look at but I guess a screenshot is better than nothing.

 

source: https://www.dropbox.com/s/zl2rnkie5akeb02/JNCrawler.zip

binary: https://www.dropbox.com/s/5yt3t768slyjuya/JNCrawler.exe

scan: https://www.virustotal.com/en/file/a91be4e04db61b943e9ddcc81fede94c3b6ca69aa41fbf3cabb7696423905652/analysis/1437645572/

 

My UserScript Collection.

$
0
0

Welcome to my collection of half assed things.


no annoying popup when restocking. 

// ==UserScript==
// @name         No Confirmation On Haggle
// @namespace    http://your.homepage/
// @version      0.1
// @description  4 lines of goodness
// @author       Desant
// @include     *neopets.com/objects.phtml?type=shop&obj_type=*
// @include     *neopets.com/objects.phtml?obj_type=*&type=shop
// ==/UserScript==
 
var items = $('a[href^="haggle.phtml"]');
for (i = 0; i < items.length; i++){
    items[i].setAttribute("href",items[i].getAttribute("onClick").split(";")[0].substring(11,71).replace("'+'",""));
    items[i].setAttribute("onclick","");
}

Simple scorchy "player" (it presses play and collect, ayyy)
 

// ==UserScript==
// @name         scorchy "player"
// @namespace    http://your.homepage/
// @version      0.1
// @description  enter something useful
// @author       Desant
// @grant        none
// @include     *neopets.com/games/slots.phtml*
// ==/UserScript==

var items = document.getElementsByTagName("input");
for(i=0; i < items.length; i++){

    if (items[i].getAttribute("type").indexOf("submit") != -1){
        if(items[i].getAttribute("value").indexOf("Play") != -1 || items[i].getAttribute("value").indexOf("Collect") != -1){
            items[i].click();
        }
    }
}

Modified auto shop stock alerter for chrome/fixed alert. All credits to whoever.

// ==UserScript==
// @name        Neopets Main Shop Restock Alerter
// @namespace   http://www.userscripts.org/user/46514
// @include     *www.neopets.com/objects.phtml?*
// @version     1.11
// @grant       GM_setValue
// @grant       GM_getValue
// ==/UserScript==
var shopId = window.location.href.substring(window.location.href.indexOf("obj_type=")+9,window.location.href.indexOf("obj_type=")+11)

if (GM_getValue("stock_"+shopId, -1) === -1) {
    GM_setValue("stock_"+shopId, $('img[src^="http://images.neopets.com/items/"]').length);
    setTimeout(function() { window.location.reload(); }, 2000+Math.random()*2000);
} else {
    if ($('img[src^="http://images.neopets.com/items/"]').length > GM_getValue("stock_"+shopId)) {
        alert("Restock on shop "+shopId);;
        GM_setValue("stock_"+shopId, $('img[src^="http://images.neopets.com/items/"]').length);
    } else {
        GM_setValue("stock_"+shopId, $('img[src^="http://images.neopets.com/items/"]').length);
        setTimeout(function() { window.location.reload(); }, 2000+Math.random()*2000);
    }
}

Half assed half finished but working shell creator.

Spoiler


Dicearoo "Player"
 
// ==UserScript==
// @name         Dicearoo "Player"
// @namespace    http://your.homepage/
// @version      0.1
// @description  enter something useful
// @author       You
// @include      *neopets.com/games/dicearoo.phtml*
// @include      *neopets.com/games/play_dicearoo.phtml*
// ==/UserScript==

var items = document.getElementsByTagName("input");
for(i=0; i < items.length; i++){

    if (items[i].getAttribute("type").indexOf("submit") != -1){
        if(items[i].getAttribute("value").indexOf("Play") != -1 || items[i].getAttribute("value").indexOf("Roll") != -1 || items[i].getAttribute("value").indexOf("Press") != -1){ 
            items[i].click();
        }
    }
}

AoB requests, REQUEST HERE.

$
0
0

Deleted.

 

You know what ? Nevermind. There are nobody requesting anything. I didn't want to post because I was scared THIS will happen, I'll write but NOBODY will post. Plus Pyro seems to have blocked me from Skype (he kind of automatically accepted me on Skype, now I see him offline, suddenly, after asking him some stuff).

 

Nevermind. I'm gone.

Lucid Autobuyer

$
0
0

6btcWoA.png

 

Lucid Autobuyer

 

 

Note: Lucid Autobuyer is currently in early alpha. It will see changes, and will only get better.

 

Lucid Autobuyer is a main shop autobuyer powered by shop lists currently. It has been written to be easy on the eyes, but get's the job done. It currently only works on Windows.

 

 

Features

  • Configurable settings.
  • Item retry on haggle failure.
  • Color Scheme User Interface (lots of configurable options)
  • Proxy configuration / User Agent configuration

 

Reporting Bugs

 

Bugs that are fatal have files that are generated when they occur, if you can pm them to me, I can take a try at fixing them.
You will get a message box telling you where the file is.

 

If something else happens and it crashes, try to grab a screenshot for me, or let me know what you were doing.

 

 

Feature / I Want X's

 

Let me know, I want this thing to evolve!

 

 

Known Issues and Bugs

 

These will change as current version issues are added and resolved.

  • Proxy settings untested. Let me know.

 

Download

 

Click here to download latest version (1.0.10)

 

 

Version History

  • 1.0.10
    • Fixes a few hanging bugs when an item is missed.
    • Cleans up a few other odd issues that have happened.
  • 1.0.9
    • Solves issue regarding not enough NP to make a purchase.
    • More fixes for when you do not have NP.
  • 1.0.8
    • Solves issues with crashes if you do not have any NC. Should fix @Scavi issues regarding crashing.
    • Fixed issue with item selling out during buy process.
    • Fixed display of cost in the now buying screen.
  • 1.0.7a
    • Maintenance release.
    • Now just a zip file, easier to work with.
    • Exceptions should be reporting appropriately, they generate Exception_*.txt files in the same folder. These should be sent to me to fix.
    • Fixed some threading stuff to reduce a little bit of CPU when running.
  • 1.0.7
    • Crash condition a lot of you have been seeing should be fixed.
  • 1.0.5
    • Settings should save between upgrades.
    • Sending AcceptLanguage of 'en' to work with non-english users.
    • Fixed bug where Captcha caused exceptions when attempting to purchase an item.
    • Should work a little more consistently. (I hope)
  • 1.0.4
    • Fixed issue with application failing to purchase an item.
    • Fixed issue with application appearing to run but not doing anything after initial setup.
  • 1.0.0
    • ​First Release

[chrome extension] NeoTools for your basic needs

$
0
0


NeoTools



So, have been wanting to do this since charity corner, but it got more complex that expected and ended up with little time as I had a lot of exams. Now that the exams are over, was finally able to fix several bugs I still had (though it probably still has some) and so have decided that the current version is good enough to post here. Works the fastest it can be with javascript

Features it has:
 

  • quickStock: can deposit items from inventory really fast (have had trouble when I had over 1k items on inv myself, takes so long to do it manually). Can also just deposit items matching x such as "dung"
     
  • moneyTree: can try to get 10 random items from money tree donations that have not yet appeared on the donations page. Basically gets items from the "future", a few minutes before they should appear. Its a gamble, but for a daily its not bad and have gotten some nc items a few times
     
  • wishingWell: makes a donation of 21np of the item you want to the wishing well. If you haven't reached 7 cap limit, it auto-donates again
     
  • generalStore: autobuys the amount you want of an item from general store (used this to buy 5k jingle bells on charity event xD)
     
  • accountInfo: useless stats such as np, nc, username, activepet name
     
  • shopWizard: autobuys an item from user shops really efficiently. Can set min, max, exact or containing, qty of items to buy, qty of times to run the search, and wait time between searches


First version so expecting some feedback to add/fix things, feel free to comment ;)




How to install it:

 

  1. Extract the folder somewhere on your computer
  2. Open chrome and go to chrome://extensions/
  3. Click on the developer mode checkbox
  4. Click on load unpacked extension
  5. Select the folder you extracted on step 1
  6. Done



     


How to use it:

 

 

  1. Open chrome and go to chrome://extensions/
  2. Click reload under NeoTools
  3. Click inspect views: background.html (or the incognito version if you are in incognito (will have to click on allow in incognito))
  4. Developers tools should now be open. Go to console tab
  5. Enter neoTools.command
  6. Wait for results


     




Commands examples:

 

  • neoTools.quickStock() --> deposits all items in inv
     
  • neoTools.quickStock({match: "dung"}) --> deposits all items in inv that have dung in its name
     
  • neoTools.quickStock({all: false}) --> deposits only up to one page of items (70)
     
  • neoTools.quickStock({match: "dung", all: false, qty: 1, type: "stock"}) --> stocks in shop up to 1 item containing dung in its name. Available types: deposit, stock, donate, discard, gallery, closet, shed

     
  • neoTools.moneyTree() --> tries to get 10 random items from money tree from "the future"

     
  • neoTools.wishingWell("Neopets 16th Birthday Goodie Bag") --> makes a 21 np wish of Neopets 16th Birthday Goodie Bag until it has reached the cap limit

     
  • neoTools.loadAccountInfo() --> loads useless stats, only necessary if you haven't done any other command yet
     
  • neoTools.accountInfo --> view current np, nc, and such

     
  • neoTools.generalStore({name:"Jingly Bell", limit: 10}) --> tries to buy 10 Jingly Bell from general store

     
  • neoTools.shopWizard({name:"pile of dung"}) --> searches sw for a pile of dung and buys it
     
  • neoTools.shopWizard({name:"dung", criteria: "containing"}) --> searches sw for something containing dung until it finds one and buys it
     
  • neoTools.shopWizard({name:"pile of dung", min: 200, max: 1000}) --> searches sw for pile of dung between 200np and 1000np and buys it
     
  • neoTools.shopWizard({name:"pile of dung", qty: 10, max: 200}) --> searches sw for pile of dung for less than 200np and buys 10
     
  • neoTools.shopWizard({name:"pirate draik morphing potion",  stopWhenBanned: false}) --> searches sw until it buys a pirate draik morphing potion, and if banned will auto-run again when the banning time has ended
     
  • neoTools.shopWizard({name:"pile of dung", spendUntil: 200, qty: 100}) --> in theory it should buy pile of dungs until it has spent 200np or more on them, have't tested it much. Or stops if it buys 100 of them, whichever happens first
     
  • neoTools.shopWizard({name:"pile of dung", maxRuns: 10, max: 10}) --> will either buy a pile of dung for less than 10np, or will stop searching after 10 searches
     
  • neoTools.shopWizard({name:"pile of dung", waitTime: 1000*10}) --> waits 1000*10 milliseconds between each search, that means 10 seconds

     
  • neoTools.clearRequests() --> in case anything goes wrong, this should abort all active requests and erase pending requests





Sw autobuyer is not stopping or I accidentally put to buy 100 pile of dungs but did not put max on it so it could buy some for 99999 np

 

 

  1. do neoTools.clearRequests() --> should work 99% of cases
     
  2. do neoTools.requestManager.stop() --> won't do any further request until neoTools.requestManager.play() + (neoTools.requestManager.run() or any other command) is used
     
  3. go to chrome://extensions/ and click on reload, then close the developer tools window you had, and open it again
     
  4. exit chrome --> should never reach this point :p




     

Advanced examples: (for coding users)

 

 

 

  • neoTools.quickStock({match: function(name){if(name== 'pile of dung' || name.indexOf('nerkmid') != -1){return true;}else{return false}}}) --> deposits all items matching the name pile of dung or items which name includes the word nerkmid
     
  • neoTools.shopWizard({name:"dung", qty: 1, criteria: "containing", max: 500, shouldBuy: function(id,stock,price,name, owner){
        if(name == "pile of dung"){
            return true
        }
        return false
    }}) --> searches for dung, but only buys if it's a pile of dung
     
  • neoTools.shopWizard({name:"secret laboratory map", qty: 10, shouldBuy: function(id,stock,price,name,owner){
        if(id == 8448 && price < 50000){
        return true;
        }else if(id == 8444 && price < 40000){
        return true;
        }else if(price < 1000){
        return true;
        }else{
        return false;
        }
    ​}}) --> searches secret laboratory map, and according to the id of the map piece and its price, it decides to buy or not. Useful for nerkmids, secret lab, paint brushes and such




Some Screenies:


w1K4O.jpg6WSfQ.jpg

Attached Files

[Userscript] Lever of Doom Avatar Getter and NQ1 Attacker. More coming!

$
0
0

Hey everyone, I'd like to contribute a couple scripts I made. The first will help you get the Lever of Doom Avatar. To use it, navigate to the Lever of Doom and then let it run! It will keep pulling the lever until it receives the notification that you got the avatar. It will immediately stop on that screen so you can take a screenie. Warning: it can take a while... This avatar cost me almost 300k (That's nearly 3000 pulls or 6000 page requests!).

 

Also, here's an update to a previously posted NQ1 Attacker. The old attacker was broken, but is now fixed. Also, I've improved the potion selection. You no longer need to fiddle around with the userscript to find the ID of the next potion. The script will now automatically select the best potion to heal you fully. The one exception is that Spirit Healing Potions will not be used, so you can save them for the final boss battles. Note: do not try to use this script for boss battles. This is only meant for level grinding against equally matched/weaker opponents. It could work out, but I make no guarantees.

 

These both generate a lot of page requests, so you should not otherwise navigate the site while running these scripts.

 

I'll probably also write a script for the Symol Hole avatar. I'll post here when that is finished. I might also make a Battledome autobattler that uses Faerie Abilities and is meant to grind against weaker opponents. It would be simple and meant to fight opponents you can beat in 3 turns tops. Let me know if there is any interest in either of these scripts.

 

 

EDIT: Here's the Symol Hole Avatar script. Just needed to confirm it worked. Got the avatar after about 20 minutes.

 

Grumpy and Wise Kings. Auto-fill in those selectors for you. For grumpy king, the question auto-fills to "What do you do if fierce Peophins has eaten too much tin of olives?" for the Court Jester avatar.

 

EDIT 2: Magma Pool Time Finder. I noticed the link for the old version was broken so I rewrote a very lightweight version. Leave the tab open to the Magma Pool. The script will refresh the window every 3 minutes and then display an alert with the time when it detects the guard is sleeping. It won't log you back in if you get logged out.

Not enough Neopoints to start a game

$
0
0

So, this problem has been bothering me for a long time now but I finally decided to create a thread and ask for help. It happens in a lot of game APers like Cheat, Cellblock, Snow Wars etc. Here is a screenshot of this error that just happened in Snow Wars:

 

35a4ae5317.png

 

I have already tried switching proxies and reinstalling program manager (and yeah, I have enough NPs to start a game <_<).


Not enough Neopoints to start a game

$
0
0

So, this problem has been bothering me for a long time now but I finally decided to create a thread and ask for help. It happens in a lot of game APers like Cheat, Cellblock, Snow Wars etc. Here is a screenshot of this error that just happened in Snow Wars:

 

35a4ae5317.png

 

I have already tried switching proxies and reinstalling program manager (and yeah, I have enough NPs to start a game <_<

Neoquest II Client + Bot

$
0
0

I recently started to play Neoquest II for the second time in my life due to nostalgia, the first being over a decade ago.

Some where along the way in Neopet's lifetime, it's server speed and quality has really taken a beating and Neoquest feels pretty awful to play. With each page sending out multiple small requests, the time really adds up.

This client seeks to address this issue with just plain old one HTTP GET/POST per action, no javascript, no behind the scenes multiple bs requests. Map tile images are cached in memory when they are first encountered, this is the only time there will be multiple requests per action.

This will be a progressive program, meaning I'll add things along the way as I play along, and should be completed as I finish the game.
However, I won't hold on to it until the very end because I assume that most of the functionality will be integrated part way through.

As this is not a cheating program, I am not expecting much attention, but for the people who might suddenly feel like using it in the future, you have the peace of mind knowing that this is available when you need it.  You asked for it, the bot is for cheating, and the client is for legit.
 
Client:

Spoiler

 
Bot:
Spoiler

Attached Files

Trudy's Surprise

$
0
0

So, I was thinking... I have so many accounts that I have been collecting on Trudy's Surprise and was wishing for an easier way to collect. I was wondering if it was possible to create a program to play Trudy's Surprise using Multi Account option? I have no idea how to code or make programs, but was wondering if this was a fun idea that someone who is talented in that department could work on.

 

I did a search for Trudy's Surprise in the forums here and nothing came up so I am assuming there isn't a thread for this yet. I hope that I am not repeating someone else's idea or writing this in the wrong place!

 

Anyone else think this would be a cool idea to make collecting NP via TS easier?

Auto feeder?

$
0
0

Would anyone happen to know of a good autofeeding script?

Adblock Simulator?

$
0
0

I used this awesome adblock simulator for a while

accidentally refreshed firefox and it's no longer working

 

does it work for anyone else? here is the greasemonkey script. it should add a textbox in the left sidebar of the shop that allows you to put in profitable items that you want to see

Attached Files

[User script] Petpet Battle Autoplayer

$
0
0

Petpet Battle is an extremely lame game that is boring and unfun to play. Because of this, it's a really easy trophy for your userlookup... if you can stand playing it.

 

Me I cannot. But I could stand writing an autoplayer for it.

 

This won't win 100% of the time because the game relies on RNG a lot. But by switching between shielding and using head shots, you should get a reasonable win rate. I've gotten the gold trophy using this script before, so I can confirm that this script is good enough for that.

 

Petpet Battle URL: http://www.neopets.com/games/petpet_battle/index.phtml

 

Script:

Spoiler

 

Ghoul Catchers Macro

$
0
0

Hi guys first off I want to say that I really enjoy being a part of this forum and I appreciate all the work people put into this site.

 

It would be great if there was a bot that could auto-play ghoul catchers and earn 50k neopoints a day but sadly we don't have the technology.

 

In the meantime I built a keyboard macro that autocomplete the first level of the puzzle.

 

It takes about 25 seconds for each completion. The first 3 moves are the same but each puzzle is different enough that it can take up to a minute for it to try enough moves to solve every puzzle. If you want to go AFK you can just leave this running and earning neopoints.

 

It was designed to be used with Firefox on a 1920x1080 monitor. The macro program I used is called Mouse Recorder.

 

The macro is attached as an .mrf file. Enjoy!

 

 


[Program] NeoByte Advanced AoB Scanner

$
0
0
Hey guys, it's been a while since I've been back in the coding scene. I've noticed my old AoB scanner has grown quite popular so due to it being outdated, I've decided to remake the entire project from scratch and giving it a new name. This new project is many times better, faster and more efficient. Enjoy.
 
Screenshot
face.png
 
Program features
- Automatically detects firefox and chrome's flash process
- Saving/Loading AoB efficiently from xml files
- Insanely fast AoB scans
- Wildcard support (use one question mark '?' for each byte)
- Convenient searching tools
- Recommended for firefox or chrome
- More dynamic so it will last a lot longer than the old scanner
 
Convenient Tools
Spoiler


How To Use
Spoiler

 
How To Add An Entry
Spoiler

 
Additional Notes
- The GamesList.xml file included has many outdated AoB's. It is based off Master List 1.4.txt for my old scanner. Unfortunately, I do not have the time to update them all. If someone wants to create a new thread with an updated list for this scanner please do so.
- Please let me know if you run into any issues while using this version. Thanks
 
Requirements
 Microsoft .NET Framework 4.5.2
 
Virus Scans
Virus Total (32-bit)
Virus Total (64-bit)

Download
NeoByte v1.2 (32-bit)
NeoByte v1.2 (64-bit)

ValorSuite Web

$
0
0
ValorSuite is a Neopets automation suite designed to automate many of the tedious tasks Neopets presents. It contains many popular features such as autobuyers, kad feeders, auction snipers, daily automators and more.
 
 
The use of this web application may lead to your Neopets account being frozen.
 
 
 
 
 
This topic will serve as the official thread for support.

UserShop Autobuyer?

$
0
0

Theres's any User Shop AB available ?

Program Manager - Coconut Shy

$
0
0

Can I still use the Coconut Shy auto player if I am on a browser that supports flash still, like Puffin? How does that work if so? I have only ever used chrome before flash went void!

Simple shop pricer / user shop parser

$
0
0

A simple program I wrote years ago but it still works fine so I figured I'd give it a little polish a post it here for everyone to use if they want.

 

How to use:

1) Paste the source from your current shop page / the use shop page you want to parse (Right click view page source).

2) Click one of the 3 buttons:

    a) Parse Shop will set the price for any items on the current shop page that are 0 to the price found in the db. It will also update the db to the current prices. If it finds a price for an item currently at 0 it will also add that item to the shop db.

    b) Parse User Shop will check the current user shop page against the shopping db for items to buy.

    c) Lower Prices It will lower the prices for the current page of you shop using the options above it by default it will drop by 10% any items 10nps or under will lower by 2 and anything under 5 will be set to 1.

3) Copy all the output text and paste it into the console for the page you parsed and hit enter. (Right click inspect if the console doesn't pop up you have to click the tab for it.)

    a) On your shop it will edit the price text boxes to match.

    b) On user shops it will change the background of the items it thinks you should buy to green.

 

Requires .net 8.0

 

Known Issues:

Viewing the source on chrome will "load" the page again this can trigger random events the program WILL NOT catch these so if you suddenly have a fairie quest this is probably why.

Firefox will require you to disable pasting protection to do so Open the console and type "allow pasting" and hit enter.

If the program found nothing both the source and output box will be blank.

Clicking the next 30 button on your shop page wont load the next 30 items when you view the source you have to click on the blue links for each page instead.

 

Download:

Attached File  NeoTools.rar   305.91KB   0 downloads