[EasyUO] Weapon Ability Rearmer 7.10
-
- Legendary Scribe
- Posts: 253
- Joined: Thu Mar 24, 2011 4:42 am
- Contact:
Re: [EasyUO] Weapon Ability Rearm-er
Last edited by Draconomicon on Sat May 12, 2012 1:15 pm, edited 1 time in total.
Re: [EasyUO] Weapon Ability Rearm-er
Well, Whirlwind actually changes the target as well, so I don't care whether CS does so as well - it's just another strike that helps me take down stuff faster.
Re: [EasyUO] Weapon Ability Rearm-er
Maybe add the bushido skill <Momentum Strike> for those using a Yumi! Just an idea!
Re: [EasyUO] Weapon Ability Rearm-er
Whirlwind only changes your target if you have a hit spell on it and there are multiple targets around you/you hit lightning on each of them. A pure AoE WW wep wouldnt change targets, nor would it if there was 1 enemy next to you and 30 surrounding you (but not within 1 tile of you). WW will only focus on targets within 1 tile, Counter attack hits everything in range.
Added Counter attack back to the script. It is not active unless you remove a few lines of code. There are 4 instances of code you must edit, with comments next to each.
I do not think I will be adding momentum strike. You cannot have a primary/secondary ability active at the same time as Momentum strike (you can with CA). Adding MS would most likely involve a lot of extra coding, which I dont have the time for really.
Added Counter attack back to the script. It is not active unless you remove a few lines of code. There are 4 instances of code you must edit, with comments next to each.
I do not think I will be adding momentum strike. You cannot have a primary/secondary ability active at the same time as Momentum strike (you can with CA). Adding MS would most likely involve a lot of extra coding, which I dont have the time for really.
Resident Wiki Editor/Village Idiot
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
Re: [EasyUO] Weapon Ability Rearm-er
Thank you for adding the lines Devlin. Much appreciated.
-
- Legendary Scribe
- Posts: 253
- Joined: Thu Mar 24, 2011 4:42 am
- Contact:
Re: [EasyUO] Weapon Ability Rearm-er
Last edited by Draconomicon on Sat May 12, 2012 1:15 pm, edited 1 time in total.
Re: [EasyUO] Weapon Ability Rearm-er
Code: Select all
; Script: Ability Rearm-er
; Author: Devlin
; Current Version: 2.0
; Purpose: Will reactivate Primary/Secondary
; abilities, as well as Counter Attack. Works if
; you switch weapon types.
;
; Setup: Change the hotkeys below to your Prim/Sec
; Ability Macros. A walkthru then appears upon startup.
set %Prim F1 ; Change to Primary Ability hotkey
set %Sec F2 ; Change to Secondary Ability hotkey
set %mana 25 ; This number represents when the script
; will stop reactivating abilities due to
; a lack of mana. If you have low LMC/Mana Leech
; you may want to raise this number slightly.
; Do not raise it above 40
set %min #minDmg
set %max #maxDmg
; DO NOT EDIT BENEATH THIS LINE OR BAD THINGS WILL HAPPEN
; ------------------------------------------------
if *Save = 1
{
display YesNo Do you want to use your previously saved settings?
if #dispres = No
gosub Setup
}
else
{
gosub Setup
}
gosub Settings
loop1:
wait 10
if #charGhost = NO
{
repeat
{
if ( Abs ( %min - #minDmg ) > 15 ) || ( ( %max <> #maxDmg ) > 15 )
{
gosub Settings
set %min #minDmg
set %max #maxDmg
}
onhotkey %Sec
{
goto loop2:
}
gosub Prim
;gosub Count ; Remove to stop Counter Attack ( 1 of 2 )
}
until #mana <= ( %mana + 3 )
{
event sysmessage You are out of Mana!
wait 3s
}
}
else
{
wait 10s
goto loop1:
}
goto loop1:
loop2:
wait 10
if #charGhost = NO
{
repeat
{
if ( Abs ( %min - #minDmg ) > 15 ) || ( ( %max <> #maxDmg ) > 15 )
{
gosub Settings
set %min #minDmg
set %max #maxDmg
}
onhotkey %Prim
{
goto loop1:
}
gosub Sec
;gosub Count ; Remove to stop Counter Attack ( 2 of 2 )
}
until #mana <= ( %mana + 3 )
{
event sysmessage You are out of Mana!
wait 3s
}
}
else
{
wait 10s
goto loop2:
}
goto loop2:
sub Settings
savePix *PrimX *PrimY 1
savePix *SecX *SecY 2
savePix *CountX *CountY 3
return
sub Setup
display Please Move your Mouse over the Primary Ability Icon. You have 3 seconds to do so.
wait 3s
set *PrimX #CURSORX
set *PrimY #CURSORY
display Please Move your Mouse over the Secondary Ability Icon. You have 3 seconds to do so.
wait 3s
set *SecX #CURSORX
set *SecY #CURSORY
display Please Move your Mouse over the Counter Attack Ability Icon. You have 3 seconds to do so.
wait 3s
set *CountX #CURSORX
set *CountY #CURSORY
display The script is now ready to run. To switch which ability is active, simply press your hotkey for that ability (You may need to hold it down for half a second). Counter Attack will always be active.
return
sub Prim
cmppix 1 t
event macro 35 0
return
sub Sec
cmppix 2 t
event macro 36 0
return
sub Count
cmppix 3 t
event macro 15 148
wait 10
return
Eziekial Moss
Re: [EasyUO] Weapon Ability Rearm-er
Everything on the new script works fine, if you have any issues please PM Devlin in game. If counter attack is not working, please ensure that you have edited all necessary lines in the script before contacting me.
Resident Wiki Editor/Village Idiot
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
Re: [EasyUO] Weapon Ability Rearm-er
Updated a few things.
1. I have added Momentum Strike to this. You must pull the icon out like the abilities, as well as change the hotkey. I have added a fun part to the script; it will detect whether or not Momentum Strike hits multiple targets. If it does not, it will activate your primary ability ONCE, attack a target, then switch back to MS. This is an attempt to use the optimal attack when possible.
2. Put Counter Attack back in the script. Its deactivated by default, but MUCH easier to edit to get it working now.
3. Nobody cares about this but me, but I figured out something and the script is about half the length it once was. Less chance for errors, stick ups and what not, as well as looking nicer =)
As always, let me know of any bugs etc., its greatly appreciated.
1. I have added Momentum Strike to this. You must pull the icon out like the abilities, as well as change the hotkey. I have added a fun part to the script; it will detect whether or not Momentum Strike hits multiple targets. If it does not, it will activate your primary ability ONCE, attack a target, then switch back to MS. This is an attempt to use the optimal attack when possible.
2. Put Counter Attack back in the script. Its deactivated by default, but MUCH easier to edit to get it working now.
3. Nobody cares about this but me, but I figured out something and the script is about half the length it once was. Less chance for errors, stick ups and what not, as well as looking nicer =)
As always, let me know of any bugs etc., its greatly appreciated.
Resident Wiki Editor/Village Idiot
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
Re: [EasyUO] Weapon Ability Rearm-er
bump
Resident Wiki Editor/Village Idiot
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
- Gratz
- Journeyman Scribe
- Posts: 21
- Joined: Sat Aug 04, 2012 5:52 am
- Location: Greenacres, W.A.
- Contact:
Re: [EasyUO] Weapon Ability Rearm-er
You Jerks!!!
I thought they were finally going to make an ED purchasable item that would let you change either the primary or the secondary weapon ability on a particular weapon.
Myself, I just but the weapon ability arm-er in my bandage script, this is nice tho.
I thought they were finally going to make an ED purchasable item that would let you change either the primary or the secondary weapon ability on a particular weapon.
Myself, I just but the weapon ability arm-er in my bandage script, this is nice tho.
Re: [EasyUO] Weapon Ability Rearm-er
bump and request for sticky
Resident Wiki Editor/Village Idiot
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
Re: [EasyUO] Weapon Ability Rearm-er
bump, just because. Also, healR, doorman and a few other scripts should be stickied. Also also, the published macros link isnt on the forum index, you need to go into development (tiny things!)
Resident Wiki Editor/Village Idiot
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
-
- Elder Scribe
- Posts: 151
- Joined: Sun Jan 27, 2013 11:26 pm
Re: [EasyUO] Weapon Ability Rearm-er
Here is an old gold version that doesn't have all the chivalry nonsense since most probably wont need it.
Code: Select all
; Script: Ability Rearm-er
; Author: Devlin
; Current Version: 3.2
; Purpose: Rearms Prim/Sec Abilities, Momenum Strike and Counter Attack
; Read instructions in Forums -> Coding Talk
;
; Setup: Change hotkeys beneath this to yours.
; Adjust mana as needed. To enable Counter Atk
; Ctrl+F "CSG" and follow the comments instructions
; For Quick Setup, Ctrl+F QSG then edit 3 spots.
set %Prim F6 ; Change to Primary Ability hotkey
set %Sec F8 ; Change to Secondary Ability hotkey
set %MS F7 ; Change to MS Ability hotkey
set %Sub Prim ; Don't touch this.
set %mana 25 ; This number represents when the script
; will pause and wait for mana.
; If you have low LMC/Mana Leech
; you may want to raise this number
; slightly. Do not raise it above 40.
; --------------------------------------------------
; Edit below ONLY for Quick Setup/Counter Atk
; --------------------------------------------------
;
; -----------------------------------------
; Quick Setup ONLY (QSG 1 of 3)
; Remove from "if *Save" to "gosub Setup"
; -----------------------------------------
if *Save = 1
{
display YesNo Do you want to use your previously saved settings?
if #dispres = No
gosub Setup
}
else
{
gosub Setup
}
; ----------------------------------------
; Quick Setup ONLY
; Remove text between QSG 1 of 3 and here
; ----------------------------------------
set %min #minDmg
set %max #maxDmg
gosub Settings
loop:
wait 15
if #charGhost = NO
{
repeat
{
if ( Abs ( %min - #minDmg ) > 15 ) || ( ( %max <> #maxDmg ) > 15 )
{
wait 10
gosub Settings
set %min #minDmg
set %max #maxDmg
}
gosub %Sub ; Remove the ";" in front of
wait 5 ; gosub Count for Counter Atk
; gosub Count ; (CSG Setup)
onhotkey %Prim
{
set %Sub Prim
}
onhotkey %Sec
{
set %Sub Sec
}
onhotkey %MS
{
set %Sub MS
}
until #mana <= %mana
{
event sysmessage Mana!
wait 2s
}
}
else
{
wait 10
goto loop:
}
goto loop:
sub Prim
cmppix 1 t
event macro 35 0
return
sub Sec
cmppix 2 t
event macro 36 0
return
sub MS
cmppix 3 t
event macro 15 150
wait 5
if there_are_no_valid in #sysmsg
{ ; MSG Setup
event macro 35 0 ; Change this line as needed
wait 25 ; Primary - event macro 35 0
} ; Secondary - event macro 36 0
return
sub Count
cmppix 4 f
event macro 15 148
return
;----------------------------------------------
; Quick Setup (QSG 2 of 3)
; You must manually edit coordinates beneath
;----------------------------------------------
sub Settings ; Change these to the format
savePix *PrimX *PrimY 1 ; #CURSORX #CURSORY 1
savePix *SecX *SecY 2 ; #CURSORX #CURSORY 2
savePix *MSX *MSY 3 ; #CURSORX #CURSORY 3
savePix *CountX *CountY 4 ; #CURSORX #CURSORY 4
set *Save 1 ; To find the cursor coords,
return ; goto "Other Stuff" to the right
; and hover over the icons.
;
; ----------------------------------------------
; Remove all text beneath for Quick Setup (QSG 3 of 3)
; ----------------------------------------------
sub Setup
display Please Move your Mouse over the Primary Ability Icon. You have 3 seconds to do so.
wait 5s
set *PrimX #CURSORX
set *PrimY #CURSORY
display Please Move your Mouse over the Secondary Ability Icon. You have 3 seconds to do so.
wait 5s
set *SecX #CURSORX
set *SecY #CURSORY
display Please Move your Mouse over the Momentum Strike Ability Icon. You have 3 seconds to do so.
wait 5s
set *MSX #CURSORX
set *MSY #CURSORY
display Please Move your Mouse over the Counter Attack Ability Icon. You have 3 seconds to do so. If you aren't using Counter Attack... Just hit okay/wait. Doesn't really matter.
wait 5s
set *CountX #CURSORX
set *CountY #CURSORY
display The script is now ready to run. To switch which ability is active, simply press your hotkey for that ability (You may need to hit it twice)
return
Re: [EasyUO] Weapon Ability Rearm-er
While the "old gold" version is still a great thing to have, it is nothing compared to the new version
The new version
and change it to
This will turn off casting Consc Wep, Divine Fury and Counterattack. Considering the extreme benefits of using Consecrate Weapon and keeping max stam (divine fury), I am choosing to keep Chivalry enabled at the start. It is easily paused upon startup if the user wishes, or removed entirely by changing a total of four letters. At the moment Counter Attack is included in this pause... I may remove this and make it separate, so those who remove
The new version
- -Switching Primary/Secondary/MS abilities is now MUCH smoother. No more mashing your key/holding it down to get it to switch!
-Switching weapons works much better now. It still will run into the occasional hang up and won't rearm, but it will never be perfect, sorry =(. To help this, try using Toggle Equip instead of Dress Equip. If it bugs when you switch wep, hit toggle twice to unequip/requip the weapon real fast. It should then work.
-In the "old gold", spells would spam when you were dead. This no longer occurs
-A Pause function has been added.
-Customizing the script (quick setup, remove CA or chiv, etc.) is now easier than ever! The first few lines contain instructions in the comments next to the code. Try tweaking these to better your performance as everyone has different stats.
Code: Select all
set %sub2 Play
Code: Select all
set %sub2 hold
Resident Wiki Editor/Village Idiot
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Separate Journal for Guild or Public Chat (Old)
---------------------------------------------
Combat Focus Guide (Godmode Formula)