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:
- Extract the folder somewhere on your computer
- Open chrome and go to chrome://extensions/
- Click on the developer mode checkbox
- Click on load unpacked extension
- Select the folder you extracted on step 1
- Done
How to use it:
- Open chrome and go to chrome://extensions/
- Click reload under NeoTools
- Click inspect views: background.html (or the incognito version if you are in incognito (will have to click on allow in incognito))
- Developers tools should now be open. Go to console tab
- Enter neoTools.command
- 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
- do neoTools.clearRequests() --> should work 99% of cases
- do neoTools.requestManager.stop() --> won't do any further request until neoTools.requestManager.play() + (neoTools.requestManager.run() or any other command) is used
- go to chrome://extensions/ and click on reload, then close the developer tools window you had, and open it again
- exit chrome --> should never reach this point
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:
Attached Files
Edited by juvian, 29 November 2015 - 09:05 AM.