apibot Posted February 13, 2021 Report Share Posted February 13, 2021 if bot#1 retrieves a user's inventory via offer.getPartnerInventoryContents then saves it on a global variable, can bot#2 use the contents saved in the global variable to send an offer? assuming that inventory has not changed Quote Link to comment Share on other sites More sharing options...
vrtgn Posted February 13, 2021 Report Share Posted February 13, 2021 (edited) I think it would simply boil down to how you are running the bots, if in the same program, then probably saving to a file, and reading from it (when it needs to be used) would be a good option because keeping inventories in memory, especially large ones, isn't the best of ideas. Edited February 13, 2021 by vrtgn Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted February 14, 2021 Report Share Posted February 14, 2021 That data isn't account-specific, so it would work fine between accounts. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.