Neopets : Price Checker

By w35l3y Last update Oct 12, 2013 — Installed 17,792 times.

Edna Quests?

in
Subscribe to Edna Quests? 6 posts, 2 voices



cowsgraze User
FirefoxWindows

Hi! I really like the script and it's worked very well for me, but I'm having trouble with Edna's quests. When I load any /witchtower page, I get a popup box asking "How many times to search for lowest prices?" When I click OK for the default 3, it lets me go to the next page. Once there, however, clicking the dollar sign doesn't produce a price or a link (I confirmed these items aren't unbuyable). How can I make it work, and is there a way to eliminate the popup box?

 
w35l3y Script's Author
FirefoxWindows

Fixed! Thanks for letting me know.

 
cowsgraze User
FirefoxWindows

I no longer get the popup on http://www.neopets.com/halloween/witchtower.phtml unless a quest is active, which is nice, but I'm still experiencing a problem. On /witchtower2 and /witchtower (once I've started the quest), I get the popup box and then I can't find the items. Right after I hit submit, the dollar sign for the first item turns blue as if it's searching, but it just stays there. If I click the other dollar signs, they turn blue, though they stay there as well without returning a price or a link.

I forgot to mention the changes I made to the script in the first post! I changed the first line of the script (80th line in the text file?) to the following:

GM_setValue("config", JSON.stringify({enable : 0x1DFF, percent : 10, attempts : 3, append : false, interval : [500, 500], autopricing : 0x0800,}));

I was just trying to get all the ones I wanted enabled while disabling the others. After running it a few times and looking at the script again, I realized I forgot to make that line a comment, so I changed it to this:

//GM_setValue("config", JSON.stringify({enable : 0x1DFF, percent : 10, attempts : 3, append : false, interval : [500, 500], autopricing : 0x0800,}));

Outside of that, I've made no changes to the script since I've installed it. I'm not sure this will affect my problem, but I realize as much info as possible should be provided.

Finally, I wanted to thank you! I've used a few of your scripts, and they're always high quality. On the rare occasions that I've had problems, you've been quick to address them, and I wanted to thank you!

 
w35l3y Script's Author
FirefoxWindows

The popup box will stay as is.
If you want to disable it, then change autopricing from 0x0800 to 0x0000 (or just 0)

There is a known bug to greasemonkey that prevents some codes from executing after an alert, confirm or prompt is executed on page load, just like the popup box you mentioned.
But I avoided it from happening by adding a timer of 0 miliseconds (it surrounds the problem above)

So my recommendations are:
1) Close your browser
2) Open Edna's Tower
3) Try to get price of something
4) If the problem persists, then tell me what is your version of firefox and greasemonkey

 
cowsgraze User
FirefoxWindows

I'm using Firefox 12.0 and Greasemonkey 0.9.20

I closed my browser and opened Edna's Tower and still couldn't get a price. Once I changed the autopricing from 0x0800 to 0x0000, though, I closed my browser and opened Edna's Tower again and I was able to get a price! The script now works exactly as I want it to, so my problem is solved, but I still couldn't get the popup box and price checking to work at the same time, so that's why I provided the info above.

 
w35l3y Script's Author
FirefoxWindows

I was not able to replicate that error using FX 12.0 and GM 0.9.20.
If you want to enable autopricing, just type Shift + P