Skip to content

Instantly share code, notes, and snippets.

@mktg
mktg / botAPI.md
Created September 29, 2017 18:59

Steam Bot Swarm

Application for managing many steam bots networked across multiple servers with an express api. Uses redis for all IPC/RPC. Each server must start a "cluster" which can start/stop any number of bots. A central main server running the "swarm" discovers/communicates with all clusters and bots through RPC. You can have any number of clusters and bots but only 1 swarm.

Controlling Bots

Once the swarm starts and cluster is up, you must first create the bot, then start it.

/createBot

Create bot with login credentials and set steam profile.

params

@mktg
mktg / gdn-placement-analysis
Created January 29, 2016 02:34 — forked from derekmartinla/gdn-placement-analysis
Find Underperforming Placements & Opportunities On Google Display Network
// This script reviews your GDN placements for the following conditions:
// 1) Placements that are converting at less than $40
// 2) Placements that have cost more than $50 but haven't converted
// 3) Placements that have more than 5K impressions and less than .10 CTR
function main() {
var body = "<h2>Google Display Network Alert</h2>";
body += "<h3>Placements that are converting at less than $40:</h3> " ;
body += "<ul>";