Mounted

30 - error in MacroTextParser.lua

What steps will reproduce the problem?
1. get 1 or more mounts
2. delete char
3. create new char with exactly the same name
4. login

What is the expected output? What do you see instead?
Expected: empty mounted macro / no error
see: error :)

What version of the product are you using?
2.1.2

Do you have an error log of what happened?
[2009/10/02 23:05:18-2988-x1]: Mounted-v2.1.2\MacroTextParser.lua:97 bad argument #1 to 'pairs' (table expected, got nil)
Mounted-v2.1.2\MacroTextParser.lua:97 in function `GetRandomMountFromTable'
Mounted-v2.1.2\MacroTextParser.lua:73 in function `GetMount'
Mounted-v2.1.2\MacroTextParser.lua:30 in function `ParseMacro'
Mounted-v2.1.2\Core.lua:322 in function `GenerateMacro'
Mounted-v2.1.2\Core.lua:220 in function `ACHIEVEMENT_EARNED'
Mounted-v2.1.2\Core.lua:151 in function `ProcessDB'
Mounted-v2.1.2\Core.lua:111 in function <Interface\AddOns\Mounted\Core.lua:43
(tail call): ?:

User When Change
yssaril Oct 08, 2009 at 17:41 UTC Changed status from Accepted to Fixed
yssaril Oct 03, 2009 at 06:12 UTC Changed status from Waiting to Accepted
yssaril Oct 03, 2009 at 06:12 UTC Changed assigned to from None to yssaril
yssaril Oct 03, 2009 at 06:12 UTC Changed assigned to from yssaril to None
yssaril Oct 03, 2009 at 06:12 UTC Changed status from New to Waiting
Netrox Oct 02, 2009 at 21:17 UTC Create

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

  • 3 comments
  • Avatar of yssaril yssaril Oct 08, 2009 at 17:40 UTC - 0 likes

    latest version should take care of this problem if it persists reopen this ticket

    Last edited Oct 08, 2009 by yssaril
  • Avatar of Netrox Netrox Oct 08, 2009 at 11:28 UTC - 0 likes

    problem continues in a funny way :D

    my mounted wants to use Black Hawkstrider mount :) had that with my old char :)

    maybe you could add a race/faction test at an early point of code and if race/faction changed purge mount db (maybe also if saved lvl > current lvl :D)

  • Avatar of yssaril yssaril Oct 03, 2009 at 06:12 UTC - 0 likes

    interesting problem not sure what i will do about it yet.

  • 3 comments

Facts

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