Basically a server that allows you to spoof the redemption code submission response. By doing so you can use internal cheat codes that unlock various things (gems, gold, ...). This doesn't require modifications to the game. Tested on v1.0e12-4699
.
The tool hosts a server that always returns the following response:
{
"success": "success",
"response": "layle was here"
}
By doing so we trick the game into thinking whatever code we submitted is valid. It then proceeds to do local checks to grant you whatever you requested. The information of what you get, and how much of it you get is entirely stored in the code you submit. There's also a "cheat code" that gives you everything (Z
in the list below). The pattern is quite simple: aaaaaaaaaaaBBBBBBBBBC
, where:
a
can be ignored. We just need a 11 character long fillerB
is the amount. Max size/amount islong
for Rubies andBigNumber
(allows for scientific notation afaik) for Gold and SoulsC
is the item type (R
for Rubies,G
for Gold,S
for Souls,Z
to unlock everything)
Specifically this means (gluesniffer...
would be the redemption code):
gluesniffer1337G -> 1337 gold
gluesniffer6969696969R -> 6969696969 rubies
gluesniffer420420420S -> 420420420 souls
gluesniffer1e69S -> 1e69 souls
gluesnifferZ -> "cheat code"
What does the cheat code (Z
) do?
- Completes the current zone
- Gives you
1e300
gold - Gives you
1e5
souls - Gives you
10000
rubies - Gives you 2 world resets
- Whatever
zoneController.SetCurZoneByHeight
anduserDataController.EnableDebug
do
- Generate public and private keys for TLS and import them into your trust store. Set the common name to
savedgames.clickerheroes.com
- Copy the certificates to the project folder as
server.crt
andserver.key
- Create an entry in your hosts file for
127.0.0.1 savedgames.clickerheroes.com
go run .
and start the game- Profit...