[Script] Market Auto Price Filler | Tools & Userscripts | TORN

[Script] Market Auto Price Filler

​

    • Silmaril [2665762]
    • Role: Civilian
    • Level: 90
    • Posts: 375
    • Karma: 1,033
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 08:28:45 - 28/10/24 (1 year ago)
    |
    Last replied 09:56:55 - 07/09/26 (22 days ago)

    Autofills market item price based on customisable price delta.

    Default price delta is to skip 0 lowest items on market and deduct $1 from the next price, which can be represented as price delta -1[0].

    You can put any operation there, +, -, +%, -%.

    Works on Add & View pages.

    Also, pricing off of daily average market value is possible, put [market] in brackets instead of number of items to skip, like this -1[market].

    One more price base is median price of 25 lowest positions, put [median] in brackets for it like -1[median].

    Price delta template & examples: operation[to-skip-items]

    -10%[1]

    0[market]

    +25[4]

    -1[median]

    You can set custom price delta or api key either via Tampermonkey menu (see image) or by holding price fill button for 2 seconds.

     

    Screenshot%202023-09-21%20222603.jpg?locale=en

     

     

    After price fill shows 5 lowest positions with quantity X price currently for this item on market which can be DRAGGED around (remembers where u put it) & positions can be CLICKED to replace the current price with the one clicked (minus $1).

     

    5NjqLz.png?locale=en

     

    You need Public api key for it to fetch all the prices.

    Supports both Desktop & TornPDA on mobiles.

    Requires Tampermonkey on Desktops.

    TornPDA version doesnt require api key, as it uses PDA api key, but you can set it anyway. You also need to disable Bazaar Auto Pricer for it to work.

     

    DOWNLOAD:

    https://greasyfork.org/en/scripts/513920-torn-market-filler

     

    f517b75e-4edd-4e93-8350-de78338b0eca-2665762.png

    Last edited by Silmaril on 10:33:51 - 25/04/25 (1 year ago)
    • Mr_Bob [479620]
    • Role: Civilian
    • Level: 100
    • Posts: 928
    • Karma: 821
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 09:11:50 - 28/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    I was waiting for this one :)

    6f1638c0-1574-4952-ba55-e6b07ee74bb5-479620.gif?v=1940629196397

    • Sir-Craigery [1503025]
    • Role: Civilian
    • Level: 100
    • Posts: 333
    • Karma: 47
    • Last Action: 41 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:22:15 - 28/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    this was working perfectly, but it just started to auto fill the price as -1 and showing null

    Last edited by Sir-Craigery on 14:22:30 - 28/10/24 (1 year ago)
    • Silmaril [2665762]
    • Role: Civilian
    • Level: 90
    • Posts: 375
    • Karma: 1,033
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:07:45 - 28/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    Sir-Craigery [1503025]

    this was working perfectly, but it just started to auto fill the price as -1 and showing null

    Yep, good old TORN devs have f**ked up the API, let's wait for them to fix it.

     

    P.S. As the V2 isn't officially released yet (we have a sneak peak), devs can turn it off/on sometimes.

    So if you get "-1" or "API is OFF " error message, that means exactly that.

     

    UPD: API IS ON.

    TRADE AWAY.

    Last edited by Silmaril on 21:50:05 - 28/10/24 (1 year ago)
    • cankles [2137519]
    • Role: Civilian
    • Level: 100
    • Posts: 2,341
    • Karma: 5,814
    • Last Action: Now
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 21:37:09 - 28/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    You are the hero we need during these hard times. Thank you

    • Weav3r [1853324]
    • Role: Helper
    • Level: 99
    • Posts: 2,311
    • Karma: 6,925
    • Last Action: Now
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 03:51:46 - 29/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    Love that you put this out as quickly that you did! 

     

    I did modify your script a bit to implement short-term caching into the button though so hovering over the button after moving away will still display the top 5 until it's clicked again. Small QOL improvement that others might find useful.

     

    Would love a return of the percentage comparisons you did before too, showing if you're listing something far below its market average.

    Owner/Developer of weav3r.dev

     

    Visit my PRICELIST, set a TRADE, or view my BAZAAR

    • Phrostbite [3317423]
    • Role: Civilian
    • Level: 98
    • Posts: 185
    • Karma: 215
    • Last Action: 45 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:26:42 - 29/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    Works exactly as advertised. Thanks for making it :)

     06636e56-02fb-41b6-b465-415c311aa56d-3317423.gif

    • Silmaril [2665762]
    • Role: Civilian
    • Level: 90
    • Posts: 375
    • Karma: 1,033
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:11:17 - 29/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    WARNING:

    Currently the API is broken in the way that it can give you price of another item, or the one filled before (probably some kind of caching in place).

    Be careful with it, waiting for devs to respond.

     

    UPD: pushed an update v0.3.2 to avoid/ignore such cached invalid responses (it will give 'API is BROKEN!' result). at least you wont get items wirth random prices sold until devs fix it.

    Last edited by Silmaril on 07:44:40 - 30/10/24 (1 year ago)
    • Silmaril [2665762]
    • Role: Civilian
    • Level: 90
    • Posts: 375
    • Karma: 1,033
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:12:17 - 29/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    Weav3r [1853324]

    Love that you put this out as quickly that you did! 

     

    I did modify your script a bit to implement short-term caching into the button though so hovering over the button after moving away will still display the top 5 until it's clicked again. Small QOL improvement that others might find useful.

     

    Would love a return of the percentage comparisons you did before too, showing if you're listing something far below its market average.

    I tried to make it permanent to stay in tooltip, but couldnt make it, it reverted back to previous data title.

    Write me the solution if you can.

    • WildCrit [2913217]
    • Role: Civilian
    • Level: 99
    • Posts: 296
    • Karma: 45
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:30:14 - 29/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    also can you check when we update prices it stay the same and some time it lag and show different numbers 

    • OptimusBlue [3108759]
    • Role: Civilian
    • Level: 90
    • Posts: 139
    • Karma: 38
    • Last Action: 4 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:31:30 - 29/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    Job Well Done!!! Thank You!

    • theOldWang [2896648]
    • Role: Civilian
    • Level: 97
    • Posts: 88
    • Karma: 121
    • Last Action: 6 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 07:23:17 - 30/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    nice script!!! tahnk you!

    • Scooper54 [2594546]
    • Role: Civilian
    • Level: 100
    • Posts: 4,205
    • Karma: 1,342
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:17:10 - 30/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    I keep getting 'NaN' error when filling prices. Any idea why?

     

    Image

    • Silmaril [2665762]
    • Role: Civilian
    • Level: 90
    • Posts: 375
    • Karma: 1,033
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:39:06 - 30/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    Scooper54 [2594546]

    I keep getting 'NaN' error when filling prices. Any idea why?

    from what u've provided, no.

    write your set Price delta, which item u try to fill, script version (if not latest).

    • Scooper54 [2594546]
    • Role: Civilian
    • Level: 100
    • Posts: 4,205
    • Karma: 1,342
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:19:50 - 30/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    Scooper54 [2594546]

    I keep getting 'NaN' error when filling prices. Any idea why?

    Silmaril [2665762]

    from what u've provided, no.

    write your set Price delta, which item u try to fill, script version (if not latest).

    I was using +3%[market] for some items

     

    Version is 0.3.3.

     

    Image

    • Silmaril [2665762]
    • Role: Civilian
    • Level: 90
    • Posts: 375
    • Karma: 1,033
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:32:38 - 30/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    Scooper54 [2594546]

    I was using +3%[market] for some items

     

    Version is 0.3.3.

    Update to 0.3.4, should be working for you.

    • Scooper54 [2594546]
    • Role: Civilian
    • Level: 100
    • Posts: 4,205
    • Karma: 1,342
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:39:25 - 30/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    Scooper54 [2594546]

    I was using +3%[market] for some items

     

    Version is 0.3.3.

    Silmaril [2665762]

    Update to 0.3.4, should be working for you.

    Perfect thanks!

     

    I did use the tampermonkey check for updates feature but looks like it didnt fetch v 0.3.4

     

    Image

    • Silmaril [2665762]
    • Role: Civilian
    • Level: 90
    • Posts: 375
    • Karma: 1,033
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 17:58:16 - 30/10/24 (1 year ago)
    Post link copied to clipboard Copy post link

    Scooper54 [2594546]

    Perfect thanks!

     

    I did use the tampermonkey check for updates feature but looks like it didnt fetch v 0.3.4

    yeah, i added new version today, so that's why it didnt autoupdate for you.

    • JUST1N [3174960]
    • Role: Civilian
    • Level: 75
    • Posts: 134
    • Karma: 33
    • Last Action: 2 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 10:38:26 - 01/11/24 (1 year ago)
    Post link copied to clipboard Copy post link

    Very good script, thanks

    JUST1N.gif

    • M4T [2866177]
    • Role: Civilian
    • Level: 93
    • Posts: 64
    • Karma: 104
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:44:09 - 01/11/24 (1 year ago)
    Post link copied to clipboard Copy post link

    amazing script thank you, just what I was looking for! Is there anyway in the future there can be an update all prices button, rather than clicking them all individually?

Reply
Thread Title: