Jump to content

Harusal

Active Members
  • Posts

    20
  • Joined

  • Last visited

Harusal's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. This works great! but how would i do #include blah.au3 ???
  2. I am trying to make so when the user clicks a button a .mp3 is played? how would i play a .mp3? any help is greatly appreciated
  3. but the game no longer has hack protection so many stuff that didn't work before are working now
  4. i have been trying to figure it out, but it's not working can you give me an example to send the key z please =)
  5. how would i use that to send keys to inactive window? the game is called knight online it's windows name is Knight OnLine Client can you give me an example on how that would work please? i don't know if you need this or not but maybe it will help:
  6. Hey is there a way to send keys to an inactive window? im trying to make a bot for an online game that will kill monsters for them, and let them be browsing the internet or do whatever while the bot kills monsters for them.
  7. I'm making a program to automatically use potions in a game. I'm having it switch to notepad when the health goes lower than the health i put in the input box as a test. But i can't seem to get it to work, any help would be greatly appreciated! Func AutoPot() Global $OffsetArray[1] $baseADDR = ("0x00B6AECC") $OffsetArray[1] = ("00000594") $PID = WinGetProcess("Game") $Process = _MemoryOpen($PID) $CurrentHP = _MemoryPointerRead($baseADDR, $Process, $OffsetArray) _MemoryClose($ID) While 1 If $HPInput < $CurrentHP Then WinActivate("Untitled - Notepad") EndIf WEnd EndFunc
  8. how do i send keys to an unactive window?
  9. im trying to include a file so i do #include File.au3 and i get an error saying line 1 unable to parse #include. probably a noob question. any one know what to do?
  10. Nvm i got it working, thanks every 1!
  11. it works fine but when i add a gui and i put the hotkeyset above the gui i get the error again. HotKeySet("!x", "ExitProg") HotKeySet("!s", "StartStop");Shift+s GuiCreate("Program",218,68,332,219) $label1=GuiCtrlCreateLabel("Alt+S",9,30,141,15) $label2=GuiCtrlCreateLabel("Alt+X",115,30,105,15) $label3=GuiCtrlCreateLabel("By Harusal",166,55,55,15) GuiSetState() While 1 $msg=GuiGetMsg() If $msg=-3 Then Exit Wend Func ExitProg() Exit 0;;Exits the program EndFunc Dim $On $On = False While 1 While $On = True ;;Do Code WEnd Sleep(100) WEnd Func StartStop() If $On = False Then $On = True Else $On = False EndIf EndFunc
  12. so Alt+S would be HotKeySet("!s", "ShowMessage") ?
  13. how would i make Alt+S a hotkey? using Hotkeyset
  14. i got it working, thanks so much for all of your help! =)
×
×
  • Create New...