michael-n0813 / linux-idle-master Goto Github PK
View Code? Open in Web Editor NEWLinux version of idle-master, a simple script that emulates being in a steam game to unlock trading cards.
License: GNU General Public License v2.0
Linux version of idle-master, a simple script that emulates being in a steam game to unlock trading cards.
License: GNU General Public License v2.0
It has been a few months I've not been using Linux Idle Master. When I tried today, I got an error like cannot read badge data
but I saw the 2.1 update and installed it.
Now I get this:
[ 03/09/2024 03:56:46 PM ] WELCOME TO IDLE MASTER - v2.1
[ 03/09/2024 03:56:46 PM ] Finding games that have card drops remaining
[ 03/09/2024 03:56:46 PM ] Reading badge page, please wait
[ 03/09/2024 03:56:46 PM ] Invalid cookie data, cannot log in to Steam
Press Enter to continue...
I'm following the same instructions as before, I've checked my cookie data more than twice, on different browsers.
Line 82 in c34b5a6
By running steam-idle.py with python2, the python libraries installed through the package manager as indicated in the example in the README for Arch are python 3 versions so they fail to be found by python2.
Setting the subprocess to open with python instead of python2 seems to work fine.
Hi,
I am getting the below error, starting today:
[ 10/12/2022 09:44:14 PM ] WELCOME TO IDLE MASTER
[ 10/12/2022 09:44:14 PM ] Finding games that have card drops remaining
[ 10/12/2022 09:44:15 PM ] 11 badge pages found. Gathering additional data
[ 10/12/2022 09:44:28 PM ] No games have been blacklisted
[ 10/12/2022 09:44:28 PM ] Idle Master needs to idle 6 games
[ 10/12/2022 09:44:29 PM ] Starting game App 1252330 to idle cards
[ 10/12/2022 09:44:29 PM ] Error launching steam-idle with game ID 1252330
Press Enter to continue...
(and then it exits)
Seems that ID belongs to Deathloop, not sure if it is relevant. Tried blacklisting it, and the next App doesn't work either, so I assume something changed on Steam side?
settings.txt looks OK.
Hello !
Thanks for making this for Linux, it works fine, except for a little detail : whenever the current game being processed is done and there's no drops anymore for it, the script just goes to sleep and doesn't switch to the next game, I have to restart it.
Sample log :
[ 08/13/2023 11:04:10 PM ] Checking to see if App 257350 has remaining card drops
[ 08/13/2023 11:04:13 PM ] Suspending operation for App 257350
[ 08/13/2023 11:04:13 PM ] Closing game App 257350
[ 08/13/2023 11:04:13 PM ] App 257350 took 4:15:39 to idle.
[ 08/13/2023 11:04:13 PM ] Sleeping for 5 minutes.
[ 08/13/2023 11:09:14 PM ] Sleeping for 5 minutes.
[ 08/13/2023 11:14:15 PM ] Sleeping for 5 minutes.
[ 08/13/2023 11:19:16 PM ] Sleeping for 5 minutes.
[ 08/13/2023 11:24:17 PM ] Sleeping for 5 minutes.
[ 08/13/2023 11:29:17 PM ] Sleeping for 5 minutes.
Is there something I'm missing or is that a bug?
...
Hello :)
When skipping some games and idle-master completes, it prints out an error upon exiting.
Not a big issue since the script finished gathering all cards, but... :)
Traceback (most recent call last):
File "/home/aterizak/dev/linux-idle-master/./start.py", line 359, in <module>
logging.warning(Fore.YELLOW + numSkip + " games skipped" + Fore.RESET)
~~~~~~~~~~~~^~~~~~~~~
TypeError: can only concatenate str (not "int") to str
./start.py was failing for me and I added printing stacktrace to the line where it exited. Turned out issue was because it was trying to run python steam-idle.py
internally and I didn't have python
in PATH since I was running python3 main.py
.
https://github.com/michael-n0813/linux-idle-master/blob/master/start.py#L69
Based on the log Error launching steam-idle with game ID....
I initially thought my cookie was invalid.
Ubuntu last upgrade (22.04) seems to partially broke this python script.
=> No "idling window" is created, but the idling seems to work on steam client.
So I guess it is only a cosmetic issue.
Error message in the log :
malloc(): invalid size (unsorted)
[ 07/23/2023 03:24:43 PM ] Idle Master needs to idle 2 games
[ 07/23/2023 03:24:43 PM ] Starting game App 261570 to idle cards
Loading Linux 64bit library
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
[ 07/23/2023 03:24:44 PM ] App 261570 has 5 card drops remaining
[ 07/23/2023 03:24:44 PM ] Sleeping for 15.0 minutes
and I don't see myself playing a game when connected on Steam.
Hello,
i've tried using your application, it starts to scan my library just fine but when it tried to launch a game it failed with the following error message
[ 09/08/2022 04:41:53 PM ] WELCOME TO IDLE MASTER
[ 09/08/2022 04:41:53 PM ] Finding games that have card drops remaining
[ 09/08/2022 04:41:54 PM ] Reading badge page, please wait
[ 09/08/2022 04:41:54 PM ] No games have been blacklisted
[ 09/08/2022 04:41:54 PM ] Idle Master needs to idle 40 games
[ 09/08/2022 04:41:54 PM ] Starting game App 379720 to idle cards
[ 09/08/2022 04:41:54 PM ] Error launching steam-idle with game ID 379720
Press Enter to continue...
Why does it fail to launch the game? Can I enable a more verbose logging output?
Thanks in advance :)
Du you have any idea how I can use this script with proxy?
For the record : with a bit of JavaScript and a quick-and-dirty 1-line addition to start.py
, it is possible to automatically retrieve steamLoginSecure
from a chromium browser :
master...Saroumane:linux-idle-master:master
Prerequisites :
Node.js must be installed.
For example with :
$ sudo pacman -Suy nodejs
Install rookie
from https://github.com/thewh1teagle/rookie/tree/main
For example with :
$ npm install @rookie-rs/api
Caveat : this js script is intended only for chromium browsers, but rookie
supports also other browsers.
The start.py
script lacks a shebang on first line ( #!/bin/env python
)
So : if the user does not follow the safe way (recommended in README.txt) to invoke the script :
python ./start.py
Then the script is run as a bash file and the desktop hangs after a few seconds (at least on my Ubuntu 21.10)
start.py
can not work 'as is' : Steam has removed steamLogin value in cookies, only steamLoginSecure should be used.
the setting sort = "mostvalue"
can't be used anymore in settings.txt
, as the URL used to check prices "https://api.enhancedsteam.com/" seems to be KO.
Maybe this site https://steam.tools/cards/ could be used instead. (Sorry, can't do it myself)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.