Bug in CP when testing on Beta

Found a bug with the CensusPlus UI Mod? Post it here!
Locked
User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Bug in CP when testing on Beta

Post by FuxieDK »

Using latest public version:

When logging in (first time atleast):

Code: Select all

1x CensusPlus\CensusButton.lua:55: attempt to index field 'Info' (a nil value)
CensusPlus\CensusButton.lua&#58;55&#58; in function <CensusPlus>

Locals&#58;
self = CensusButtonFrame &#123;
 0 = <userdata>
&#125;
event = "ADDON_LOADED"
arg1 = "CensusPlus"
arg2 = "nil"
arg3 = "nil"
arg4 = "nil"
&#40;*temporary&#41; = nil
&#40;*temporary&#41; = "CensusPlus"
&#40;*temporary&#41; = "CENSUSPLUS"
&#40;*temporary&#41; = "attempt to index field 'Info' &#40;a nil value&#41;"
init = false
PetBat_CPWin = false
When trying to take a Census:

Code: Select all

2x CensusPlus\CensusPlus-6.4.0.lua&#58;4047&#58; attempt to index local 'button' &#40;a nil value&#41;
CensusPlus\CensusPlus-6.4.0.lua&#58;4047&#58; in function `CensusPlus_UpdateView'
CensusPlus\CensusPlus-6.4.0.lua&#58;581&#58; in function <CensusPlus>
&#91;C&#93;&#58; in function `Show'
CensusPlus\CensusPlus-6.4.0.lua&#58;593&#58; in function `CensusPlus_Toggle'
CensusPlus\CensusButton.lua&#58;138&#58; in function <CensusPlus>

Locals&#58;
realmName = "Beta Leveling Realm 01"
stsrt = nil
_ = nil
_ = nil
conmemcount = 0
connected_members = ""
factionGroup = "Horde"
factionGName = "Horde"
realmKey = nil
guildKey = nil
guildRealmKey = nil
raceKey = nil
classKey = nil
levelKey = nil
levelSearch = nil
totalCharactersText = "Total Characters&#58; 0"
maxCount = 0
thisFactionRaces = <table> &#123;
 1 = "Orc"
 2 = "Undead"
 3 = "Tauren"
 4 = "Troll"
 5 = "Blood Elf"
 6 = "Goblin"
 7 = "Pandaren"
&#125;
numRaces = 7
maxCount = 0
thisFactionClasss = <table> &#123;
 1 = "Warrior"
 2 = "Paladin"
 3 = "Hunter"
 4 = "Rogue"
 5 = "Priest"
 6 = "Shaman"
 7 = "Mage"
 8 = "Warlock"
 9 = "Monk"
 10 = "Druid"
 11 = "Death Knight"
&#125;
numClasses = 11
maxCount = 0
logMaxCount = 0.69314718055995
&#40;for index&#41; = 101
&#40;for limit&#41; = 110
&#40;for step&#41; = 1
i = 101
height = 1
buttonName = "CensusPlusLevelBar101"
buttonEmptyName = "CensusPlusLevelBarEmpty101"
button = nil
emptyButton = nil
thisCount = 0
&#40;*temporary&#41; = <function> defined =&#91;C&#93;&#58;-1
&#40;*temporary&#41; = nil
&#40;*temporary&#41; = <userdata>
&#40;*temporary&#41; = <userdata>
&#40;*temporary&#41; = <userdata>
&#40;*temporary&#41; = nil
&#40;*temporary&#41; = nil
&#40;*temporary&#41; = "attempt to index local 'button' &#40;a nil value&#41;"
CPp = <table> &#123;
 TZWarningSent = false
 RaceSelected = 0
 AutoCensus = false
 Options_Holder = <table> &#123;
 &#125;
 VRealms = <table> &#123;
 &#125;
 CensusPlusManuallyPaused = false
 CensusPlusLocale = ""
 AutoStartText = "30 Auto-Start Disabled"
 AutoStartTrigger = 15
 EnableProfiling = false
 LastCensusRun = 1468672989
 InterfaceVersion = "Captain Placeholder"
 AutoStartTimer = 30
 IsCensusPlusInProgress = false
 LocaleSet = false
 FirstLoad = false
 LevelSelected = 0
 ConnectedRealmsButton = 0
 ClassSelected = 0
