Jump to content
McKay Development

MrPandeu

Member
  • Posts

    14
  • Joined

  • Last visited

Posts posted by MrPandeu

  1. Hello,
    What is `version` in `json_tradeoffer` from form of tradeoffer? `node-steam-tradeoffer-manager` have set on 4 (https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/blob/master/lib/classes/TradeOffer.js#L297). I checked it while sending offers on steam. If I sent item for friend, `version` is equeal 2, but If I sent offer "item for item" and "nothing for their item", `version` is equeal 3.

     

    Any ideas?

  2. Hello,

    My script sometimes return error:

    events.js:276
            throw new TypeError('listener must be a function');
            ^
    
    TypeError: listener must be a function
        at CMClient.removeListener (events.js:276:15)
        at SteamUser.logOff.SteamUser.disconnect (/root/node_modules/steam-user/components/logon.js:153:14)
        at SteamUser._handlers.(anonymous function) (/root/node_modules/steam-user/components/logon.js:265:9)
        at SteamUser._handleMessage (/root/node_modules/steam-user/components/messages.js:189:29)
        at emitThree (events.js:97:13)
        at CMClient.emit (events.js:175:7)
        at CMClient._netMsgReceived (/root/node_modules/steam-client/lib/cm_client.js:271:8)
        at CMClient.handlers.(anonymous function) (/root/node_modules/steam-client/lib/cm_client.js:379:8)
        at CMClient._netMsgReceived (/root/node_modules/steam-client/lib/cm_client.js:253:24)
        at emitOne (events.js:77:13)
    

    What's the reason?

  3. So what's the reason?

     

    Everytime I'm trying to turn on all of my bots (100), 60 of them loggin and the reset are getting HTTP error 429.

     

    Now I turnen on all of 100 bots, keeping the 5 sec delay after every 1 bot logging in and 300 sec delay after every 25 bots and also 40 minutes delay after 50 logged bots, but now they're getting HTTP error 403 while trying to send trade offer.

     

    Any ideas what could be wrong?

     

    And one question to what I've wrote above

    Do delays of bots logging are fine or can I manage somehow to loggin them somehow faster?

  4. Hello,

     

    I need change other ip and have problem:

     

    ...
    var steamClient = new SteamClient.CMClient();
    BOT.ip = 'XXX.XXX.XX.XX';
    
    
    console.log(colors.green('Bind ip: '+BOT.ip, 'steamClient'));
    steamClient.bind(BOT.ip);
    steamClient.connect();
    
    steamClient.on('connected', function(){
    
        var user = new SteamUser(steamClient, {
            dataDirectory: __dirname,
            singleSentryfile: true,
            promptSteamGuardCode: false,
            enablePicsCache: true
        });
        
        var community = new SteamCommunity({
            timeout: 30000,
            userAgent: 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36',
            localAddress: BOT.ip
        });
        
        var TradeOfferManager = new clearTradeOfferManager({
            steam: user,
            community: community,
            domain: BOT.username,
            language: 'pl',
            pollInterval: 1000,
            cancelTime: 600000,
            cancelOfferCount: 16,
            cancelOfferCountMinAge: 300000,
            globalAssetCache: true,
            pendingCancelTime: 32000
        });
    ...
     
    Is this correct?

     

    When running 100 bots, on 100bots/ip, 60th bot received error HTTP error 429.

    When running 100 bots, on 25bots/ip, 60th bot received error HTTP error 429.

  5. I own 100 bots and they are split on 4 different ip adresses so on one IP adress there are 25 bots. What's the limit of requests per sec/min from 1 IP adress? And also I have to add that if the bots getting 403 error its not like 25 bots from the same IP adress geting this error, all of 100 bots from 4 different IP adresses getting this error in same time, it's kinda weird for me, cuz I feel like adding additional adress IP make no difference here.

×
×
  • Create New...