Jump to content
McKay Development

What is DIfferent of receivedOfferChanged and sentOfferChanged


maraya

Recommended Posts

What is DIfferent of receivedOfferChanged and sentOfferChanged?

 

when i used this function

manager.on('sentOfferChanged', function(offer, oldState) {

if (offer.state == TradeOfferManager.ETradeOfferState.Accepted) {

......

}

}

 

and when i send item [a,b,c,d] and when bot is accept name of item bot receive is random like this. [b,c,a,d]

 

when i used this function

manager.on('receivedOfferChanged ', function(offer, oldState) {

if (offer.state == TradeOfferManager.ETradeOfferState.Accepted) {

......

}

}

 

and when i send item [a,b,c,d] and when bot is accept name of item bot receive is random like this. [[a,b,c,d]

 

 

Link to comment
Share on other sites

why, if i send item from steam site to my bot, the bot use this function -> 

manager.on('receivedOfferChanged ', function(offer, oldState) {

if (offer.state == TradeOfferManager.ETradeOfferState.Accepted) {

......

}

}

 

 

and when i send from my website to bot, the bot use this function ->

manager.on('sentOfferChanged', function(offer, oldState) {

if (offer.state == TradeOfferManager.ETradeOfferState.Accepted) {

......

}

}

 

i think both is send.

and why the bot use different function?

Link to comment
Share on other sites

can u help me to fix this.

when i send item to bot with multi item and price, like this.

item1 is $1, item2 is $2, item3 is $3.

and the bot know where is item the price is $1, $2 and $3.

 

is there any other way to solved it?

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