Comments (2)
I have a workaround for automated batch claims.
Using a headless Ubuntu Server 18.04 VM I would run into X display issues when the accounts would need to be manually logged into.
So instead I setup a Lubuntu 18.04 VM with a display. It is set to auto log in on launch using the instructions here: https://askubuntu.com/questions/848110/auto-login-lxde
It has a weekly crontab that looks like this: export DISPLAY=:0 && /bin/bash /home/user/epicgames-freebies-claimer/epicgames.bash
The bash scrip it runs looks like this:
echo "-----" >> /home/user/epicgames-freebies-claimer/epicgames.log
echo "$(date)" >> /home/user/epicgames-freebies-claimer/epicgames.log
node /home/user/epicgames-freebies-claimer/gimme_free_epic_shit.js EMAIL1 PASSWORD1 >> /home/user/epicgames-freebies-claimer/epicgames.log
node /home/user/epicgames-freebies-claimer/gimme_free_epic_shit.js EMAIL2 PASSWORD2 >> /home/user/epicgames-freebies-claimer/epicgames.log
My rememberLastSession is still set to true
Log file looks like this:
-----
Tue Apr 14 04:12:01 EDT 2020
Failed to login as EMAIL1, please attempt manually.
Logged in as ACCOUNT1
Close to the Sun was already claimed for this account
Sherlock Holmes Crimes and Punishments was already claimed for this account
Lego Batman Trilogy was already claimed for this account
Logged out of Epic Games
Failed to login as EMAIL2, please attempt manually.
Logged in as ACCOUNT2
Close to the Sun was already claimed for this account
Sherlock Holmes Crimes and Punishments was already claimed for this account
Lego Batman Trilogy was already claimed for this account
Logged out of Epic Games
from epicgames-freebies-claimer.
I have a workaround for automated batch claims.
Using a headless Ubuntu Server 18.04 VM I would run into X display issues when the accounts would need to be manually logged into.
So instead I setup a Lubuntu 18.04 VM with a display. It is set to auto log in on launch using the instructions here: https://askubuntu.com/questions/848110/auto-login-lxde
It has a weekly crontab that looks like this:
export DISPLAY=:0 && /bin/bash /home/user/epicgames-freebies-claimer/epicgames.bash
The bash scrip it runs looks like this:
echo "-----" >> /home/user/epicgames-freebies-claimer/epicgames.log echo "$(date)" >> /home/user/epicgames-freebies-claimer/epicgames.log node /home/user/epicgames-freebies-claimer/gimme_free_epic_shit.js EMAIL1 PASSWORD1 >> /home/user/epicgames-freebies-claimer/epicgames.log node /home/user/epicgames-freebies-claimer/gimme_free_epic_shit.js EMAIL2 PASSWORD2 >> /home/user/epicgames-freebies-claimer/epicgames.log
My rememberLastSession is still set to
true
Log file looks like this:
----- Tue Apr 14 04:12:01 EDT 2020 Failed to login as EMAIL1, please attempt manually. Logged in as ACCOUNT1 Close to the Sun was already claimed for this account Sherlock Holmes Crimes and Punishments was already claimed for this account Lego Batman Trilogy was already claimed for this account Logged out of Epic Games Failed to login as EMAIL2, please attempt manually. Logged in as ACCOUNT2 Close to the Sun was already claimed for this account Sherlock Holmes Crimes and Punishments was already claimed for this account Lego Batman Trilogy was already claimed for this account Logged out of Epic Games
Are you using a dedicated server or home pc?
Sadly, I don't have a server readily available to run the VM and cba running a VM once a week on home pc.
Could probably automate running the VM on my home Windows pc with VBoxVmService or something similar... Honestly at this point it's more alluring just fixing the rememberLastSession hardcoded issue.
Keeping your implementation in mind when I get a hold of a server. :)
Thanks!
You could probably copy your implementation of weekly automated batch claims to a standalone git gist and get linked to on the README.md.
Not many people will come across this here and it's quite elegant.
from epicgames-freebies-claimer.
Related Issues (20)
- Does the access token have an expiration date? HOT 2
- How to claim a specific game? HOT 2
- What does this error mean? HOT 5
- Error: We could not confirm your purchase at this time HOT 1
- Deprecated? HOT 1
- ERROR | Failed to claim Cities HOT 1
- (Error: We could not confirm your purchase at this time. Please try again later.) HOT 1
- Error: We could not confirm your purchase at this time. Please try again later. HOT 1
- npm install HOT 2
- Docker: Its ask me for an exchange code for the email: devide_id: HOT 1
- TypeError: Cannot read properties of undefined (reading 'id') HOT 11
- Error: We could not confirm your purchase at this time. Please try again later. HOT 8
- Is this an error? "2022-11-05 | 09:39:43.954 | ERROR | TypeError: Cannot read properties of undefined (reading 'id')" HOT 1
- [DOCS] Add minimum Node version (`v15.0.0`) in the README HOT 5
- Null error HOT 3
- How to fix this. Captcha on epic games not showing.
- Use a Captcha Solver like 2chaptcha HOT 3
- syntax error HOT 1
- Captcha bypass solution HOT 3
- Error null when trying to get a game HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epicgames-freebies-claimer.