HamsterKombatBot icon indicating copy to clipboard operation
HamsterKombatBot copied to clipboard

Новая игра в хомяке Stone Age

Open krot12345 opened this issue 1 year ago • 8 comments

krot12345 avatar Sep 05 '24 14:09 krot12345

есть у кого на новую игру апптокен и промоид?

Garrri avatar Sep 05 '24 14:09 Garrri

{ "app_token": "04ebd6de-69b7-43d1-9c4b-04a6ca3305af", "promo_id": "04ebd6de-69b7-43d1-9c4b-04a6ca3305af", "codes_file": "codes-stone.txt" }

Van4er85 avatar Sep 05 '24 15:09 Van4er85

04ebd6de-69b7-43d1-9c4b-04a6ca3305af

Can you please tell me where do you add these tokens for new games?

AKTanara avatar Sep 05 '24 15:09 AKTanara

04ebd6de-69b7-43d1-9c4b-04a6ca3305af

Can you please tell me where do you add these tokens for new games?

Ищи в блоке if settings.APPLY_PROMO_CODES: строку apps_info = await get_apps_info(http_client=http_client) и после неё вставь это:

apps_info.insert(9, {
    "promoId": "04ebd6de-69b7-43d1-9c4b-04a6ca3305af",
    "appToken": "04ebd6de-69b7-43d1-9c4b-04a6ca3305af",
    "minWaitAfterLogin": 41,
    "name": "Stone Age"
})

Когда в API https://api21.datavibe.top/api/Games добавят игру, то:

apps_info.insert(9, {
    "promoId": "04ebd6de-69b7-43d1-9c4b-04a6ca3305af",
    "appToken": "04ebd6de-69b7-43d1-9c4b-04a6ca3305af",
    "minWaitAfterLogin": 41,
    "name": "Stone Age"
})

нужно будет удалить

k0tone avatar Sep 05 '24 15:09 k0tone

THANKS in which file is this? apps_info = await get_apps_info(http_client=http_client)

tapper.py

k0tone avatar Sep 05 '24 15:09 k0tone

Interesting that Stone Age only shows in one of my accounts!! And for accounts that doesn't have this game this error shows up: ERROR | 604 - MySession | Unknown error: name 'reward' is not defined

AKTanara avatar Sep 05 '24 15:09 AKTanara

🤣, just remove line 461 in tapper.py

hasan1818666891 avatar Sep 06 '24 03:09 hasan1818666891

Что за ошибка, вроде все работает, но немного напрягает, как исправить? image

IvancapS avatar Sep 07 '24 00:09 IvancapS