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
282 stars 90 forks source link

New playground games #104

Closed Microzibert closed 3 months ago

Microzibert commented 3 months ago
Train Miner
Chain Cube 2048
My Clone Army

IMG_20240806_132957

akumanomi1988 commented 3 months ago

That was so fast! xD

@masterking32 if i receive some airdrop, i will give you a part.

WildKiwiFox commented 3 months ago

That was so fast! xD

@masterking32 if i receive some airdrop, i will give you a part.

How to download soft for these games?

dyonis commented 3 months ago

That was so fast! xD

@masterking32 if i receive some airdrop, i will give you a part.

Me too

WildKiwiFox commented 3 months ago

That was so fast! xD @masterking32 if i receive some airdrop, i will give you a part.

Me too

Me too xd

Microzibert commented 3 months ago

That was so fast! xD

@masterking32 if i receive some airdrop, i will give you a part.

Seriously though, I have four accounts and from each I will give part of the airdrop

daigia99xx commented 3 months ago

Me too

miladesign commented 3 months ago

found this. hope its help you

games = [
  {
    name: "Riding Extreme 3D",
    appToken: "d28721be-fd2d-4b45-869e-9f253b554e50",
    promoId: "43e35910-c168-4634-ad4f-52fd764a843f"
  },
  {
    name: "Chain Cube",
    appToken: "d1690a07-3780-4068-810f-9b5bbf2931b2",
    promoId: "b4170868-cef0-424f-8eb9-be0622e8e8e3"
  },
  {
    name: "My Clone Army",
    appToken: "74ee0b5b-775e-4bee-974f-63e7f4d5bacb",
    promoId: "fe693b26-b342-4159-8808-15e3ff7f8767"
  },
  {
    name: "Train Miner",
    appToken: "82647f43-3f87-402d-88dd-09a90025313f",
    promoId: "c4480ac7-e178-4973-8061-9ed5b2e17954"
  }
]
supmyhava commented 3 months ago

games = [ { name: "Riding Extreme 3D", appToken: "d28721be-fd2d-4b45-869e-9f253b554e50", promoId: "43e35910-c168-4634-ad4f-52fd764a843f" }, { name: "Chain Cube", appToken: "d1690a07-3780-4068-810f-9b5bbf2931b2", promoId: "b4170868-cef0-424f-8eb9-be0622e8e8e3" }, { name: "My Clone Army", appToken: "74ee0b5b-775e-4bee-974f-63e7f4d5bacb", promoId: "fe693b26-b342-4159-8808-15e3ff7f8767" }, { name: "Train Miner", appToken: "82647f43-3f87-402d-88dd-09a90025313f", promoId: "c4480ac7-e178-4973-8061-9ed5b2e17954" } ]

Yeah that will help me to update my key generate bot Where did you find it ? after I will update my bot I will send you keys Send me your telegram

daigia99xx commented 3 months ago

How can I edit sir?

daigia99xx commented 3 months ago

Can you update the code? main.py file I'm not familiar with code. sorry to bother you

miladesign commented 3 months ago

Yeah that will help me to update my key generate bot Where did you find it ? after I will update my bot I will send you keys Send me your telegram

thanks. i found it in one repo on github i dont use this script. i made my own android app :)

Microzibert commented 3 months ago

Screenshot_2024-08-06-18-31-56-076-edit_com kvassyu coding py

I added the promoId to the program, but it didn't give any results

dima23113 commented 3 months ago

SupportedPromoGames = { "43e35910-c168-4634-ad4f-52fd764a843f": "Bike Ride 3D in Hamster FAM", "b4170868-cef0-424f-8eb9-be0622e8e8e3": "Chain Cube", "fe693b26-b342-4159-8808-15e3ff7f8767": "My Clone Army", "c4480ac7-e178-4973-8061-9ed5b2e17954": "Train Miner", }

    for promo in response["promos"]:
        if promo[
            "promoId"
        ] in SupportedPromoGames and self.CheckPlayGroundGameState(promo, response):
            if promo["promoId"] == "43e35910-c168-4634-ad4f-52fd764a843f":
                log.info(
                    f"[{self.account_name}] Starting Bike Ride 3D in Hamster FAM..."
                )
                time.sleep(2)
                promoCode = self.GetPlayGroundBikeRideKey(promo["promoId"], "d28721be-fd2d-4b45-869e-9f253b554e50")
                if promoCode is not None:
                    log.info(
                        f"[{self.account_name}] Bike Ride 3D in Hamster FAM key: {promoCode}"
                    )
                    time.sleep(2)
                    log.info(
                        f"[{self.account_name}] Claiming Bike Ride 3D in Hamster FAM..."
                    )

                    self.ClaimPlayGroundGame(promoCode)
                    log.info(
                        f"[{self.account_name}] Playground game claimed successfully."
                    )
            if promo["promoId"] == "b4170868-cef0-424f-8eb9-be0622e8e8e3":
                log.info(f"[]{self.account_name} Statring Chain Cube")
                time.sleep(2)
                promoCode = self.GetPlayGroundBikeRideKey(promo["promoId"], "d1690a07-3780-4068-810f-9b5bbf2931b2")
                log.info(
                    f"[{self.account_name}] Claiming Bike Chain Cube..."
                )
                self.ClaimPlayGroundGame(promoCode)
                log.info(
                    f"[{self.account_name}] Playground game claimed successfully."
                )
            if promo["promoId"] == "fe693b26-b342-4159-8808-15e3ff7f8767":
                log.info(f"[]{self.account_name} Statring My Clone Army")
                time.sleep(2)
                promoCode = self.GetPlayGroundBikeRideKey(promo["promoId"], "74ee0b5b-775e-4bee-974f-63e7f4d5bacb")
                log.info(
                    f"[{self.account_name}] Claiming My Clone Army..."
                )
                self.ClaimPlayGroundGame(promoCode)
                log.info(
                    f"[{self.account_name}] Playground game claimed successfully."
                )
            if promo["promoId"] == "c4480ac7-e178-4973-8061-9ed5b2e17954":
                log.info(f"[]{self.account_name} Statring Train Miner")
                time.sleep(2)
                promoCode = self.GetPlayGroundBikeRideKey(promo["promoId"], "d28721be-fd2d-4b45-869e-9f253b554e50")
                log.info(
                    f"[{self.account_name}] Claiming Train Miner..."
                )
                self.ClaimPlayGroundGame(promoCode)
                log.info(
                    f"[{self.account_name}] Playground game claimed successfully."
                )

