View Single Post
04-03-20, 09:36 PM   #9
MunkDev
A Scalebane Royal Guard
 
MunkDev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2015
Posts: 431
You should really just use the event BAG_UPDATE_DELAYED, which fires after you've sated the amount of requests you can send to the server to sell items, then continue trying to sell the rest of the items when that event fires. Keep repeating that process until you've sold all the items in the list. Using a timer is always going to be unreliable because player or server latency can affect the outcome when it's asynchronous.
__________________
  Reply With Quote