Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

APPLY_DAILY_ENERGY and Yes APPLY_DAILY_TURBO not wotking #36

Open
ngocbae98 opened this issue Jul 10, 2024 · 1 comment
Open

APPLY_DAILY_ENERGY and Yes APPLY_DAILY_TURBO not wotking #36

ngocbae98 opened this issue Jul 10, 2024 · 1 comment

Comments

@ngocbae98
Copy link

ngocbae98 commented Jul 10, 2024

I've set
APPLY_DAILY_ENERGY= True
APPLY_DAILY_TURBO= True
but it's not working.

@ngocbae98 ngocbae98 reopened this Jul 10, 2024
@s1rne
Copy link

s1rne commented Jul 12, 2024

I can offer a crutch for APPLY_DAILY_ENERGY, but it works:
after line 283 in tapper (/bot/core/tapper.py) you need to insert the line available_energy -= calc_taps.
To make it work:

...
new_balance = profile_data['currentAmount']
calc_taps = new_balance - balance
available_energy -= calc_taps
balance = new_balance
total = profile_data['totalAmount']
...

And I advise you to set MIN_AVAILABLE_ENERGY = 700 in config.py, and RANDOM_TAPS_COUNT: list[int] = [50, 180]

I hope it helps)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants