Commando 2
-migrated-
Commando 2 Posted on: 11/24/2009 1:48am
Quote Post
Kind of old game...but does anyone have hacks for the following:
  • Invincibility

  • Unlock all weapons

  • Unlimited ammo(You can do *8(for ammo) but that's a pain in the ass nowadays) :lol: J/k. xD




http://www.miniclip.com/games/commando-2/en/
Re: Commando 2 Posted on: 11/24/2009 7:05pm
Quote Post
The game is relatively large (almost 15 MB) so there's quite a lot of code. I will update as/if I find more (broken image removed)

Unlimited Ammo
96 09 00 06 00 00 00 00 00 00 00 00 4e 51 -> 96 09 00 06 00 00 00 00 00 00 00 00 4e 02

EDIT:
Invincibility
96 0a 00 04 01 07 01 00 00 00 09 01 01 3d 17 99 02 00 0f 00 96 0a 00 04 01 07 01 00 00 00 09 02 01 3d 17
02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 99 02 00 0f 00 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02

All Weapons
9d 02 00 fd 00 96 05 00 04 03 09 3f 01 -> 99 02 00 fd 00 96 05 00 04 03 09 3f 01
Re: Commando 2 Posted on: 11/26/2009 9:58am
Quote Post
Changing the 51 to a 02 on the first code, is that because it is a nop code that it acts as unlimited? How does 02 work in this case?





Tookie

Re: Commando 2 Posted on: 11/26/2009 11:40am
Quote Post
51 is the bytecode for decrement the value on the stack. 02 is no operation. So it'll never decrement the variable, hence your ammo will always be full!