PDA

View Full Version : Sc:Bw 1.16.1 functions



mecio
08-27-2010, 05:28 AM
Can somebody relase all working functions for 1.16.1 ? I need SendText in Game Lobby, whisper someone and /ping instruction. I can't find it by myself ;/

Voice Of Korhal
08-27-2010, 10:17 PM
type /? in the channel.

mecio
08-27-2010, 11:49 PM
type /? in the channel.

o.0 kidding me?

-187-
08-28-2010, 12:09 AM
You can find out by yourself, you're just too ****ing lazy to do so. Look at a tutorial or something.

mecio
08-28-2010, 12:44 AM
You can find out by yourself, you're just too ****ing lazy to do so. Look at a tutorial or something.

I am trying for about 2 days and you think I am lazy. Pls Give me some tips that I can follow it. I am using this Yonderknight's Unit Alert Tutorial! (http://testacc.zptr.net/UnitAlert.html) but I am stuck somwhere in storm.dll ;/ Can't follow this function back cuz it is called from multiple places not even text function.

-187-
08-28-2010, 01:31 AM
IIRC, this is how I did it. I found where the text buffer was for the lobby, set a write break point on it, Then after tracing back, I found the "print text" for the lobby.

mecio
08-28-2010, 02:06 AM
I found buffer and then break on memory access gives me the following addresses

77f2c612 - 0f b6 50 04 - movzx edx,byte ptr [eax+04]
77f2c61d - 0f b6 50 03 - movzx edx,byte ptr [eax+03]
77f2c628 - 0f b6 50 02 - movzx edx,byte ptr [eax+02]
77f1de9a - 0f b6 50 01 - movzx edx,byte ptr [eax+01]
77f1dd26 - 0f b6 10 - movzx edx,byte ptr [eax]
77f2c694 - 0f b6 50 06 - movzx edx,byte ptr [eax+06]
77f2c607 - 0f b6 50 05 - movzx edx,byte ptr [eax+05]
77f2c689 - 0f b6 50 07 - movzx edx,byte ptr [eax+07]
77f2c67e - 0f b6 50 08 - movzx edx,byte ptr [eax+08]
7c809e22 - 0f b6 0f - movzx ecx,byte ptr [edi]

When I press Enter it gives 3 more and the message comes visible on the screen

7e383563 - c1 e9 02 - shr ecx,02 <-- user32
7e383566 - f3 a5 - repe movsd <-- user32
7e38356d - f3 a4 - repe movsb <-- user32

Breakpoint on Memory write gives me this when I change my message and gives nothing when I Enter it

7c90225a - 88 07 - mov [edi],al <--- this is part of memmove function from cstring library

-187-
08-28-2010, 01:35 PM
Tell me where it gets you when you step out after breaking on write, it should lead you back to Starcraft's memory space, and back to the function you want.

mecio
08-29-2010, 02:24 AM
I think my buffer address it's wrong one. I type some text and then scan. I always find exackly 1 address that changes when I change my text.

http://www.image-share.com/upload/337/57m.png (http://www.image-share.com/ipng-337-57.html)


What am I doing wrong?

mecio
09-01-2010, 03:44 AM
I have found two functions:

1. Print text in game
push 0 <- player number
push text
call 48D1C0

2. Play sound
push o
push 0
push 63 <- volume
push 17 <- sound id (17 = beep)
call 4BC270

Could someone help me with send text in lobby and ping?