Auto Shot AddOn = Temporary Solution

Re: Auto Shot AddOn = Temporary Solution

by raisnilt » Fri Jun 19, 2015 2:31 pm

Update
  • UI hide (ALT+Z) fix /thanks Chillout/
  • Aimed Shot fix
Well i noticed another minor bug: if i use ALT+Z the aimedshot timer wont work until reload. Next update ill try fix this also.
[A] Trollvadász
User avatar
raisnilt
Private
Private
 

Re: Auto Shot AddOn = Temporary Solution

by toolshed » Tue Jun 23, 2015 7:08 pm

Using this addon - when is the best time to multi? When is the best time to aimed shot?
User avatar
toolshed
Sergeant
Sergeant
 

Re: Auto Shot AddOn = Temporary Solution

by raisnilt » Tue Jun 23, 2015 7:27 pm

  • Multi Shot and other GCD spells are simple => use at the autoshot cooldown (white) bar => u can use only 1gcd ability/1autoshot
  • Aimed Shot => idk => ask someone who knows that
I forget to add haste to the addon. For example if rapid fire is on player then the aimed shot casttime should be ~2,4sec however its still 3sec. I'll try fix at next update (just need to find a buff at lvl~20 what changes the casttime)
[A] Trollvadász
User avatar
raisnilt
Private
Private
 

Re: Auto Shot AddOn = Temporary Solution

by Cornholi » Tue Jun 23, 2015 10:47 pm

When I downloaded the latest version the bar was a lot smaller, is there any way I can change that?
Cornholi
Senior Sergeant
Senior Sergeant
 

Re: Auto Shot AddOn = Temporary Solution

by raisnilt » Wed Jun 24, 2015 9:31 am

Yes. Rewrite the numbers at the Table.
80 => ~100
10 => ~15
raisnilt wrote:Options: u can only set the position and size of the bar
  1. open "rais_AutoShot.lua" with notepad
  2. rewrite in Table what you want to change /check my PrintScreen/
PrintScreen http://www.kephost.com/images/2015/05/2 ... toShot.png

/Sorry for the small size. I forget that also gonna change after a fix (alt+z)/
[A] Trollvadász
User avatar
raisnilt
Private
Private
 

Re: Auto Shot AddOn = Temporary Solution

by LoomZ » Mon Jun 29, 2015 11:59 am

after i start my aimedshot ... the castbar will stay on my screen forever ... any way to fix that ?

or can we maybe get a version without the aimedshot castbar ? only the autoattack stuff
LoomZ
Private
Private
 

Re: Auto Shot AddOn = Temporary Solution

by raisnilt » Wed Jul 01, 2015 9:40 am

Update
  • fix AimedShot castTime not always 3sec

Edit: Didnt work! :(
-------------------------------------------------
@LoomZ
Thank you for the report but i cannot reproduce that bug. Do you use any addon for castbar?
Until i figure out the problem there's an alternative solution what u asked.
Last edited by raisnilt on Fri Jul 10, 2015 10:28 pm, edited 1 time in total.
[A] Trollvadász
User avatar
raisnilt
Private
Private
 

Re: Auto Shot AddOn = Temporary Solution

by LoomZ » Wed Jul 01, 2015 9:54 am

ok i found out what causes the problem with aimedcastbar :)
Luna Frames ... it have an option to deactivate the "Blizzard Castbar"

*edit*: "oCB" alone is bugging it too.

so it seems that every addon who overwrites the blizzard castbar is buggin your Aimedshotcastbar.
LoomZ
Private
Private
 

Re: Auto Shot AddOn = Temporary Solution

by raisnilt » Mon Jul 06, 2015 7:13 pm

Update
  • After AimedShot the first AutoShot doesnt shown FIXED
/sorry for my slow updates, i play rarely and fixes are not so easy for me. for example i recognized this bug only after i started playing a bit today. also thats only my hobby im not a programmer/

Edit: thx LoomZ. I might try doing something else in the future with that also.

Edit [10:37PM - 7/10/2015]
Update
  • AimedShot castTime always 3sec again
After some test it seems Aimed-CastTime doesn't work yet. Also i cant figure out a perfect method. The problems
  • improved aspect +30% doesn't change the CastTime_Text at AimedTooltip (still 3sec even if only 2.4 should be)
  • Quiver bonus doesn't affect aimed
So i cant use ranged speed either tooltip text. The only idea left is check buffs 1by1 (rapid,improved, berserking, etc.). But that is so bad, and how should i know which one of them changes Aimed_CastTime. Damn It!
//"Update"(rework) reason: there was a bug if i used /script CastSpellByName("Aimed Shot")//
[A] Trollvadász
User avatar
raisnilt
Private
Private
 

Re: Auto Shot AddOn = Temporary Solution

by Rhena » Sat Aug 01, 2015 9:56 am

raisnilt wrote:So i cant use ranged speed either tooltip text. The only idea left is check buffs 1by1 (rapid,improved, berserking, etc.). But that is so bad, and how should i know which one of them changes Aimed_CastTime. Damn It!


That is not bad. Its how it works. If you are concerned about performance you should check the path of the buff icon instead of making a tooltip, setting it to the buff and then checking its name. The icon path are mostly unique (meaning there is no other buff with this icon) and are independent of your clients locale.

I recently made LunaUnitFrames show aimed shots in its castbar and since i like/use your addon i'm happy to help you out. Have this code snippet:

Code: Select all
local casttime = 3
for i=1,32 do
   if UnitBuff("player",i) == "Interface\\Icons\\Ability_Warrior_InnerRage" then
      casttime = casttime/1.3
   end
   if UnitBuff("player",i) == "Interface\\Icons\\Ability_Hunter_RunningShot" then
      casttime = casttime/1.4
   end
   if UnitBuff("player",i) == "Interface\\Icons\\Racial_Troll_Berserk" then
      casttime = casttime/ (1 + berserkValue)
   end
   if UnitBuff("player",i) == "Interface\\Icons\\Inv_Trinket_Naxxramas04" then
      casttime = casttime/1.2
   end
end


Also you need a handler for UNIT_BUFF that does determine the value of your berserk when you gain the buff:

Code: Select all
for i=1,16 do
   if UnitBuff("player",i) == "Interface\\Icons\\Racial_Troll_Berserk" then
      if((UnitHealth("player")/UnitHealthMax("player")) >= 0.40) then
         berserkValue = (1.30 - (UnitHealth("player")/UnitHealthMax("player")))/3
      else
         berserkValue = 0.30
      end
   end
end


Also i did see you are not using
Code: Select all
down, up, lag = GetNetStats()

anywhere. I know this server has "internal" lag caused by the hardware of the server but the net lag is always there too.
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

PreviousNext

Return to Hunter