Jump to content
McKay Development

Recommended Posts

Posted

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

Posted (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 by vrtgn

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...
×
×
  • Create New...