Gemcraft: Chapter Zero - Hacks
http://www.kongregate.com/games/gameinabottle/gemcraft-chapter-0
Well, I've been taking a look at gemcraft and managed to write a few cheats
Here's a gem creation hack that allows you to customize mods, modify damage, etc for gems.. you can add as many mods as you want based on the guideline below:
First, here are the AoB's
Search String data
4a230080232a630424006155d0660166e30460046004461700d0660166e304660f2fc101a1a2461f0166ff017563055d9701d24697010111100000d2620712be01007562071262030063056205620712a00200240062072a1103000029d17612dc000014ce000062082a1203000029d276113d04006204247f617c6204662b620712280600240562072a1103000029d076129900004fd102016204662b620811710600240a4fc602016204662b2f05241e620811950200a362072a1103000029d27612840200240162072a1103000029d376123b03002f01d0660162082a1203000029d17611ad0400602066a506465c0162072a1103000029d37612250300a2a0a261c9016204662b620712eb0300240362072a1103000029d376123d0300618602620811fe01006204662bThis section of code is search string data that can be customized to fit the values that you're adding
Alright, now this is how a replacement string is arranged:
Necessary to enable the cheat to work:
Every AoB you customize to change gem modifiers is going to be pre-fixed with this line:
[4a230080232a2a2a63042400615524006305600446170025e702a273617c662b]
Modifier Changes (NOTE: Every modifier EXCEPT FOR THE LAST ONE ENTERED gets pre-fixed with a 2a; if you only use one modifier, you do not need to prefix with 2a)
You can add as many as you want of these, change their values, etc..
NOTE: The instructions are seperated by spaces; the first one being duplicate, the second one pushing a value onto the stack, and the third on setting the variable.. if you see a hex value between ( and )'s, that means it's a flash u30 value which can be converted at u30 Hex converter. U30 values are used with the pushshort (0x25). pushbyte (0x24) uses a single byte hex representation
Min Damage set to: 6666 (8a 34)
[2a 258a34 4fd10201]
Max Damage set to: 9999 (8f 4e)
[2a 258f4e 4fc60201]
RangeModifier set to: 900 (84 07)
[2a 258407 618602]
Firing speed modifier set to: 3000 (b8 17)
[2a 25b817 61c101]
Chance of critical hit set to: 100%
[2a 2401 619302]
Chance of bouncing set to: 100%
[2a 2401 619c02]
Chance of reducing armor set to: 100%
[2a 2401 61bd02]
Chance of shock set to: 100%
[2a 2401 61f201]
Splash radius set to: 3000 (b8 17)
[2a 25b817 61cd01]
Slow Multiplier set to: 100%
[2a 2401 61d602]
Slow duration set to: 127
[2a 247f 61e601]
Mana add per hit set to: 127
[247f 619902]
And finally, every AoB you customize is going to be suffixed with a jump(0x10) that's generated based on this formula:
(1710 - Length Of current AoB string without jump)
in other words, if you'r current AoB string is 110 bytes (110 hex sets), your jump value would be 1600(1710 - 110) or 00 06 40 in hex, which gets converted into 40 06 00
[10400600]
When you're finished, you'll end up with a replace string that looks like this:
4a230080232a2a2a63042400615524006305600446170025e702a273617c662b 2a258a344fd10201 2a258f4e4fc60201 2a258407618602 2a25b81761c101 2a2401619302 2a2401619c02 2a240161bd02 2a240161f201 2a25b81761cd01 2a240161d602 2a247f61e601 247f619902 10400600
Just paste your AoB line below the search data to copy as much search data as you need.. there should be plenty there to copy from (250 bytes)
You'll end up with two strings that are the same length:
Random color Hue
Min Damage set to: 6666 (8a 34)
Max Damage set to: 9999 (8f 4e)
RangeModifier set to: 900 (84 07)
Firing speed modifier set to: 3000 (b8 17)
Chance of critical hit set to: 100%
Chance of bouncing set to: 100%
Chance of reducing armor set to: 100%
Chance of shock set to: 100%
Splash radius set to: 3000 (b8 17)
Slow Multiplier set to: 100%
Slow duration set to: 127
Mana add per hit set to: 127
//GemCraft Chapter-zero Gem Hack
4a230080232a630424006155d0660166e30460046004461700d0660166e304660f2fc101a1a2461f0166ff017563055d9701d24697010111100000d2620712be01007562071262030063056205620712a00200240062072a1103000029d17612dc000014ce000062082a1203000029d27611
4a230080232a2a2a63042400615524006305600446170025e702a273617c662b2a258a344fd102012a258f4e4fc602012a2584076186022a25b81761c1012a24016193022a2401619c022a240161bd022a240161f2012a25b81761cd012a240161d6022a247f61e601247f61990210400600
The first one being the search string, the second one being the replacement..
If you have any questions, post them here..
Here are the opcodes that set various attack modifiers:
setDamageMin 4f d1 02 01
setDamageMax 4f c6 02 01
rangeModifier 61 86 02
firingSpeedModifier 61 c1 01
chanceofCriticalHit 61 93 02
chanceOfBouncing 61 9c 02
chanceOfReducingArmorLevel 61 bd 02
chanceOfShock 61 f2 01
splashRadius 61 cd 01
slowMultiplier 61 d6 02
slowDuration 61 e6 01
manaAddPerHit 61 99 02