Mylune's Champions

2 - Non blocking LUA error

What steps will reproduce the problem?
Error occurs two time while playing : during a pet battle and on a mount short after using a portal.

NB : I use PetLeash to cast a random pet when the "old" one disappeared (special emotes or after a teleport, etc..)

What version of the product are you using?
r42

Do you have an error log of what happened?

Date: 2013-02-12 16:11:12
ID: 4
Error occured in: Global
Count: 1
Message: ..\AddOns\MylunesChampions\main.lua line 231:
   attempt to compare nil with number
Debug:
   MylunesChampions\main.lua:231 Debug()
   MylunesChampions\util_mounts.lua:147 GetCurrentMount()
   MylunesChampions\main.lua:433 ?()
   ...e\AddOns\PetLeash\Libs\AceTimer-3.0\AceTimer-3.0.lua:39
      ...e\AddOns\PetLeash\Libs\AceTimer-3.0\AceTimer-3.0.lua:36
Locals:
self = <table> {
 defaults = <table> {
 }
 GetMountSex = <function> defined @Interface\AddOns\MylunesChampions\util_mounts.lua:175
 EnableModule = <function> defined @Interface\AddOns\EmoteCenter\libs\AceAddon-3.0\AceAddon-3.0.lua:348
 LG = <table> {
 }
 CancelTimer = <function> defined @Interface\AddOns\PetLeash\Libs\AceTimer-3.0\AceTimer-3.0.lua:158
 IterateEmbeds = <function> defined @Interface\AddOns\EmoteCenter\libs\AceAddon-3.0\AceAddon-3.0.lua:458
 SecureHookScript = <function> defined @Interface\AddOns\Grid\Libs\AceHook-3.0\AceHook-3.0.lua:413
 GetEmotes = <function> defined @Interface\AddOns\MylunesChampions\main.lua:499
 MountEmote = <function> defined @Interface\AddOns\MylunesChampions\util_mounts.lua:98
 SecureHook = <function> defined @Interface\AddOns\Grid\Libs\AceHook-3.0\AceHook-3.0.lua:339
 RawHookScript = <function> defined @Interface\AddOns\Grid\Libs\AceHook-3.0\AceHook-3.0.lua:398
 TimeLeft = <function> defined @Interface\AddOns\PetLeash\Libs\AceTimer-3.0\AceTimer-3.0.lua:184
 codename = "Rise of the Critters"
 Printf = <function> defined @Interface\AddOns\Ceaphyrels_AutoAcceptInvite\Libs\AceConsole-3.0\AceConsole-3.0.lua:69
 configOptionsTablePersonalities = <table> {
 }
 SetDefaultModulePrototype = <function> defined @Interface\AddOns\EmoteCenter\libs\AceAddon-3.0\AceAddon-3.0.lua:425
 SetDefaultModuleLibraries = <function> defined @Interface\AddOns\EmoteCenter\libs\AceAddon-3.0\AceAddon-3.0.lua:383
 PersTable = <table> {
 }
 db = <table> {
 }
 defaultModuleState = true
 baseName = "MylunesChampions"
 IsEnabled = <function> defined @Interface\AddOns\EmoteCenter\libs\AceAddon-3.0\AceAddon-3.0.lua:467
 OnConfigUpdate = <function> defined @Interface\AddOns\MylunesChampions\main.lua:328
 ScheduleTimer = <function> defined @Interface\AddOns\PetLeash\Libs\AceTimer-3.0\AceTimer-3.0.lua:105
 DisableModule = <function> defined @Interface\AddOns\EmoteCenter\libs\AceAddon-3.0\AceAddon-3.0.lua:366
 version = "0.7 (r36)"
 OnDoEmote = <function> defined @Interface\AddOns\MylunesChampions\main.lua:347
 LP = <table> {
 }
 OnInitialize = <function> defined @Interface\AddOns\MylunesChampions\main.lua:239
 RegisterMessage = <function> defined @Interface\AddOns\Ara_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:118
 UnregisterMessage = <function> defined @Interface\AddOns\Ara_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:181
 lastRandomEmote = 96889.294
 PetEmote = <function> defined @Interface\AddOns\MylunesChampions\util_pets.lua:77
 hooks = <table> {
 }
 configOptionsTableCore = <table> {
 }
 OnRandomEmote = <function> defined @Interface\AddOns\MylunesChampions\main.lua:424
 GetRandomPetEmoteReply = <function> defined @Interface\AddOns\MylunesChampions\util_pets.lua:47
 InitConfig = <function> defined @Interface\AddOns\MylunesChampions\config.lua:1303
 GetArgs = <function> defined @Interface\AddOns\Ceaphyrels_AutoAcceptInvite\Libs\AceConsole-3.0\AceConsole-3.0.lua:144
 lastEmoteReply = 96889.294
 GetPetEmotes = <function> defined @Interface\AddOns\MylunesChampions\util_pets.lua:9
 SetEnabledState = <function> defined @Interface\AddOns\EmoteCenter\libs\AceAddon-3.0\AceAddon-3.0.lua:440
 Hook = <function> defined @Interface\AddOns\Grid\Libs\AceHook-3.0\AceHook-3.0.lua:277
 enabledState = true
 RebuildConfig = <function> defined @Interface\AddOns\MylunesChampions\config.lua:1351
 RegisterEvent = <function> defined @Interface\AddOns\Ara_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:118
 GetMountPersonality = <function> defined @Interface\AddOns\MylunesChampions\util_mounts.lua:160
 GetCurrentCompanion = <function> defined @Interface\AddOns\MylunesChampions\util_companions.lua:125
 GetCurrentMount = <function> defined @Interface\AddOns\MylunesChampions\util_mounts.lua:140
 GetPetSex = <function> defined @Interface\AddOns\MylunesChampions\util_pets.lua:147
 IterateModules = <function> defined @Interface\AddOns\EmoteCenter\libs\AceAddon-3.0\AceAddon-3.0.lua:453
 RawHook = <function> defined @Interface\AddOns\Grid\Libs\AceHook-3.0\AceHook-3.0.lua:316
 emoteLocales = <table> {
 }
 configOptionsTablePets = <table>

Please provide any additional information below.
Next emotes seems to be said as expected once I could invoke a vanity pet.

User When Change
nyyr Feb 12, 2013 at 18:22 UTC
Khisanth Feb 12, 2013 at 15:35 UTC Create

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

  • 1 comment
  • Avatar of nyyr nyyr Feb 12, 2013 at 18:22 UTC - 0 likes

    Thanks! Minor issue indeed, but non-the-less fixed! ;-)

  • 1 comment

Facts

Last updated
Feb 12, 2013
Reported
Feb 12, 2013
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees

  • Avatar of nyyr
    • Manager
    • Author