7.1 Status Direction Error #492


  • Defect
  • Fixed
Closed
Assigned to michaelsp
  • Stanzilla created this issue Oct 26, 2016
    Maintainer

    What steps will reproduce the problem?
    1.
    2.
    3.

    What is the expected output? What do you see instead?

    What Grid2 version and language of WoW are you using?
    r797 enGB

    Do you have an error log of what happened?
    2x Grid2\modules\StatusDirection.lua:37: attempt to perform arithmetic on local 'x2' (a nil value)
    Grid2\modules\StatusDirection.lua:37: in function `func'
    Ace3\AceTimer-3.0\AceTimer-3.0-17.lua:55: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:48>

    Locals:
    x1 = 2511.9001464844
    y1 = 6953.3002929688
    _ = 0
    map1 = 1220
    facing = 0.64796841144562
    (for generator) = <function> defined =[C]:-1
    (for state) = <table> {
    pet = "Vehicle-0-3771-1220-24355-112252-000010F4A3"
    player = "Player-1405-0501141D"
    }
    (for control) = "pet"
    unit = "pet"
    update = nil
    direction = nil
    distance = nil
    x2 = nil
    y2 = nil
    _ = nil
    map2 = 1220
    (*temporary) = nil
    (*temporary) = 1220
    (*temporary) = false
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = "attempt to perform arithmetic on local 'x2' (a nil value)"
    UnitPosition = <function> defined =[C]:-1
    Direction = <table> {
    ClearDirections = <function> defined @Grid2\modules\StatusDirection.lua:74
    UpdateDB = <function> defined @Grid2\modules\StatusDirection.lua:111
    indicators = <table> {
    }
    RegisterMessage = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
    UnregisterAllEvents = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:200
    SendMessage = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:85
    GetDistanceColor = <function> defined @Grid2\modules\StatusDirection.lua:173
    OnDisable = <function> defined @Grid2\modules\StatusDirection.lua:156
    GetVertexColor = <function> defined @Grid2\GridUtils.lua:80
    enabled = true
    RegisterEvent = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
    UnregisterAllMessages = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:200
    IsActive = <function> defined @Grid2\modules\StatusDirection.lua:160
    dbx = <table> {
    }
    GetTexCoord = <function> defined @Grid2\modules\StatusDirection.lua:168
    OnEnable = <function> defined @Grid2\modules\StatusDirection.lua:151
    name = "direction"
    GetIcon = <function> defined @Grid2\modules\StatusDirection.lua:164
    UnregisterMessage = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
    SetTimer = <function> defined @Grid2\modules\StatusDirection.lua:54
    UnregisterEvent = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
    RestartTimer = <function> defined @Grid2\modules\StatusDirection.lua:67
    }
    GetPlayerFacing = <function> defined =[C]:-1
    Grid2 = <table> {
    CreateLocation = <function> defined @Grid2\GridUtils.lua:63
    DbGetIndicator = <function> defined @Grid2\GridDefaults.lua:28
    IterateStatuses = <function> defined @Grid2\GridStatus.lua:143
    modules = <table> {
    }
    CancelTimer = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:145
    ProfileShutdown = <function> defined @Grid2\GridCore.lua:157
    defaultModulePrototype = <table> {
    }
    CopyTable = <function> defined @Grid2\GridUtils.lua:50
    SetDefaultModulePrototype = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:440
    MakeColor = <function> defined @Grid2\GridUtils.lua:22
    IsEnabled = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:482
    ScheduleTimer = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:92
    LoadConfig = <function> defined @Grid2\GridCore.lua:152
    GetUnitFrames = <function> defined @Grid2\GridFrame.lua:29
    RegisterIndicator = <function> defined @Grid2\GridIndicator.lua:99
    GetOwnerUnitByUnit = <function> defined @Grid2\GridRoster.lua:72
    UnregisterMessage = <function> defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
    Dummy = <function> defined @Grid2\GridUtils.lua:7
    UpdateRoster = <function> defined @Grid2\GridRoster.lua:285
    GetOwnerUnitidByGUID = <function> defined @Grid2\GridRoster.lua:60
    SetStatusAuraDebuffTypeColor

    Please provide any additional information below.

  • Stanzilla added the tags New Defect Oct 26, 2016
  • _ForgeUser13022454 posted a comment Oct 29, 2016

    Hi, my english is terrible so I just said that I have the same problem with this addon in french.

    And with HPal this option is very important for know the range of ma team raid (color direction :10m, 20m, etc). It's blocked in instance but not since other time.

    Thank you for your work :)

  • michaelsp posted a comment Oct 30, 2016

    @Lijrwen: Go

    Unit position tracking was disabled by blizzard in patch 7.1. This status cannot work in instances anymore, only outside instances.

  • michaelsp removed a tag New Oct 31, 2016
  • michaelsp added a tag Fixed Oct 31, 2016
  • michaelsp closed issue Oct 31, 2016

To post a comment, please login or register a new account.