Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(3 Kb)
Download
Updated: 10-25-14 09:15 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-25-14 09:15 AM
Created:01-29-09 08:47 AM
Downloads:10,971
Favorites:109
MD5:

LootRollMover  Popular! (More than 5000 hits)

Version: v3.4
by: Xruptor [More]

A simple mod that allows you to move the default Blizzard Loot Roll Frames. (That is the box that popups when you loot something that has a green or greater quality.) What this mod does, is provide you with an anchor frame that you can move around. Once you move the anchor frame, simply right click it and your loot roll frames (GroupLoot) will now display at the anchor position.

If your looking for an addon to move the Achievement/Dungeon/Guild Challenge Alert frames then take a look at xanAchievementMover.

I got tired of having the loot roll frames go over some of my actionbars and certain windows. So I made this addon to enable it to be moved.

How to Use:
Type /lrm for the menu

/lrm show - Show the moveable anchor frame
/lrm reset - reset the anchor frame to the default center of the screen.
/lrm scale # - Set the scale of the Loot Frames (Default 1)

For the scale you may want to use decimals (ex. 1.4, 1.3, 1.8, etc..)


Anchor Position is saved globally for all toons on your account.



You can view Alpha Builds at my Github tracker.

v3.4
-Toc Update for 6.0

v3.3
-Updated toc to 5.2
-Added a small fix for ignored UI elements on the WOW client.

v3.2
-Updated frame positioning to be one right on top of each other, like it used to be.
-Frames now properly show up where they are supposed to and don't randomly wander.
-Changed to hooksecure functions to capture loot events and modify after it's been called.

v3.1
-Fixed an issue with resetting frames.

v3.0
-Fixed the issues that were preventing the addon from functioning properly in Mists of Panderia.
-New loot frames are now supported.
-Changed the way the frames are hooked for positioning.

v2.8
-Updated for Mists of Panderia patch 5.01

v2.6
-Toc update for patch 4.3

v2.5
-Updated for Firelands.
-YES I'm back to playing WOW, expect updates to all my addons.

v2.4:
-Updated TOC for patch 4.1

Version 2.3:
-Some people were having issues with the addon
-The code has been rewritten
-Changed the way the addon loads
-The addon show now properly accept slash commands (ENGLISH ONLY)

Version 2.2:
-Testing the wowinterface GIT repo ;)

Version 2.0:
-Updated to work with patch 4.0.
-Special thanks to Galvin from wowinterface.com for the updates :)

Version 1.8:
-Updated the scaling function to scale the group windows. Apparently only the anchor was being scaled and the group windows weren't.

Version 1.7:
-Added a slash command to set the scale of the lootframe.
/lrm scale # - Set the scale of the Loot Frames (Default 1)


Version 1.6:
-Updated .toc for 3.3

Version 1.5:
Removed dependency on Dongle. Changed the way the frames are stored. They are no longer stored on a character basis. Frame position is now stored globally for all characters.
Optional Files (0)


Archived Files (17)
File Name
Version
Size
Author
Date
v3.3
3kB
Xruptor
03-13-13 05:24 PM
v3.2
3kB
Xruptor
10-08-12 08:08 PM
v3.1
3kB
Xruptor
10-06-12 07:43 AM
v3.0
3kB
Xruptor
10-01-12 08:10 PM
v2.8
2kB
Xruptor
09-24-12 06:08 PM
v2.6
2kB
Xruptor
11-29-11 03:14 PM
v2.5
2kB
Xruptor
10-24-11 09:45 AM
2.4
2kB
Xruptor
05-03-11 06:09 AM
2.3
2kB
Xruptor
01-15-11 06:56 PM
2.3
2kB
Xruptor
01-10-11 08:31 AM
2.2
2kB
Xruptor
01-08-11 02:40 PM
2.0
2kB
Xruptor
10-12-10 07:35 AM
1.8
2kB
Xruptor
01-30-10 07:22 AM
1.7
2kB
Derkyle
01-04-10 11:23 AM
1.6
2kB
Derkyle
01-04-10 07:46 AM
1.5
2kB
Derkyle
04-27-09 06:39 AM
1.0
12kB
Derkyle
01-29-09 08:47 AM


Post A Reply Comment Options
Unread 01-09-11, 04:36 PM  
penpen002
A Defias Bandit
 
penpen002's Avatar

Forum posts: 2
File comments: 29
Uploads: 0
After the update I can no longer move the thing.

Message: Interface\AddOns\lootrollmover\LootRollMover.lua:68: attempt to index global 'LootRollMoverAnchor_Frame' (a nil value)
Time: 01/09/11 17:35:55
Count: 4
Stack: Interface\AddOns\lootrollmover\LootRollMover.lua:68: in function `AnchorToggle'
Interface\AddOns\lootrollmover\LootRollMover.lua:210: in function `?'
Interface\FrameXML\ChatFrame.lua:4126: in function <Interface\FrameXML\ChatFrame.lua:4074>
[C]: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3737: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3775: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: self = <table> {
DrawGUI = <function> defined @Interface\AddOns\lootrollmover\LootRollMover.lua:81
AnchorToggle = <function> defined @Interface\AddOns\lootrollmover\LootRollMover.lua:67
Enable = <function> defined @Interface\AddOns\lootrollmover\LootRollMover.lua:33
LoadPositionHook = <function> defined @Interface\AddOns\lootrollmover\LootRollMover.lua:172
Print = <function> defined @Interface\AddOns\lootrollmover\LootRollMover.lua:49
AnchorReset = <function> defined @Interface\AddOns\lootrollmover\LootRollMover.lua:75
SetupDB = <function> defined @Interface\AddOns\lootrollmover\LootRollMover.lua:6
version = "2.2"
RestoreLayout = <function> defined @Interface\AddOns\lootrollmover\LootRollMover.lua:151
SaveLayout = <function> defined @Interface\AddOns\lootrollmover\LootRollMover.lua:130
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'LootRollMoverAnchor_Frame' (a nil value)"
penpen002 is offline Report comment to moderator  
Reply With Quote
Unread 01-09-11, 03:05 PM  
phoenixcrash
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Error on /lrm show

/lrm seems to work find showing me the commands that is needed to use the addon but if I use any other commands, it doesn't seem to work.

Below is the error I'm getting.

1x lootrollmover-2.2\LootRollMover.lua:68: attempt to index global 'LootRollMoverAnchor_Frame' (a nil value)
lootrollmover-2.2\LootRollMover.lua:210: in function `value'
Interface\FrameXML\ChatFrame.lua:4147: in function `ChatEdit_ParseText':
Interface\FrameXML\ChatFrame.lua:3737: in function `ChatEdit_SendText':
Interface\FrameXML\ChatFrame.lua:3775: in function `ChatEdit_OnEnterPressed':
<string>:"*:OnEnterPressed":1: in function <[string "*:OnEnterPressed"]:1>

Locals:
cmd = "show"
a = 1
b = 4
c = "show"
LootRollMover = <table> {
DrawGUI = <function> @ lootrollmover\LootRollMover.lua:81:
AnchorToggle = <function> @ lootrollmover\LootRollMover.lua:67:
Enable = <function> @ lootrollmover\LootRollMover.lua:33:
LoadPositionHook = <function> @ lootrollmover\LootRollMover.lua:172:
Print = <function> @ lootrollmover\LootRollMover.lua:49:
AnchorReset = <function> @ lootrollmover\LootRollMover.lua:75:
SetupDB = <function> @ lootrollmover\LootRollMover.lua:6:
version = "2.2"
RestoreLayout = <function> @ lootrollmover\LootRollMover.lua:151:
SaveLayout = <function> @ lootrollmover\LootRollMover.lua:130:
}

---

Thought this would help you find the problem.
phoenixcrash is offline Report comment to moderator  
Reply With Quote
Unread 01-09-11, 11:19 AM  
Gold3n
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Addon no longer works for me after updates yesterday.

Although I have no issues with any other addon this one won't allow me to even enter the command "/lrm show" or scale or reset.

I don't get an error it just simple won't enter in my chat box. Although /lrm works fine.
Gold3n is offline Report comment to moderator  
Reply With Quote
Unread 01-04-11, 09:07 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 583
Uploads: 37
Originally posted by Poreo
In the case of raids and multiple rolls, does it grow downwards like normal ?
It should behave exactly like the default Blizzard Group loot frame. All the addon does it allow you to reposition it where ever you like.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 01-03-11, 07:50 PM  
Poreo
A Warpwood Thunder Caller

Forum posts: 94
File comments: 136
Uploads: 0
In the case of raids and multiple rolls, does it grow downwards like normal ?
Poreo is offline Report comment to moderator  
Reply With Quote
Unread 10-12-10, 07:35 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 583
Uploads: 37
Okay I uploaded your version of the updates Thanks again Galvin.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 10-06-10, 06:01 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 583
Uploads: 37
Well if it works in your build, then I have no problem reuploading it. I'll reupload it tomorrow.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 10-04-10, 08:49 PM  
galvin
A Black Drake

Forum posts: 84
File comments: 168
Uploads: 0
Seems to work was able to move the loot box around, scale it, reset it.

it should work on live as well since the changes weren't specific to cata only.

I'm in the process of making a few more code changes.
Just small fixes here and there I missed the first pass.
I went to strat undead side killed 2 bosses ant the lootroll
came up correctly no errors, checked the taintlog saw no
taint in there. So looks good to me. The save variable is
a little short, but I never had conflicts with it been using this
mod for 6+ months. This should work on live too.

Ok this should do it
http://www.pastey.net/141189

These are just simple changes since blizzard is removing arg1,arg2, this, getglobal. Anyway my updated fixlog.

Code:
In LootRollMover.lua
Changed lines 92-94 to:
	frame:SetScript("OnDragStart", function(self) self:StartMoving() end )
	frame:SetScript("OnDragStop", function(self)
		self:StopMovingOrSizing()

'this' global has been removed.

Changed lines 198 to:
	if event == "ADDON_LOADED" and select(1, ...) == "LootRollMover" then

arg1, arg2 etc globals no longer supported. select(1, ...) does the same thing.


Changed line 145 to:
	local point,relativeTo,relativePoint,xOfs,yOfs = _G[frame]:GetPoint()

Changed line 154 to:
	local f = _G[frame];

Changed line 1
local MyAddon, LootRollMover = ...

Globals like this scare me one addon uses the same table and bad stuff happens :)
What this does is use a private table ... that only the addon can see.  MyAddon is equal to the
addon name, and LootRollMover is equal to an empty table only visible to the addon.

getglobal still works but may be taken out in the future. Need to use _G[globalname] instead.
The change on line one could break another mod if its tapping into that table. So I leave it up to you
Last edited by galvin : 10-05-10 at 01:03 AM.
galvin is offline Report comment to moderator  
Reply With Quote
Unread 10-04-10, 05:57 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 583
Uploads: 37
Hey thanks for sharing your modifications. I'm still around but my WOW account is deactivated for now. If you test these new modifications out and they work, I'd be glad to upload it to the site.

My addon activity will enter a dormancy till Cataclysm comes out. Right now my studies is taking up the majority of my time.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 10-04-10, 04:05 PM  
galvin
A Black Drake

Forum posts: 84
File comments: 168
Uploads: 0
I have untested code fixes. You can check it out here. Don't know if the author is still around. If anyone wants try the fixes out on the PTR/Beta.

http://www.pastey.net/141179

fixes:
In LootRollMover.lua
Changed lines 92-94 to:
frame:SetScript("OnDragStart", function(self) self:StartMoving() end )
frame:SetScript("OnDragStop", function(self)
self:StopMovingOrSizing()

'this' global has been removed.

Changed lines 198 to:
if event == "ADDON_LOADED" and select(1, ...) == "LootRollMover" then


arg1, arg2 etc globals no longer supported. select(1, ...) does the same thing.
galvin is offline Report comment to moderator  
Reply With Quote
Unread 03-04-10, 02:42 PM  
Buio
A Kobold Labourer

Forum posts: 0
File comments: 150
Uploads: 0
Thanks for the tip. After seeing that I also took some time to search (should have done that first place, doh!). Found a addon that kills that window completely; Damn Dungeon Window. Will use it, sounds good to get the information in the chatbox instead.
Buio is offline Report comment to moderator  
Reply With Quote
Unread 03-04-10, 06:37 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 583
Uploads: 37
Originally posted by Buio
I use this and it works well, but when killing the last boss in dungeons (i.e. completing it), there is an information box that pops up in the old default lootroll place first, then when someone loot, that info box and the loot is moved to the new place. Dunno if it is possible, but it would be nice if the addon detected and moved that info box too before loot. Sorry, I don't have a screen, which would make it easier to explain.
I think you mean that annoying dungeon window right? That dungeon thingy is actually a modified form of an achievement. It's not really a group loot frame. There is another mod called Achieved! that lets you move your achievement frame. That should fix the problem your having.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 03-04-10, 03:16 AM  
Buio
A Kobold Labourer

Forum posts: 0
File comments: 150
Uploads: 0
I use this and it works well, but when killing the last boss in dungeons (i.e. completing it), there is an information box that pops up in the old default lootroll place first, then when someone loot, that info box and the loot is moved to the new place. Dunno if it is possible, but it would be nice if the addon detected and moved that info box too before loot. Sorry, I don't have a screen, which would make it easier to explain.
Last edited by Buio : 03-04-10 at 03:31 AM.
Buio is offline Report comment to moderator  
Reply With Quote
Unread 02-06-10, 11:51 AM  
Jadeshark
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Seems to have worked perfectly..thanks again!
Jadeshark is offline Report comment to moderator  
Reply With Quote
Unread 02-06-10, 07:23 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 583
Uploads: 37
Originally posted by Jadeshark
Hey,

When there are multiple items being rolled for, is there a way to make them expand downwards from the anchor point instead of up? If not is it possible to add that functionality? Otherwise great addon, exactly what I was looking for!

Thanks
I'm not entirely sure this will work, BUT you can try editing the lua file.

Replace:
Code:
frame:SetPoint("BOTTOM", "GroupLootFrame" .. (i-1), "TOP", 0, 3)
With:
Code:
frame:SetPoint("TOP", "GroupLootFrame" .. (i-1), "BOTTOM", 0, -3)
Again, I really haven't tried this myself. Please let me know if it worked for you.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: