Dear visitor, welcome to Gaming Insight Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Attempt to index field 'stats' (a nil value) (Waiting)
4.75-r5456-alpha
Before and after combat with the Bear boss.
Date: 2011-03-20 12:26:08
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\DBM-Core\DBM-Core.lua line 1945:
attempt to index field 'stats' (a nil value)
Debug:
[C]: ?
DBM-Core\DBM-Core.lua:1945: StartCombat()
DBM-Core\DBM-Core.lua:1862:
DBM-Core\DBM-Core.lua:1857
(tail call): ?
DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
Date: 2011-03-20 12:28:29
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\DBM-Core\DBM-Core.lua line 2035:
attempt to perform arithmetic on field 'pull' (a nil value)
Debug:
[C]: ?
DBM-Core\DBM-Core.lua:2035:
DBM-Core\DBM-Core.lua:2004
(tail call): ?
DBM-Core\DBM-Core.lua:2101: OnMobKill()
DBM-Core\DBM-Core.lua:2108:
)
DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
(tail call): ?
(tail call): ?
DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
Before and after combat with the Bear boss.
Date: 2011-03-20 12:26:08
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\DBM-Core\DBM-Core.lua line 1945:
attempt to index field 'stats' (a nil value)
Debug:
[C]: ?
DBM-Core\DBM-Core.lua:1945: StartCombat()
DBM-Core\DBM-Core.lua:1862:
DBM-Core\DBM-Core.lua:1857
(tail call): ?
DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
Date: 2011-03-20 12:28:29
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\DBM-Core\DBM-Core.lua line 2035:
attempt to perform arithmetic on field 'pull' (a nil value)
Debug:
[C]: ?
DBM-Core\DBM-Core.lua:2035:
DBM-Core\DBM-Core.lua:2004
(tail call): ?
DBM-Core\DBM-Core.lua:2101: OnMobKill()
DBM-Core\DBM-Core.lua:2108:
)DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
(tail call): ?
(tail call): ?
DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
Re: Zul'aman 4.1 bug
Cat boss pull:
Date: 2011-03-20 13:06:32
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\DBM-Core\DBM-Core.lua line 1945:
attempt to index field 'stats' (a nil value)
Debug:
[C]: ?
DBM-Core\DBM-Core.lua:1945: StartCombat()
DBM-Core\DBM-Core.lua:1862:
DBM-Core\DBM-Core.lua:1857
(tail call): ?
DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
Date: 2011-03-20 13:10:16
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\DBM-Core\DBM-Core.lua line 2035:
attempt to perform arithmetic on field 'pull' (a nil value)
Debug:
[C]: ?
DBM-Core\DBM-Core.lua:2035:
DBM-Core\DBM-Core.lua:2004
(tail call): ?
DBM-Core\DBM-Core.lua:2101: OnMobKill()
DBM-Core\DBM-Core.lua:2108:
)
DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
(tail call): ?
(tail call): ?
DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
Date: 2011-03-20 13:06:32
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\DBM-Core\DBM-Core.lua line 1945:
attempt to index field 'stats' (a nil value)
Debug:
[C]: ?
DBM-Core\DBM-Core.lua:1945: StartCombat()
DBM-Core\DBM-Core.lua:1862:
DBM-Core\DBM-Core.lua:1857
(tail call): ?
DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
Date: 2011-03-20 13:10:16
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\DBM-Core\DBM-Core.lua line 2035:
attempt to perform arithmetic on field 'pull' (a nil value)
Debug:
[C]: ?
DBM-Core\DBM-Core.lua:2035:
DBM-Core\DBM-Core.lua:2004
(tail call): ?
DBM-Core\DBM-Core.lua:2101: OnMobKill()
DBM-Core\DBM-Core.lua:2108:
)DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
(tail call): ?
(tail call): ?
DBM-Core\DBM-Core.lua:331:
DBM-Core\DBM-Core.lua:327
Re: Zul'aman 4.1 bug
|
|
Source code |
1 2 3 4 5 6 7 8 9 |
savedStats[v.id] = savedStats[v.id] or {
normalKills = 0, normalPulls = 0, heroicKills = 0, heroicPulls = 0, normal25Kills = 0, normal25Pulls = 0, heroic25Kills = 0, heroic25Pulls = 0
}
if not savedStats[v.id].normalPulls then
savedStats[v.id] = {
normalKills = 0, normalPulls = 0, heroicKills = 0, heroicPulls = 0, normal25Kills = 0, normal25Pulls = 0, heroic25Kills = 0, heroic25Pulls = 0
}
end
v.stats = savedStats[v.id]
|
According to the code the stats field indeed should never be able to be nil.
- If there were already saved stats .. it takes the table from the savedVariables file.
- If the saved stats table is corrupt (table exists, but has no information) .. it creates a new table
- If there is no saved stats table .. it creates a new table
Requesting combatlogs + chatlogs (how to @ http://ninjapull.de/forumBridge/index.php?f=1&t=2691&p=31971&rb_v=viewtopic#p9577)
Re: Zul'aman 4.1 bug
Quoted from ""Arta""
![]()
Source code
1 2 3 4 5 6 7 8 9savedStats[v.id] = savedStats[v.id] or { normalKills = 0, normalPulls = 0, heroicKills = 0, heroicPulls = 0, normal25Kills = 0, normal25Pulls = 0, heroic25Kills = 0, heroic25Pulls = 0 } if not savedStats[v.id].normalPulls then savedStats[v.id] = { normalKills = 0, normalPulls = 0, heroicKills = 0, heroicPulls = 0, normal25Kills = 0, normal25Pulls = 0, heroic25Kills = 0, heroic25Pulls = 0 } end v.stats = savedStats[v.id]
According to the code the stats field indeed should never be able to be nil.
- If there were already saved stats .. it takes the table from the savedVariables file.
- If the saved stats table is corrupt (table exists, but has no information) .. it creates a new table
- If there is no saved stats table .. it creates a new table
Note that it doesn't handle a possible corruption entirely correct; a table could lose all the data except for "normalPulls" but that is very unlikely and not the case here (as the error message indicates stats being nil)
Re: Zul'aman 4.1 bug
could this be caused by mods orignially thinking they had 4 modes (or 2) but then corrected to know the propper number? several cata mods were flagged wrong, such as baradin hold flagged as having 4 modes, but BWD flagged as having only 2, which is reversed, baradin hold has 2, and BWD has 4. so i updated toc files, but the wtf files user might have migh be missing modes (or have too many).
Re: Zul'aman 4.1 bug
Got the same error while trying to open the GUI
DBM 4.75 Alpha
Message: ..\AddOns\DBM-GUI\DBM-GUI.lua line 1902:
attempt to index field 'stats' (a nil value)
[C]: ?
DBM-GUI\DBM-GUI.lua:1902:
DBM-GUI\DBM-GUI.lua:1866
DBM-GUI\DBM-GUI.lua:2019:
UpdateModList() DBM-GUI\DBM-GUI.lua:64:
DBM-GUI\DBM-GUI.lua:52
(tail call): ?
DBM-Core\DBM-Core.lua:1083:
DBM-Core\DBM-Core.lua:1081
Talked with Omegal in game, he said that it might be a corrupted installation. What can be dangerous is that I got the install with curse client and if it is corrupting the installations you might have a lot of people with corrupted installations due to Curse Client.
DBM 4.75 Alpha
Message: ..\AddOns\DBM-GUI\DBM-GUI.lua line 1902:
attempt to index field 'stats' (a nil value)
[C]: ?
DBM-GUI\DBM-GUI.lua:1902:
DBM-GUI\DBM-GUI.lua:1866
DBM-GUI\DBM-GUI.lua:2019:
UpdateModList() DBM-GUI\DBM-GUI.lua:64:
DBM-GUI\DBM-GUI.lua:52
(tail call): ?
DBM-Core\DBM-Core.lua:1083:
DBM-Core\DBM-Core.lua:1081
Talked with Omegal in game, he said that it might be a corrupted installation. What can be dangerous is that I got the install with curse client and if it is corrupting the installations you might have a lot of people with corrupted installations due to Curse Client.