

![]() |
![]() |
|
|||||||
![]() |
![]() |
| Starcraft Hacking Related Discuss anything related to hacks for SC/BW here. |
![]() |
|
|
LinkBack | Thread Tools |
![]() |
![]() |
|
|
#24 (permalink) |
![]() ![]() ![]() ![]() Disciple |
PHP Code:
Last edited by ulliklliwi : 10-30-2007 at 05:03 PM. |
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#25 (permalink) |
![]() ![]() ![]() Advocate Join Date: Jul 2006
Location: Cream
Posts: 304
![]() |
Code:
BWFXN_DrawBox 4E18E0 BWFXN_PlaySound 4BBEF0 Code:
PlaySound proc Sound:DWORD push 00h push 00h push 63h push Sound call dword ptr [BWFXN_PlaySound] ret PlaySound endp Code:
DrawBox proc x:DWORD, y:DWORD, w:DWORD, h:DWORD, clr:BYTE mov al, clr mov ds:[6CF494h], al push h push w push y push x call [BWFXN_DrawBox] ret DrawBox endp DrawTransparentBox proc x:DWORD, y:DWORD, w:DWORD, h:DWORD, clr:BYTE, midclr:BYTE pushad mov edx, y mov eax, h add eax, edx mov ebx, eax .while edx < ebx pushad invoke DrawBox, x, edx, w, 1, midclr popad add edx, 02h .endw invoke DrawBox, x, y, w, 2, clr invoke DrawBox, x, ebx, w, 2, clr invoke DrawBox, x, y, 1, h, clr mov eax, x mov ebx, w add ebx, eax invoke DrawBox, ebx, y, 1, h, clr popad ret DrawTransparentBox endp Code:
invoke DrawBox, 130, 140, 120, 150, 00 invoke DrawBox, 160, 160, 20, 60, 30 invoke DrawBox, 200, 160, 20, 60, 30 invoke DrawBox, 150, 240, 80, 20, 30 ![]()
__________________
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#28 (permalink) |
![]() ![]() ![]() Advocate Join Date: May 2004
Posts: 206
![]() |
No do you have a half of brain and do any kind of research for yourself clicking on that thread would have shown you it's for drawing boxes like the old starspeak
I just got done playing with this function and I could only make the health bar come up when I clicked on the units and for some reason it wouldn't work on any new units created. |
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#29 (permalink) |
![]() ![]() ![]() ![]() ![]() Zealot |
Yeah I found out after a little while that apparently it will only work for units that were selected while it was NOPed out. And even then, after that the bars refused to go away XD When the function was restored, units that were created after that were fine with no health bars appearing. And apparently it's not the only function that can make the bars appear... Unless I am getting mixed up. Zynastor you should include this feature with Oblivion :D And have it toggle-able :P
EDIT: Oh, and for the units that had health bars displayed, after they died, the bars remained on the screen. So if you had an army slaughter another army, and you had these bars up, you'd have a screenful afterwards...
__________________
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#30 (permalink) |
|
=)
Senior Member
Mod preview ![]() ![]() ![]() ![]() Messiah |
Promasser, you're an idiot.
To not be off topic Code:
DrawIco proc x:DWORD,y:DWORD,hIco:DWORD LOCAL h:BYTE LOCAL w:BYTE LOCAL sy:DWORD LOCAL sx:DWORD pushad mov esi,hIco mov bl,[esi] mov w,bl mov bl,[esi+1] mov h,bl add esi,2 xor cl,cl .while cl<h xor ch,ch .while ch<w mov al,[esi] MOV BYTE PTR DS:[6CF494h],al inc esi movzx edx,cl mov eax,y add eax,edx mov sy,eax movzx edx,ch mov eax,x add eax,edx mov sx,eax .if sx<639 && sy<430 pushad push 1 push 1 push sy push sx mov eax,004E18E0h CALL eax popad .endif inc ch .endw inc cl .endw popad ret DrawIco endp |
|
|
![]() |
![]() |