Zerg Autobatching Idea

This is a discussion on Zerg Autobatching Idea within the Starcraft 2 Hacks, bots and tools board part of the Starcraft 2 forum category; Yes. And you have to hold down the toggle button....

Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 42
  1. #31
    Darious4's Avatar
    Darious4 is offline Hacker
    Array
    Join Date
    Dec 2016
    Location
    San Francisco, CA
    Posts
    179
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    2
    Reputation
    136
    Yes. And you have to hold down the toggle button.


  2. #32
    komad50 is offline Newbie
    Array
    Join Date
    Jul 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Looks great.

  3. #33
    MiniMan1010 is offline Newbie
    Array
    Join Date
    Aug 2017
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Nice script, thanks.

  4. #34
    verbz is offline Newbie
    Array
    Join Date
    Nov 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Been trying to get this to work, I'm stumped. Can someone help me out? My Hotkeys might seem alittle weird

    SC2_Hotkey_Hatchery := 2
    global C2_Hotkey_Select_Larva := "Numpad0"
    global SC2_Hotkey_Build_Drone := "Numpad0"
    global SC2_Hotkey_Build_Overlord ="Numpad1"
    global SC2_Hotkey_Build_Zergling:= "Numpad2"
    global SC2_Hotkey_Build_Roach := "Numpad4"
    global SC2_Hotkey_Build_Hydra := "Numpad5"


    Did I type something wrong? Do I need to add something more?

  5. #35
    Tracky's Avatar
    Tracky is offline Administrator

    Array
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    9,869
    Mentioned
    162 Post(s)
    Tagged
    2 Thread(s)
    Rep Power
    42
    Reputation
    5620
    Quote Originally Posted by verbz View Post
    Been trying to get this to work, I'm stumped. Can someone help me out? My Hotkeys might seem alittle weird

    SC2_Hotkey_Hatchery := 2
    global C2_Hotkey_Select_Larva := "Numpad0"
    global SC2_Hotkey_Build_Drone := "Numpad0"
    global SC2_Hotkey_Build_Overlord ="Numpad1"
    global SC2_Hotkey_Build_Zergling:= "Numpad2"
    global SC2_Hotkey_Build_Roach := "Numpad4"
    global SC2_Hotkey_Build_Hydra := "Numpad5"


    Did I type something wrong? Do I need to add something more?
    1. There's an "s" missing
    Code:
    global C2_Hotkey_Select_Larva := "Numpad0"
    needs to be
    global SC2_Hotkey_Select_Larva := "Numpad0"
    2. "Numpad0" is used twice.
    3. No information on what actually isn't working or what you did were given. So nothing else one can do to help you.

  6. #36
    verbz is offline Newbie
    Array
    Join Date
    Nov 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Quote Originally Posted by Tracky View Post
    1. There's an "s" missing
    Code:
    global C2_Hotkey_Select_Larva := "Numpad0"
    needs to be
    global SC2_Hotkey_Select_Larva := "Numpad0"
    2. "Numpad0" is used twice.
    3. No information on what actually isn't working or what you did were given. So nothing else one can do to help you.
    I fixed the missing "S" and it still wasn't working.
    Numpad0 can be used twice because it's a different action. 1 click from the hatchery to select larva, the next click makes a drone. Either way though, I changed the hotkey and the code to numpad9 and it still didn't work.

    So this is what happens, I hit the F2, F3 key and F4 key and all it does is select my hatch. My hatch key is "2" so the first part appears to be working. My keybinds are

    Hatch - 2
    Larva - Num0
    Drone - Num0
    Overlord - Num1
    Lings - Num2
    Roach - Num4
    Hydra - Num5

    and Here's my code
    Code:
    #IfWinActive, StarCraft II
    #NoEnv
    SendMode Input
    #SingleInstance Force
    SetTitleMatchMode 2
    #WinActivateForce
    SetControlDelay 1
    SetWinDelay 0
    SetKeyDelay -1
    SetMouseDelay -1
    SetBatchLines -1
     
     
    global Zerg_Auto_Worker_Toggle := false
     
     
    ;Hotkey variables
    global SC2_Hotkey_Hatchery := 2
    global SC2_Hotkey_Select_Larva := "Numpad0"
    global SC2_Hotkey_Build_Drone := " Numpad0"
    global SC2_Hotkey_Build_Overlord =" Numpad1"
    global SC2_Hotkey_Build_Zergling:= " Numpad2"
    global SC2_Hotkey_Build_Roach := " Numpad04"
    global SC2_Hotkey_Build_Hydra := " Numpad5"
    global SC2_Hotkey_TempUnitGroup := 9
    global SC2_Hotkey_Drone_Autobatching := `
    global SC2_Hotkey_Zergling_Autobatching := F2
    global SC2_Hotkey_Roach_Autobatching := F3
    global SC2_Hotkey_Hydra_Autobatching := F4
    global SC2_Unit_Composition1 := SC2_Unit_Composition1
     
    return
     
     
     
     
     
      $`::
    sleep, -1
     
    SendInput %SC2_Hotkey_Hatchery%
    SendInput %SC2_Hotkey_Select_Larva%
    sleep, -1
    {
    sleep, -1
    SendInput, %SC2_Hotkey_Build_drone%
    sleep -1
    SendInput %SC2_Hotkey_Hatchery%
    SendInput %SC2_Hotkey_Select_Larva%
    }
     
    Return
     
     
     
       
     
     
     
     
     
    $F2::
      SendInput %SC2_Hotkey_Hatchery%
    SendInput %SC2_Hotkey_Select_Larva%
    sleep, -1
     
    {
    SendInput, %SC2_Hotkey_Zergling_Autobatching%
    sleep, -1
    SendInput, %SC2_Hotkey_Build_Zergling%
    sleep, -1
    SendInput %SC2_Hotkey_Hatchery%
    SendInput %SC2_Hotkey_Select_Larva%
    }
    return
       
     
     
     
     
     
     
     
     
      $F3::
     
     
     
      SendInput %SC2_Hotkey_Hatchery%
    SendInput %SC2_Hotkey_Select_Larva%
    sleep, -1
     
     
    {
    SendInput, %SC2_Hotkey_Roach_Autobatching%
    sleep, -1
    SendInput, %SC2_Hotkey_Build_Roach%
    sleep, -1
    SendInput %SC2_Hotkey_Hatchery%
    SendInput %SC2_Hotkey_Select_Larva%
    }
    return
       
     
     
     
     
     
     
     
     
     
     
     
    return
     $F4::
     
     
     
    SendInput %SC2_Hotkey_Hatchery%
    SendInput %SC2_Hotkey_Select_Larva%
    sleep, -1
     
     
    {
    SendInput, %SC2_Hotkey_Hydra_Autobatching%
    sleep, -1
    SendInput, %SC2_Hotkey_Build_Hydra%
    sleep, -1
    SendInput %SC2_Hotkey_Hatchery%
    SendInput %SC2_Hotkey_Select_Larva%
     
    }
    return
       
     
     
     
     
     
     
    return
     
     
    Home::Pause
    End::ExitApp
    Like I said it selects my hatcheies and does nothing else. Maybe I didn't add something I needed to?

  7. #37
    Darious4's Avatar
    Darious4 is offline Hacker
    Array
    Join Date
    Dec 2016
    Location
    San Francisco, CA
    Posts
    179
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    2
    Reputation
    136
    Delete the quotations around Numpad0-Numpad5. It is pressing keys n-u-m-p-a-d-0, instead of the actual hotkey.
    Last edited by Darious4; 12-06-2017 at 07:53 AM.

  8. #38
    verbz is offline Newbie
    Array
    Join Date
    Nov 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Quote Originally Posted by Darious4 View Post
    Delete the quotations around Numpad0-Numpad5. It is pressing keys n-u-m-p-a-d-0, instead of the actual hotkey.
    Thanks alot for the reply, such a simple mistake, I was hoping that was the issue. Unfortunately the script still isn't working. It just targets all my hatches when I hit F2 F3 or F4.

  9. #39
    Darious4's Avatar
    Darious4 is offline Hacker
    Array
    Join Date
    Dec 2016
    Location
    San Francisco, CA
    Posts
    179
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    2
    Reputation
    136
    Quote Originally Posted by verbz View Post
    Thanks alot for the reply, such a simple mistake, I was hoping that was the issue. Unfortunately the script still isn't working. It just targets all my hatches when I hit F2 F3 or F4.
    The script looks perfectly normal, and should work if your in-game hotkeys are relative to the hotkeys you made them in the script. Make sure that Numlock isn't on either. Also, the script's function works when F2 F3 or F4 are held down to make a rapid production of units.

  10. The Following User Says Thank You to Darious4 For This Useful Post:


  11. #40
    slayermetal's Avatar
    slayermetal is offline Advanced Hacker

    Array
    Join Date
    May 2013
    Location
    Catland
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    5
    Reputation
    125
    Nice to see someone helping the SC2 forum again with good stuff!
    Thank you and keep the nice work <3
    =^--^=

Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. How to beat Zerg as Terran
    By Austia in forum Starcraft 2 Guides
    Replies: 3
    Last Post: 03-01-2013, 04:02 PM
  2. Looking for a Zerg coach.
    By asprogmr in forum Starcraft 2 Guides
    Replies: 15
    Last Post: 12-04-2012, 12:58 AM
  3. LF Zerg Coach
    By brimblood in forum Starcraft 2 Guides
    Replies: 2
    Last Post: 07-12-2011, 01:34 AM
  4. Zerg Unit Bug
    By Evilenigma in forum Starcraft 2 Hacks, bots and tools
    Replies: 7
    Last Post: 05-15-2011, 01:18 AM
  5. --ZERG-- Best Strategies
    By overboostaltima in forum Starcraft 2 Guides
    Replies: 18
    Last Post: 05-10-2011, 04:12 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
  •