Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion
You last visited: Today at 21:26

  • Please register to post and access all features, it's quick, easy and FREE!

 

Does anyone have a working rapid melee macro?

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2011
Posts: 2
Received Thanks: 0
Exclamation Does anyone have a working rapid melee macro?

Hey, i was wondering if anyone here could help me out with a working rapid melee macro? I have tried one for autoit(dims) but it continually loses track of the targets health and quits on me. I have found another for autohotkey but they did not include all the other files to run it only the main script.

Im looking for one to macro melee on my alt since i cannot play alot right now due to real life stuff, not looking for the partner kind.

If anyone could give me any kind of help it would be appretiated.

Heres the autohotkey script if anyone can use it(doesnt have the files needed to run it)

/*
SETUP

1 - Sword
2 - Special attack one (or food)
3 - Special attack two (or food)
4 - Sacrifice
5 - Heal Other
6 - Ironskin
7 - Health2Mana
8 - Mana2Stamina
9 - Stamina2Health
0 - Staff

Unsheathe Object = ctrl + u
*/

#SingleInstance,Force
#MaxThreadsPerHotkey 2
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
WinActivate, Darkfall Online
Sleep 2500

; CONFIGURATION SECTION

; Use special attacks?
special1 := true
special2 := true

; Food timer in milliseconds - if you set one of the special attacks to false, you can use food in that slot instead
; -1 if you dont wanna use food, 300000 = check for food every 5 mins
food := -1

; Use Sacrifice? true or false
sacrifice := false

; How long does your Ironskin last? -1 if you don't want to cast Ironskin, 0 if you want to cast ironskin every time
ironskin := 0

; Target minimum/full health percentage.
; Target will be healed up once it goes below minimum percentage.
; You will stop healing target once it reaches full health percentage.
targetminimum := 18
targetfullhealth := 82

; Use Tell Alarm? true or false
tellalarm := true

; Delay between pressing left mousebutton
; Some people reported macro lags them so I added this option, but in most cases I think you should let it be at 0 = spam button as fast as possible
delay := 0

; Debug?
; If it macro don't work, especially if it keeps casting stam2mana or mana2health or if it keeps healing the target even when he is now low on health,
; then please turn debug on (debug := true) and run it for a little while. It generates some bmp images called debug-???.bmp - please upload them on the board,
; and I will try to find the error and correct it.
debug := false

; DO NOT TOUCH ANYTHING BELOW HERE
health := "", lowhealthx := 0, fullhealthx := 0, healthy := 0, lowhealthcolor := "", fullhealthcolor := "", stam := "", lowstamx := 0, fullstamx := 0, stamy := 0, lowstamcolor := "", fullstamcolor := "", mana := "", lowmanax := 0, fullmanax := 0, manay := 0, lowmanacolor := "", fullmanacolor := "", target := true, targethealth := "", targetlowhealthx := 0, targetfullhealthx := 0, targethealthy := 0, targetlowhealthcolor := "", targetfullhealthcolor := "", pause = 0, slot0, slot1, slot2, slot3, slot4, slot5, slot6, slot7, slot8, slot9

#Include Misc/ScreenCapture.ahk
#Include Misc/Hotbar.ahk
#Include Misc/Status.ahk
#Include Misc/Message.ahk

HotbarInit()
StatusInit()

last_food := A_TickCount - food
last_ironskin := A_TickCount - ironskin
last_message := A_TickCount - 300000
WinGetPos, x, y, windowwidth, windowheight, A

Loop
{
; Food
t := A_TickCount - last_food
If ((not special1 or not special2) and food > 0 and t > food) {
ImageSearch, x, y, 0, 0, windowwidth, windowheight, *50 Images\nourished.bmp
If (ErrorLevel = 1) {
Send {2}
Sleep 100
Send {3}
Sleep 350
last_food := A_TickCount
}
}
Sleep 250

; Staff
Unsheath(0)

; Restore own stamina
SelfStatus()
While (stam <> "full")
{
Cast(8)
SelfStatus()
Message()
}

; Heal target
TargetStatus()
While (targethealth <> "full")
{
If (sacrifice and Slot(4)) {
Cast(4)
TargetStatus()
}
If (Slot(5)) {
Cast(5)
}
TargetStatus()
Message()
}

; Ironskin
t := A_TickCount - last_ironskin
If (ironskin > -1 and t > ironskin) {
Sleep 500
Cast(6)
last_ironskin := A_TickCount
}

; Sword
Unsheath(1)
clicks := 0
unsheath := 0
While (targethealth <> "critical")
{
; When a sword breaks it will keep looping, therefore this safetynet
If (unsheath > 150) {
Unsheath(1)
unsheath := 0
}

Tooltip, Hitting target (clicks: %clicks%), 0, 0
If (special1 and Slot(2)) {
Tooltip, Special one - BOOOM!, 0, 0
Sleep 350
Send {2}
Sleep 50
Click
unsheath := unsheath + 2
} Else If (special2 and Slot(3)) {
Tooltip, Special two - BLAAM!, 0, 0
Sleep 350
Send {3}
Sleep 50
Click
unsheath := unsheath + 2
}
Click
Sleep %delay%
Message()
TargetStatus()
clicks := clicks + 1
unsheath := unsheath + 1
}
}

#Include Misc/Toggle.ahk



batmaster is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[AutoIt] Melee macro
New melee macro which allows you to chose offense or defense. Borrowed some code (a lot of code) from Ices ...
22 Replies - General Gaming Discussion
[AutoIt] Two Accounts, One Computer Melee / Parry Macro
Instructions: ESC Key - Terminates Macro Pause Key - Pauses Macro Accounts Need to be ran in windowed mode. Parrying Account should be logged...
4 Replies - General Gaming Discussion
Is Rapid E for DSEE 0.104.304 still working?
Heya folks! Just wonder if rapid E function from DSEE 0.104.304 for gPotato version still works? Becos i have a priest main and want to try it out...
0 Replies - Dragonica
guys, do the melee hack/ atk speed for melee working?
i'm asking if its working or not coz i find it hard to make it work.. thanks for replies..
4 Replies - RF Online
Request for melee macro..
Is there or can one be made to auto-level on 2.0 as a melee class (warrior or trojan) ... Sorry I searched and couldn&#39;t find... + karma if you...
0 Replies - CO2 Main - Discussions / Questions



All times are GMT +2. The time now is 21:26.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.