+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Showing results 1 to 20 of 50

Thread: [StarCraft] SCLib Beta v0.3

  1. #1
    Confused Senior Member
    Retired Staff Member

    Blessed
    Titan is a jewel in the rough Titan's Avatar
    Join Date
    May 2004
    Posts
    2,183

    Default [StarCraft] SCLib Beta v0.3

    This is a development tool for hack makers, not a hack. If you're looking for a new hack, leave the thread now.

    SCLib Beta v0.3 has functions for 3 things:
    1.) Print client side text messages.
    2.) Check state of hack user.
    3.) Draw to Starcraft's screen.
    4.) A simple map hack

    Screenshot of drawing to SC's screen (source code to drawExample.dll is included).


    I have attached the library and necessary instructions. Note: make sure SCLib.dll is in the same folder as Starcraft.exe when you test.

    I, personally, am excited. I think using SCLib.dll is much easier than managing an independent drawing routine. However, I know it's only useful if it is used. So, I encourage those interested/skeptic of the SCLib idea to try this version out, see what you like or dislike, then let me know what you think!

    Thanks in advance,
    Titan
    ----------------------------------------------------
    Update SCLib Beta v0.2.

    Note the following important changes:
    getState now returns:
    - 0 = User is in an unknown location.
    - 1 = User is in a Battle.net channel.
    - 2 = User is in a game lobby.
    - 3 = User is in a game (actively playing).

    Drawing functions have been changed for the better with the following procedures:
    regDrawProc
    drawSCText
    drawSCRect
    drawSCTransRect
    unRegDrawProc

    Drawing works differently. Now, you register your own drawing procedure that is called by SCLib when the screen refreshes. Then, you place all drawing functions(drawSCText, ect.) in that procedure.

    Here is a screenshot of the updated drawExample (source code is included).


    ----------------------------------------------------
    Update: SCLib Beta v0.3.
    Beta version 0.3 adds an exciting new feature, a simple map hack.

    "Simple" map hack vs "full" map hack?
    This simple map hack does not:
    - Have a "third" state, only on and off
    - Display minerals/gas in mini-map
    - Display zerg creep if you don't have real vision
    ^^The above features currently cause a loss and thus are not included.

    However it does have:
    - Safe clicks
    - Not detected by Warden (won't give a loss)
    - View enemy units & buildings in full/mini map.

    It is my hope that by including a simple map hack, the need to combine several hacks will lessen because of the few map hacks that presently exist. As a consequence, hackers will have more independence and hack users less incompatibility and less inconvenience from combining many DLLs.

    Screenshots of Map Hack (source code for mapHack.dll is included, of course).
    On:

    Clicking on a unit:

    Off:
    Attached Files
    Last edited by Titan : 10-13-2007 at 03:17 AM

  2. #2
    dt
    dt 15 0FF11|\|3
    Administrator

    Inquisitor
    dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt has a reputation beyond repute dt's Avatar
    Join Date
    Jul 2004
    Location
    Germany
    Posts
    4,960
    Blog Entries
    1

    Default

    I'm moving this here cause the download forum is only for hacks.

    Btw Titan, want to be put back to GHS status?

  3. #3

    Deviant
    MasterOfChaos is on a distinguished road MasterOfChaos's Avatar
    Join Date
    Oct 2007
    Posts
    56

    Default

    Checkstate:
    returning 3 for unknown is not very extensable. Use 0 or -1 instead
    Init/UnInitdraw:
    You could add reference counting so it is uninstalled when nobody needs it any longer.

  4. #4
    Confused Senior Member
    Retired Staff Member

    Blessed
    Titan is a jewel in the rough Titan's Avatar
    Join Date
    May 2004
    Posts
    2,183

    Default

    Quote Originally Posted by MasterOfChaos View Post
    Checkstate:
    returning 3 for unknown is not very extensable. Use 0 or -1 instead
    You're right. I should return NULL for an unknown location.
    Init/UnInitdraw:
    You could add reference counting so it is uninstalled when nobody needs it any longer.
    Right again, I should call init on regText if it's the first string added and I should call unInit if someone uses unRegText on the last string registered.

    Good ideas MasterOfChaos, thanks for the input!

  5. #5

    Deviant
    n0.obAtroN is on a distinguished road n0.obAtroN's Avatar
    Join Date
    Oct 2007
    Location
    127.0.0.1
    Posts
    149

    Default

    very nice, Ill have to check this out

  6. #6
    Banned

    Deviant
    LordRaiden is on a distinguished road
    Join Date
    Jul 2007
    Posts
    86

    Default

    Of course, it's a quite nice project, even thought I think that finding everything alone is the best part of gamehacking besides getting everything to work alone.

  7. #7

    Deviant
    MasterOfChaos is on a distinguished road MasterOfChaos's Avatar
    Join Date
    Oct 2007
    Posts
    56

    Default

    Wouldn't it be better if you replaced the RegisterText function by a RegisterDrawCallback and a DrawText function? Or has this approach problems with refreshing?

  8. #8

    Advocate
    deathknot will become famous soon enough deathknot's Avatar
    Join Date
    Jul 2006
    Posts
    197

    Default

    If i remeber correctly NULL i just defined as 0.
    *edit*
    Its defined as '\0'

  9. #9
    Ereetu. Senior Member
    Game Hacking Staff

    High Priest
    Zephyrix is a name known to all Zephyrix is a name known to all Zephyrix is a name known to all Zephyrix is a name known to all Zephyrix's Avatar
    Join Date
    Oct 2005
    Location
    xor 1D27,1337
    Posts
    1,613

    Default

    Quote Originally Posted by deathknot View Post
    If i remeber correctly NULL i just defined as 0.
    *edit*
    Its defined as '\0'
    NULL is defined as (void*)0 but returning 0 should be the same thing.



  10. #10
    Confused Senior Member
    Retired Staff Member

    Blessed
    Titan is a jewel in the rough Titan's Avatar
    Join Date
    May 2004
    Posts
    2,183

    Default

    Quote Originally Posted by MasterOfChaos View Post
    Wouldn't it be better if you replaced the RegisterText function by a RegisterDrawCallback and a DrawText function? Or has this approach problems with refreshing?
    No problems with refreshing using that method. You're correct, it would be both better and easier doing it that way. Looks like I'm going to be rewriting some functions (when I have the time).

    Thanks again MasterOfChaos!

  11. #11

    Deviant
    MasterOfChaos is on a distinguished road MasterOfChaos's Avatar
    Join Date
    Oct 2007
    Posts
    56

    Default

    You could seperate drawSCTransRect into to functions. One Draws the Border, the other the striped filling. So one can also combine the border drawing function with the drawSCRect function.

    edit:
    I just noticed the getState function is missing.

    edit2:
    Added a Pascal/Delphi header and Demo
    Attached Files
    Last edited by MasterOfChaos : 10-12-2007 at 10:07 PM
    We are the Others. We serve different forces, but in the Twilight there is no difference between the absence of darkness and the absence of light.

  12. #12

    Deviant
    n0.obAtroN is on a distinguished road n0.obAtroN's Avatar
    Join Date
    Oct 2007
    Location
    127.0.0.1
    Posts
    149

    Default

    VERY nice Titan. Most impressive. I like the open source (if it will be). ^^
    Last edited by n0.obAtroN : 10-13-2007 at 03:27 AM Reason: Don't quote such a huge post :)
    Redneck to the core

    "Put a boot in your ass, 'cuz thats the American way"

  13. #13
    Confused Senior Member
    Retired Staff Member

    Blessed
    Titan is a jewel in the rough Titan's Avatar
    Join Date
    May 2004
    Posts
    2,183

    Default

    MasterOfChaos: Very neat, not many people making hacks in Pascal.

    I have posted an update to version 0.3, which includes a simple map hack. Enjoy!

  14. #14
    Game Hacking Staff

    Saint
    Perma has disabled reputation Perma's Avatar
    Join Date
    Jul 2004
    Location
    Canada
    Posts
    6,080
    Blog Entries
    2

    Default

    At least that transparency algorithm went to good use. Looks cool so far Titan.

  15. #15
    Gold Member

    High Priest
    ViperSRT3g is a jewel in the rough
    Join Date
    Feb 2006
    Posts
    1,452

    Default

    Wow, VERY good job Titan. This is already much more than I had anticipated when you first started this project.

  16. #16
    Senior Member

    Saint
    punture has a brilliant future punture has a brilliant future punture has a brilliant future punture has a brilliant future punture has a brilliant future punture has a brilliant future punture has a brilliant future punture's Avatar
    Join Date
    Jul 2004
    Location
    Vancouver, B.C. Canada
    Posts
    6,443

    Default

    If source code for maphack is included.... wouldn't that just cause other people to copy it.?

  17. #17
    The Future Senior Member

    High Priest
    Polie13 is a glorious beacon of light Polie13 is a glorious beacon of light Polie13 is a glorious beacon of light Polie13's Avatar
    Join Date
    Jan 2005
    Posts
    1,883

    Default

    Quote Originally Posted by punture View Post
    If source code for maphack is included.... wouldn't that just cause other people to copy it.?
    No. The MapHack itself is built into sclib.dll, which isn't opensource. His "maphack.dll" just calls the Maphack features inside of sclib itself.
    Quote Originally Posted by DSG on AIM
    dsg (12:34:34 AM): i gave my ups driver
    dsg (12:34:37 AM): a popsicle
    dsg (12:34:39 AM): when it was hot out
    dsg (12:34:43 AM): and i had pissed in it
    dsg (12:34:47 AM): the popsicle fluid
    dsg (12:34:50 AM): that i used to make
    dsg (12:34:51 AM): em
    dsg (12:34:53 AM): i planned it out
    dsg (12:34:54 AM): LOL
    dsg (12:34:59 AM): ordered a package
    dsg (12:35:01 AM): stayed home all day
    dsg (12:35:09 AM): and gave him a popsicle i had prepared
    polie13 (12:35:15 AM): ..thats pretty ****ed up

  18. #18

    Enlightened
    saren has much to be proud of saren has much to be proud of saren has much to be proud of saren has much to be proud of saren has much to be proud of saren has much to be proud of saren's Avatar
    Join Date
    Feb 2005
    Location
    Tucson, AZ
    Posts
    3,227

    Default

    A two state maphack enabling and disabling fog of war isn't even that difficult if you know the two offsets. Not sure why he'd be worried about other people copying it.

    Here's a big hint: Fire up SC, go into a single player game, open up a debugger, set it to search SC memory, turn on the remove fog of war cheat, and then use your eyes!
    For the love of all things nerdrage: it's saren, not Saren.
    All you have to do is copy and paste the moniker.

    It's like watching a pack of retarded baboons have sex. Yeah, they're screwing, but you know they're still going to manage to screw screwing up somehow.

  19. #19
    Master Yoshi Senior Member
    Game Hacking Staff
    Moderator

    Blessed
    Zynastor is a name known to all Zynastor is a name known to all Zynastor is a name known to all Zynastor is a name known to all Zynastor is a name known to all Zynastor's Avatar
    Join Date
    Jun 2005
    Location
    Australia
    Posts
    2,443

    Default

    Quote Originally Posted by saren View Post
    Here's a big hint: Fire up SC, go into a single player game, open up a debugger, set it to search SC memory, turn on the remove fog of war cheat, and then use your eyes!
    lol

  20. #20
    =) Senior Member
    Game Hacking Staff

    Supreme Being
    K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ has a reputation beyond repute K? Pŕo?ćtiόnŹ's Avatar
    Join Date
    Oct 2004
    Location
    South Carolina
    Posts
    11,173
    Blog Entries
    2

    Default

    Quote Originally Posted by saren View Post
    A two state maphack enabling and disabling fog of war isn't even that difficult if you know the two offsets. Not sure why he'd be worried about other people copying it.

    Here's a big hint: Fire up SC, go into a single player game, open up a debugger, set it to search SC memory, turn on the remove fog of war cheat, and then use your eyes!
    Have you made a maphack?
    Kc: what waht
    DSG: in da butt
    DSG: lol
    DSG: :P
    Kc: what what!?
    Kc: IN THE BUTT
    Kc: I say what what?
    DSG: in the butt

+ Reply to Thread
Page 1 of 3 1 2 3 LastLast

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Starcraft when it was in Beta...
    By punture in forum Gaming
    Replies: 80
    Last Post: 05-15-2009, 07:42 AM
  2. [StarCraft] APRON v2.0 BETA
    By SC_Modder in forum Old downloads
    Replies: 126
    Last Post: 10-13-2007, 05:28 AM
  3. [StarCraft] UHACK 3.0.0.0 BETA
    By ulliklliwi in forum Old downloads
    Replies: 83
    Last Post: 08-21-2007, 12:05 AM
  4. Windows Vista Beta 1 Released to MSDN Subscribers
    By BloodyBlade in forum Hardware and Software
    Replies: 5
    Last Post: 07-28-2005, 04:54 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