• Hail Guest!
    We're looking for Community Content Contribuitors to Stratics. If you would like to write articles, fan fiction, do guild or shard event recaps, it's simple. Find out how in this thread: Community Contributions
  • Greetings Guest, Having Login Issues? Check this thread!
  • Hail Guest!,
    Please take a moment to read this post reminding you all of the importance of Account Security.
  • Hail Guest!
    Please read the new announcement concerning the upcoming addition to Stratics. You can find the announcement Here!

Pet Bar fixed; Copper Enhanced 2.0.1 and Stone Enhanced 1.2.1...

Dermott of LS

UOEC Modder
Stratics Veteran
Stratics Legend
...

Turns out it was a pesky little XML function so I didn't have to totally rebuild the two files.

For those who want to do it themselves, it's a VERY fast fix:

Go to PetWindow.XML and open it in Notepad/Notepad2/etc

Find lines 34 - 49 and delete the function contained within.

The function to remove (for those without line numbers):

Code:
<EditBox name="$parentInputName" font="UO_DefaultText" maxchars="16" textalign="center" scrolling="horz" history="false" taborder="0" input="text">
          <Size>
            <AbsPoint x="158" y="28" />
          </Size>
          <Anchors>
            <Anchor point="center" relativePoint="center" relativeTo="$parent">
              <AbsPoint x="17" y="6" />
            </Anchor>
          </Anchors>
          <TextColor r="255" g="255" b="255" a="255" />
          <EventHandlers>
            <EventHandler event="OnKeyEnter" function="PetWindow.OnKeyEnter" />
            <EventHandler event="OnKeyEscape" function="PetWindow.OnKeyEscape" />
            <EventHandler event="OnLButtonDown" function="PetWindow.OnTextItemClicked" />
          </EventHandlers>
        </EditBox>
Remove this set of code, save and reload the UI and you should no longer be able to get a cursor by clicking on the petbar name and thus will no longer have to deal with "breaking" the spell buttons!
 
F

Fink

Guest
Re: Pet Bar fixed, updates for Copper- and Stone- Enhanced uploading soon...

Thanks. That had me confused.

Are you adding/removing a naming function? I can't seem to rename my necromancy familiars.
 

Dermott of LS

UOEC Modder
Stratics Veteran
Stratics Legend
Re: Pet Bar fixed, updates for Copper- and Stone- Enhanced uploading soon...

...

This is removing the function from the Pet Window (the smaller health bars with the spell buttons).

You should still be able to rename pets and followers via the context menu from the mobile health bars.
 

Dermott of LS

UOEC Modder
Stratics Veteran
Stratics Legend
...

Put up Copper Enhanced 2.0.1 and Stone Enhanced 1.2.1 over on the Exchange.

Now when you have the pet bars up and click the spell buttons, you should not have the cursor comeup and render the spell buttons useless.

Pet name changes are done through the context menus.
 
Top