Git Product home page Git Product logo

Comments (3)

Citrinate avatar Citrinate commented on June 15, 2024 1

It doesn't remember these.

I wonder if these packages are remembered by the plugin so as not to try them again later.
Or whether it is better not to remember them, in case their Status changes to a valid state in the foreseeable future.

In my testing I did try something like this. If an App returned "invalid" I wouldn't retry it for 1 hour, but even with a 1 hour limit I was starting to miss packages. So yes, I figured it was better to get these errors than to miss packages.

While the errors are persistent and a little annoying, it seems like there's few enough of them per hour that they won't prevent the plugin from working properly.

from freepackages.

woctezuma avatar woctezuma commented on June 15, 2024 1

Thank you for your reply!

from freepackages.

woctezuma avatar woctezuma commented on June 15, 2024

Or whether it is better not to remember them, in case their Status changes to a valid state in the foreseeable future.

This.

First, timestamps are stored ìn Bot_FreePackages.db, but not the invalid status. So the file is solely used for the rate limit.

Second, I realize the project scope: the plugin listens for changes since the last Changenumber stored in FreePackages.cache.
So there is no list to maintain, because the plugin listens for a change which may render valid one of these currently unavailable free packages. Storing the invalid packages in a list to skip them the next time would defeat one of the plugin objectives.

This plugin works by listening for changes to Steam's PICS. Since PICs doesn't show changes that happened before a certain time, the plugin may not discover all previously released free packages. It's also possible to miss newly released free packages if your bot is logged out for extended periods of time.

PICS stands for Product Info Cache Server. This is the system that Steam uses to hold information about applications and packages. If you've heard of appinfo, that information comes from PICS.

from freepackages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.