Jump to content
McKay Development

is the itemRemoved/itemAcquired event necessary when adding items to a storage unit?


MerbTheDerp
 Share

Recommended Posts

hey, 

why do we need to wait for the itemRemoved/itemAcquired event when adding items to a storage unit, or when removing some? what could happen if i were to ignore it and just keep making requests to add/remove more items? missing items? rate limits? 

the reason why i am asking is because i have never used the listener, but a guy on some reddit post mentioned it and now i am concerned for my items. i had no problems whatsoever until now and it's just so much faster with some short delay between each action, instead of waiting 300ms or so.

if my program is running fine, can i ignore the events and just use it as is? or is there any essential reason to it and i MUST wait for the events, before handling the next item?

 

btw, thanks for what you do with this forum and all your help!! 

Link to comment
Share on other sites

If what you're doing is working, then there probably isn't any actual rate-limit being imposed. But I would definitely use a short delay rather than blasting all the messages at once, since that could potentially trip some rate-limiting.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...