Results 1 to 4 of 4

Threaded View

  1. #1
    kokoc_9's Avatar
    Join Date
    May 2015
    Gender
    male
    Location
    MLG island.
    Posts
    32
    Reputation
    10
    Thanks
    261
    My Mood
    Amazed

    Post How to make own rotation bot. (Simple way) [EVERY PATCH\SERVER]



    Step 0.
    Make custom icons like:
    (Size must be 64x64 and u need to make .png icons (NOT .ico !!!)
    And after u make ur .png icons u need to convert it to .BLP (search how to convert png in blp with google )

    Step 1.

    Then rename ur icons. How? Go to wowhead. (or something else if it had icon name)

    Now do that: https://i.imgur.com/GnfPL8c.png

    U get name like ability_bullrush (spell_rush OR ability_mage_firestarter when u do something for druid kek, ITS OK dont worry about that).

    And after u done u get ur ability_bullrush.blp (and alot other icons) now drop it to wow/interface/icons (icons not exist by default u need to make new folder.)

    At this moment, download any rotation addon wich show icons (not bittensspellflash xd). I like hekili so i install it.

    Now In-Game part:
    • Setup ur addon, place addon gui where u want.
    • In addon make show only 1 icon.
    • Ofc. spells like starfall, warrior jump and like this. Not supported. (But supported only if can cast throught /cast [@player] Death and Decay or /cast [@target] Death and Decay (this works for dk, but only from 7.0.1 to 8.3)

    p.s Ye sure u can make click with ahk for aoe spells but u need to hold cursor over enemy everytime xD

    Step 2.

    Download autohotkey. (Ahk)
    Create empty .ahk script.

    Step 3.

    Now do "PixelGetColor". Example:

    Code:
    PixelGetColor, color, 983, 824, RGB
    If (color = 0xE97FFF)
    {
    Send, {c down}
    sleep 10
    Send, {c up}
    }
    What is that:

    1. Read: https://www.autohotkey.com/docs/comm...elGetColor.htm
    2. PixelGetColor searching for special pixel on screen.
    3. 983, 824 window (activewindow) coordinates where he search that pixel.
    4. If (color = 0xHEXvalue). -- if color found then send keydown w8 10 msec send key up.
    5. u can get colors here https://www.colorhex*****m or just with other ahk script.





    Okay now we had PixelGetColor part, how to enable it and add other things.


    Simple way:


    Code:
    End::
    loop
    {
    PixelGetColor, color, 983, 824, RGB
    If (color = 0xE97FFF)
    {
    Send, {c down}
    sleep 10
    Send, {c up}
    }
    PixelGetColor, color, 983, 824, RGB
    If (color = 0x00A2E7)
    {
    Send, {1 down}
    sleep 10
    Send, {1 up}
    }
    }
    return
    So what is that: Press End key 1 time, it start looped search, for all of this colors in that pixel, and if hekili show spell with color 0xE97FFF (bc we replaced default icons) ahk do -> send C down\10msec\up and <- then the same for other colors\keys like 0x00A2E7 with key 1.

    Okay good. But i want to enable and disable that. How2?

    Ez.

    Just add before code:

    Code:
    ^F1::exitapp
    F1::Pause, toggle
    ctrl+F1 - - close script
    F1 - - Pause\Resume ahk script.

    Hmm cute and i had a little problem. My coordinates are different that ur how to find it?

    Make another ahk script:

    Code:
    ^z::  ; Control+Z hotkey.
    MouseGetPos, MouseX, MouseY
    PixelGetColor, RGB, %MouseX%, %MouseY%
    MsgBox The color at the current cursor position is %RGB%.
    MouseGetPos, xpos, ypos
    MsgBox, The cursor is at X%xpos% Y%ypos%.
    return
    It show correct color and coordinates but ONLY WHEN WINDOW ACTIVE DONT FORGET TO CLICK ON WINDOW before click ctrl+z (1 appear color then coords).

    Okay thats good now lets add simple gui to see some help stuff.

    How to do that:

    1. After "return" add this:

    Code:
    O::
    KeyWait, O
    Gui, Add, Text,,    < My text appears here in this line. >
    Gui, Add, Text,,  
    Gui, Add, Text,,  above empty line.
    Gui, Add, Text,,  U can add any symbols after ,,
    Gui, Add, Text,, So u can place here ur bind like: I binded Spell1 to key 1 dont forget to make same bind ingame. (Useful for friends)
    gui, +alwaysontop
    Gui, Show, NoActivate
    KeyWait  O, D
    Gui Destroy
    What is that:

    1. binds key O to create gui so we get: O:: when u click on O it create Gui with text.

    2. KeyWait O, D - - after u click on key O again it close that gui but not script. (If script closes u make something wrong.)

    3. Gui, Show, NoActivate - - show that gui but not activate it. (u can click on it and drag away. And still see that gui ingame if windowed because +alwaysontop)



    Now u had ur own rotation bot. Be happy.


    IM PRIVATE SERVER PLAYER AND THIS GUIDE FOR PRIVATE SERVERS.
    SO I DONT RECOMMEND USE AHK ON LIVE\PTR SERVER BC BLIZZARD DONT ALLOW AHK!!



    Finished example for balance dudu BFA:


    Balance dudu script:

     

    Code:
    ^F1::exitapp
    F1::Pause, toggle
    End::
    loop
    {
    PixelGetColor, color, 983, 824, RGB
    If (color = 0xE97FFF)
    {
    Send, {c down}
    sleep 10
    Send, {c up}
    }
    PixelGetColor, color, 983, 824, RGB
    If (color = 0x00A2E7)
    {
    Send, {1 down}
    sleep 10
    Send, {1 up}
    }
    PixelGetColor, color, 983, 824, RGB
    If (color = 0xC6FF94)
    {
    Send, {2 down}
    sleep 10
    Send, {2 up}
    }
    PixelGetColor, color, 983, 824, RGB
    If (color = 0xC89E1E)
    {
    Send, {3 down}
    sleep 10
    Send, {3 up}
    }
    PixelGetColor, color, 983, 824, RGB
    If (color = 0xD9F6FA)
    {
    Send, {4 down}
    sleep 10
    Send, {4 up}
    }
    PixelGetColor, color, 983, 824, RGB
    If (color = 0xC3A0EC)
    {
    Send, {y down}
    sleep 10
    Send, {y up}
    }
    PixelGetColor, color, 983, 824, RGB
    If (color = 0xFFC886)
    {
    Send, {x down}
    sleep 10
    Send, {x up}
    }
    PixelGetColor, color, 983, 824, RGB
    If (color = 0x420081)
    {
    Send, {q down}
    sleep 10
    Send, {q up}
    }
    PixelGetColor, color, 983, 824, RGB
    If (color = 0x6B0000)
    {
    Send, {e down}
    sleep 10
    Send, {e up}
    }
    }
    return
    O::
    KeyWait, O
    Gui, Add, Text,,    < Program binds. >
    Gui, Add, Text,, 
    Gui, Add, Text,, End - Start rotation, F1 - pause\resume rotation! Ctrl+F1 - Exit. O - Show\Hide This window.
    Gui, Add, Text,, 
    Gui, Add, Text,,  <  In-game binds. ****Make sure u had same buttons ! >
    Gui, Add, Text,, 
    Gui, Add, Text,, Кнопки: 1 - Wrath 2 - Sunfire 3 - Moonfire  4 - Stellar Flare
    Gui, Add, Text,, Кнопки: Y - Fury of Elune X - Celestial Alignment Q - Starsurge E - Lunar Strike
    Gui, Add, Text,, Кнопки: C - Moonkin Form.
    Gui, Add, Text,, 
    Gui, Add, Text,,           < Setup Hekili. >
    Gui, Add, Text,, 
    Gui, Add, Text,, Hekili: Single Target always, OR DISABLE STARFALL!!
    Gui, Add, Text,, Hekili: On screen pos.  - X 31 Y -271. Icon Width: W 152 H 160 ZOOM 30
    Gui, Add, Text,, Hekili: ! MAKE SHOW ONLY 1 BUTTON !
    Gui, Add, Text,, 
    Gui, Add, Text,,	          < TALLENTS: >
    Gui, Add, Text,,
    Gui, Add, Text,,  | 1 | Х | Х | Х | 2 | 2 or 3 | 1 or 2 |
    Gui, Add, Text,,
    Gui, Add, Text,,	      Good Game. ;3
    gui, +alwaysontop
    Gui, Show, NoActivate
    KeyWait  O, D
    Gui Destroy
    Last edited by kokoc_9; 02-20-2020 at 07:42 AM.
     
    hi m8


     
    Why u still here?



     
    Wow.



     
    RunAway! They coming!1!



     

     

Similar Threads

  1. [Question] How to make an afk bot
    By latinizinho in forum Combat Arms Coding Help & Discussion
    Replies: 23
    Last Post: 10-04-2010, 03:40 PM
  2. [SOLVED] How to make own esternal box ESp?
    By cayongrayoo in forum Call of Duty Modern Warfare 2 Help
    Replies: 2
    Last Post: 08-02-2010, 10:57 AM
  3. [Tutorial] how to make own kill badges + smiley pack
    By /b/oss in forum CrossFire Mods & Rez Modding
    Replies: 11
    Last Post: 07-26-2010, 10:21 AM
  4. how to make a rsps the WHOLE way
    By martijno0o in forum RuneScape Discussions
    Replies: 2
    Last Post: 07-26-2010, 08:10 AM
  5. How to make own room in 1.0.75
    By haxor00000 in forum Call of Duty Modern Warfare 2 Help
    Replies: 0
    Last Post: 02-12-2010, 08:36 PM

Tags for this Thread