masterking32 / MasterHamsterKombatBot

Master Hamster Kombat Bot is a Python-based automation tool specifically designed for the game Hamster Kombat. This bot is capable of performing all in-game tasks, including auto-tapping, cipher tasks, and purchasing the best cards on your behalf. It's a free and fully automated farming bot that enhances your Hamster Kombat gaming experience.
https://github.com/masterking32/MasterCryptoFarmBot
Apache License 2.0
281 stars 90 forks source link

Daily combo #69

Closed akumanomi1988 closed 1 month ago

akumanomi1988 commented 3 months ago

Would it be possible to purchase the daily combo considering the necessary cards for it, or if referrals are needed, to do something about it?

odysahe commented 3 months ago

Would it be possible to purchase the daily combo considering the necessary cards for it, or if referrals are needed, to do something about it?

I hope so too 🥹

paisekamao commented 2 months ago

is this possible to add feature of daily combo????

ZayaanZone commented 2 months ago

It seems that adding a daily combo feature might not be feasible because the API doesn't provide the names of the combo cards. It only indicates whether a card is part of the daily combo when the card is purchased or upgraded.

l0v3m0n3y commented 2 months ago

Solved this problem with the help of data=requests.post("https://hamstercombos.com/hamstercombos/public/api/hamster-kombat-card-list",json={}).json()["data"]["dailyComboCards"] for i in data: i=i["card_name"] It works well

joshuazzz1 commented 2 months ago

Solved this problem with the help of data=requests.post("https://hamstercombos.com/hamstercombos/public/api/hamster-kombat-card-list",json={}).json()["data"]["dailyComboCards"].json()%5B%22data%22%5D%5B%22dailyComboCards%22%5D) for i in data: i=i["card_name"] It works well

In which line to add that code?

l0v3m0n3y commented 2 months ago

Solved this problem with the help of data=requests.post("https://hamstercombos.com/hamstercombos/public/api/hamster-kombat-card-list",json={}).json()["data"]["dailyComboCards"].json()%5B%22data%22%5D%5B%22dailyComboCards%22%5D) for i in data: i=i["card_name"] It works well

In which line to add that code?

This function gives the name of the combo cards to buy. I designed it in my script like this Screenshot_2024-08-15-20-25-58-332

D41214N commented 2 months ago

Solved this problem with the help of data=requests.post("https://hamstercombos.com/hamstercombos/public/api/hamster-kombat-card-list",json={}).json()["data"]["dailyComboCards"].json()%5B%22data%22%5D%5B%22dailyComboCards%22%5D) for i in data: i=i["card_name"] It works well

In which line to add that code?

This function gives the name of the combo cards to buy. I designed it in my script like this Hey While this works well, I understand that hamstercombos.com isn't the official API and there might be a delay in the data. Could you please explain how and where the official data for these combo cards is obtained? Specifically, I'd like to know:

What API calls to the official Hamster Kombat API (api.hamsterkombatgame.io) are used to source this data? How the data is processed or transformed before it’s made available at hamstercombos.com? Is there any way to directly access this data from the official API to avoid delays?

ParsapythonLv commented 2 months ago

really need add this future

ParsapythonLv commented 1 month ago

It has been some time since one of my friends requested that card combos should be purchased every day according to the ratio of their income to their cost, and this is really needed, and maybe the amount of their income is sometimes not high, but we will receive a good profit, which is before buying cards. Profit should take priority with the combo so that all the money is not spent and he can buy Haru cards, also considering that this robot has this capability in it, you can get help from it (written with a translator)❤️ https://github.com/shamhi/HamsterKombatBot

MixxxGit commented 1 month ago

Решил эту проблему с помощью data=requests.post(" https://hamstercombos.com/hamstercombos/public/api/hamster-kombat-card-list",json={}).json()["data" ]["dailyComboCards"] .json()%5B%22data%22%5D%5B%22dailyComboCards%22%5D) для i в данных: i=i["card_name"] Это работает хорошо

В какую строку добавить этот код?

Эта функция дает название комбо-карт, которые можно купить. Я разработал это в своем сценарии следующим образом Скриншот_2024-08-15-20-25-58-332 It’s amazing that this works for you because you use the card name as if it were its ID, but it’s not. For example Name = "Data Center Tokyo" ID = "data_center_tokyo". you send to the endpoint https://api.hamsterkombatgame.io/clicker/buy-upgrade Card_Name although it should only accept Card_ID.

masterking32 commented 1 month ago

https://github.com/masterking32/MasterHamsterKombatBot/commit/a6fd7d1175707e1333b8a969ad9112e7a47de642