4 - MBB /reloadui resetting position
What steps will reproduce the problem?
1. /reloadui
2.
3.
What is the expected output? What do you see instead?
I move the MBB icon to the bottom of the screen. When /reloadui, the button resets to the default location in the middle of the screen. You have to keep moving it everytime.
What version of the product are you using?
r52
Do you have an error log of what happened?
Please provide any additional information below.
Please fix it! Also, the Peggle addon minimap button creates an error along with it resetting to the default location. When Peggle is disabled, MBB simply resets to default location without the error.
| User | When | Change |
|---|---|---|
| Blastermaster | Sun, 23 Aug 2009 22:27:08 | Create |
- 5 comments
- 5 comments
Facts
- Reported on
- 23 Aug 2009
- Status
- New - Issue has not had initial review yet.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- #5
Blastermaster Mon, 28 Dec 2009 06:22:58I just tried this workaround, works good, for now at least..... I looked thru the LUA code, there isn't any "lock" feature at all..... and what concerns me are the lines after the [ButtonPos] say "if not, MBB_DefaultOptions" or something.... which leads me to believe its coded wrong maybe? I have no clue what i'm doing, but it would be kinda cool if this was fixed..... =D
- #4
Blastermaster Sat, 26 Dec 2009 23:52:08I knew I wasn't the only one..... Finally someone else that has the same issue that came forward... Love the mod, but it's getting to the point where I can't figure out a workaround.... I may have to switch mods..... really dont want to though =/
- #3
kayeich Wed, 23 Dec 2009 20:45:22He's not the only one, actually. MBB also resets for me, and it also does this reset to the center of the screen just by logging in, not just through /reloadui. So I was having to drag the button every single time I logged on (VERY annoying).
I somewhat 'fixed' it by manually going into the mbb.lua files in both the addons folder and the wtf saved variables folders (annoying to do this for every character), and manually changed the coordinates.
Especifically in the addons directory, it's the lines: MBB_DefaultOptions = { ["ButtonPos"] = {x, y},
For the wtf mbb.lua files, it's the lines: ["ButtonPos"] = { x,
[1] y,[2] },...where the x, y are the coordinates you want.
After doing this, it no longer resets position if I /reloadui or log on. Or rather, it -does- reset, it just resets to the spot I want it in. It's a brute fix, but hey, it works.
Note, issue with this 'fix' is that if you drag the button manually in-game even just a little bit, your reloadui issue starts up again until you fix the coordinates in the wtf folder. It also doesn't reset to exactly the center of the screen, but it does reset somewhere close to it. Why it continues to reset to the center of the screen even though the 'default' is supposed to be elsewhere, I have no idea.
Would be nice if there was a lock feature so the MBB button isn't accidently dragged and setting off whatever is causing this messy error. I don't know coding well enough to actually find what's causing this error, and just having a lock feature allows this brute fix to work well enough.
- #2
hsram Sat, 12 Dec 2009 09:39:12i think you're the only one with this issue.
- #1
Blastermaster Sat, 12 Dec 2009 02:12:15This is still an issue