게임/소스정보

Mineral-SupplyHack


Originally Posted by jakor
Code:
;F5_SupplyHack
;check to make sure the selected unit is a Command Center
lea ecx, buffer
mov byte ptr [ecx], 23h
mov byte ptr [ecx+1], 07h
mov byte ptr [ecx+2], 00h
mov edx, 3
call QueueAction_00479900

Mineral hack- He checks to make sure you have a barracks selected,
then he tells the barracks to "build sub unit"
(same command that reavers/carriers get to build their subunit.)
27h but this come with a length of 1 by default and he assigns
a length of 3 with null parameters... Code: ;F6_MineralHack lea ecx, buffer mov byte ptr [ecx], 27h mov byte ptr [ecx+1], 00h mov byte ptr [ecx+2], 00h mov edx, 3 call QueueAction_00479900 For the cancel building which is completed,
i didn't delve into the individual units he makes cancel-able,
but it's a 35h with a different parameter based on what kind of unit is selected. Unit Suicide doesn't need to be explained.... Morph1 uses the 1Fh command with parameters based on which unit type is selected Morph2 uses the 1Fh command for different units
(selecting between different addon's for Command Centers/Science Facilities)

'게임 > 소스정보' 카테고리의 다른 글

PrintScreenTut  (1124) 2011.10.17
Map_Color_Changer  (860) 2011.10.17
Starcraft Text Hex Numbers  (370) 2011.10.17
clsSCGP  (794) 2011.10.17
cmd2packets  (403) 2011.10.17
lobbystuff  (714) 2011.10.17
mypacketlist  (852) 2011.10.17
orders  (838) 2011.10.17