Jump to content
McKay Development

i want to use proxy when it receives a rate limit warning


denpro331

Recommended Posts

hey i want to make a account checker with proxy but does'nt work

code
const SteamUser = require('steam-user');
var SteamCommunity = require('steamcommunity');
const community = new SteamCommunity();

var colors = require('colors');
const readline = require('readline');
const fs = require('fs');
const fss = require('fs');
const config = require('./config.json');
let istenen= parseInt(config.miktar);
var hesap;
const Steama = require('steam-client');
let proxyci = new Steama.CMClient();
var client = new SteamUser(proxyci);

     if(err.message == "RateLimitExceeded") {
         if(proxysayar<proxyler.length)
         {
        console.log(`ratelimited son hesap ${user}:${pass} `.red);
        i++;
        console.log("sa as");
        proxyci.setHttp-Proxy("http://"+proxyler[proxysayar]);
        proxysayar++;
        
         }
         else
         {
        return console.log(`işlemi durdurdum `.red);
         }
     }

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