zeropingheroes / lancache-autofill Goto Github PK
View Code? Open in Web Editor NEWAutomatically fill a Lancache with content
License: GNU General Public License v3.0
Automatically fill a Lancache with content
License: GNU General Public License v3.0
Not sure why but this thing is failing at 0% which causes all the downloads I try to queue to fail as well..
./lancache-autofill steam:update-app-list
Clearing apps from database
Downloading app list from Steam Web API
Inserting records into database
░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0%
Done
Anyway I can enable a debug mode or something to see what's going on here? it fails fast making me think that the back end steam API changed somehow.
./lancache-autofill steam:queue-popular-apps top=5 --windows=true
Added Steam app "Dota 2" on platform "Windows" to download queue
Added Steam app "PLAYERUNKNOWN'S BATTLEGROUNDS" on platform "Windows" to download queue
Added Steam app "Counter-Strike: Global Offensive" on platform "Windows" to download queue
Added Steam app "Team Fortress 2" on platform "Windows" to download queue
Added Steam app "Unturned" on platform "Windows" to download queue
Added Steam app "Warframe" on platform "Windows" to download queue
Added Steam app "Left 4 Dead 2" on platform "Windows" to download queue
Added Steam app "Paladins" on platform "Windows" to download queue
Added Steam app "Half-Life 2: Lost Coast" on platform "Windows" to download queue
Added Steam app "Heroes & Generals" on platform "Windows" to download queue
Not sure why things continue as they shouldn't but I don't really want all 100 items in my database..
On launch, it appears to timeout.
No output in /root/Steam/logs/srdeer.txt
OS: Ubuntu 18.04
[ 98%] Downloading update (50,686 of 50,851 KB)...
[ 99%] Downloading update (50,851 of 50,851 KB)...
[100%] Download Complete.
[----] Applying update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching...
Redirecting stderr to '/root/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
[ 0%] Downloading update...
[ 0%] Checking for available updates...
[----] Download complete.
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
Redirecting stderr to '/root/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...In Process.php line 1335:
The process "unbuffer ~/steam/steamcmd.sh +login anonymous +quit" exceeded
the timeout of 60 seconds.The command '/bin/sh -c /home/steam/lancache-autofill/install.sh' returned a non-zero code: 1
/root/Steam/logs/bootstrap_log.txt
[2020-05-07 10:20:12] Startup - updater built Apr 23 2020 00:46:22
[2020-05-07 10:20:12] Checking for update on startup
[2020-05-07 10:20:12] Checking for available updates...
[2020-05-07 10:20:12] Downloading manifest: client-download.steampowered.com/client/steam_cmd_linux
[2020-05-07 10:20:23] Download skipped: /client/steam_cmd_linux version 1588134986, installed version 1588134986
[2020-05-07 10:20:23] Nothing to do
[2020-05-07 10:20:23] Verifying installation...
[2020-05-07 10:20:23] Performing checksum verification of executable files
[2020-05-07 10:20:23] Unable to read and verify install manifest /root/steam/package/steam_cmd_linux.installed
[2020-05-07 10:20:23] Verification complete
[2020-05-07 10:20:23] Downloading update...
[2020-05-07 10:20:23] Checking for available updates...
[2020-05-07 10:20:23] Downloading manifest: client-download.steampowered.com/client/steam_cmd_linux
[2020-05-07 10:20:34] Download complete.
[2020-05-07 10:20:34] uninstalled manifest found in /root/steam/package/steam_cmd_linux (1).
[2020-05-07 10:20:34] Extracting package...
[2020-05-07 10:20:37] Installing update...
[2020-05-07 10:20:37] Cleaning up...
[2020-05-07 10:20:37] Update complete, launching Steamcmd...
[2020-05-07 10:20:37] Shutdown
I keep running into this when I'm going through user lists and trying to populate the cache:
In Client.php line 180:
Client error: GET http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v0001/?key=6B264EE334F3233E1B5511D63D0C60D1&format=json&input_json=%7B%22steamId%22%3A %2276561197970845665%22%7D
resulted in a 429 Too Many Requests
response:
In RequestException.php line 113:
Client error: GET http://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v0001/?key=6B264EE334F3233E1B5511D63D0C60D1&format=json&input_json=%7B%22steamId%22%3A %2276561197970845665%22%7D
resulted in a 429 Too Many Requests
response:
Anyway, would it be possible to create an exception on error 429 from the api call? And then have this enable a holdtown timer and have the script wait x seconds before trying again?
Thanks,
billcat
I can only see the following list:
Is there a way to add a full library of an user to queue?
While on that I got additional questions:
How can I automatically add game updates to the queue and start the download?
I cannot see any function for that or am I missing something?
Or do I need to build shell script to execute these commands ?
Using latest and fresh install of 'lancache-autofill'
florian@lancacheprimer:~/lancache-autofill$ ./lancache-autofill steam:show-queue
Steam queue is empty
florian@lancacheprimer:~/lancache-autofill$ ./lancache-autofill steam:queue-popular-apps 5
florian@lancacheprimer:~/lancache-autofill$ ./lancache-autofill steam:show-queue
Steam queue is empty
Referencing to #4
No error message shows up, so I guess something has been changed on the API side?
Use tmux
to start the download job in the background, to enable logging out and checking back later.
When using ./lancache-autofill steam:queue-users-recent-apps
with a big list of Steam IDs we should start with apps that lots of users have played recently.
As a side note, a spin-off command line tool which analyses popular games among a big list of Steam IDs (much like https://steamparty.info) would be pretty useful.
To allow requeuing and dequeuing of items whose message
field contains some text.
E.g. Dequeue all items whose message
field contains "no subscription"
How do I completely remove lancache-autofill so I can reinstall? I tried removing the directorys and restarting but I'm still getting these errors:
Initialising SteamCMD
gzip: stdin: unexpected end of file
tar: Child returned status 1tar: Error is not recoverable: exiting now
Error initialising SteamCMD
When running the install dependencies command
sudo apt install -y lib32gcc1 libstdc++6 libtinfo5 libncurses5 php7.2-cli php7.2-mbstring php7.2-sqlite php7.2-bcmath php7.2-dom composer expect zip unzip
It comes out with an error of
E: Unable to locate package php7.2-cli
E: Couldn't find any package by glob 'php7.2-cli'
E: Couldn't find any package by regex 'php7.2-cli'
E: Unable to locate package php7.2-mbstring
E: Couldn't find any package by glob 'php7.2-mbstring'
E: Couldn't find any package by regex 'php7.2-mbstring'
E: Unable to locate package php7.2-sqlite
E: Couldn't find any package by glob 'php7.2-sqlite'
E: Couldn't find any package by regex 'php7.2-sqlite'
E: Unable to locate package php7.2-bcmath
E: Couldn't find any package by glob 'php7.2-bcmath'
E: Couldn't find any package by regex 'php7.2-bcmath'
E: Unable to locate package php7.2-dom
E: Couldn't find any package by glob 'php7.2-dom'
E: Couldn't find any package by regex 'php7.2-dom'
I am on a fresh debian buster install
sh: -c: line 0: syntax error near unexpected token `('sh: -c: line 0: `unbuffer ~/steam/steamcmd.sh +login username password(foo$() A234A +@NoPromptForPassword 1 +quit 'Failed to authorise Steam account username
Seems like PHP7.0 is no longer able to satisfy the installer dependencies as 7.1 or newer is required.
Installing dependencies with Composer
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for doctrine/inflector v1.3.0 -> satisfiable by doctrine/inflector[v1.3.0].
- doctrine/inflector v1.3.0 requires php ^7.1 -> your PHP version (7.0.30) does not satisfy that requirement.
Problem 2
- Installation request for symfony/css-selector v4.1.7 -> satisfiable by symfony/css-selector[v4.1.7].
- symfony/css-selector v4.1.7 requires php ^7.1.3 -> your PHP version (7.0.30) does not satisfy that requirement.
Problem 3
- Installation request for symfony/event-dispatcher v4.1.7 -> satisfiable by symfony/event-dispatcher[v4.1.7].
- symfony/event-dispatcher v4.1.7 requires php ^7.1.3 -> your PHP version (7.0.30) does not satisfy that requirement.
Problem 4
- Installation request for symfony/translation v4.1.7 -> satisfiable by symfony/translation[v4.1.7].
- symfony/translation v4.1.7 requires php ^7.1.3 -> your PHP version (7.0.30) does not satisfy that requirement.
Problem 5
- doctrine/inflector v1.3.0 requires php ^7.1 -> your PHP version (7.0.30) does not satisfy that requirement.
- laravel/framework v5.5.44 requires doctrine/inflector ~1.1 -> satisfiable by doctrine/inflector[v1.3.0].
- Installation request for laravel/framework v5.5.44 -> satisfiable by laravel/framework[v5.5.44].
Creating database file
Creating your environment file
PHP Warning: require_once(/root/lancache-autofill/vendor/autoload.php): failed to open stream: No such file or directory in /root/lancache-autofill/lancache-autofill on line 9
PHP Fatal error: require_once(): Failed opening required '/root/lancache-autofill/vendor/autoload.php' (include_path='.:/usr/share/php') in /root/lancache-autofill/lancache-autofill on line 9
PHP Warning: require_once(/root/lancache-autofill/vendor/autoload.php): failed to open stream: No such file or directory in /root/lancache-autofill/lancache-autofill on line 9
PHP Fatal error: require_once(): Failed opening required '/root/lancache-autofill/vendor/autoload.php' (include_path='.:/usr/share/php') in /root/lancache-autofill/lancache-autofill on line 9
PHP Warning: require_once(/root/lancache-autofill/vendor/autoload.php): failed to open stream: No such file or directory in /root/lancache-autofill/lancache-autofill on line 9
PHP Fatal error: require_once(): Failed opening required '/root/lancache-autofill/vendor/autoload.php' (include_path='.:/usr/share/php') in /root/lancache-autofill/lancache-autofill on line 9
I'm on a default ubuntu install as per the instructions.. getting this error at like 85% of the way through the update...
Guessing some strange unicode characters or app name that is too long is nuking the process? In any case, I can't update anymore and this causes me to only be able to download the apps that are already inserted into the DB.
Please help!
user1@autofill:~/lancache-autofill$ ./lancache-autofill steam:update-app-list
Clearing apps from database
Downloading app list from Steam Web API
Inserting records into database
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░ 85%
In Connection.php line 664:
SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: steam_apps.id (SQL: insert into "steam_apps" ("id", "name") select 768240 as
"id", Warstone OST, Comics and Artbook as "name" union all select 768270 as "id", Lisssn as "name" union all select 768290 as "id", Snow White Solitaire.
Charmed Kingdom as "name" union all select 768300 as "id", Zhulik.exe as "name" union all select 768310 as "id", Er-Spectro as "name" union all select 76
Hi,
I am trying to run this however there doesn't appear to be a vendor directory or autoload.php file which is required for the lancache-autofill.php file to work.
PHP Warning: require_once(/home/kp/docker-compose/lancache-autofill/vendor/autoload.php): failed to open stream: No such file or directory in /home/kp/docker-compose/lancache-autofill/lancache-autofill on line 9
Many thanks
kp
Hey, this is really good code. Thanks for sharing it with us.
I thought the --include_free=true function would let me queue only the free apps. I'm trying to queue as much of the free content as my lan attendees have subscribed to, so that when they start downloading them from my otherwise fast cache, it won't go out to the internet to download it.
That said, could you do something like --include_paid=false or --only_include_free=true so that we could fill the cache with all the free content our users use?
Thanks in advance for considering this feature request..
Originally posted by @billthecatt in #54 (comment)
Add variable to change Download/cache folder.
This so external HDD's or Network drives could be used.
So... this was working last week and isn't now.. Not sure if the latest update of steamcmd nuked the no prompt for password functionality, but you'll notice it's asking me for a password even though I just authorzed the account:
./lancache-autofill steam:authorise-account
Please enter your Steam username:
billyinthebarn
Authorising account billyinthebarn
Please enter your password:
Please enter your Steam Guard code (optional) []:
Redirecting stderr to '/home/user1/Steam/logs/stderr.txt'
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[ 0%] Checking for available updates...
[----] Download complete.
Steam Console Client (c) Valve Corporation-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'billyinthebarn' to Steam Public...
Logged in OKWaiting for user info...
OK"@NoPromptForPassword" = "1"
Successfully authorised Steam account billyinthebarn
<Everything should be good to go here because the auth worked, right??>
user1@srv02:~/lancache-autofill$ ./lancache-autofill steam:start-downloading
Checking all Steam accounts are authorised
Checking Steam account billyinthebarn...
Redirecting stderr to '/home/user1/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Download complete.
Steam Console Client (c) Valve Corporation-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'billyinthebarn' to Steam Public...password:
<Why is it asking me for a password if I've already authorized and/or @NoPromptForPassword 1 is set?>
In Process.php line 1342:
The process "unbuffer /steamcmd/steamcmd.sh +login billyinthebarn +@NoPromptForPassword 1 +quit " exceeded the timeout of 60 seconds.
Hi,
when trying to run steam:update-app-list, the following error occurs:
SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: steam_apps.id
I have tried to manually clear the sqlite database, but the error persists, when i try to re-fill it.
Re-installing also didn't fix the error.
I am running it on the following system:
Distributor ID: Ubuntu
Description: Ubuntu 20.10
Release: 20.10
Codename: groovy
PHP 7.4.9 (cli) (built: Oct 26 2020 15:17:14) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.9, Copyright (c), by Zend Technologies
Debian 9.8 upgraded php to 7.3.2.. Which now fails to install (it wasn't working even on a pre-installed lancache-autofill so i tried re-installing and got these errors:
user1@srv02:~/lancache-autofill$ ./install.sh
Installing dependencies with Composer
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
[ErrorException]
"continue" targeting switch is equivalent to "break". Did you mean to use "
continue 2"?
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-c ustom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest ] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] []...
Creating database file
Creating your environment file
In Connection.php line 664:
could not find driver (SQL: select * from sqlite_master where type = 'table
' and name = steam_apps)
In Connector.php line 67:
could not find driver
Clearing apps from database
In Connection.php line 664:
could not find driver (SQL: delete from sqlite_sequence where name = steam_
apps)
In Connector.php line 67:
could not find driver
Initialising SteamCMD
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for tijsverkoyen/css-to-inline-styles 2.2.2 -> satisfiable by tijsverkoyen/css-to-inline-styles[2.2.2].
- tijsverkoyen/css-to-inline-styles 2.2.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
Problem 2
- tijsverkoyen/css-to-inline-styles 2.2.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- laravel/framework v5.5.49 requires tijsverkoyen/css-to-inline-styles ~2.2 -> satisfiable by tijsverkoyen/css-to-inline-styles[2.2.2].
- Installation request for laravel/framework v5.5.49 -> satisfiable by laravel/framework[v5.5.49].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.4/cli/php.ini
- /etc/php/7.4/cli/conf.d/10-opcache.ini
- /etc/php/7.4/cli/conf.d/10-pdo.ini
- /etc/php/7.4/cli/conf.d/20-bcmath.ini
- /etc/php/7.4/cli/conf.d/20-calendar.ini
- /etc/php/7.4/cli/conf.d/20-ctype.ini
- /etc/php/7.4/cli/conf.d/20-exif.ini
- /etc/php/7.4/cli/conf.d/20-ffi.ini
- /etc/php/7.4/cli/conf.d/20-fileinfo.ini
- /etc/php/7.4/cli/conf.d/20-ftp.ini
- /etc/php/7.4/cli/conf.d/20-gettext.ini
- /etc/php/7.4/cli/conf.d/20-iconv.ini
- /etc/php/7.4/cli/conf.d/20-json.ini
- /etc/php/7.4/cli/conf.d/20-mbstring.ini
- /etc/php/7.4/cli/conf.d/20-pdo_sqlite.ini
- /etc/php/7.4/cli/conf.d/20-phar.ini
- /etc/php/7.4/cli/conf.d/20-posix.ini
- /etc/php/7.4/cli/conf.d/20-readline.ini
- /etc/php/7.4/cli/conf.d/20-shmop.ini
- /etc/php/7.4/cli/conf.d/20-sockets.ini
- /etc/php/7.4/cli/conf.d/20-sqlite3.ini
- /etc/php/7.4/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.4/cli/conf.d/20-sysvsem.ini
- /etc/php/7.4/cli/conf.d/20-sysvshm.ini
- /etc/php/7.4/cli/conf.d/20-tokenizer.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Also fails with php 7.2, hence why i tried installing a newer version.
Extend the requeue command so that items can be requeued under a different Steam account
This will be useful if several apps fail to download due to not being owned by the specified Steam account.
theres an issue with all the packets and php in ubuntu 19 that renders this software unuseble...
my php is 7.2.27
i keep getting an could not find driver error
can you please fix this? i want to use this at a lan for 300 ppl.
-Tonny
When SteamCMD outputs "FAILED login with result code Rate Limit Exceeded" these lines are supposed to delay the system for 1 minute, but they are not being called.
Title says it mostly.
I want to queue all the games owned by one user and download them. Currently recent games only gets a few of the games I actually want.
Currently Steam gets stuck in loop when a paid app download is requested and the logged in account does not own it.
Would be great if you could download it into the void, to not fill the main disk
I need to download an older version of "rise of nations" that steam allows you to do via a "beta" function calling it v1_10old
https://steamcommunity.com/app/287450/discussions/1/2217311444328461859/
Is there a way to get the queue-app functionality to allow you to do this, the way the steam client does?
Thanks,
billcat
If it is known which Steam user(s) will be using the cache, it would make sense to cache apps that they are likely to download.
This should be possible using the Steam Web API's GetOwnedGames endpoint, which also returns how much time the user has spent playing the app in the last 2 weeks, and overall.
There are many ways this data can be used, but ideally no decision-making based on the data should be hard-coded.
when attempting to initialise the database I get errors:
Creating empty database tables
In Connection.php line 664:
SQLSTATE[HY000]: General error: 8 attempt to write a readonly database (SQL: create table "steam_apps" ("id" integer not null, "name" va
rchar not null))
In Connection.php line 458:
SQLSTATE[HY000]: General error: 8 attempt to write a readonly database
verbose output shows :
Creating empty database tables
In Connection.php line 664:
[Illuminate\Database\QueryException (HY000)]
SQLSTATE[HY000]: General error: 8 attempt to write a readonly database (SQL: create table "steam_apps" ("id" integer not null, "name" va
rchar not null))
Exception trace:
at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
Illuminate\Database\Connection->runQueryCallback() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Illuminate\Database\Connection->run() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Connection.php:459
Illuminate\Database\Connection->statement() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php:86
Illuminate\Database\Schema\Blueprint->build() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php:252
Illuminate\Database\Schema\Builder->build() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php:165
Illuminate\Database\Schema\Builder->create() at /home/wildestcard/servers/autofill/lancache-autofill/src/Commands/App/InitialiseDatabase.php:49
Zeropingheroes\LancacheAutofill\Commands\App\InitialiseDatabase->handle() at n/a:n/a
call_user_func_array() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29
Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87
Illuminate\Container\BoundMethod::callBoundMethod() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31
Illuminate\Container\BoundMethod::call() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Container/Container.php:549
Illuminate\Container\Container->call() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Console/Command.php:183
Illuminate\Console\Command->execute() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/symfony/console/Command/Command.php:255 Symfony\Component\Console\Command\Command->run() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Console/Command.php:170
Illuminate\Console\Command->run() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/symfony/console/Application.php:987
Symfony\Component\Console\Application->doRunCommand() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Console/Application.php:88
Illuminate\Console\Application->run() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:121
Illuminate\Foundation\Console\Kernel->handle() at /home/wildestcard/servers/autofill/lancache-autofill/lancache-autofill:44
In Connection.php line 458:
[PDOException (HY000)]
SQLSTATE[HY000]: General error: 8 attempt to write a readonly database
Exception trace:
at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458
PDOStatement->execute() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458
Illuminate\Database\Connection->Illuminate\Database\{closure}() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Connection.php:657
Illuminate\Database\Connection->runQueryCallback() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Illuminate\Database\Connection->run() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Connection.php:459
Illuminate\Database\Connection->statement() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php:86
Illuminate\Database\Schema\Blueprint->build() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php:252
Illuminate\Database\Schema\Builder->build() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php:165
Illuminate\Database\Schema\Builder->create() at /home/wildestcard/servers/autofill/lancache-autofill/src/Commands/App/InitialiseDatabase.php:49
Zeropingheroes\LancacheAutofill\Commands\App\InitialiseDatabase->handle() at n/a:n/a
call_user_func_array() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29
Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87
Illuminate\Container\BoundMethod::callBoundMethod() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31
Illuminate\Container\BoundMethod::call() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Container/Container.php:549
Illuminate\Container\Container->call() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Console/Command.php:183
Illuminate\Console\Command->execute() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/symfony/console/Command/Command.php:255 Symfony\Component\Console\Command\Command->run() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Console/Command.php:170
Illuminate\Console\Command->run() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/symfony/console/Application.php:987
Symfony\Component\Console\Application->doRunCommand() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Console/Application.php:88
Illuminate\Console\Application->run() at /home/wildestcard/servers/autofill/lancache-autofill/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:121
Illuminate\Foundation\Console\Kernel->handle() at /home/wildestcard/servers/autofill/lancache-autofill/lancache-autofill:44
I had some issues when installing dependencies so it could be caused by something on my end however i'm pretty new to linux and am not sure where to look to troubleshoot :P. any help would be appriciated
Use SteamSpy's API to get the top 100 in last 2 weeks
Please see below, i start steam:queue-users-recent-apps three times, each time it does something different and then crashes
./lancache-autofill steam:queue-users-recent-apps ~/steam64s.txt
Queuing apps recently played by user: Sheepdog--
Steam app "Counter-Strike: Global Offensive" on platform "Windows" already in download queue
Steam app "Half-Life 2: Deathmatch" on platform "Windows" already in download queue
Steam app "Insurgency" on platform "Windows" already in download queue
Steam app "Rise of Nations: Extended Edition" on platform "Windows" already in download queue
Steam app "Team Fortress 2" on platform "Windows" already in download queue
Steam app "Torchlight II" on platform "Windows" already in download queue
In Player.php line 114:
Undefined property: stdClass::$total_count
user1@srv02:~/lancache-autofill$ ./lancache-autofill steam:queue-users-recent-apps ~/steam64s.txt
Queuing apps recently played by user: billcat-actual
Steam app "Artemis Spaceship Bridge Simulator" on platform "Windows" already in download queue
Steam app "Counter-Strike: Global Offensive" on platform "Windows" already in download queue
Steam app "Day of Infamy" on platform "Windows" already in download queue
Steam app "Half-Life 2: Deathmatch" on platform "Windows" already in download queue
Steam app "Insurgency" on platform "Windows" already in download queue
Steam app "Insurgency: Sandstorm" on platform "Windows" already in download queue
Steam app "Left 4 Dead 2" on platform "Windows" already in download queue
Steam app "Team Fortress 2" on platform "Windows" already in download queue
Steam app "Torchlight II" on platform "Windows" already in download queue
Steam app "War Thunder" on platform "Windows" already in download queue
Skipping user with private profile: Fellow_Comrade
In Player.php line 114:
Undefined property: stdClass::$total_count
user1@srv02:~/lancache-autofill$ ./lancache-autofill steam:queue-users-recent-apps ~/steam64s.txt
Skipping user who has not recently played any apps: Briggins
Queuing apps recently played by user: Fallon
Steam app "Counter-Strike: Global Offensive" on platform "Windows" already in download queue
Steam app "Half-Life 2: Deathmatch" on platform "Windows" already in download queue
Steam app "Insurgency" on platform "Windows" already in download queue
Steam app "Team Fortress 2" on platform "Windows" already in download queue
Steam app "Torchlight II" on platform "Windows" already in download queue
Queuing apps recently played by user: effectontarget
Steam app "Counter-Strike: Global Offensive" on platform "Windows" already in download queue
Queuing apps recently played by user: Bulldozer
Steam app "Counter-Strike: Global Offensive" on platform "Windows" already in download queue
Steam app "Insurgency" on platform "Windows" already in download queue
Steam app "Rise of Nations: Extended Edition" on platform "Windows" already in download queue
Steam app "Team Fortress 2" on platform "Windows" already in download queue
Steam app "Torchlight II" on platform "Windows" already in download queue
In Player.php line 114:
Undefined property: stdClass::$total_count
Here is my steam64s.txt just in case something unique to it is causing the crashes:
76561197983046600
76561197983776334
76561198245482754
76561198301326570
76561198302077492
76561198346409836
76561198351407264
76561198001428348
76561198001472830
76561198402549776
76561198018697958
76561198018994882
76561198024592438
76561198055837230
76561197970641022
76561198073291294
76561198095737978
76561197960405992
76561197961778882
76561198150384700
76561198160972095
76561198254514327
76561198273849513
76561198288247437
76561198402036511
76561198005563723
76561198008857699
76561198014207351
76561198016886069
76561198018827975
76561198024092545
76561198819570015
76561197970845665
76561197961919301
I'm not solid enuf in PHP to sort out what's going on wrong on line 114 so I'm hopeful something about this makes sense to someone.
Thanks for a great project. This program really helps me pre-populate the cache correctly and have the content my users want when they show up. TYVM!
Currently the tool only shows the app ID
If a couple of games fail to download (due to not owning them) then steamcmd starts issuing "authentication failed: Rate limit exceeded" - Lancache-autofill should detect this and sleep for a minute before retrying - Currently it appears to remove the item from the queue because it failed, which isn't ideal.
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.