• posted a message on DejaCharacterStats

     

    How are you checking the highest item level stuff in the bags/bank? The algorithm appears to check items in bags without accounting for which of the artifact weapons that actually can be equipped, it's ignoring the spec requirements.

     

    Slightly causing ocd.


    Edit, solved it myself for my class (DH) only by adding a code snipped after the multiplier elseifs and before the avgitemlevel = floor(...) in DCS_TableData.StatData.ItemLevelFrame in file DCSTables.

    This code was added:
    local inm,_,_,ilvs,_,_,_,_,_,_,_ = GetItemInfo(GetInventoryItemLink("player",16))
    print(inm)
    local texture, count, locked, quality, readable, lootable, link, isFiltered, hasNoValue, itemID
    local binm,a,b,bilvs,c,d,e,f,g,h,i,dif
    for bag=0, NUM_BAG_SLOTS do
    for bagSlots=1,GetContainerNumSlots(bag) do
    texture, count, locked, quality, readable, lootable, ilink, isFiltered, hasNoValue, itemID = GetContainerItemInfo(bag, bagSlots)
    if(ilink) then
    binm,a,b,bilvs,c,d,e,f,g,h,i = GetItemInfo(ilink)
    if(binm =="Twinblades of the Deceiver") then
    if(ilvs<bilvs) then
    dif = bilvs-ilvs
    dif = dif/8
    avgItemLevel = floor(multiplier*(avgItemLevel-dif))/multiplier;
    end
    end
    if(binm =="Aldrachi Warblades") then
    if(ilvs<bilvs) then
    dif = bilvs-ilvs
    dif = dif/8
    avgItemLevel = floor(multiplier*(avgItemLevel-dif))/multiplier;
    end
    end
    end

    end
    end

    there is probably a more elegant solution that includes all classes and handles offhand-less classes as well. Oh, and when the artifact weapon is in the bank.

    Link Removed
  • posted a message on Omen Threat Meter

    11 minutes and 19 seconds long fight:

    [02:47] integer overflow attempting to store 2157682894
    [02:47] [C]: in function `SetFormattedText'
    Interface\AddOns\Omen\Omen-v3.1.12.lua:1938: in function `UpdateBarsReal'
    Interface\AddOns\Omen\Omen-v3.1.12.lua:1729: in function <Interface\AddOns\Omen\Omen.lua:1727>
    [02:47]

     

    Yup, integer overflow, you really should use unsigned integers for this addon, if that even is possible with the wow-api.

    Link Removed
  • posted a message on Details! Damage Meter

    The skin export/entire addon does not save micro display settings.
    While it's not directly breaking the addon it does make it harder to share the settings completely and setting up the addon between characters as well as these settings have to be manually set on every character.

    Link Removed
  • posted a message on WorldPlan

    When clicking the class hall report button my buggrabber gets spammed with this until i click it again

    Interface\AddOns\WorldPlan\ClassPlan.lua:543: attempt to compare number with nil
    Interface\AddOns\WorldPlan\ClassPlan.lua:543: in function `UpdateItems'
    Interface\AddOns\WorldPlan\ClassPlan.lua:518: in function <Interface\AddOns\WorldPlan\ClassPlan.lua:514>
    self = ClassOrderPlanShipments {
    0 = <userdata>
    listTitle = <table> {
    }
    activeKey = "shipments"
    sortedItems = <table> {
    }
    OnHeaderClick = <function> defined @Interface\AddOns\WorldPlan\ClassPlanShipments.lua:206
    OnUpdate = <function> defined @Interface\AddOns\WorldPlan\ClassPlan.lua:514
    activeTitle = "Work Orders"
    owningFrame = ClassOrderPlan {
    }
    OnShow = <function> defined @Interface\AddOns\WorldPlan\ClassPlanShipments.lua:248
    MoreItemsUp = <unnamed> {
    }
    GetPlayerData = <function> defined @Interface\AddOns\WorldPlan\ClassPlanShipments.lua:83
    UpdateItems = <function> defined @Interface\AddOns\WorldPlan\ClassPlan.lua:536
    currentListIndex = 1
    listKey = <table> {
    }
    currentTime = 1495359927
    MoreItemsDown = <unnamed> {
    }
    Timers = <table> {
    }
    Reanchor = <function> defined @Interface\AddOns\WorldPlan\ClassPlanShipments.lua:50
    numBlocks = 0
    truncatedItems = 0
    Count = <unnamed> {
    }
    OnMouseDown = <function> defined @Interface\AddOns\WorldPlan\ClassPlan.lua:429
    data = <table> {
    }
    profile = <table> {
    }
    RefreshData = <function> defined @Interface\AddOns\WorldPlan\ClassPlan.lua:455
    initialized = true
    SetList = <function> defined @Interface\AddOns\WorldPlan\ClassPlan.lua:401
    OnMouseWheel = <function> defined @Interface\AddOns\WorldPlan\ClassPlan.lua:434
    OnLoad = <function> defined @Interface\AddOns\WorldPlan\ClassPlan.lua:424
    SetOwnerData = <function> defined @Interface\AddOns\WorldPlan\ClassPlan.lua:523
    templateName = "ClassPlanShipmentEntry"
    OnGetItem = <function> defined @Interface\AddOns\WorldPlan\ClassPlanShipments.lua:183
    OnEvent = <function> defined @Interface\AddOns\WorldPlan\ClassPlanShipments.lua:166
    ScheduleUpdate = <function> defined @Interface\AddOns\WorldPlan\ClassPlan.lua:386
    isStale = true
    events = <table> {
    }
    SortHandler = <function> defined @Interface\AddOns\WorldPlan\ClassPlanShipments.lua:211
    Acquire = <function> defined @Interface\AddOns\WorldPlan\ClassPlan.lua:531
    ListTab = ClassOrderPlanShipmentsTab {
    }
    FreeBlock = <function> defined @Interface\AddOns\WorldPlan\ClassPlan.lua:533
    }
    sortedItems = <table> {
    1 = <table> {
    }
    2 = <table> {
    }
    3 = <table> {
    }
    4 = <table> {
    }
    5 = <table> {
    }
    6 = <table> {
    }
    7 = <table> {
    }
    8 = <table> {
    }
    9 = <table> {
    }
    10 = <table> {
    }
    11 = <table> {
    }
    12 = <table> {
    }
    }
    scrollOffset = 0
    numItems = 12
    (*temporary) = nil
    (*temporary) = "ClassOrderPlanShipments"
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = "attempt to compare number with nil"
    print = <function> defined @Interface\FrameXML\UIParent.lua:4845
    pairs = <function> defined =[C]:-1

    Link Removed
  • posted a message on DejaCharacterStats

    Can you point me towards what part of the code (file and function) that does the movement speed?
    It shows incorrect values for different actions.

    I know this since this weak aura snippet  correctly shows movement speed:

    de02daGisPUejQgLQOtPkSkqsnlLQClsHDPuPFbrLHrk6ycSms4zuQMgL01GiBJuY3iPACGuNJKO1brP3brX9irCqsKwiemriQ6IqOnssXhjP0jvQyLaDtsf7ee)uPQgkjjpLyQQ0vjj1wbjzUKe2R0FvLgmfhwKftQYJvvtgWLrTzb9zLYOjv60q9AqIztv3gs7Mk)wjdhulxfpxOPJCDrTDkX3jv14jr58uk7xXnO3kOvaQa0BLFosl0lRmQsy29j8Y98XaoMXmMXeHzgyVXSDwzhGaZmWEJj0J30LeyMb2Bmr9XOcmZaJrjJrTmPAhMeyMbEQTQ8jB8r7hiZaoMXmMX4x)KFm6LI8yuYyqqPcIV6SpuHOoic5(kQcrer(bCmJzmJzahZygZyomLpUX8uBLVRIqTFGSHRdAIE(mcZmaYPxkYpG6an18XaYoGbCahWbCahWbCahWbCaRyB)WWitvnAaTcOvhAKuyxlfk00EGv7nudRQxj9jSf(EWBB8rNfaxiAwHo4Tn(0BLCKFXol8jYfHkKnyUYphPfALFosl0xYgmxjsjkhRWwyhvrPFcVCJr1XKEEUsoYVzhMkcvoCYlWS3djHYvU6Ew6pg16tylCLCKFJWS3djHYfHk)CKwOvcZUpHxUNpgWXmMXmMdt5JBm0jZdi7agWbCahWkFD5puQKHbsexj7ylSJQKY0QseM9EijuUqcGgPaf2lvXVsa9wHsE2r9wbn7jCVLkvbahgI)zpzR3kOzpH7TuPkNLN7TcA2t4ElvQcSfyk5zh1Bf0SNW9wQuLW0NWlxVvqZEc3BPsvoPp3Bf0SNW9wQuPka4iSpztO0hkXkk)x5WB4L7AdMRG)lxLeaaMWlxY)sh82gFI9wQc2HP3)cf2Zeduibv(RLhyPVRiuj7OdEBJp9wjcZEpKekxibqJuGc7LQKY0Q6vbdurhbMzGkUm69G324tSqcQOS9ddJmv1OHwbwv3QkduzG6w1YosAf0qnSATcaoc7t225VCv2Xr8jm9zvSZF5IQa7S8cZ07prXx91ftmuWeXUsvIvuSR9DrQILcjWQIGsTa

    Which pretty much uses this custom function

    function()
     speed, groundSpeed, flightSpeed, swimSpeed = GetUnitSpeed("Player");
     local base = BASE_MOVEMENT_SPEED
     return ("%.2f"):format((speed/base)*100)
    end

     

     

     

     

     

     

    Link Removed
  • posted a message on MythicPlusLoot

    This addon does not work properly, to fix it, replace the functions named MythicLootItemLevel and  MythicWeeklyLootItemLevel in MythicPlusLoot.lua with the following below:


    function MythicLootItemLevel(mlvl)
     if (mlvl == "2" or mlvl == "3") then
      return "845"
     elseif (mlvl == "4" or mlvl == "5") then
      return "850"
     elseif (mlvl == "6" or mlvl == "7") then
      return "855"
     elseif (mlvl == "8" or mlvl == "9") then
      return "860"
     elseif (mlvl == "10") then
      return "865"
     elseif (mlvl == "11" or mlvl =="12") then
      return "870"
     elseif (mlvl == "13") then
      return "875"
     elseif (mlvl == "14") then
      return "880"
     elseif (mlvl >="15") then
      return "885"
     else
      return ""
     end
    end

     

    function MythicWeeklyLootItemLevel(mlvl)
     if (mlvl == "2") then
      return "850"
     elseif (mlvl == "3") then
      return "855"
     elseif (mlvl == "4") then
      return "860"
     elseif (mlvl == "5" or mlvl == "6") then
      return "865"
     elseif (mlvl == "7" or mlvl == "8") then
      return "870"
     elseif (mlvl == "9") then
      return "875"
     elseif (mlvl == "10" or mlvl == "11") then
      return "880"
     elseif (mlvl == "12") then
      return "885"
     elseif (mlvl == "13") then
      return "890"
     elseif (mlvl == "14") then
      return "895"
     elseif (mlvl >= "15") then
      return "900"
     else
      return ""
     end
    end

    Link Removed
  • posted a message on AFK Quit

    thanks!
    No more forgetting to turn off wow only to wake up during the night to a fan that screams for help xD 

    Link Removed
  • posted a message on Accountant Classic

    This addon seems to be doing some kind of loop whenever I take damage/attack something as it cause my game to lag, what about that?

    Link Removed
  • To post a comment, please or register a new account.