EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 04-21-2008, 10:11 PM
labrat23 labrat23 is offline
A Young Mystail Rat
 
Join Date: Jun 2007
Server: Antonia Bayle
Posts: 4
Default HP bar on my player window disappears

There is a thread sort of related on the UI Developer Discussion catagory:
http://www.eq2interface.com/forums/s...ad.php?t=10735
but I thought I would post here with the problem I am coming across.

A couple days ago, I made a click to cure mod to my default groupmembers window. It works fine. All it is is a button on the same location and size as each 'effect' with an opacity of 0 and an OnPress value of "useability Cure Trauma" etc. This was all done using the UIBuilder downloaded from this site the same day I made the groupmembers window mod.

So today I copy and paste of the default eq2ui_mainhud_player window into my custom ui folder and open it with UIBuilder and cut and pasted the same buttons I used in the groupmembers window into the player window. The buttons work fine, but my HP bar in the window disappears. I retried the process several times and got the same result. I tried adding just one button: hp bar gone. I delete the button: hp bar still gone.

Yes I am new the UI modding scene.

What I don't get is I can understand adding something to the window using UIbuilder might screw something up. I know I understand about 1% of UI modding. But if I delete what I just added, and the problem persists, (non-screwed-with default file still works fine), what is UIBuilder doing that I don't know about? And what is making my hp bar go away?
Attached Files
File Type: xml eq2ui_mainhud_player.xml (10.0 KB, 248 views)
Reply With Quote
  #2  
Unread 04-21-2008, 11:15 PM
labrat23 labrat23 is offline
A Young Mystail Rat
 
Join Date: Jun 2007
Server: Antonia Bayle
Posts: 4
Default

Fixed my own problem.

Dont use UIBuilder.

As mentioned in the previous post, making any change, then undoing it in UIbuilder, which should theoretically should generate a file identical to the unmolested file, screws up the file.

So I opened the file with the working click-to-cure button but missing hp bar with notepad, copied the line containing the button into the clipboard, pasted it in the appropriate spot in the default file using notepad, moved it to my custom UI folder, and it works. Now the ironic thing is, the text of the file that was generated by UIBuilder and the one I made by copy and pasting the line that UIBuilder generated is identical. Every character is the same, I took about half an hour and tripple checked the entire thing, with two notepads open right on top of each other showing both files. UIBuilder had to have screwed up some sort of file properties that is not part of the text.

Working file attached. Now since this one works, and the previous attached one does not, they have to be different. Heck if I can figure out what it is.


(BTW, these both only have the cure trauma)

Edited for clarity
Attached Files
File Type: xml eq2ui_mainhud_player.xml (10.5 KB, 264 views)
Reply With Quote
  #3  
Unread 04-22-2008, 01:45 AM
maximoz maximoz is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Feb 2008
Server: Antonia Bayle
Posts: 24
Default

I also posted this here http://www.eq2interface.com/forums/s...ad.php?t=10872

Yup, somehow the UIBuilder is making some wanky stuff if you tried to modified an already working file.
Reply With Quote
  #4  
Unread 04-22-2008, 02:11 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by labrat23 View Post
Now the ironic thing is, the text of the file that was generated by UIBuilder and the one I made by copy and pasting the line that UIBuilder generated is identical. Every character is the same, I took about half an hour and tripple checked the entire thing, with two notepads open right on top of each other showing both files.
No, the file in your OP has set

Visible="false"

for the health bar, which is why it does not show. You probably clicked the eye icon which controls visibility by mistake.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #5  
Unread 04-22-2008, 08:45 AM
labrat23 labrat23 is offline
A Young Mystail Rat
 
Join Date: Jun 2007
Server: Antonia Bayle
Posts: 4
Default

Quote:
Originally Posted by gm9 View Post
No, the file in your OP has set

Visible="false"

for the health bar, which is why it does not show. You probably clicked the eye icon which controls visibility by mistake.
Snow-blind ftw. Thanks, I knew I had to be missing something retarded. I wonder how I could have accidentally clicked the eye icon three times in a row?
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:39 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI