VeeArr
Member
There have been a number of reports recently of users getting warnings for making excessive mall searches. While some of this was initially due to a bug in mafia, there are still some conditions under which it can occur. (For example, if a script calls
Several things have been proposed:
1) A preference that tracks how many mall searches have been done, and warns/aborts if approaching the limit.
2) Change all mall searches to return cached data, automatically doing a single API call for allitems if the cache is not populated or is over X minutes old.
3) Add flags to
Feel free to post additional thoughts/ideas for improvement below.
mall_prices("allitems") and then proceeds to query a bunch of prices, if the mall cache gets invalidated for some reason, the queries will start doing one search each.) It would be better if mafia somehow handled caching better to prevent users getting dinged like this.Several things have been proposed:
1) A preference that tracks how many mall searches have been done, and warns/aborts if approaching the limit.
2) Change all mall searches to return cached data, automatically doing a single API call for allitems if the cache is not populated or is over X minutes old.
3) Add flags to
buy(), mall_price(), etc. indicating that they should only use cached data and not make a search under any circumstance.Feel free to post additional thoughts/ideas for improvement below.
Last edited: