Jump to content
McKay Development

chimico

Member
  • Posts

    2
  • Joined

  • Last visited

Posts posted by chimico

  1. so i have this code right there, it report for a specific game how can i do to report for "compromised account"

    var options = {
                                        formData: {    sessionid: sessionID, json: 1, abuseID: config.id, eAbuseType: 10, abuseDescription: 'Cheating in the recent matches.', ingameAppID: config.appid },
                                        headers: { Cookie: cookies, Host: 'steamcommunity.com', Origin: 'https://steamcommunity.com' },
                                        json: true
                                    };
                                                
                                        community.httpRequestPost(
                                            'https://steamcommunity.com/actions/ReportAbuse/', options,
                                            function (err, res, data) {
                                                if (err) {
                                                    console.log('err', err); failed++; allFailed++;
                                                }
                                                if (!err) {
                                                 if (data == 1) { console.log('[%s] Successfully reported with response code %s'.green, logOnOptions.accountName, data); success++; allSuccess++;}
                                                 else if (data == 25) { console.log('[%s] Already reported. Response code %s'.red, logOnOptions.accountName, data); failed++; allFailed++; }
                                                 else { console.log('[%s] something went wrong. Response code %s'.red, logOnOptions.accountName, data); failed++; allFailed++;}
                                                callback();
                                                }
                                            },
                                            "steamcommunity"
                                        );

×
×
  • Create New...