Grid2

492 - 7.1 Status Direction Error

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.

User When Change
Stanzilla Oct 26, 2016 at 20:36 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of michaelspain michaelspain Oct 30, 2016 at 16:29 UTC - 0 likes

    @Lijrwen: Go

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

  • Avatar of Lijrwen Lijrwen Oct 29, 2016 at 15:14 UTC - 0 likes

    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 :)

  • 2 comments

Facts

Last updated
Oct 29, 2016
Reported
Oct 26, 2016
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees