JonasNilson / idle_master_extended

🃏 Get your Steam Trading Cards the Fast Way (Fast Mode Extension 🚀)
GNU General Public License v2.0
2.81k stars 182 forks source link

[BUG] Idle Master will pretend there are no cards left while in reality there's a problem with the cookies and there are cards to farm #353

Closed Wolterhon closed 1 year ago

Wolterhon commented 2 years ago

Describe the bug

Idle Master won't start farming even if there are cards to be farmed, instead it pretends that it checks all the badge pages (which it probably does, but not from my account's perspective probably), and since my session is old it won't find any cards to farm.

To Reproduce

  1. Have some cards to farm.
  2. Give your session details to IME and close the program probably.
  3. Wait for them (session details) to expire or log out of Steam yourself to make the session expire thus making the cookies outdated.
  4. Start IME.
  5. Obserhe how it checks all your badge pages and claims there are no cards left to farm.

Expected behavior

When cookies given to IME are outdated, the second checkmark becomes an X and there's a 'Log In' button

tst0 commented 2 years ago

+

It does it because cookie parameters are no longer valid, you can fix with sign out and sign in again.

Wolterhon commented 2 years ago

It does it because cookie parameters are no longer valid, you can fix with sign out and sign in again.

Yeah saying that it's connected to my Steam account when it clearly isn't is not a bug at all. And I know how to fix it lol, I literally said this in the 'Describe the bug' section.

Fragile-wing commented 2 years ago

I have the same bug happening to me. But I logged out and logged back in and it did not heal.

Wolterhon commented 2 years ago

I have the same bug happening to me. But I logged out and logged back in and it did not heal.

Try to log in to your Steam account in an incognito window and feed your incognito cookies to the program

Marcelzocker999 commented 2 years ago

Same

JonasNilson commented 2 years ago

Thank you for your bug report.

I will have to investigate this issue and reproduce it myself.

Hopefully it's enough to request a renewal of the cookie from the Steam web API.

Wolterhon commented 2 years ago

Thank you for your bug report.

I will have to investigate this issue and reproduce it myself.

Hopefully it's enough to request a renewal of the cookie from the Steam web API.

I neither want to be the smartass, nor do I have any proper knowledge about Steam API in particular, but there's one reliable(-ish?) way to check if you're logged in. If you are not, then steamcommunity.com/my redirects to /login/home/ Maybe that will help if there's no cleaner/reliable way to check cookies' validity.

JonasNilson commented 1 year ago

Fixed in the latest release: https://github.com/JonasNilson/idle_master_extended/releases