Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buy EXP only if economy is at a certain threshhold #52

Open
Jokiblack opened this issue Oct 6, 2024 · 10 comments
Open

Buy EXP only if economy is at a certain threshhold #52

Jokiblack opened this issue Oct 6, 2024 · 10 comments
Labels
enhancement New feature or request

Comments

@Jokiblack
Copy link

Couldn't it be added that you can also buy experience when the money goes over 20 or 30? I think that would give it a lot of play.

@akshualy
Copy link
Contributor

akshualy commented Oct 6, 2024

Hi, thanks for the suggestion!
Alune already buys XP.
Doing so when economy hits a certain threshhold is a planned feature. But it requires OCR, which I still need a reliable way of informing the user about, as it needs manual installation.

@akshualy akshualy added the enhancement New feature or request label Oct 6, 2024
@akshualy akshualy changed the title Exp Buy Buy EXP only if economy is at a certain threshhold Oct 6, 2024
@Jokiblack
Copy link
Author

Hi, thanks for the suggestion! Alune already buys XP. Doing so when economy hits a certain threshhold is a planned feature. But it requires OCR, which I still need a reliable way of informing the user about, as it needs manual installation.

It doesn't buy me experience, only champions. Do I need to use the uncompiled version for it to buy experience? Or do I need to configure something?

@Jokiblack
Copy link
Author

It can be the difference between a 5/6 and a 3 or 4.

@akshualy
Copy link
Contributor

akshualy commented Oct 6, 2024

Can you check your latest log file? Buying XP is logged there (under alune-output/logs, sorted by date and time).

@Jokiblack
Copy link
Author

Jokiblack commented Oct 6, 2024

