Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Steam Card Buyer
// @namespace http://leakforums.org/
// @version 0.1
// @description Easier way to bulk buy cards?
// @author You
// @include http://steamcommunity.com*
// @include https://steamcommunity.com*
// @match *://steamcommunity.com/*/gamecards/*
// @grant none

Seeing how SteamIDs have changed recently, I thought I'd write a Gist to help others (including myself!) decypher how to convert these from one format to the other in Python. First, let's go over basics to convert a 64bit CommunityID into a SteamID:

steamid64ident = 76561197960265728

def commid_to_steamid(commid):
  steamid = []
  steamid.append('STEAM_0:')
  steamidacct = int(commid) - steamid64ident
  
pdl-idler CHANGELOG
[version 0.86]
+ fix for gameinfo typo and malformed update
[version 0.85]
+ truncate output messages from the left if the terminal width is insufficient
+ require wine>=1.7.8, list only normal crates, and don't hide pause output
+ return to one-pass client commands when client was loaded from the script
+ remove all ensured pauses based from login time
pdl-idler CHANGELOG
[version 0.77]
+ remove unused bitmap flag from get_window_id()
+ don't run various calls to echo that needlessly encapsulate other output
+ explicitly return true in pause()
+ show steam/hl2 pid in various output messages
+ pass the kill parameter from uninstall/delete to their calls to logout
+ fix delete removing files from similarly named accounts
+ hide error output in window raise/focus and successful login window unmap
@Nonickn
Nonickn / LICENSE
Created September 22, 2013 20:56 — forked from primarydataloop/LICENSE
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
pdl-idler CHANGELOG
[version 0.74]
+ allow 'no' parameter to list to skip tf2b pull
+ hide error if there was no cred host marker file to delete in logout
+ improve X server startup/shutdown with support for separate farm display
+ fix connect location/prefix location variable name conflict
+ don't set steam ui mode to mini in install to fix the temporary scrambled ui
+ change client resolution from 800x600 to 640x480
+ mark farm client/steam processes