Page 1 of 5
1
2
3
... LastLast
  1. #1

    [WA2] Astral Power Pro Bar (Cyous)

    :: Astral Power Pro Bar ::

    Author: Cyous
    Credits: TwinTop, Krazyito


    :: Downloads ::


    :: Features ::

    Smart Resource Prediction
    Know exactly how much Astral Power you will have before your cast finishes.


    Fury of Elune Tracker
    Provides the remaining time on your FOE, works with Shooting Stars!


    Smart DOT Tracker
    Tells you exactly how many Moonfire and Sunfire spells you have active.
    Globalized variables allows you to call this tracker by using "TOTAL_DOTS."

    Full Tracking List
    Predicted Astral Power (Solar Wath, Lunar Strike), Fury of Elune, Moonfire, Sunfire, Stellar Flare (Predicted),
    Starfall, Lunar Empowerment, Solar Empowerment, Shooting Stars (global), DOTs (global), Overflow Warning
    New Moon, Half Moon, Full Moon, Force of Nature, Warrior of Elune, Astral Communion, Celestial Alignment (Incarnation)

    :: Images & Video Preview ::


    http://i.imgur.com/eOrB0ir.png
    (4 images)

    Known Issues:
    - Takes a very long time to load. This is due to the large number of auras stored within the string. Your game "freezing" is expected, but just let it run.
    - Bar will fail to load on occasion. Normally, this can be fixed by either attempting to cast or reloading the UI (/reload). Opening the WeakAuras options pane and clicking on the bars will sometimes work.

    I will be using this thread to host my new WA2 class bar for WoW: Legion.

    Because it is alpha, some errors may exist. Please report all LUA ERRORS traced to this module.

    Warning ("Malicious Code"):
    - There is a ton of custom Lua code. I promise there is nothing malicious.
    Last edited by Cyous; 2016-06-26 at 10:57 PM.
    The Boomkings(WIP) :: YouTube Project

  2. #2
    Mechagnome Krazyito's Avatar
    Join Date
    Oct 2010
    Location
    North Miami
    Posts
    519
    woot!
    /10char

  3. #3
    The Patient Alame's Avatar
    Join Date
    Jun 2015
    Location
    Canada
    Posts
    308
    I moved the bars and now it doesn't work pls fix

  4. #4
    From one weakaura bar to track a specific resource to another..yay, was hoping the new system would be a bit more intuitive but still cyous thank you very much for taking your time to put this together.

  5. #5
    Quote Originally Posted by Alame View Post
    I moved the bars and now it doesn't work pls fix
    You dont even have alpha yet.
    The Boomkings(WIP) :: YouTube Project

  6. #6
    I tried importing but the only things that appear in my weakaura options are AP_ASP_CALCS, AP_Bar, AP_Number, AstralBar_Shiny / _FoE, and the group AP_ProBar which i cant interact with at all. halp :_0

  7. #7
    Quote Originally Posted by Tunafishy View Post
    I tried importing but the only things that appear in my weakaura options are AP_ASP_CALCS, AP_Bar, AP_Number, AstralBar_Shiny / _FoE, and the group AP_ProBar which i cant interact with at all. halp :_0
    I just tested it, and all auras imported fine.

    Please update WeakAuras.
    Last edited by Cyous; 2016-04-25 at 02:56 PM.
    The Boomkings(WIP) :: YouTube Project

  8. #8
    Quote Originally Posted by Cyous View Post
    Please update WeakAuras.
    This took me a while to figure out, but you need an updated live version of WeakAuras in your Interface/Addons folder, and you can then just copy & replace the WeakAuras files in the first post into the main WeakAuras folder. Might be a good idea to include it in the first post, since it's not immediately obvious (at least wasn't for me).

    Nonetheless, the power bar looks amazing and works pretty well! Nice work

  9. #9
    Quote Originally Posted by striderZA View Post
    This took me a while to figure out, but you need an updated live version of WeakAuras in your Interface/Addons folder, and you can then just copy & replace the WeakAuras files in the first post into the main WeakAuras folder. Might be a good idea to include it in the first post, since it's not immediately obvious (at least wasn't for me).

    Nonetheless, the power bar looks amazing and works pretty well! Nice work
    Shouldn't need to do that ~ In the link provided, you simply to extract those 4 folders to Inferface\AddOns.
    https://twitter.com/WeakAuras/status/723363503436779520
    (Links are the same.)
    The Boomkings(WIP) :: YouTube Project

  10. #10
    Quote Originally Posted by Cyous View Post
    Shouldn't need to do that ~ In the link provided, you simply to extract those 4 folders to Inferface\AddOns.
    https://twitter.com/WeakAuras/status/723363503436779520
    (Links are the same.)
    That didn't work for me, for whatever reason, probably did something wrong along the way

  11. #11
    Quote Originally Posted by striderZA View Post
    That didn't work for me, for whatever reason, probably did something wrong along the way
    Do you get the WA folders in your AddOn menu (in-game)?
    - WeakAuras 2
    - WeakAuras Model Paths
    - WeakAuras Options
    - WeakAuras Tutorials
    The Boomkings(WIP) :: YouTube Project

  12. #12
    Quote Originally Posted by Cyous View Post
    Do you get the WA folders in your AddOn menu (in-game)?
    - WeakAuras 2
    - WeakAuras Model Paths
    - WeakAuras Options
    - WeakAuras Tutorials
    I do now yeah, and also before when I couldn't get it to work, just got a ton of LUA errors. However, I had some client crashes in between so it might have been one of those incessant crashes unrelated to addons, who knows. I'll delete it and do it the old way again to confirm.

  13. #13
    Quote Originally Posted by striderZA View Post
    I do now yeah, and also before when I couldn't get it to work, just got a ton of LUA errors. However, I had some client crashes in between so it might have been one of those incessant crashes unrelated to addons, who knows. I'll delete it and do it the old way again to confirm.
    Delete your cache. That actually does fix many errors.
    The Boomkings(WIP) :: YouTube Project

  14. #14
    Hey.

    Great work on these bars but I think I found a problem. When you have BotA enabled the prediction actually calculates the 1.4x of the regular cast asp but when you have incarnation it actually doesnt seem to predict the 1.5x asp regen, it basically stick to the default 6 and 10 values for the casts.

    I tried changing some variables to no effect.

    Grey

  15. #15
    Quote Originally Posted by Greyowl View Post
    Hey.

    Great work on these bars but I think I found a problem. When you have BotA enabled the prediction actually calculates the 1.4x of the regular cast asp but when you have incarnation it actually doesnt seem to predict the 1.5x asp regen, it basically stick to the default 6 and 10 values for the casts.

    I tried changing some variables to no effect.

    Grey
    The only possible way that would happen is if "Incarnation: Chosen of Elune" and "Celestial Alignment" do not "share/morph" a name. (I should be able to call Incarnation from Celestial Alignment.)

    The calcs are set up in such a way that only LS and SW are modified by BOTA_E and CA/INC, and the non-filler spells are ignored outright by BOTA and CA/INC.
    E_global = (non_fillers) + (filler * BOTA * CA_INC).

    If were not casting a filler, then "filler" is worth 0, and our non-filler spell (X) would be alone. E = X + (0 = 0 * 1.4 * 1.5); E = X

    If BOTA or CA/INC are not active, then these variables are set to 1 (respectively). Basically, it allows it to return your proper numbers.
    ____________

    If you would be kind as to test both CA and Incarnation, with BOTA_E active for both tests.
    You should receive a predcited value of 21 for Lunar Strike in both cases.

    (I am in the process of moving, so I do not have the means to verify this report.)
    Last edited by Cyous; 2016-04-30 at 05:53 PM.
    The Boomkings(WIP) :: YouTube Project

  16. #16
    Ill try and change some values like you posted. Cheers

  17. #17
    Mechagnome Krazyito's Avatar
    Join Date
    Oct 2010
    Location
    North Miami
    Posts
    519
    Quote Originally Posted by Cyous View Post
    The only possible way that would happen is if "Incarnation: Chosen of Elune" and "Celestial Alignment" do not "share/morph" a name. (I should be able to call Incarnation from Celestial Alignment.)

    While looking through the code I noticed this

    Code:
    local CA
    CA = 'Celestial Alignment' or 'Incarnation: Chosen of Elune'
    Basically, this is wrong becasue CA will always hold the value Celestial Alignment (and for the code it wont work correct I'm pretty sure if you're specced Inc)

    To fix this just do:
    Code:
    local CA = select(4, GetTalentInfo(5, 2, 1)) -- says if Incarnation is selected or not
    if CA then CA = 'Incarnation: Chosen of Elune' else CA = 'Celestial Alignment' end
    That way it should know if you're talented correctly.


    edit: Just tested it both ways, its definitely the code i mentioned.
    Last edited by Krazyito; 2016-05-01 at 12:22 AM.

  18. #18
    Quote Originally Posted by Krazyito View Post
    While looking through the code I noticed this

    Code:
    local CA
    CA = 'Celestial Alignment' or 'Incarnation: Chosen of Elune'
    Basically, this is wrong becasue CA will always hold the value Celestial Alignment (and for the code it wont work correct I'm pretty sure if you're specced Inc)

    To fix this just do:
    Code:
    local CA = select(4, GetTalentInfo(5, 2, 1)) -- says if Incarnation is selected or not
    if CA then CA = 'Incarnation: Chosen of Elune' else CA = 'Celestial Alignment' end
    That way it should know if you're talented correctly.


    edit: Just tested it both ways, its definitely the code i mentioned.
    I noticed the CA = 'Celestial Alignment' or 'Incarnation: Chosen of Elune' but wasnt sure how to change it.

    Thanks a lot.

  19. #19
    I Get this Lua error when i try to import it.

    Message: Interface\AddOns\WeakAuras\WeakAuras.lua:3069: Interface\AddOns\WeakAuras\Prototypes.lua:1093: attempt to call global 'GetEclipseDirection' (a nil value)
    Time: 05/13/16 20:32:27
    Count: 2
    Stack: [C]: ?
    Interface\AddOns\WeakAuras\WeakAuras.lua:3069: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:3052>

    Locals: (*temporary) = false
    (*temporary) = "Interface\AddOns\WeakAuras\Prototypes.lua:1093: attempt to call global 'GetEclipseDirection' (a nil value)"

  20. #20
    I've got some strange behaviour of the wa since the start of beta - sometimes the astral power number doesn't work at all. It doesn't exist. The astral power bar flashes in blue and thats it. It doesn't move or tries to predict.
    Sometimes it gets fixed after a wow restart, sometimes it doesn't. Maybe its related to the Lua error written above, but i haven't got any errors so far.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •