Jump to content

make lua container.acquireStorage() calls actually 10 times per 5 mins


Kenesti

Recommended Posts

   The current description of the container.acquireStorage() method says "(only 10 queries/5min)", but in actuality 10 calls to container.acquireStorage() can be made and then a 5-minute cooldown is initiated, no matter the spacing of the calls.
 

   It would be much more beneficial to lua coders to have it be a max of 10 calls in a 5-minute rolling timeframe, rather than the ability of making 9 calls (either spaced out or in quick succession) and then having the 10th (no matter how long after the 9th call) trigger a 5-minute cooldown. I imagine the idea was to prevent the use of container.acquireStorage() from being spammed, but even if you make 9 spaced out calls, the 10th triggers the cooldown and breaks any subroutine you may have had going at the time.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...