Jump to content

Recommended Posts

Posted (edited)

Ok, So i have made alot of programs like this with Guis and all that. this is not near finished as it has no mem read/write in it but why wont my hotkey method work? Its a user set hotkey idea but it like wont apply... Sorry if this is a super nooby question just havent worked much with hotkeys.

#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Menu = GUICreate("Assist", 187, 250, 192, 124)
$Attack1 = GUICtrlCreateInput("Attack1", 0, 24, 89, 21)
$Cool1 = GUICtrlCreateInput("Casttime/Cool", 96, 24, 89, 21)
$Attack2 = GUICtrlCreateInput("Attack2", 0, 48, 89, 21)
$cast2 = GUICtrlCreateInput("Casttime/Cool", 96, 48, 89, 21)
$hotkeya = GUICtrlCreateInput("", 81, 168, 55, 21)
$Label1 = GUICtrlCreateLabel("Attack Hotkey:", 8, 176, 75, 17)
$cool3 = GUICtrlCreateInput("Cast/cool", 96, 104, 89, 21)
$Heal1 = GUICtrlCreateInput("Heal1", 0, 104, 89, 21)
$Heal2 = GUICtrlCreateInput("Heal2", 0, 128, 89, 21)
$cool4 = GUICtrlCreateInput("Cast/Cool", 96, 128, 89, 21)
$Label2 = GUICtrlCreateLabel("Made by Nate1", 56, 80, 77, 17)
$hotkey = GUICtrlCreateInput("", 80, 192, 57, 21)
$Labela = GUICtrlCreateLabel("Heal Hotkey:", 16, 192, 66, 17)
$Label3 = GUICtrlCreateLabel("Characters Name:", 0, 0, 89, 17)
$SpeedHack = GUICtrlCreateCheckbox("SpeedHack", 88, 224, 81, 17)
$Flyhack = GUICtrlCreateCheckbox("Flyhack", 8, 224, 57, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

Func AssistA()
    WinActivate("World of Warcraft")
    Send(GUICtrlRead($Attack1))
    Sleep(GUICtrlRead($Cool1))
    Send(GUICtrlRead($Attack2))
    sleep(GUICtrlRead($cast2))
EndFunc

Hotkeyset(GUICtrlRead($hotkey),"AssistA")
Edited by mrmoo
  • Moderators
Posted

mrmoo,

In your haste to post, you obviously missed this. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted

No, Ive most definitely read that. I was not releasing this as a game automation or i didnt even mention it as game automation/hacking. I just want help with the hotkeys. Is that so hard?

  • Moderators
Posted

mrmoo,

You have just posted a script full of game-related code:

Attack1
Casttime/Cool
Attack2
Attack Hotkey
Heal1
Heal2
Characters Name
SpeedHack

which bit of "DO NOT DISCUSS GAME AUTOMATION HERE" do you not understand? :)

This prohibition is the policy of the site owner - if you do not like it, feel free to go elsewhere. ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...