1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Greetings Guest!!

    In order to combat SPAM on the forums, all users are required to have a minimum of 2 posts before they can submit links in any post or thread.

    Dismiss Notice

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

Discussion in 'UO Enhanced Client Discussion' started by Dermott of LS, Sep 11, 2010.

  1. Dermott of LS

    Dermott of LS UOEC Modder
    Stratics Veteran

    Joined:
    May 12, 2008
    Messages:
    5,320
    Likes Received:
    528
    ...

    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!
     
  2. Fink

    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.
     
  3. Dermott of LS

    Dermott of LS UOEC Modder
    Stratics Veteran

    Joined:
    May 12, 2008
    Messages:
    5,320
    Likes Received:
    528
    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.
     
  4. Dermott of LS

    Dermott of LS UOEC Modder
    Stratics Veteran

    Joined:
    May 12, 2008
    Messages:
    5,320
    Likes Received:
    528
    ...

    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.
     
  5. Frarc

    Frarc Stratics Legend
    Stratics Veteran Alumni Stratics Legend

    Joined:
    Mar 18, 2003
    Messages:
    7,770
    Likes Received:
    1,132
    Thanks.