GithubHelp home page GithubHelp logo

csgo-storage-unit's Introduction

csgo-supply-unit-automation

Repository for automatically updating storage units in csgo

Notes (seeing that this has been starred a few times and I uploaded this without documentation just for myself):

In index.js, add_to_casket() will add any items that satisify

  1. untradeable currentTime < new Date(item['tradable_after']).getTime()
  2. a file called purchase_data includes the paintwear of the item purchase_data.includes(item['paint_wear'])
  3. item is not already in a storage unit !item.hasOwnProperty('casket_id') to the configured storage unit.

remove_from_casket() will remove any items that satisify

  1. tradeable currentTime > new Date(item['tradable_after']).getTime()

Additionally, this doesn't seem to be specifically defined in the committed version of index.js, but the GC will allow you to move around 50 items/s either in or out of storage units, so to avoid spamming the GC, use a 1000 ms delay between each 50 add/remove requests.

csgo-storage-unit's People

Contributors

andrew3019 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

k1de bleueau 19a1047

csgo-storage-unit's Issues

about removeFromCasket

I have a lot of storage unit,about 10k items.

I used removeFromCasket function.

It printed "removed 50 items from storage units"

But my main inventory only added 10 items.

Was anything wrong?

about casket_id

where can I find casket_id?

if I have a lot of casket,How can I process with them?

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.