Neopets Autobuyer

The Neopets Autobuyer, is a bot, or tool, that has been around for ages. People have used this autobuyer to auto buy items from the main shop! Imagine turning this neopets autobuyer on, than waking up the next morning to dozens of morphing potions in your inventory! Well that’s what an autobuyer does, and it rakes it tons of profit! You will already need Greasemonkey installed (read here), and when you do, you can install the script below:


Neopets

Autobuyer Features

This specific script will do 5 things all in one script to help you restock in the magic shop. It will:
– autorefresh at the rate you set with a special bellcurve feature (explained below)
– autoalert you via a small javascript pop-up and/or with a sound when an item in your rs list is in stock
– autogo to the haggle page when the item is in stock so you don’t have to click it
– and finally enter a smart autohaggle (3333, 3535, 3355, etc.)

This means that effectively all you have to do to buy the item wait until it restocks then click on the pet on the verification image!

Autobuyer Features Explained

Bellcurve Autorefreshing

The bellcurve refreshing rate will refresh more often in the middle of your intervals than on the minimum and maximum values of your interval. This is done to create the appearance of a more realistic refreshing pattern. This is probably easier explained through an example.

An example of this out of 1000 refreshes with a minimum interval of 0 seconds and a maximum interval of 7 seconds:

0-1 Seconds: 50 times
1-2 Seconds: 100 times
2-3 Seconds: 200 times
3-4 Seconds: 300 times
4-5 Seconds: 200 times
5-6 Seconds: 100 times
6-7 Seconds: 50 times

Normally, with each interval would have roughly the same number of refreshes but as you can see, the bellcurve avoids exactly that. This was done to create the appearance of a more reaslitic refreshing pattern.

Alert System

There are two options available to alert you when it restocks: a small pop-up window and/or a sound.

The purpose of the javascript pop-up is to focus your screen on the restocking tab of your browser you have open if you’re doing something else on your browswer. I personally watch youtube a lot so I can watch youtube vids on one tab but when it restocks, I don’t even need to click on the tab with the shop because this pop-up will automatically do it for me! Note that if you have your browser minimized when it restocks, it will NOT open up your browser (this is what the sound is for).

The sound is just another way to tell you that it has rsed in case your eyes are off the screen or if you’re doing something else not on your browser. For an example, if you like to watch a lot of movies on your computer, then you can watch fullscreen but when it restocks you will hear a sound so you will know when to unminimize your browser and buy.

If you have two monitors, then you can even disable the pop-up and leave just the sound. Have one monitor with your browser open at the shop and the other monitor watching a show or doing something else. Then when it restocks and you hear a sound, you can just move your mouse over and buy the item.

Autogo to haggle page

Whenever an item in your list is in stock, the script will automatically go to the haggle page for you! Pretty simple.

Autohaggle

The script will also smart autohaggle for you. It will enter the haggle in well-known restocking patterns like 2121, 2222, 2211, 2221 etc. so it will look like you’re an expert restocker! Although on rare occasions, the number it enters will be too low and the shopkeeper won’t accept it. This has only happened to me a couple of times over quite a while though.

Setup and Editing

Installation
To begin, download the two attached scripts and with greasemonkey installed, open it with firefox. It should ask you to install it. If it doesn’t ask you and instead opens firefox with the contents of the script, just refresh the page and it should ask you to install. Once installed, just go to the magic shop the scipt will do its thing.

Changing Time Intervals

To change the time intervals, open the script with notepad or wordpad and on the top of the script change 3.54 and 6.36 as seen here:

var randNumMin = 3.54; // Set the minimum value that can be generated for randNum
var randNumMax = 6.36; // Set the maximum value that can be generated for randNum

Of course, 3.54 is the minimum time and 6.36 is the maximum time for refreshing.

Note: due to the bellcurve feature, the times in the script may not correspond exactly to the refresh rate. I.E. in the above example, it may actually take ~5 to ~8 seconds to refresh even though you entered 3.54 and 6.36. Play around with it first to see what works for you.


Changing, adding or removing items

If you want to change an entry, take a look at this example:

else if (document.body.innerHTML.indexOf(‘Starry Grarrl Morphing Potion’) != -1) {
var item = document.evaluate(‘//b[. = “Starry Grarrl Morphing Potion”]’,document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
alarm();
autograb();
miscellaneous();
return;

All you need to do is change Starry Grarrl Morphing Potion both times (don’t forget that for every entry to have it change it twice or it won’t work!) to the item you want.

To add an item, all you have to do is copy and paste an existing entry and change the name of the item you to the one you want to add.

To remove an item, just delete the whole entry (don’t forget to delete semicolons too).

IMPORTANT: Obviously, do not remove or change the entry that says ‘<DO NOT REMOVE’ otherwise the script won’t work properly! And no, the < is not a typo, it’s meant to be there.

Customising your script

Say you don’t like the pop-up, no problem! All you have to do is use the replace feature and do replace all on miscellaneous(); with nothing so only a blank space remains in every entry. The shortkey for the replace feature is Ctrl + H on notepad.

Or maybe you don’t want the sound for whatever reason. For this, do the same thing as the last paragraph except replace all instances of alarm();instead.

And if for whatever reason you don’t want it to automatically click on the items for you, just replace all instances of autograb();

Autobuyer Shops

Magic
Huge profits but only if you have the patience to sell the potions. Make sure you have a couple of million beforehand so you don’t spend all your money on potions that you haven’t sold yet! But magic is very competitive so don’t expect to get every potion you see.

Toy
In this list, I’ve included only unbuyable items and I think the script is probably missing some but it’s a decent list. Pinatas are about 100k each and can be seen by accounts 1 month old. Some of the items are worth millions while some are not.

Pharmacy
Great for accounts about 16+ days old because they can see all the items. Very good profit for young accounts. Fairly competitive though items often restock in packs of 20 so you can usually get at least 2 of them. Cactopus cream and Sporkle Syrup can also sell for 100k and 200k respectively.

Ice Crystal
This shop is only for those with a lot of patience. Very rarely will a decent profitable item ever restock so you can expect to go weeks without even buying a single item from there. There are a few items with small profit there (less than 10k) but I’ve excluded them. That way when you hear the alarm, you KNOW something quite valuable has rsed. The big item you’re going after here is the Freezing Potion worth about 7.5m. There are also a few other unbuyables in the list.

Autobuyer Miscellaneous Information

If there is more than 1 item in stock that is in your list, the script will take priority in order of the items listed from top to bottom. So that means you should put the most profitable items at the top and the least ones on the bottom.
If you do not know what greasemonkey is, I suggest you read another guide on that and there are plenty around, even some on these forums.

Due to the large number of profitable items in magic and thus a very long script, the script *may* freeze your browser for a second whenever it refreshs if your computer is not very fast. For faster computers though, you shouldn’t notice anything.

As with any other hack, trick, glitch, exploit, bug, etc., use this in moderation. Even if you’re on the computer all day, do not leave this on for hours at a time. Take breaks every hour or two and of course, do not buy items too quickly once you get to the haggle page. You may want to wait a second or two before clicking the pet verification picture so it won’t look like you have a buy time of 0.6 seconds because you will get frozen if you do that.

Now with all this setup, you can rs as long as you’re on your computer but without even playing Neopets or even having your eyes on the monitor. Good luck!



Buy Neopoints