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 |
- 3 comments
- 3 comments
- Reply
- #3
yssaril Oct 08, 2009 at 17:40 UTC - 0 likeslatest version should take care of this problem if it persists reopen this ticket
- Reply
- #2
Netrox Oct 08, 2009 at 11:28 UTC - 0 likesproblem 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)
Webradio
- Reply
- #1
yssaril Oct 03, 2009 at 06:12 UTC - 0 likesinteresting problem not sure what i will do about it yet.