HamsterKombat Mini-Game #45
Replies: 2 comments 6 replies
-
(startDate convert to timestamp | Telegram_chat_id) => convert to base64 |
Beta Was this translation helpful? Give feedback.
-
this is the code of eval(Zstd_DecStr(... |
Beta Was this translation helpful? Give feedback.
-
Hello,
I checked out the new Mini-Game but I'm not sure how to create a cipher for it. I started this discussion in the hopes that someone might know how to solve it and share the solution so we can add it to the bot.
Here’s what I’ve found so far:
Game URL:
https://hamsterkombatgame.io/games/UnblockPuzzle/?v
API Requests:
Start Game:
https://api.hamsterkombatgame.io/clicker/start-keys-minigame
Finish Game:
https://api.hamsterkombatgame.io/clicker/claim-daily-keys-minigame
{"cipher":"DATA"}
The
cipher
is a base64 encoded string. When decoded, it reveals anINT|INT
value. I believe the first part is a code based on time or some other variable, and the second part is the account ID. So, it looks like this:A_CIPHER_NUMBER|ACCOUNT_ID
.If anyone knows how to calculate
A_CIPHER_NUMBER
, we can incorporate it into the bot.The game was developed using Defold.
In the code, there are two
eval
functions. One of them iseval(Zstd_DecStr(...
, and the other is inDefoldGames_wasm.js
. I think theOnGameFinish
function is called from Defold.If you have any insights or solutions, please share them!
Please refrain from posting if you don't have any ideas or knowledge about the topic. If we find a solution, we will add it. Otherwise, we won't.
Update:
The input data is formatted like this:
- a - - c -.- a b b c -.0 0 e - c -.f - e d d v.f g g x - v.f h h x z z
In this format:
a-z
represents an element.0
acts as a key.-
indicates an empty column..
signifies the end of a row.When organized into a table, the data looks like this:
Beta Was this translation helpful? Give feedback.
All reactions