def GetPlayGroundBikeRideKey(self, promoID, appToken): clientId = f"{int(time.time() * 1000)}-{''.join(str(random.randint(0, 9)) for _ in range(19))}"

    log.info(f"[{self.account_name}] Getting Bike Ride 3D in Hamster FAM key...")
Microzibert commented 3 months ago

Thanks

supmyhava commented 3 months ago

74ee0b5b-775e-4bee-974f-63e7f4d5bacb

token and promoid for cube is good but train and clone are not good do you have the right ones ?

dima23113 commented 3 months ago

74ee0b5b-775e-4bee-974f-63e7f4d5bacb

token and promoid for cube is good but train and clone are not good do you have the right ones ?

It works for me. I think you need to add a pause between games because it works slower and slower with each game.

Microzibert commented 3 months ago

74ee0b5b-775e-4bee-974f-63e7f4d5bacb

token and promoid for cube is good but train and clone are not good do you have the right ones ?

It works for me. I think you need to add a pause between games because it works slower and slower with each game.

SupportedPromoGames = { "43e35910-c168-4634-ad4f-52fd764a843f": "Bike Ride 3D in Hamster FAM", "b4170868-cef0-424f-8eb9-be0622e8e8e3": "Chain Cube", "fe693b26-b342-4159-8808-15e3ff7f8767": "My Clone Army", "c4480ac7-e178-4973-8061-9ed5b2e17954": "Train Miner", }

    for promo in response["promos"]:
        if promo[
            "promoId"
        ] in SupportedPromoGames and self.CheckPlayGroundGameState(promo, response):
            if promo["promoId"] == "43e35910-c168-4634-ad4f-52fd764a843f":
                log.info(
                    f"[{self.account_name}] Starting Bike Ride 3D in Hamster FAM..."
                )
                time.sleep(2)
                promoCode = self.GetPlayGroundBikeRideKey(promo["promoId"], "d28721be-fd2d-4b45-869e-9f253b554e50")
                if promoCode is not None:
                    log.info(
                        f"[{self.account_name}] Bike Ride 3D in Hamster FAM key: {promoCode}"
                    )
                    time.sleep(2)
                    log.info(
                        f"[{self.account_name}] Claiming Bike Ride 3D in Hamster FAM..."
                    )

                    self.ClaimPlayGroundGame(promoCode)
                    log.info(
                        f"[{self.account_name}] Playground game claimed successfully."
                    )
            if promo["promoId"] == "b4170868-cef0-424f-8eb9-be0622e8e8e3":
                log.info(f"[]{self.account_name} Statring Chain Cube")
                time.sleep(2)
                promoCode = self.GetPlayGroundBikeRideKey(promo["promoId"], "d1690a07-3780-4068-810f-9b5bbf2931b2")
                log.info(
                    f"[{self.account_name}] Claiming Bike Chain Cube..."
                )
                self.ClaimPlayGroundGame(promoCode)
                log.info(
                    f"[{self.account_name}] Playground game claimed successfully."
                )
            if promo["promoId"] == "fe693b26-b342-4159-8808-15e3ff7f8767":
                log.info(f"[]{self.account_name} Statring My Clone Army")
                time.sleep(2)
                promoCode = self.GetPlayGroundBikeRideKey(promo["promoId"], "74ee0b5b-775e-4bee-974f-63e7f4d5bacb")
                log.info(
                    f"[{self.account_name}] Claiming My Clone Army..."
                )
                self.ClaimPlayGroundGame(promoCode)
                log.info(
                    f"[{self.account_name}] Playground game claimed successfully."
                )
            if promo["promoId"] == "c4480ac7-e178-4973-8061-9ed5b2e17954":
                log.info(f"[]{self.account_name} Statring Train Miner")
                time.sleep(2)
                promoCode = self.GetPlayGroundBikeRideKey(promo["promoId"], "d28721be-fd2d-4b45-869e-9f253b554e50")
                log.info(
                    f"[{self.account_name}] Claiming Train Miner..."
                )
                self.ClaimPlayGroundGame(promoCode)
                log.info(
                    f"[{self.account_name}] Playground game claimed successfully."
                )

def GetPlayGroundBikeRideKey(self, promoID, appToken): clientId = f"{int(time.time() * 1000)}-{''.join(str(random.randint(0, 9)) for _ in range(19))}"

    log.info(f"[{self.account_name}] Getting Bike Ride 3D in Hamster FAM key...")

I have a problem.the program just writes [Master HamsterKombat Bot][INFO] [A1] Getting Bike Ride 3D in Hamster FAM key... and then freezes

masterking32 commented 3 months ago

Added https://github.com/masterking32/MasterHamsterKombatBot/commit/256b7607743716383e0e54930f10e57c77e13e30