OTHER Commend Bot

Discussion in 'Public CS:GO Media' started by Tammo, Dec 4, 2016.

  1. Tammo

    Tammo Member

    51
    13
    8
    Male
    Guten abend ihr,


    da ich lange nach einem Commend Bot gesucht habe und ich ihn nun endlich gefunden habe möchte ich ihn mit euch teilen.

    1. Auf die Seite gehen: https://github.com/Askwrite/node-csgo-reportbot
    2. Node ( http://nodejs.org/ ) auf deinen V Server installieren
    3. Node Steam installieren: npm install steam
    4. Dies herrunterladen: https://github.com/Askwrite/node-csgo-reportbot/archive/master.zip und über FileZilla oder WinSCP auf den V Server in dem Verzeichnis Root installieren/einfügen
    5. Nennt accounts.example.txt zu accounts.txt um
    6. Fügt dort eure Accounts ein ( tammo:1234 ) ( Keine VACed Accounts und Steam Guard muss aus sein. )
    7. Öffnet die bot.js und ersetzt den Code aus der bot.js mit der aus dem Spoiler
    var fs = require("fs"),
    Steam = require("steam"),
    SteamID = require("steamid"),
    IntervalInt = null,
    readlineSync = require("readline-sync"),
    Protos = require("./protos/protos.js"),
    CountCommends = 0,
    Long = require("long"),
    process = require("process"),
    steamID = readlineSync.question("SteamID64 which will be commended: ");
    var ClientHello = 4006,
    ClientWelcome = 4004;
    var accounts = [];
    var arrayAccountsTxt = fs.readFileSync("accounts.txt").toString().split("\n");
    for (i in arrayAccountsTxt) {
    var accInfo = arrayAccountsTxt.toString().trim().split(":");
    var username = accInfo[0];
    var password = accInfo[1];
    accounts = [];
    accounts.push({
    username: username,
    password: password
    });
    }
    function loginAndCommend(steamID) {
    if ((steamID == "") || !(steamID.indexOf("765") > -1) || (steamID.length < 17)) {
    console.log("That's not a valid SteamID!");
    process.exit();
    }
    if (accounts[0]) {
    var account = accounts[0][0];
    var account_name = account.username;
    var password = account.password;
    Client = new Steam.SteamClient();
    User = new Steam.SteamUser(Client);
    GC = new Steam.SteamGameCoordinator(Client, 730);
    Friends = new Steam.SteamFriends(Client);
    Client.connect();
    Client.on("connected", function() {
    User.logOn({
    account_name: account_name,
    password: password
    });
    });
    Client.on("logOnResponse", function(res) {
    if (res.eresult !== Steam.EResult.OK) {
    if (res.eresult == Steam.EResult.ServiceUnavailable) {
    console.log("\n[STEAM CLIENT - " + account_name + "] Login failed - STEAM IS DOWN!");
    console.log(res);
    Client.disconnect();
    process.exit();
    } else {
    console.log("\n[STEAM CLIENT - " + account_name + "] Login failed!");
    console.log(res);
    Client.disconnect();
    accounts.splice(0, 1);
    loginAndCommend(steamID);
    }
    } else {
    console.log("\n[STEAM CLIENT - " + account_name + "] Logged in!");
    Friends.setPersonaState(Steam.EPersonaState.Offline);
    User.gamesPlayed({
    games_played: [{
    game_id: 730
    }]
    });
    if (GC) {
    IntervalInt = setInterval(function() {
    GC.send({
    msg: ClientHello,
    proto: {}
    }, new Protos.CMsgClientHello({}).toBuffer());
    }, 2000);
    console.log("[GC - " + account_name + "] Client Hello sent!");
    } else {
    console.log("[GC - " + account_name + "] Not initialized!");
    Client.disconnect();
    accounts.splice(0, 1);
    loginAndCommend(steamID);
    }
    }
    });
    Client.on("error", function(err) {
    console.log("[STEAM CLIENT - " + account_name + "] " + err);
    console.log("[STEAM CLIENT - " + account_name + "] Account is probably ingame!");
    Client.disconnect();
    accounts.splice(0, 1);
    loginAndCommend(steamID);
    });
    GC.on("message", function(header, buffer, callback) {
    switch (header.msg) {
    case ClientWelcome:
    clearInterval(IntervalInt);
    console.log("[GC - " + account_name + "] Client Welcome received!");
    console.log("[GC - " + account_name + "] Commend request sent!");
    sendCommend(GC, Client, account_name, steamID);
    break;
    case Protos.ECsgoGCMsg.k_EMsgGCCStrike15_v2_MatchmakingGC2ClientHello:
    console.log("[GC - " + account_name + "] MM Client Hello sent!");
    break;
    default:
    console.log(header);
    break;
    }
    });
    } else {
    console.log("\n\n" + CountCommends + " commend(s) successfully sent!");
    Client.disconnect();
    }
    }
    function sendCommend(GC, Client, account_name) {
    console.log("[GC - " + account_name + "] Commend request received!");
    console.log("[GC - " + account_name + "] Trying to commend the user!");
    var account_id = new SteamID(steamID).accountid;

    var commend_payload = new Protos.PlayerCommendationInfo({
    cmdFriendly: 1,
    cmdTeaching: 2,
    cmdLeader: 4
    });

    var commendProto = new Protos.CMsgGCCStrike15_v2_ClientCommendPlayer({
    accountId: account_id,
    matchId: 8,
    tokens: 10,
    commendation: commend_payload
    }).toBuffer();

    GC.send({
    msg: Protos.ECsgoGCMsg.k_EMsgGCCStrike15_v2_ClientCommendPlayer,
    proto: {}
    }, commendProto);
    console.log("[GC - " + account_name + "] Commendation Sent!");
    Client.disconnect();
    accounts.splice(0, 1);
    CountCommends++;
    loginAndCommend(steamID);
    }
    process.on('uncaughtException', function (err) {
    });
    loginAndCommend(steamID);
    console.log("Initializing CommendBot by CoolA1d...\nCredits: AskWrite for original ReportBot, Trololo - Idea for ReportBot");
    8. Über Putty in das verzeichnis node-csgo-reportbot-master und einmal "npm run update" eingeben.
    9. "npm start" eingeben
    10. Sobald er nach der Steam64ID fragt seine/von jemand anderem die Steam64ID eingeben die man auf der Seite: https://steamid.io/lookup findet.
    11. Die Commends genießen ^.^

    Der Prozess wird selbst aufhören. Nicht von selber schließen oder sonstiges.
    Ich habe noch nicht getestet in welchen abständen man Commanden kann(über 8H mindestens).Wenn es jemand herraus gefunden hat kann er es mir gerne schreiben :)


    Ich wünsche euch viel Spaß!

    In english and with cmd. Don't Know If it's work.

    Good evening,

    I was searching for a Commend-Bot. I found one and wanted to share it with you.

    1. Visit this site https://github.com/Askwrite/node-csgo-reportbot

    2. Download nodejs.org and install it

    3. Download the Bot here https://github.com/Askwrite/node-csgo-reportbot/archive/master.zip

    4. Rename accounts.example.txt to accounts.txt and fill in the Accounts like account:password (Stem Guard must be disabled, they need to have CS:GO and no VAC Ban)

    5. At its current state it's a Report Bot. To make it a Commend Bot, replave the code from Bot.js to this
    var fs = require("fs"),
    Steam = require("steam"),
    SteamID = require("steamid"),
    IntervalInt = null,
    readlineSync = require("readline-sync"),
    Protos = require("./protos/protos.js"),
    CountCommends = 0,
    Long = require("long"),
    process = require("process"),
    steamID = readlineSync.question("SteamID64 which will be commended: ");
    var ClientHello = 4006,
    ClientWelcome = 4004;
    var accounts = [];
    var arrayAccountsTxt = fs.readFileSync("accounts.txt").toString().split("\n");
    for (i in arrayAccountsTxt) {
    var accInfo = arrayAccountsTxt.toString().trim().split(":");
    var username = accInfo[0];
    var password = accInfo[1];
    accounts = [];
    accounts.push({

    username: username,
    password: password
    });
    }
    function loginAndCommend(steamID) {
    if ((steamID == "") || !(steamID.indexOf("765") > -1) || (steamID.length < 17)) {
    console.log("That's not a valid SteamID!");
    process.exit();
    }
    if (accounts[0]) {
    var account = accounts[0][0];
    var account_name = account.username;
    var password = account.password;
    Client = new Steam.SteamClient();
    User = new Steam.SteamUser(Client);
    GC = new Steam.SteamGameCoordinator(Client, 730);
    Friends = new Steam.SteamFriends(Client);
    Client.connect();
    Client.on("connected", function() {
    User.logOn({
    account_name: account_name,
    password: password
    });
    });
    Client.on("logOnResponse", function(res) {
    if (res.eresult !== Steam.EResult.OK) {
    if (res.eresult == Steam.EResult.ServiceUnavailable) {
    console.log("\n[STEAM CLIENT - " + account_name + "] Login failed - STEAM IS DOWN!");
    console.log(res);
    Client.disconnect();
    process.exit();
    } else {
    console.log("\n[STEAM CLIENT - " + account_name + "] Login failed!");
    console.log(res);
    Client.disconnect();
    accounts.splice(0, 1);
    loginAndCommend(steamID);
    }
    } else {
    console.log("\n[STEAM CLIENT - " + account_name + "] Logged in!");
    Friends.setPersonaState(Steam.EPersonaState.Offline);
    User.gamesPlayed({
    games_played: [{
    game_id: 730
    }]
    });
    if (GC) {
    IntervalInt = setInterval(function() {
    GC.send({
    msg: ClientHello,
    proto: {}
    }, new Protos.CMsgClientHello({}).toBuffer());
    }, 2000);
    console.log("[GC - " + account_name + "] Client Hello sent!");
    } else {
    console.log("[GC - " + account_name + "] Not initialized!");
    Client.disconnect();
    accounts.splice(0, 1);
    loginAndCommend(steamID);
    }
    }
    });
    Client.on("error", function(err) {
    console.log("[STEAM CLIENT - " + account_name + "] " + err);
    console.log("[STEAM CLIENT - " + account_name + "] Account is probably ingame!");
    Client.disconnect();
    accounts.splice(0, 1);
    loginAndCommend(steamID);
    });
    GC.on("message", function(header, buffer, callback) {
    switch (header.msg) {
    case ClientWelcome:
    clearInterval(IntervalInt);
    console.log("[GC - " + account_name + "] Client Welcome received!");
    console.log("[GC - " + account_name + "] Commend request sent!");
    sendCommend(GC, Client, account_name, steamID);
    break;
    case Protos.ECsgoGCMsg.k_EMsgGCCStrike15_v2_MatchmakingGC2ClientHello:
    console.log("[GC - " + account_name + "] MM Client Hello sent!");
    break;
    default:
    console.log(header);
    break;
    }
    });
    } else {
    console.log("\n\n" + CountCommends + " commend(s) successfully sent!");
    Client.disconnect();
    }
    }
    function sendCommend(GC, Client, account_name) {
    console.log("[GC - " + account_name + "] Commend request received!");
    console.log("[GC - " + account_name + "] Trying to commend the user!");
    var account_id = new SteamID(steamID).accountid;

    var commend_payload = new Protos.PlayerCommendationInfo({
    cmdFriendly: 1,
    cmdTeaching: 2,
    cmdLeader: 4
    });

    var commendProto = new Protos.CMsgGCCStrike15_v2_ClientCommendPlayer({
    accountId: account_id,
    matchId: 8,
    tokens: 10,
    commendation: commend_payload
    }).toBuffer();

    GC.send({
    msg: Protos.ECsgoGCMsg.k_EMsgGCCStrike15_v2_ClientCommendPlayer,
    proto: {}
    }, commendProto);
    console.log("[GC - " + account_name + "] Commendation Sent!");
    Client.disconnect();
    accounts.splice(0, 1);
    CountCommends++;
    loginAndCommend(steamID);
    }
    process.on('uncaughtException', function (err) {
    });
    loginAndCommend(steamID);
    console.log("Initializing CommendBot by CoolA1d...\nCredits: AskWrite for original ReportBot, Trololo - Idea for ReportBot");

    6. Open your CMD, and change the path to where you installed the reportbot (Example: cd D:\Reportbot)

    7. Type in npm install, npm install steam and afterwards npm start

    8. Enter the SteamID and have fun :)

    I changed it a little bit so you dont need a VServer and its less complicated ^^

    Translation by summer1337, Thank you :)
     
    Last edited: Dec 4, 2016
  2. Gabstar

    Gabstar Member

    14
    6
    3
    Male
    Aber Zb ich gebe 1 acc rein kann ich doch nur 1 Rep Bekommen oder net ?
     
  3. Tammo

    Tammo Member

    51
    13
    8
    Male
    1 Account von allen 3 eine Empfehlung. Sind keine Kommentare auf deinem Steam Profil. Sind die ingame Commends.
     
  4. Adaxu

    Adaxu Member

    7
    0
    3
    Male
    1 Account = 1 Commend/Report
    Logische Sache
    Eine frage hätte ich ist der Vapor Reportbot nicht gleich? nutzen doch eh alle
     
  5. Tammo

    Tammo Member

    51
    13
    8
    Male
    Kein Report! Es ist wie ein Report Bot aufgebaut ist aber dennoch nur ein Commend Bot! Ich werde später ein Screen Adden. Bis dahin stellt bitte keine weiteren Fragen was das genauer ist.
     
  6. Dude

    Dude Member

    53
    29
    18
    Male
  7. Adaxu

    Adaxu Member

    7
    0
    3
    Male
  8. Tammo

    Tammo Member

    51
    13
    8
    Male
  9. Dude

    Dude Member

    53
    29
    18
    Male
    5(+) bekannte und ich haben das Tool benutzt - nix passiert :)
     
  10. Tammo

    Tammo Member

    51
    13
    8
    Male
    Ich kenne diesen nicht. Und es ist kein Report Bot! Es ist ein Commend Bot!
     
  11. Tammo

    Tammo Member

    51
    13
    8
    Male
    Ich sage nur was drin ist. Nicht ob etwas passiert.^^
     
  12. Dude

    Dude Member

    53
    29
    18
    Male
    Es muss doch was passirt sein, oder woher hast du die info ??
    Komisch das die "Viren" nicht angeschlagen haben - alle meine Acc. hatte
     
  13. Tammo

    Tammo Member

    51
    13
    8
    Male
    Die Info ist alleine von Virus Total. Viren sind drin... Zu dem hat es mir ein Kollege, der Coden kann bzw sich gut mit sowas auskennt, bestätigt. Ist jetzt aber auch eine unnötige Sache ^^ Meine Meinung ist installiert euch was ihr wollt ^^
     
  14. fRee

    fRee Member

    115
    22
    18
    Male
    zeig mal den virus total link
     
  15. summer1337

    summer1337 Schellen-Verteiler

    294
    170
    43
    Male
    Danke, werde mir das nacher ansehen ^^
     
  16. erenbertan12

    erenbertan12 Member

    45
    8
    8
    Male
    can you translate ın englısh please :))
    ,
     
  17. summer1337

    summer1337 Schellen-Verteiler

    294
    170
    43
    Male
    Good evening,

    I was searching for a Commend-Bot. I found one and wanted to share it with you.

    1. Visit this site https://github.com/Askwrite/node-csgo-reportbot

    2. Download nodejs.org and install it

    3. Download the Bot here https://github.com/Askwrite/node-csgo-reportbot/archive/master.zip

    4. Rename accounts.example.txt to accounts.txt and fill in the Accounts like account:password (Stem Guard must be disabled, they need to have CS:GO and no VAC Ban)

    5. At its current state it's a Report Bot. To make it a Commend Bot, replave the code from Bot.js to this
    var fs = require("fs"),
    Steam = require("steam"),
    SteamID = require("steamid"),
    IntervalInt = null,
    readlineSync = require("readline-sync"),
    Protos = require("./protos/protos.js"),
    CountCommends = 0,
    Long = require("long"),
    process = require("process"),
    steamID = readlineSync.question("SteamID64 which will be commended: ");
    var ClientHello = 4006,
    ClientWelcome = 4004;
    var accounts = [];
    var arrayAccountsTxt = fs.readFileSync("accounts.txt").toString().split("\n");
    for (i in arrayAccountsTxt) {
    var accInfo = arrayAccountsTxt.toString().trim().split(":");
    var username = accInfo[0];
    var password = accInfo[1];
    accounts = [];
    accounts.push({
    username: username,
    password: password
    });
    }
    function loginAndCommend(steamID) {
    if ((steamID == "") || !(steamID.indexOf("765") > -1) || (steamID.length < 17)) {
    console.log("That's not a valid SteamID!");
    process.exit();
    }
    if (accounts[0]) {
    var account = accounts[0][0];
    var account_name = account.username;
    var password = account.password;
    Client = new Steam.SteamClient();
    User = new Steam.SteamUser(Client);
    GC = new Steam.SteamGameCoordinator(Client, 730);
    Friends = new Steam.SteamFriends(Client);
    Client.connect();
    Client.on("connected", function() {
    User.logOn({
    account_name: account_name,
    password: password
    });
    });
    Client.on("logOnResponse", function(res) {
    if (res.eresult !== Steam.EResult.OK) {
    if (res.eresult == Steam.EResult.ServiceUnavailable) {
    console.log("\n[STEAM CLIENT - " + account_name + "] Login failed - STEAM IS DOWN!");
    console.log(res);
    Client.disconnect();
    process.exit();
    } else {
    console.log("\n[STEAM CLIENT - " + account_name + "] Login failed!");
    console.log(res);
    Client.disconnect();
    accounts.splice(0, 1);
    loginAndCommend(steamID);
    }
    } else {
    console.log("\n[STEAM CLIENT - " + account_name + "] Logged in!");
    Friends.setPersonaState(Steam.EPersonaState.Offline);
    User.gamesPlayed({
    games_played: [{
    game_id: 730
    }]
    });
    if (GC) {
    IntervalInt = setInterval(function() {
    GC.send({
    msg: ClientHello,
    proto: {}
    }, new Protos.CMsgClientHello({}).toBuffer());
    }, 2000);
    console.log("[GC - " + account_name + "] Client Hello sent!");
    } else {
    console.log("[GC - " + account_name + "] Not initialized!");
    Client.disconnect();
    accounts.splice(0, 1);
    loginAndCommend(steamID);
    }
    }
    });
    Client.on("error", function(err) {
    console.log("[STEAM CLIENT - " + account_name + "] " + err);
    console.log("[STEAM CLIENT - " + account_name + "] Account is probably ingame!");
    Client.disconnect();
    accounts.splice(0, 1);
    loginAndCommend(steamID);
    });
    GC.on("message", function(header, buffer, callback) {
    switch (header.msg) {
    case ClientWelcome:
    clearInterval(IntervalInt);
    console.log("[GC - " + account_name + "] Client Welcome received!");
    console.log("[GC - " + account_name + "] Commend request sent!");
    sendCommend(GC, Client, account_name, steamID);
    break;
    case Protos.ECsgoGCMsg.k_EMsgGCCStrike15_v2_MatchmakingGC2ClientHello:
    console.log("[GC - " + account_name + "] MM Client Hello sent!");
    break;
    default:
    console.log(header);
    break;
    }
    });
    } else {
    console.log("\n\n" + CountCommends + " commend(s) successfully sent!");
    Client.disconnect();
    }
    }
    function sendCommend(GC, Client, account_name) {
    console.log("[GC - " + account_name + "] Commend request received!");
    console.log("[GC - " + account_name + "] Trying to commend the user!");
    var account_id = new SteamID(steamID).accountid;

    var commend_payload = new Protos.PlayerCommendationInfo({
    cmdFriendly: 1,
    cmdTeaching: 2,
    cmdLeader: 4
    });

    var commendProto = new Protos.CMsgGCCStrike15_v2_ClientCommendPlayer({
    accountId: account_id,
    matchId: 8,
    tokens: 10,
    commendation: commend_payload
    }).toBuffer();

    GC.send({
    msg: Protos.ECsgoGCMsg.k_EMsgGCCStrike15_v2_ClientCommendPlayer,
    proto: {}
    }, commendProto);
    console.log("[GC - " + account_name + "] Commendation Sent!");
    Client.disconnect();
    accounts.splice(0, 1);
    CountCommends++;
    loginAndCommend(steamID);
    }
    process.on('uncaughtException', function (err) {
    });
    loginAndCommend(steamID);

    console.log("Initializing CommendBot by CoolA1d...\nCredits: AskWrite for original ReportBot, Trololo - Idea for ReportBot");

    6. Open your CMD, and change the path to where you installed the reportbot (Example: cd D:\Reportbot)

    7. Type in npm install and afterwards npm start

    8. Enter the SteamID and have fun :)

    I changed it a little bit so you dont need a VServer and its less complicated ^^]
     
  18. Tammo

    Tammo Member

    51
    13
    8
    Male
    Summer, bester Mann ^^ War zu faul es in Englisch zu machen und mit cmd kenne ich mich nicht aus somit habe ich es mit nem V Server erklärt. Aber danke für die Übersetzung :)
     
  19. summer1337

    summer1337 Schellen-Verteiler

    294
    170
    43
    Male
    Der Commendbot funktioniert nicht mit dieser Methode bei mir, Reportbot aber schon uff
     
  20. Tammo

    Tammo Member

    51
    13
    8
    Male
    Hast du den Code ersetzt?