Mephiles / torntools_extension

A browser extension for Torn.com
GNU General Public License v3.0
106 stars 60 forks source link

request - item purchase limit tracker #784

Closed ajlowndes closed 1 month ago

ajlowndes commented 3 months ago

Pretty new player here (only level 13 at the moment so not trading internationally yet). The item purchase limit in TORN is currently tripping me up. Some days I'll purchase 5, 10 or so items I need to consume myself, like beer or some other thing... and I'm not sure how many of my 100 item limit is still available. I have to try to make a purchase to get the error message before I can readjust my purchase number.

So in the "City" tab, would it make sense to have an indicator of how many items I can still purchase? I.e. 100 minus the number of items I have purchased on this day?

TY for consideration.

Kwack-Kwack commented 3 months ago

This has been requested before, and sadly it's not exactly something we have a good solution for.

The two ways of tracking this is:

Tracking how many items the user buys

Increment a counter whenever the user buys an item so we can track how many they buy. This isn't a good solution as it requires all actions to be on the one device. If I buy 100 beers on my phone, then TT would still think I haven't bought any and would alert me.

Using the user log (API)

This could be backtracked via user/log, however this comes with some major issues

I imagine the best solution here is just to close the issue, as there's not much we can do here. If you think of a better alternative please let me know, I'll be happy to investigate.

As for the original issue, you can track how many you've bought today quite easily on the logs page, log number 4200.

edit: I contribute to too many projects and got my wires crossed 😆