UI XML does not handle all spells consistently

Discussion in 'Bug Reports' started by Tiberia, Feb 17, 2023.

  1. Tiberia Member

    I created a custom UI window based off the target tag window which includes a subset of useful spells and abilities that are mostly geared towards crafters.

    Some of the spells render correctly in the UI and show the correct state and tool tip as if the button where on a hotbar.

    Some of them do not and display the tooltip I added, as well as require me to include OnPress="useability ######"

    If anyone could please tell me why it will not work, I would be very grateful. I will be happy to provide the full XML file upon request.

    The XML for that section is listed below. Note: Spells that do not work correctly are marked with a * just for easier identification. The * is not part of the original XML

    Code:
                <VolumePage AbsorbsInput="false" BackgroundColor="#FF0000" CellCount="7,2" CellSelectable="false" CellSize="24,24" Location="10,72" MinimumScrollExtent="184,54" Name="Volume2" PackSize="absolute,absolute" ScrollExtent="194,54" Size="194,52">
                    <Icon ActionData="spell 1648093148 20775665 2238042395" Dragable="true" IconID="753" IconStyle="/IconStyles.button" Location="2,2" MouseOverColor="#FFFF00" Name="IconSpell01" ScrollExtent="24,24" Size="24,24" Tooltip="Summon Chemistry Table" TreatAsButton="true" />
                    <Icon ActionData="spell 356308810 20775711 561512053" Dragable="true" IconID="799" IconStyle="/IconStyles.button" Location="28,2" MouseOverColor="#FFFF00" Name="IconSpell02" ScrollExtent="24,24" Size="24,24" Tooltip="Summon Engraved Desk" TreatAsButton="true" />
                    <Icon ActionData="spell 307303251 20775682 711502966" Dragable="true" IconID="770" IconStyle="/IconStyles.button" Location="54,2" MouseOverColor="#FFFF00" Name="IconSpell03" ScrollExtent="24,24" Size="24,24" Tooltip="Summon Forge" TreatAsButton="true" />
                    <Icon ActionData="spell 1700144069 20775279 4150291273" Dragable="true" IconID="367" IconStyle="/IconStyles.button" Location="80,2" MouseOverColor="#FFFF00" Name="IconSpell04" ScrollExtent="24,24" Size="24,24" Tooltip="Summon Sewing Table" TreatAsButton="true" />
                    *<Icon ActionData="spell 2352318192 20775686 3633124458" Dragable="true" IconID="774" IconStyle="/IconStyles.button" Location="106,2" MouseOverColor="#FFFF00" Name="IconSpell05" OnPress="useability 2352318192" ScrollExtent="24,24" Size="24,24" Tooltip="Summon Stove &amp; Keg" TreatAsButton="true" />
                    *<Icon ActionData="spell 4214404710 20775690 3135050076" Dragable="true" IconID="778" IconStyle="/IconStyles.button" Location="132,2" MouseOverColor="#FFFF00" Name="IconSpell06" OnPress="useability 4214404710" ScrollExtent="24,24" Size="24,24" Tooltip="Summon Woodworking Table" TreatAsButton="true" />
                    *<Icon ActionData="spell 2573167120 20775760 3027614053" Dragable="true" IconID="848" IconStyle="/IconStyles.button" Location="158,2" MouseOverColor="#FFFF00" Name="IconSpell07" OnPress="useability 2573167120" ScrollExtent="24,24" Size="24,24" Tooltip="Summon Work Bench" TreatAsButton="true" />
                    *<Icon ActionData="spell 3050987830 20775477 1051063513" Dragable="true" IconID="565" IconStyle="/IconStyles.button" Location="2,28" MouseOverColor="#FFFF00" Name="IconSpell08" OnPress="useability 3050987830" ScrollExtent="24,24" Size="24,24" Tooltip="Summon Artisan&apos;s Gathering Goblin" TreatAsButton="true" />
                    <Icon ActionData="spell 2144640907 20775485 4092666423" Dragable="true" IconID="573" IconStyle="/IconStyles.button" Location="28,28" MouseOverColor="#FFFF00" Name="IconSpell09" ScrollExtent="24,24" Size="24,24" Tooltip="Summon Artisan&apos;s Pack Pony" TreatAsButton="true" />
                    <Icon ActionData="spell 2082114170 20775685 300248242" Dragable="true" IconID="773" IconStyle="/IconStyles.button" Location="54,28" MouseOverColor="#FFFF00" Name="IconSpell10" ScrollExtent="24,24" Size="24,24" Tooltip="Track Harvestables" TreatAsButton="true" />
                    *<Icon ActionData="spell 2266640201 20775452 1355012069" Dragable="true" IconID="540" IconStyle="/IconStyles.button" Location="80,28" MouseOverColor="#FFFF00" Name="IconSpell11" OnPress="useability 2266640201" ScrollExtent="24,24" Size="24,24" Tooltip="Salvage" TreatAsButton="true" />
                    <Icon ActionData="spell 427735786 20775818 413001806" Dragable="true" IconID="906" IconStyle="/IconStyles.button" Location="106,28" MouseOverColor="#FFFF00" Name="IconSpell12" ScrollExtent="24,24" Size="24,24" Tooltip="Refine" TreatAsButton="true" />
                    *<Icon ActionData="spell 3943362837 -65111 886143329" Dragable="true" IconID="425" IconStyle="/IconStyles.button" Location="132,28" MouseOverColor="#FFFF00" Name="IconSpell13" OnPress="useability 3943362837" ScrollExtent="24,24" Size="24,24" Tooltip="Transmute" TreatAsButton="true" />
                    *<Icon ActionData="spell 2858354953 -65106 3569657483" Dragable="true" IconID="430" IconStyle="/IconStyles.button" Location="158,28" MouseOverColor="#FFFF00" Name="IconSpell14" OnPress="useability 2858354953" ScrollExtent="24,24" Size="24,24" Tooltip="Adornment Reclamation" TreatAsButton="true" />
                </VolumePage>
    Mother9987 likes this.
  2. Sigrdrifa EQ2 Wiki Author

    This isn't a bug. You should really take this up in the discussion forums at EQ2Interface.com
    Twyla likes this.
  3. Tiberia Member

    Every line should be exactly the same to get the spells to work correctly with only the numbers being different. That is exactly how the XML is written.

    However 7 of them do not work. That would indicate that there is something on the back end that is not properly recognizing the information being sent to it from the UI.

    That would make it a bug.
  4. Tiberia Member

    I am wondering if there is a way for me to report this better.

    What I have done to fix this:
    • Multiple discussions and threads on eq2interface
      • Everyone I've discussed this with states that it is written well and should work as is.
    • Rewrite of the xml to be cleaner and consistent across all lines.
    • Attempted omitting elements one at a time to see if a specific one is causing the issue.
    • Tried using Census spell IDs instead of the reported spell numbers from the hotbar export.
    I am at a loss as to what I can do further to try and fix this. The buttons work in their current state, but it is dirty and inconsistent so I would just like to see it working properly.
    If i am missing something, please tell me what that can be.
    Twyla likes this.
  5. Tiberia Member

    I know you all are quite busy, but I really don't want this bug to fade away. So this reply is just so I can keep track of it.
  6. Sigrdrifa EQ2 Wiki Author

    Adding hotbars is one of the things that is actually kinda impossible to do with the EQ2 UI.

    the closest I've seen is Darqwood's Gear Buff Window, which I'd suggest you take a look at. You apparently can't get something that operates quite like a hotkey. It won't tint to show reuse, for one thing.

    The EQ2 devs have been very hostile to suggestions that they add more actual hotbars.
    Twyla likes this.
  7. Tiberia Member

    I have actually spoken with Darq directly regarding this issue and he is as baffled as I am regarding why half of the buttons work and half don't.

    I am also not asking the devs to create a new hotbar. I am asking the devs to check to see if all spells are being handled consistently on the back end when parsed from the UI. From my perspective, which I admit is limited as I do not have access to the back end code, this appears to be a bug as similar elements are being handled differently without any apparent reason.

    As far as the buttons behaving:
    Seven of the 14 buttons in this behave properly. They show the full spell tooltip based directly off the users options. They tint properly when they are not available and show the reuse shading when they are in cool down.

    Seven of them do not. They only show my implied "tooltip" and remain greyed out as if the ability is not available when it is.

    I brought this here because I have gone through all of the channels of troubleshooting already. It started on EQ2Interface. I've had discussions with multiple UI developers including Darq. We are all at a loss. I've combed through all of the documentation I can find on UI Building and Census information. I have tried rewriting the code multiple times which consisted of me adding and removing elements one at a time to see if anything made a difference.

    The short of it is, if this is a bug that will not be fixed, that's fine. I just want to know. If it is something that can or will be fixed, that would be awesome as well. Either way, I just want to be able to put a closure to the issue so I can finalize the UI and be done with it.
    Twyla likes this.
  8. Tiberia Member

    I haven't posted in awhile, however I really am hoping someone would at least take a look at this. I will gladly accept an answer through DMs. Again I just want to know if it's possible for me to fix this issue.
  9. Tiberia Member

    Doing a bit more research I have found out the following:

    All of the non working icons are changing for some unknown reason to "spell 2147483647"

    Which is causing them to fail when using them.
  10. Hartay Keeper of the Server Hamsters

    (unrelated but,) Ironically that is the cap of a 32-bit signed integer.
    Twyla likes this.
  11. Mineeme Member

    If it's integer overflow, you might try using the negative number that is the binary equivalent
    Twyla likes this.