aarunjon How do I cheat?
Reputation: 0
Joined: 26 Aug 2011 Posts: 2
|
Posted: Fri Aug 26, 2011 1:30 pm Post subject: Hacking Fog of War of Maps |
|
|
Hey guys, I've seen a tutorial for removing the black on a map so that the entire map can be revealed.
A guy did this with C&C Tiberian Sun.
However, the equation for the code in StarCraft for the map fog of war is different and I'm having difficulty knowing what I need to change it to.
Any ideas where I may get more information on such?
I will isolate an address and find what writes to the address again and post it here also.
Thanks ahead of time.
EDIT:
Here's what i found to access the address to one of the squares covered by fog of war:
004D57F5 - 03 F3 - add esi,ebx
004D57F7 - F6 40 0C 04 - test byte ptr [eax+0C],04
004D57FB - 66 89 70 1C - mov [eax+1C],si <<
004D57FF - 75 22 - jne 004D5823
004D5801 - 33 D2 - xor edx,edx
EAX=0057EAE8
EBX=FFFFFFE8
ECX=08547F62
EDX=00000020
ESI=000000C8
EDI=08547F5C
ESP=0018FD68
EBP=0018FD7C
EIP=004D57FF
Changing the value of the address "0057EAE8" (one square of the map) to 1 causes that part of the map to be revealed, whereby a 0 causes it to be hidden. The value type is therefore a "Byte" (exact value).
|
|