2024-10-05 15:04:20.765 | INFO     | alune.adb:_connect_to_device:105 - Attempting to connect to ADB session with device localhost:5555
2024-10-05 15:04:22.779 | DEBUG    | __main__:main:491 - ADB is connected, checking phone and app details
2024-10-05 15:04:22.781 | DEBUG    | __main__:check_phone_preconditions:393 - Checking screen size
2024-10-05 15:04:22.836 | DEBUG    | __main__:check_phone_preconditions:402 - Checking screen density
2024-10-05 15:04:22.843 | DEBUG    | __main__:check_phone_preconditions:408 - Checking memory
2024-10-05 15:04:22.885 | DEBUG    | __main__:check_phone_preconditions:412 - Checking if TFT is installed
2024-10-05 15:04:22.933 | DEBUG    | __main__:check_phone_preconditions:416 - Checking TFT app version
2024-10-05 15:04:23.280 | DEBUG    | __main__:check_phone_preconditions:430 - Checking if TFT is active
2024-10-05 15:04:23.294 | DEBUG    | __main__:check_phone_preconditions:432 - TFT is not active, starting it
2024-10-05 15:04:23.319 | INFO     | __main__:main:493 - Connected to ADB and device is set up correctly, starting main loop.
2024-10-05 15:04:23.371 | INFO     | __main__:loop:297 - TFT was not in the foreground, setting it as active.
2024-10-05 15:04:28.853 | INFO     | __main__:loop:310 - App state is loading...
2024-10-05 15:04:41.485 | INFO     | __main__:loop:314 - App state is main menu, clicking 'Play'.
2024-10-05 15:04:44.206 | INFO     | __main__:loop:320 - App state is choose mode, selecting normal game.
2024-10-05 15:04:46.947 | INFO     | __main__:loop:326 - App state is in lobby, locking bot into queue logic.
2024-10-05 15:05:41.380 | DEBUG    | __main__:queue:89 - Queue accepted
2024-10-05 15:05:50.591 | INFO     | __main__:loop:329 - Queue lock released, likely loading into game now.
2024-10-05 15:09:49.823 | INFO     | __main__:loop:331 - App state is in game, looping decision making and waiting for the exit button.
2024-10-05 15:11:34.359 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 1
2024-10-05 15:11:46.195 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 5
2024-10-05 15:12:20.161 | DEBUG    | __main__:handle_augments:118 - Augments offered
2024-10-05 15:12:20.161 | DEBUG    | __main__:handle_augments:125 - Rolling augment offer 1
2024-10-05 15:12:22.343 | DEBUG    | __main__:handle_augments:125 - Rolling augment offer 3
2024-10-05 15:12:25.569 | DEBUG    | __main__:handle_augments:133 - Selecting augment 2
2024-10-05 15:13:46.684 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 3
2024-10-05 15:15:51.553 | DEBUG    | __main__:take_game_decision:234 - Is on other board, returning to own board
2024-10-05 15:16:03.765 | DEBUG    | __main__:take_game_decision:226 - Is on carousel, clicking a random point within bounds
2024-10-05 15:16:18.984 | DEBUG    | __main__:take_game_decision:226 - Is on carousel, clicking a random point within bounds
2024-10-05 15:18:42.234 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 2
2024-10-05 15:18:54.037 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 5
2024-10-05 15:20:48.246 | DEBUG    | __main__:handle_augments:118 - Augments offered
2024-10-05 15:20:53.250 | DEBUG    | __main__:handle_augments:133 - Selecting augment 3
2024-10-05 15:23:33.967 | DEBUG    | __main__:take_game_decision:234 - Is on other board, returning to own board
2024-10-05 15:23:46.235 | DEBUG    | __main__:take_game_decision:226 - Is on carousel, clicking a random point within bounds
2024-10-05 15:24:04.904 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 3
2024-10-05 15:26:11.015 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 2
2024-10-05 15:26:22.838 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 5
2024-10-05 15:26:34.671 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 5
2024-10-05 15:26:46.583 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 5
2024-10-05 15:26:58.510 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 3
2024-10-05 15:28:06.924 | DEBUG    | __main__:handle_augments:118 - Augments offered
2024-10-05 15:28:06.924 | DEBUG    | __main__:handle_augments:125 - Rolling augment offer 2
2024-10-05 15:28:09.156 | DEBUG    | __main__:handle_augments:125 - Rolling augment offer 3
2024-10-05 15:28:12.330 | DEBUG    | __main__:handle_augments:133 - Selecting augment 3
2024-10-05 15:29:33.513 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 2
2024-10-05 15:29:45.251 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 2
2024-10-05 15:29:57.115 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 2
2024-10-05 15:30:08.995 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 2
2024-10-05 15:30:20.965 | DEBUG    | __main__:buy_from_shop:208 - Buying store card 2
2024-10-05 15:30:44.816 | INFO     | __main__:loop:345 - App state is post game, clicking 'Play again'.
2024-10-05 15:30:47.557 | INFO     | __main__:loop:326 - App state is in lobby, locking bot into queue logic.
2024-10-05 15:31:25.703 | DEBUG    | __main__:queue:89 - Queue accepted
2024-10-05 15:31:37.478 | INFO     | __main__:loop:329 - Queue lock released, likely loading into game now.
2024-10-05 15:32:00.953 | INFO     | __main__:loop:331 - App state is in game, looping decision making and waiting for the exit button.

Here I leave you the log, it doesn't buy me experience nor does my character move in the champion selection roulette or anything, which from what I saw should move in the roulette
I see that he only buys cards and champions but not experience

image
When the roulette part comes, it returns to its own arena, which I don't understand, when I read that it should move randomly, right?

Can you check your latest log file? Buying XP is logged there (under alune-output/logs, sorted by date and time).

@akshualy
Copy link
Contributor

akshualy commented Oct 6, 2024

Can you try by running from source instead?

@Jokiblack
Copy link
Author

Can you try by running from source instead?

50 gold and does not buy exp, and it is the latest source version as you see, which I sent after finishing the game, do not start another one

