Skip to content

Commit

Permalink
SteamAutoFriend v1.3.2
Browse files Browse the repository at this point in the history
- You can now add steamIDs to steamIDs.txt and the script will automatically add them to the current session, no need for restarts anymore.
  • Loading branch information
pebnn committed Oct 10, 2022
1 parent 1d19916 commit 1984c8d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions SteamAutoFriend.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import zipfile
from chromedriver_version import chromedriver_versions

version = "1.3.1"
version = "1.3.2"
# Disable clutter in console
debug = False
if debug == False:
Expand Down Expand Up @@ -348,7 +348,7 @@ def find_by_css(selector, text=''):
uptime_minutes = getUptime() // 60
uptime_hours = uptime_minutes // 60
uptime = "%02d:%02d" % (uptime_hours, uptime_minutes % 60)
os.system("title SteamAutoFriend v1.3.1 by pebnn - Uptime: " + str(uptime))
os.system("title SteamAutoFriend v1.3.2 by pebnn - Uptime: " + str(uptime))

if count > clear_console and clear_console_enable == True: # Clear console lines after set amount of lines has been printed (clear_console is set in config.yml)
try:
Expand Down Expand Up @@ -442,6 +442,16 @@ def find_by_css(selector, text=''):
input("Please log back in again via Chrome. Press ENTER when you're logged back in... ")
add_friend_attempt = 0

if remember_friends == True: # Update account list to include new steamIDs.txt entries (will not update removed items from text file)
if exists("steamIDs.txt"):
steam_ids = open("steamIDs.txt", "r").readlines()
for steam_id in steam_ids:
steam_id = steam_id.replace("\n", "")
if steam_id in account:
continue
else:
account.append(steam_id)

accountindex += 1
now = datetime.now()
current_time = now.strftime("%H:%M:%S")
Expand Down

0 comments on commit 1984c8d

Please sign in to comment.