&#125;
g_AccumulateGuildTotals = nil
CensusPlus_PTR = false
g_VariablesLoaded = true
g_TotalCharacterXP = 0
g_TotalCount = 0
current_realm = 0
TotalsAccumulator = <function> defined @CensusPlus\CensusPlus.lua&#58;3322
CP_profiling_timerstart = 0
CensusPlus_Msg = <function> defined @CensusPlus\CensusPlus.lua&#58;331
GuildPredicate = <function> defined @CensusPlus\CensusPlus.lua&#58;3362
g_RaceCount = <table> &#123;
 1 = 0
 2 = 0
 3 = 0
 4 = 0
 5 = 0
 6 = 0
 7 = 0
&#125;
CensusPlus_ResetAccumulator = <function> defined @CensusPlus\CensusPlus.lua&#58;3418
CensusPlus_Accumulator = <function> defined @CensusPlus\CensusPlus.lua&#58;3402
g_AccumulatorCount = 0
CensusPlus_MAXBARHEIGHT = 128
g_RaceClassList = <table> &#123;
 Rogue = 14
 Orc = 24
 Troll = 26
 Pandaren = 33
 Death Knight = 30
 Hunter = 11
 Night Elf = 23
 Warlock = 15
 Warrior = 16
 Paladin = 18
 Shaman = 17
 Monk = 19
 Blood Elf = 29
 Mage = 12
 Gnome = 21
 Worgen = 32
 Dwarf = 20
 Druid = 10
 Draenei = 28
 Undead = 27
 Priest = 13
 Human = 22
 Tauren = 25
 Goblin = 31
&#125;
g_ClassCount = <table> &#123;
 1 = 0
 2 = 0
 3 = 0
 4 = 0
 5 = 0
 6 = 0
 7 = 0
 8 = 0
 9 = 0
 10 = 0
 11 = 0
&#125;
g_LevelCount = <table> &#123;
 1 = 0
 2 = 0
 3 = 0
 4 = 0
 5 = 0
 6 = 0
 7 = 0
 8 = 0
 9 = 0
 10 = 0
 11 = 0
 12 = 0
 13 = 0
 14 = 0
 15 = 0
 16 = 0
 17 = 0
 18 = 0
 19 = 0
 20 = 0
 21 = 0
 22 = 0
 23 = 0
 24 = 0
 25 = 0
 26 = 0
 27 = 0
 28 = 0
 29 = 0
 30 = 0
 31 = 0
 32 = 0
 33 = 0
 34 = 0
 35 = 0
 36 = 0
 37 = 0
 38 = 0
 39 = 0
 40 = 0
 41 = 0
 42 = 0
 43 = 0
 44 = 0
 45 = 0
 46 = 0
 47 = 0
 48 = 0
 49 = 0
 50 = 0
 51 = 0
 52 = 0
 53 = 0
 54 = 0
 55 = 0
 56 = 0
 57 = 0
 58 = 0
 59 = 0
 60 = 0
 61 = 0
 62 = 0
 63 = 0
 64 = 0
 65 = 0
 66 = 0
 67 = 0
 68 = 0
 69 = 0
 70 = 0
 71 = 0
 72 = 0
 73 = 0
 74 = 0
 75 = 0
 76 = 0
 77 = 0
 78 = 0
 79 = 0
 80 = 0
 81 = 0
 82 = 0
 83 = 0
 84 = 0
 85 = 0
 86 = 0
 87 = 0
 88 = 0
 89 = 0
 90 = 0
 91 = 0
 92 = 0
 93 = 0
 94 = 0
 95 = 0
 96 = 0
 97 = 0
 98 = 0
 99 = 0
 100 = 0
 101 = 0
 102 = 0
 103 = 0
 104 = 0
 105 = 0
 106 = 0
 107 = 0
 108 = 0
 109 = 0
 110 = 0
&#125;
MIN_CHARACTER_LEVEL = 20
LATEST_XPAC_LIMIT = 100
Doing census mainly on Draenor; Raluf - Nimsay - Lusmo - Quixx - Sosyan - Garthog - Trubin - Zalistra - Zesmi and Djaang

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

Congratulations
You have determined that the current code won't work with version 7 WoW. :shock:

I guess I will need to do an update...
oh wait...
What have I been doing for the last six months? :roll:

Locked