GithubHelp home page GithubHelp logo

c4illin / asfclaim Goto Github PK

View Code? Open in Web Editor NEW
71.0 6.0 9.0 245 KB

🎮 Claim free steam games using ASF

License: MIT License

JavaScript 95.92% Dockerfile 4.08%
asf archisteamfarm steam docker free-games freegames ipc hacktoberfest

asfclaim's Introduction

Hallå!

I study complex adaptive systems at Chalmers in Sweden. I like javascript :)

📫 Contact me

asfclaim's People

Contributors

c4illin avatar dependabot[bot] avatar floriegl avatar herocc avatar knocks83 avatar nuckle avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

asfclaim's Issues

arm64 v8 docker

any plan to support arm64 v8 for docker image?

got this error when using docker on Orange pi 3 LTS

no matching manifest for linux/arm64/v8 in the manifest list entries

error 401

Hello, I gave this a try and receiving the following error:

~/ASFclaim$ node .
Only runs on the last 10 games
Error: 
{
  Result: { Permanent: true, StatusCode: 401 },
  Message: 'Failed!',
  Success: false

Any ideas for fixing? Thanks!

Error 401

Hello, I am trying to use the docker for ASFclaim, but I am met with this error upon trying to run it:

asfclaim  | Only runs on the last 10 games
asfclaim  | Error: 
asfclaim  | {
asfclaim  |   Result: { Permanent: true, StatusCode: 401 },
asfclaim  |   Message: 'Failed!',
asfclaim  |   Success: false
asfclaim  | }

I believe this is because my IPC password is too big, or because it uses special characters (*, !, ^, @, %, ...)

I'm not sure how this could be fixed (Maybe using an Authentication header instead of a query string? https://github.com/JustArchiNET/ArchiSteamFarm/wiki/IPC#authentication) but I really appreciate this project and hope somebody can look into this!

docker

docker Can it be deployed

Starting service (ubuntu 22.04)

Hello,

I'm trying to start ASFclaim as a service on a Ubuntu 22.04 server.
I used sudo cp asfclaim.service /etc/systemd/system

Then, I also noticed the path in the .service file was /home/pi/ASFclaim/index.js and I changed that to /home/ubuntu/ASFclaim/index.js to match my actual user directory

I am still receiving the following error:

sudo systemctl status asfclaim
● asfclaim.service - ASFclaim
     Loaded: loaded (/etc/systemd/system/asfclaim.service; disabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Wed 2022-08-03 14:23:15 EDT; 3s ago
    Process: 6498 ExecStart=/usr/bin/node /home/ubuntu/ASFclaim/index.js (code=exited, status=200/CHDIR)
   Main PID: 6498 (code=exited, status=200/CHDIR)
        CPU: 781us

Aug 03 14:23:15 ubuntu systemd[1]: asfclaim.service: Failed with result 'exit-code'.

Any ideas how to fix?

SyntaxError: Unexpected identifier

import http from 'node:http';
       ^^^^

SyntaxError: Unexpected identifier
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/root/ASFclaim/index.js:1:15)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)

FetchError

encounter issue when running on ASF 5.5.0.11 - linux-x64 - b924e3b

full log

Only runs on the last 40 games
error running '[object Object]':
FetchError: request to http://10.0.12.43:1242/Api/Command failed, reason: socket hang up
    at ClientRequest.<anonymous> (file:///usr/src/app/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (node:events:526:35)
    at Socket.socketOnEnd (node:_http_client:519:9)
    at Socket.emit (node:events:526:35)
    at endReadableNT (node:internal/streams/readable:1589:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ECONNRESET',
  code: 'ECONNRESET',
  erroredSysCall: undefined
}

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.