Skip to content
TORNLIFE More

Auto-price Bazaar Items Script

Started by FATU [1482556] on in Tools & Userscripts.

20 replies · 1.75k views · thread synced · 4 days ago · View on torn.com
About this thread

Posts archived: 21 / 21 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
21
Discussion span
→
Authority score
58 / 100
Historical score
36 / 100
Story score
49 / 100
Engagement score
69 / 100

People posting, likes and official posts are not counted for this thread yet: on threads longer than one page they come from a periodic pass over the archive, which has not covered it.

FATU [1482556]

AUTO BAZAAR ITEM PRICER




I have completely re-written this script as before it literally just didn't work. Due to to completely re-writing the script. It has now completely changed.

API KEY NEEDS TO BE SET IN THE CONFIGURATION POPUP

New features include:

  • Configuration settings.


  • Set quantity.

  • Loader indicating progress.

  • Fully automatic pricing.

[image: i.imgur.com]

[image: i.imgur.com]






DOWNLOAD


Scroll down to the bottom and hit the "Install" link.

Note: I have recently deleted this script from Greasyfork where it was hosted before because it was a massive pain to maintain the script there. It has been moved to Github. If your script no longer works, you need to download it from the new link.
Xiphias [187717]

There is an unreachable statement after a return statement on line 80. This is likely a mistake.

 

// If the item's row has "disabled" class, skip this item.

if (disabled) {

  return true;

  scrapeItems(); <<< UNREACHABLE

}
hannes3510 [2150804]

It would be great if we can choose what the variable is for the new price, for example it would be great to have -10% or +10% of current market value
Xinny [1671911]

Script doesn't work. After I filled out the API key on line 13, went to bazaar to add items, clicked the run script button, doesn't work. Refreshed the page, still doesn't work. Lines 11, 14, 21, 27, 43, 44, 51, 71, 72, 75, 105, 108 have a " '$' is not defined" error.

 Edit: Line 7 where it shows the //require (jquery link), replace with this

// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js 

(thanks, tos, for this suggestion!), but was only able to have it work once...
fuad [2088400]

you can change this line

from

var inputMoney = $(".item-" + value).closest("li.clearfix").find(".input-money:text");

inputMoney.val(cheapest - 1).focus();

 

to

 

var inputMoney = $(".item-" + value).closest("li.clearfix").find(".input-money:text");

inputMoney.val(cheapest - (cheapest/10)).focus();

 

well im actually below amateur in scripting, this could be wrong hehehe