Mounted

28 - Level 16-19 Druid (& shaman?) error

What steps will reproduce the problem?
1. Log in a level 16-19 druid (possibly shaman), enable isMoving and set macros for ground form (or ghost wolf, instant)
2. Don't un-set the normal (non-moving) macro options

What is the expected output? What do you see instead?
For hitting the keybind to work while moving and it does, but it throws error spam trying to parse the non-moving mount macros.

What version of the product are you using?
2.1.1

Do you have an error log of what happened?

[2009/09/30 11:11:31-4883-x1]: Mounted-v2.1.1\MacroTextParser.lua:97 bad argument #1 to 'pairs' (table expected, got nil)
Mounted-v2.1.1\MacroTextParser.lua:97 in function `GetRandomMountFromTable'
Mounted-v2.1.1\MacroTextParser.lua:73 in function `GetMount'
Mounted-v2.1.1\MacroTextParser.lua:30 in function `ParseMacro'
Mounted-v2.1.1\Core.lua:322 in function `GenerateMacro'
Mounted-v2.1.1\Options.lua:179 in function <Mounted\Options.lua:170
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceConfigDialog-3.0-34:786: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:605
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[3]":9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?:
AceGUI-3.0-25 (Ace3):305: in function `Fire'
...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:49 in function <...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:45

  ---

[2009/09/30 11:11:34-4883-x3]: Mounted-v2.1.1\MacroTextParser.lua:97 bad argument #1 to 'pairs' (table expected, got nil)
Mounted-v2.1.1\MacroTextParser.lua:97 in function `GetRandomMountFromTable'
Mounted-v2.1.1\MacroTextParser.lua:73 in function `GetMount'
Mounted-v2.1.1\MacroTextParser.lua:30 in function `ParseMacro'
Mounted-v2.1.1\Core.lua:322 in function `GenerateMacro'
Mounted-v2.1.1\Options.lua:224 in function <Mounted\Options.lua:222
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceConfigDialog-3.0-34:786: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:605
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[3]":9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?:
AceGUI-3.0-25 (Ace3):305: in function `Fire'
...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:426 in function <...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:417
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[3]":9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?:
AceGUI-3.0-25 (Ace3):305: in function `Fire'
...3\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:333 in function <...3\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:328

  ---

[2009/09/30 11:13:00-4883-x27]: Mounted-v2.1.1\MacroTextParser.lua:97 bad argument #1 to 'pairs' (table expected, got nil)
Mounted-v2.1.1\MacroTextParser.lua:97 in function `GetRandomMountFromTable'
Mounted-v2.1.1\MacroTextParser.lua:73 in function `GetMount'
Mounted-v2.1.1\MacroTextParser.lua:30 in function `ParseMacro'
Mounted-v2.1.1\Core.lua:322 in function `GenerateMacro'
Mounted-v2.1.1\Core.lua:30 in function <Mounted\Core.lua:26
Mounted-v2.1.1\Core.lua:233 in function <Mounted\Core.lua:224

Locals:
self = <unnamed> {
 ACHIEVEMENT_EARNED = <function> @ Mounted\Core.lua:191
 optframe = <table> {}
 mountSetOptions = <table> {}
 UpdateMainOptions = <function> @ Mounted\Options.lua:232
 RegisterModuleOptions = <function> @ Mounted\Options.lua:757
 macroSetOrder = <table> {}
 MacroOptions = <table> {}
 OnUpdate = <function> @ Mounted\Core.lua:224
 ReverseLocalizedIDs = <table> {}
 IsInSet = <function> @ Mounted\Options.lua:611
 OpenMounSetOptions = <function> @ Mounted\Options.lua:601
 MountScan = <function> @ Mounted\Core.lua:256
 UNIT_SPELLCAST_SUCCEEDED = <function> @ Mounted\Core.lua:244
 SetPriority = <function> @ Mounted\Options.lua:304
 MountExists = <function> @ Mounted\Core.lua:281
 COMPANION_LEARNED = <function> @ Mounted\Core.lua:250
 MaxAirSpeed = 0
 state = <table> {}
 MaxGroundSpeed = 0
 UPDATE_WORLD_STATES = <function> @ Mounted\Core.lua:173
 UpdateMountOptions = <function> @ Mounted\Options.lua:643
 OrderMounts = <table> {}
 SPELL_UPDATE_USABLE = <function> @ Mounted\Core.lua:173
 LocalizedIDs = <table> {}
 GetMount = <function> @ Mounted\MacroTextParser.lua:41
 GetPriority = <function> @ Mounted\Options.lua:295
 db = <table> {}
 ApplyMacro = <function> @ Mounted\Core.lua:330
 GetFastest = <function> @ Mounted\MacroTextParser.lua:80
 GenerateMacro = <function> @ Mounted\Core.lua:309
 ProcessDB = <function> @ Mounted\Core.lua:147
 LocalizeIDs = <function> @ Mounted\Core.lua:292
 LEARNED_SPELL_IN_TAB = <function> @ Mounted\Druid.lua:6
 ParseMacro = <function> @ Mounted\MacroTextParser.lua:23
 PLAYER_REGEN_ENABLED = <function> @ Mounted\Core.lua:164
 MountOptions = <table> {}
 resevedMacroName = <table> {}
 OpenMacroEditor = <function> @ Mounted\Options.lua:778
 MountEditor = <table> {}
 mountSpeeds = <table> {}
 MainOption = <table> {}
 GetMountType = <function> @ Mounted\MountTypeParser.lua:48
 ZONE_CHANGED_NEW_AREA = <function> @ Mounted\Core.lua:185
 GetMountFromIDorTable = <function> @ Mounted\MacroTextParser.lua:142
 CloseCustomContainer = <function> @ Mounted\Options.lua:19
 PLAYER_LOGIN = <function> @ Mounted\Core.lua:43
 defaultmacros = <table> {}
 OpenCustomContainer = <function> @ Mounted\Options.lua:13
 ZONE_CHANGED = <function> @ Mounted\Core.lua:185
 UNIT_SPELLCAST_START = <function> @ Mounted\Core.lua:238
 LoadDruid = <function> @ Mounted\Druid.lua:2
 0 = <userdata>
 GetRandomMountFromTable = <function> @ Mounted\MacroTextParser.lua:90
 ZONE_CHANGED_INDOORS = <function> @ Mounted\Core.lua:185
 PLAYER_REGEN_DISABLED = <function> @ Mounted\Core.lua:157
}
mountType = "ground"
mountSpeed = 0
tag = "gf"
SetName = nil
mounts = <table> {
}
size = 0
lastmountID = nil
mounts_N_sets = <table> {
}
lastmount = <table> {
}

  ---

Please provide any additional information below.

Un-setting the non-moving macros (so that it never tries to summon a ground mount while you don't have one) stops the errors from happening.

User When Change
yssaril Oct 01, 2009 at 17:05 UTC Changed status from Replied to Fixed
Veyska Oct 01, 2009 at 16:48 UTC Changed status from Waiting to Replied
yssaril Oct 01, 2009 at 05:11 UTC Changed status from New to Waiting
Veyska Oct 01, 2009 at 03:22 UTC Create

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

  • 4 comments
  • Avatar of yssaril yssaril Oct 01, 2009 at 17:05 UTC - 0 likes

    good to hear am gonna close this ticket for now then just reopen it or make a new one if anything else crops up

  • Avatar of Veyska Veyska Oct 01, 2009 at 16:48 UTC - 0 likes

    Had an error pop up on log-in with the first alpha you released (v2.1.1-1-g9faed3d) and shifting wouldn't work until I re-toggled isMoving. Noticed the newest alpha, installed and reloaded UI and logged in with no errors and travel form works with no need to re-toggle isMoving. Set the ground and water mount macros back to their defaults and everything seems to be working as it ought to be, no error spam any time I think about even looking at the game. Swimming works as well.

    [2009/10/01 12:34:12-4900-x1]: Mounted-v2.1.1-1-g9faed3d\Druid.lua:16: attempt to compare nil with number
    Mounted-v2.1.1-1-g9faed3d\Druid.lua:67: in function `LoadDruid'
    Mounted-v2.1.1-1-g9faed3d\Core.lua:149: in function `ProcessDB'
    Mounted-v2.1.1-1-g9faed3d\Core.lua:111: in function <Mounted\Core.lua:43>
    (tail call): ?:

    <snipped long error text segment, can post if you'd like but the error isn't happening in the most recent alpha v2.1.1-3-g2b21a6c>

  • Avatar of yssaril yssaril Oct 01, 2009 at 05:10 UTC - 0 likes

    also try the latest alpha i found one thing that could have been producing errors

  • Avatar of yssaril yssaril Oct 01, 2009 at 04:48 UTC - 0 likes

    can you attach your Mounted SV file please (not 100% sure whats going on yet but the SV file should help)

    Last edited Oct 01, 2009 by yssaril
  • 4 comments

Facts

Last updated
Oct 01, 2009
Reported
Oct 01, 2009
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