PDA

View Full Version : PlayerFrameXPBar - PETBAR FIX!


Bulletz
12-10-2004, 06:48 PM
IMPORANT NOTE #1: This fix has not been tested to a great extent, and may not work with your current UI configuration. At this time, it has only been tested with the latest Cosmos Alpha Lite UI package, and the latest version of DmgInc's PlayerFrameXPBar. If you experience any bugs with my fix, feel free to post them here, but I cannot guarntee that I will be able to fix all issues that arise.

IMPORTANT NOTE #2: This fix currently DOES NOT work with Cosmos' SecondBar Mod enabled, although it IS installed as part of the Alpha Lite package. ALSO, you must leave the original SecondBar Mod files intact, which means DO NOT overwrite them with DmgInc's own SecondBar fix. If you have already, just re-download the original files using the Cosmos updater.

THE FIX:

Pretty simple actually, the only file that had to be modified was PetActionBarFrame.lua, which resides in the Interface\FrameXML folder (provided you have Cosmos installed). In this file I had to modify the code in two locations in order to move the pet bar down so it rests on top of the main bar with no gap inbetween.

So, before the fix, it looks like this:
http://www.stevenspoker.com/wow/before_fix.gif

And after, it looks like this:
http://www.stevenspoker.com/wow/after_fix.gif


Download the fixed file, by Right-Clicking>Save as.. here:
http://stevenspoker.com/wow/PetActionBarFrame.lua
and place it in your Interface\FrameXML directory, overwriting the old file


An Aside:
For those so inclined, you can also move the petbar to the left or right by editing the 3rd line in that same file. The statement is as follows:
PETACTIONBAR_XPOS = 36;
decreasing the number will move the bar to the left, and increasing it will move it to the right. So, I for example, am currently using Cosmos PopBar mod, so in order to have the PopBar directly above the normal hotbar, I gave this variable a value of 536 which moves almost all the way to the right edge of the action bar.

Note: The line above this statement is NOT what changes the y position of the petbar. Any changes you make to it will NOT have any effect whatsoever.

Anonymous
12-29-2004, 02:25 PM
Is there away to use this with out using cosmos?

Anonymous
12-29-2004, 02:25 PM
Is there away to use this with out using cosmos?