Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions if many packages are already claimed #166

Open
woctezuma opened this issue Nov 18, 2022 · 6 comments
Open

Instructions if many packages are already claimed #166

woctezuma opened this issue Nov 18, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@woctezuma
Copy link
Contributor

woctezuma commented Nov 18, 2022

I think there are a few issues with the instructions at docs/instructions-for-users-with-many-packages.md.

First, there is nothing displayed in the console.

Second, if I type games, then I see a list, but:

  • it contains repetitions,
  • it is truncated after 143 IDs:
"797921,797921,797922, [...] 681599,681599,781212…"

Third, the list which I obtain is a list of sub IDs, while your package_list.txt is a list of app IDs.

I believe it would make sense to use steamctl.

    apps                Get information about apps
    |- list               List owned or all apps
    \- licenses           Manage licenses
       \- list              List all licenses on account

or ASFEnhance.

| Command                          | Shorthand | Access     | Description                                     |
| -------------------------------- | --------- | ---------- | ----------------------------------------------- |
| `FREELICENSES [Bots]`            | `FL`      | `Operator` | Get bot's all free sub licenses list            |
| `LICENSES [Bots]`                | `L`       | `Operator` | Get bot's all licenses list                     |
@woctezuma woctezuma added the bug Something isn't working label Nov 18, 2022
@woctezuma
Copy link
Contributor Author

woctezuma commented Nov 18, 2022

First, there is nothing displayed in the console.

Not a big deal. ☑️ I can display the info by typing the following in the console:

games

Second, if I type games, then I see a list, but:

* it contains repetitions,

* it is truncated after 143 IDs:

The repetitions are not there after I toggle OFF the browser extensions (SteamDB, Augmented Steam, ViolentMonkey).
I don't know which one was the culprit, but I suspect it is SteamDB. ☑️

The truncation is solved by double-clicking on the variable in the console. ☑️

Third, the list which I obtain is a list os sub IDs, while your package_list.txt is a list of app IDs.

This issue remains! Maybe steamctl or ASFEnhance would be relevant. ❗

Edit: Only steamctl does the job.

Output of steamctl apps list: app IDs, including demos. 🥳 🎉

[...]
1667640 Imagined Leviathans Demo
1667710 Gladihaters Demo
1667730 Forgotten Journey
1667770 Samurai Shampoo
1667810 Riding Seas Demo
[...]

Output of steamctl apps licenses list: both app IDs and sub IDs, e.g. appID=323580 and subID=51002, but slow. 🤔

[...]
License: 51002
  Type:             SinglePurchase (1)
  Created:          YYYY-MM-DD HH:MM:SS Paris, Madrid
  Purchase country: FR
  Payment method:   ActivationCode (1)
  Flags:            RegionRestrictionExpired
  Change number:    16728353
  SteamDB:          https://steamdb.info/sub/51002/
  Billing Type:     BillOnceOrCDKey (10)
  Status:           Available (0)
  Extended:
    allowcrossregiontradingandgifting: false
  Apps:
    323580: Jotun: Valhalla Edition
[...]

Output of FREELICENSES: sub IDs. 😞

[...]
46682 | Star Trek Online
47182 | NEOTOKYO
47144 | Warface
49027 | Rise of Incarnates
21004 | HOARD - Demo
[...]

Output of LICENSES: no ID at all. 😨

[...]
Retail | Trine 2 + Beta
Gift / GuestPass | Holiday Sale 2011 Gift: Counter-Strike: Source
Steam Store | Dungeons of Dredmor: Realm of the Diggle Gods
Complimentary | Sanctum Holiday DLC
[...]

@woctezuma
Copy link
Contributor Author

woctezuma commented Nov 19, 2022

In summary, only steamctl does the job:

  • steamctl apps list: perfect for the task of retrieving appIDs, including appIDs of demos,
  • steamctl apps licenses list: slow and slightly harder to parse, because there is more displayed data.

@woctezuma
Copy link
Contributor Author

Another possibility is to download this JSON data while authenticated:

@Luois45
Copy link
Owner

Luois45 commented Jan 24, 2023

Inactive for a month and archived due to this.
Will be reopened on further activity.

@Luois45 Luois45 closed this as completed Jan 24, 2023
@woctezuma
Copy link
Contributor Author

woctezuma commented Jan 24, 2023

The issue is that:

To summarize the results of my investigation, the suggested solution would be to parse the app IDs from steamctl's output.

    apps                Get information about apps
    |- list               List owned or all apps
    \- licenses           Manage licenses
       \- list              List all licenses on account

Output of steamctl apps list: app IDs, including demos. 🥳 🎉

[...]
1667640 Imagined Leviathans Demo
1667710 Gladihaters Demo
1667730 Forgotten Journey
1667770 Samurai Shampoo
1667810 Riding Seas Demo
[...]

Another workaround would be to use the /dynamicstore/userdata endpoint. This is extremely simple and gives app IDs instead of sub IDs. However, the list of app IDs is not exhaustive, in contrast to the aforementioned suggested solution using steamctl.

@Luois45 Luois45 reopened this Jan 26, 2023
@woctezuma
Copy link
Contributor Author

Just to clarify all of these posts, I believe the instructions in docs/ are wrong, and I suggest two workarounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants