WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   WorldStateFrame Mover by Phanx (https://www.wowinterface.com/forums/showthread.php?t=54600)

TokyoGhost 10-04-16 01:42 AM

WorldStateFrame Mover by Phanx
 
I was looking for addon that will provide me ability to move PvP scoreboard. So I stumbled upon this: http://www.wowinterface.com/forums/s...ad.php?t=45570

Can it be posted on WoWInterface and updated over time? Code still works when I changed version requirements, but would love to see it here. If any bugs arises, would be great to get fixes. Code is really small so it shouldn't be problem to maintain as well ^^

Phanx 10-04-16 02:35 AM

I originally wrote that code back in Patch 1.12 (2006), when Silithus was revamped with world PvP objectives, and the only change it's needed since then was to update for the removal of global script arguments (eg. "this") in Patch 3.0 (2008). Unless there's some major change to the API or to the frame itself, I don't see that there's anything to "update", and regardless of whether or not it still works, I have no plans to officially publish that code as an addon.

At this point in time, if you want to move default UI frames around, I would recommend MoveAnything or another general-purpose solution instead of an addon that was written 10 years ago to move a single frame.

If you really want to use that code anyway, either check the "Load out of date addons" option in-game, or update the Interface number in the TOC file any time there's a major patch.

If someone else has some interest in publishing such an addon, feel free to use my code as a base (though considering it was one of the first pieces of Lua code I ever wrote, it's probably pretty cringe-worthy) but consider it to be under the same license terms as my released addons, which essentially says you can do whatever you want with the code, as long as you do it under your own name (don't list me as the author) and you come up with your own name for the addon that doesn't include the one I used (if it's originally "X" don't call it "X Fan Update" or "X 2" or anything like that). If you want to include a credits notation (ie. "Based on Addon X by Phanx") that's fine, but consider that entirely optional; I am not concerned at all about being credited.

TokyoGhost 10-05-16 02:21 PM

Thanks! Im using it right now and it works fine ^^ I don't want overkill of an addon for such simple task :D


All times are GMT -6. The time now is 09:13 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI