Jump to content
McKay Development

maraya

Member
  • Posts

    24
  • Joined

  • Last visited

Posts posted by maraya

  1. i have a trouble, when i make a bot and i running form my pc, a bot it's ok and running succes.

    when i try from vps and i buy vps unmaged, i'm only install node js and i running my bot it's success.

     

    when i buy vps managed, i try to run my bot, my bot can't login to steam. not error and application only stuck there.

    i asked to support hosting, he said u must enabled port outgoing to steamcommunity.

     

    anybody can help me?

  2. 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?

  3. 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]

     

     

  4. any body get error like this.

    when i used my code in my hosting, and when i run my script. always like this.

    any body help me how to setting bot in server, or else.

    because, when i run my bot in local and used database mysql, it's ok. when i run in my hosting (support node js) always like this.

     

    7d254c46b6f3411d9ee4abfdea7734c8.png

  5. i use like this, but not work.

    cb4fd363950d4b3da98457b5e1e0965d.png

     

    // Create and send the offer
    offer.addMyItems(inventory);
    offer.setMessage("Here, have some items!");
    offer.send(function(err, status) {
    if (err) {
    console.log(err);
    return;
    }
     
    if (status == 'pending') {
    // We need to confirm it
    console.log('Offer ' + offer.id +' sent, but requires confirmation');
    community.acceptConfirmationForObject("my identify_secret", offer.id, function(err) {
    if (err) {
    console.log(err);
    } else {
    console.log("Offer confirmed");
    }
    });
    } else {
    console.log('Offer '+ offer.id +' sent successfully');
    }
    });
  6. website example: opskins.com

    if we want to buying item, we only chose where is item you want. so, when we have chosen the item, and want to continue to the next stage, we will go to tradeoffer.

    so my question is, how to be automatically stored directly in the page tradeoffer?
    dd136638fee44b59a5d7aecfbf63913c.png
×
×
  • Create New...