2024-10-06 21:47:01.142 | INFO     | alune.adb:_connect_to_device:105 - Attempting to connect to ADB session with device localhost:5555
2024-10-06 21:47:03.150 | DEBUG    | __main__:main:506 - ADB is connected, checking phone and app details
2024-10-06 21:47:03.150 | DEBUG    | __main__:check_phone_preconditions:407 - Checking screen size
2024-10-06 21:47:03.199 | DEBUG    | __main__:check_phone_preconditions:416 - Checking screen density
2024-10-06 21:47:03.244 | DEBUG    | __main__:check_phone_preconditions:422 - Checking memory
2024-10-06 21:47:03.247 | DEBUG    | __main__:check_phone_preconditions:426 - Checking if TFT is installed
2024-10-06 21:47:03.291 | DEBUG    | __main__:check_phone_preconditions:430 - Checking TFT app version
2024-10-06 21:47:03.621 | DEBUG    | __main__:check_phone_preconditions:444 - Checking if TFT is active
2024-10-06 21:47:03.629 | DEBUG    | __main__:check_phone_preconditions:446 - TFT is not active, starting it
2024-10-06 21:47:03.650 | INFO     | __main__:main:508 - Connected to ADB and device is set up correctly, starting main loop.
2024-10-06 21:47:03.709 | INFO     | __main__:loop:307 - TFT was not in the foreground, setting it as active.
2024-10-06 21:47:09.146 | INFO     | __main__:loop:320 - App state is loading...
2024-10-06 21:47:21.760 | INFO     | __main__:loop:324 - App state is main menu, clicking 'Play'.
2024-10-06 21:47:24.527 | INFO     | __main__:loop:330 - App state is choose mode, selecting normal game.
2024-10-06 21:47:27.347 | INFO     | __main__:loop:336 - App state is in lobby, locking bot into queue logic.
2024-10-06 21:49:02.154 | DEBUG    | __main__:queue:93 - Queue accepted
2024-10-06 21:49:16.169 | DEBUG    | __main__:queue:103 - Queue was declined by someone else, staying in queue lock state
2024-10-06 21:49:18.750 | DEBUG    | __main__:queue:93 - Queue accepted
2024-10-06 21:49:30.284 | DEBUG    | __main__:queue:103 - Queue was declined by someone else, staying in queue lock state
2024-10-06 21:49:32.750 | DEBUG    | __main__:queue:93 - Queue accepted
2024-10-06 21:49:37.953 | INFO     | __main__:loop:339 - Queue lock released, likely loading into game now.
2024-10-06 21:50:12.001 | INFO     | __main__:loop:341 - App state is in game, looping decision making and waiting for the exit button.
2024-10-06 21:51:10.737 | DEBUG    | __main__:buy_from_shop:212 - Buying store card 2
2024-10-06 21:51:45.182 | DEBUG    | __main__:buy_from_shop:212 - Buying store card 3
2024-10-06 21:52:30.759 | DEBUG    | __main__:handle_augments:122 - Augments offered
2024-10-06 21:52:35.762 | DEBUG    | __main__:handle_augments:137 - Selecting augment 1
2024-10-06 21:52:48.859 | DEBUG    | __main__:buy_from_shop:212 - Buying store card 2
2024-10-06 21:54:54.744 | DEBUG    | __main__:buy_from_shop:212 - Buying store card 4
2024-10-06 21:55:06.493 | DEBUG    | __main__:buy_from_shop:212 - Buying store card 2
2024-10-06 21:56:03.357 | DEBUG    | __main__:take_game_decision:238 - Is on other board, returning to own board
2024-10-06 21:56:15.628 | DEBUG    | __main__:take_game_decision:230 - Is on carousel, clicking a random point within bounds
2024-10-06 21:58:06.530 | DEBUG    | __main__:toggle_pause:534 - alt+p pressed, toggling pause from False to True
2024-10-06 21:58:06.530 | WARNING  | __main__:toggle_pause:537 - Bot now paused, remember to unpause to continue botting!
2024-10-06 21:58:11.659 | DEBUG    | __main__:toggle_pause:534 - alt+p pressed, toggling pause from True to False
2024-10-06 21:58:11.659 | WARNING  | __main__:toggle_pause:539 - Bot playing again!
2024-10-06 21:58:18.682 | DEBUG    | __main__:toggle_play_next_game:548 - alt+n pressed, toggling pause from True to False
2024-10-06 21:58:18.682 | WARNING  | __main__:toggle_play_next_game:551 - Bot will not queue a new game when a lobby is detected!
2024-10-06 21:58:52.957 | DEBUG    | __main__:buy_from_shop:212 - Buying store card 3
2024-10-06 22:00:59.271 | DEBUG    | __main__:handle_augments:122 - Augments offered
2024-10-06 22:01:01.272 | DEBUG    | __main__:handle_augments:129 - Rolling augment offer 3
2024-10-06 22:01:04.478 | DEBUG    | __main__:handle_augments:137 - Selecting augment 2```

@Jokiblack
Copy link
Author

and this still doesn't happen Walks around on carousel rounds

@akshualy
Copy link
Contributor

akshualy commented Oct 6, 2024

Are you playing in English?

@Jokiblack
Copy link
Author

Are you playing in English?

Not in Spanish, but the images match, it doesn't seem like something in the language but now I'll change it and try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants