Showing results 1 to 10 of 10

Thread: Sc:Bw 1.16.1 functions

  1. #1

    Default Sc:Bw 1.16.1 functions

    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 ;/

  2. #2

    Default

    type /? in the channel.

  3. #3

    Default

    Quote Originally Posted by Voice Of Korhal View Post
    type /? in the channel.
    o.0 kidding me?

  4. #4

    Evangelist
    -187-'s Avatar
    Join Date
    Dec 2005
    Location
    Oak Harbor, Washington
    Posts
    1,254

    Default

    You can find out by yourself, you're just too ****ing lazy to do so. Look at a tutorial or something.

  5. #5

    Default

    Quote Originally Posted by -187- View Post
    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! 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.

  6. #6

    Evangelist
    -187-'s Avatar
    Join Date
    Dec 2005
    Location
    Oak Harbor, Washington
    Posts
    1,254

    Default

    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.

  7. #7

    Default

    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

  8. #8

    Evangelist
    -187-'s Avatar
    Join Date
    Dec 2005
    Location
    Oak Harbor, Washington
    Posts
    1,254

    Default

    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.

  9. #9

    Default

    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.




    What am I doing wrong?
    Last edited by mecio : 08-30-2010 at 07:01 AM

  10. #10

    Default

    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?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Asm functions
    By mecio in forum Reverse Engineering
    Replies: 3
    Last Post: 02-16-2010, 04:41 AM
  2. Optimized Functions
    By laocoon in forum Open Source and Tutorials
    Replies: 0
    Last Post: 06-07-2009, 01:09 PM
  3. Useful VB6 Functions
    By bLueStar in forum Starcraft/Brood War
    Replies: 13
    Last Post: 05-12-2008, 04:40 AM
  4. Sc Unit Functions
    By K? Pŕo?ćtiόnŹ in forum Software Development
    Replies: 16
    Last Post: 12-20-2005, 04:01 AM
  5. how to call SC functions using C++
    By A.H in forum Starcraft/Brood War
    Replies: 13
    Last Post: 03-09-2005, 07:50 PM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •