4v4, 3v3 Portrait unlocker (works with sc2 minimized)

This is a discussion on 4v4, 3v3 Portrait unlocker (works with sc2 minimized) within the Starcraft 2 Hacks board part of the Starcraft 2 forum category; Botting is not bannable, even in wow where botting gives u a real advantage (unlike sc2 which just gives you ...

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    slashingmachine's Avatar
    slashingmachine is offline Addict
    Array
    Join Date
    Jan 2009
    Posts
    66
    Rep Power
    6
    Reputation
    5
    Botting is not bannable, even in wow where botting gives u a real advantage (unlike sc2 which just gives you useless portraits) in game play you have to be caught 3 times before you are banned, honestly right now I am at 750 random wins if I did get the first suspension of 24 hours I would accept it as a loss b/c I dont plan on hacking or anything so 1 strike means nothing. Plus if blizz can detect if its minimized which im skeptical of why would that affect anything when they can see how many games played. If a minimum of 5 people respond telling me they like it and would like me to make it more user friendly I will do so, but prob is it is time consuming, and b/c of all screen resolutions I would make a system where u click the points you want and itll save them instead of me making different xy for each resolution.


  2. #12
    Qazzy's Avatar
    Qazzy is offline Botting FTW


    Array
    Join Date
    Aug 2007
    Location
    Purdue University
    Posts
    320
    Rep Power
    15
    Reputation
    1431
    Code:
    ;===============================================================================
      ;
      ; Function Name:  _MouseClickPlus()
      ; Version added:  0.1
      ; Description:    Sends a click to window, not entirely accurate, but works 
      ;                 minimized.
      ; Parameter(s):   $Window     =  Title of the window to send click to
      ;                 $Button     =  "left" or "right" mouse button
      ;                 $X          =  X coordinate
      ;                 $Y          =  Y coordinate
      ;                 $Clicks     =  Number of clicks to send
      ; Remarks:        You MUST be in "MouseCoordMode" 0 to use this without bugs.
      ; Author(s):      Insolence <[email protected]>
      ;
      ;===============================================================================
     Func _MouseClickPlus($Window, $Button = "left", $X = "", $Y = "", $Clicks = 2)
        Local $MK_LBUTTON       =  0x0001
        Local $WM_LBUTTONDOWN   =  0x0201
        Local $WM_LBUTTONUP     =  0x0202
        
        Local $MK_RBUTTON       =  0x0002   
        Local $WM_RBUTTONDOWN   =  0x0204
        Local $WM_RBUTTONUP     =  0x0205
     
        Local $WM_MOUSEMOVE     =  0x0200
        
        Local $i                = 0
        
        Select 
        Case $Button = "left"
           $Button     =  $MK_LBUTTON
           $ButtonDown =  $WM_LBUTTONDOWN
           $ButtonUp   =  $WM_LBUTTONUP
        Case $Button = "right"
           $Button     =  $MK_RBUTTON
           $ButtonDown =  $WM_RBUTTONDOWN
           $ButtonUp   =  $WM_RBUTTONUP
        EndSelect
        
        If $X = "" OR $Y = "" Then
           $MouseCoord = MouseGetPos()
           $X = $MouseCoord[0]
           $Y = $MouseCoord[1]
        EndIf
        
        For $i = 1 to $Clicks
           DllCall("user32.dll", "int", "SendMessage", _
              "hwnd",  WinGetHandle( $Window ), _
              "int",   $WM_MOUSEMOVE, _
              "int",   0, _
              "long",  _MakeLong($X, $Y))
              
           DllCall("user32.dll", "int", "SendMessage", _
              "hwnd",  WinGetHandle( $Window ), _
              "int",   $ButtonDown, _
              "int",   $Button, _
              "long",  _MakeLong($X, $Y))
              
           DllCall("user32.dll", "int", "SendMessage", _
              "hwnd",  WinGetHandle( $Window ), _
              "int",   $ButtonUp, _
              "int",   $Button, _
              "long",  _MakeLong($X, $Y))
        Next
     EndFunc
     
    
     Func _MakeLong($LoWord,$HiWord)
        Return BitOR($HiWord * 0x10000, BitAND($LoWord, 0xFFFF))
     EndFunc
    
    ;hWin=AutoIt.WinGetHandle(StarCraft II)
    ;WScript.Echo "hWin=" + hWin
    ;AutoIt.ControlSend StarCraft II, "", hWin, "^n"
    sleep(2000)
    $MPos = MouseGetPos()
            MsgBox ( 0, "MSG", "MousePos: "& @CRLF& _
                                                   "x: "&$MPos[0] & @CRLF& _
                                                   "y: " & $MPos[1] , 1 )
        while 1
    
            _MouseClickPlus( "StarCraft II", "left", 346, 130 )   ;multiplayer
            sleep (100)
            _MouseClickPlus( "StarCraft II", "left", 221, 833 )  ;join
            sleep (100)
            _MouseClickPlus( "StarCraft II", "left", 354, 15 ) ;menu
            sleep (100)
            ControlSend("StarCraft II","","","{F10}")  ;menu
            sleep (10000)
            ControlSend("StarCraft II","","","n")  ;surrender
            sleep (100)
            ControlSend("StarCraft II","","","s") ;score
            sleep (100)
    
            _MouseClickPlus( "StarCraft II", "left", 864, 544 )       ;occasional dc mg
            sleep (100)
        wend
    The only small problem I see with this is you are missing some small details. If you were to run this, and capture the messages that are sent to SC2. Then go back to SC2 and capture messages while you are doing the same thing.

    You will notice a slight change.

    WM_MOUSEMOVE is sent via PostMessage not SendMessage.

    WM_SETCURSOR is sent via SendMessage before each WM_MOUSEMOVE and before WM_LBUTTONDOWN.

    Making these adjustments would make your bot = a real person. If blizzard were to parse the messages to check if a person or program is sending them they would see no difference.

    If you truly wanted to mimic a real person you would write a loop and do a bunch of WM_MOUSEMOVE to move the cursor like a real person. But I don't think they check how fast you move the cursor.

  3. #13
    slashingmachine's Avatar
    slashingmachine is offline Addict
    Array
    Join Date
    Jan 2009
    Posts
    66
    Rep Power
    6
    Reputation
    5
    @Qazzy
    At this time this is not bannable by blizz or 80% of all 4v4 copper players would be banned, if blizz decided to ban for this it would not matter to them how you are doing it just as long as they see how long your in games for. As of right now it is not an injection dll so it is not hacking and is merely a loophole in there system, one which i hope to exploit to the 4000 wins before its patched.

  4. #14
    Qazzy's Avatar
    Qazzy is offline Botting FTW


    Array
    Join Date
    Aug 2007
    Location
    Purdue University
    Posts
    320
    Rep Power
    15
    Reputation
    1431
    I never said you were gonna get banned. I'm just saying if you wanted to come closer to mimicing a real person, your windows messages are slightly off.

  5. #15
    slashingmachine's Avatar
    slashingmachine is offline Addict
    Array
    Join Date
    Jan 2009
    Posts
    66
    Rep Power
    6
    Reputation
    5
    Ah I misunderstood your intentions good sir. I thank you for improving the script.

  6. #16
    WarriorComic's Avatar
    WarriorComic is offline Advanced Hacker
    Array
    Join Date
    Aug 2010
    Posts
    382
    Rep Power
    5
    Reputation
    142
    okay to explain it more clearly.
    For minimizing a window a code will show up. Exsampel: 0x0Fd83
    if you mouse keeps moving, and it keeps joing and leaving games.

    seems Really really weird doesn't it?
    if blizzard detect its minimized (what happend during diablo 2 botting @ start before redvex.)
    you get instantly banned. no warning or questions asked because their sure if window is minimized that no one acctually can see it happening. or whats going on.

    and i don't meen to offend you. in anykind of way but this has been experianced before with diablo 2 and it is a blizzard game.
    all i'm just saying is Becarefull. its a brilliant idea. but your not the first.

  7. #17
    XplittR's Avatar
    XplittR is offline Hawt

    Array
    Join Date
    Feb 2007
    Posts
    2,920
    Rep Power
    14
    Reputation
    1106
    Quote Originally Posted by slashingmachine View Post
    Botting is not bannable, even in wow where botting gives u a real advantage (unlike sc2 which just gives you useless portraits) in game play you have to be caught 3 times before you are banned, honestly right now I am at 750 random wins if I did get the first suspension of 24 hours I would accept it as a loss b/c I dont plan on hacking or anything so 1 strike means nothing. Plus if blizz can detect if its minimized which im skeptical of why would that affect anything when they can see how many games played.
    I am not going to comment on your script, as I do not play SC2, thus don't know what the point of this is. What I AM going to comment though, is what you stated in the quoted part. Blizzard do give out lifetime bans with no notice; I am a living example of that. I was banned for using a fishing-bot in WoW, lifetime, no warning. I was also banned from WC3 for maphacking, lifetime ban, no warning. So I hope you will find time to improve this script to be more man-like and less robot-like (For instance by changing the way it sends mouseclicks etc. like Qazzy stated. I think that it will improve how others look at this script, and it will be pretty useful for what it's supposed to do (avoiding bans) Good luck on the project

    Hawt.

  8. #18
    Spindrift23's Avatar
    Spindrift23 is offline Advanced Hacker
    Array
    Join Date
    Sep 2010
    Location
    Joliet, IL
    Posts
    422
    Rep Power
    5
    Reputation
    167
    Quote Originally Posted by 5v3nd0ttg View Post
    The others certainly don't suck. We're all on the same bandwagon, I think it's great that somebody is sharing what they have, especially since it's something new. There's no reason to flame someone who is supporting our scene.
    I'm not flaming him, I can promise you that. He should not have said that the others suck.

  9. #19
    DuhZ's Avatar
    DuhZ is offline Advanced Hacker
    Array
    Join Date
    Sep 2010
    Posts
    268
    Rep Power
    5
    Reputation
    126
    Rofl

  10. #20
    wishyo is offline Member
    Array
    Join Date
    Mar 2010
    Posts
    32
    Rep Power
    0
    Reputation
    0
    autoit, right? or?

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Automatic Portrait Unlocking
    By furby777 in forum Starcraft 2 Hacks
    Replies: 35
    Last Post: 01-14-2011, 06:41 AM
  2. 1v1 Portrait Unlocker Red Resign style By Eluvatar
    By Eluvatar in forum Starcraft 2 Hacks
    Replies: 11
    Last Post: 09-28-2010, 03:55 AM
  3. Can I use while minimized?
    By strydr in forum Warcraft 3 Bots
    Replies: 1
    Last Post: 08-07-2010, 11:59 AM
  4. Anti-AFK with WOW minimized
    By Iris in forum WoW Bots
    Replies: 0
    Last Post: 09-26-2008, 06:34 PM
  5. I call it "portrait. LP!!
    By Endal in forum Showcase
    Replies: 6
    Last Post: 11-11-2007, 04:14 PM

Posting Permissions

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