EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   issues with UIbilder (https://www.eq2interface.com/forums/showthread.php?t=1971)

C0d3M0nk3y 03-19-2005 03:29 PM

issues with UIbilder
 
Questions about the UI builder program not sure if it belongs here anyway

Has anyone run into the problem with the UIbuilder not displaying the tree correctly ?

such as
root
|
-mainhud
|
-IME
-proxyactor
the above is just an example
now I know that the include statements for the eq2ui_mainhud.xml file do not include the IME and the proxyactor.xml files, I have verified this with notepad.
but the mainhud file in the uibuilder is showing only about half of the mainhud windows and showing those two windows wich should be listed in the root instead of the mainhud. and yes the root dir: eq2ui.xml does have the proxyactor and the IME.xml include statements.

I have tried just baout everything:
rebooted computer, opened a fresh copy of uibuilder, resaved the eq2ui.xml and eq2ui_mainhud.xml,

about the only thing that I haven't done is recopy all of the files over into a new dir and then resintalling them one by one, or just remove all the files and copy all the default files into my customer ui folder ( this would suck cause I would loose a few hours worth of work )

any suggestions ?

Laffs 03-19-2005 03:40 PM

This happens to me... I find that the eq2ui.ini and the mainhud is corupted, just replace them all you should have add back in is any custom <include> statements you use.... BUT you could look for a defaults.cfg file in there if you find it delete it somtimes just doing that works.

Some custom UI's the builder dont like and will mess things up like performance panel preset code and perditions bottomv7 etc, I always work on a copy of the UI and just copy over individual files that I have changed and never mainhud or eq2ui I always edit them in notepad to add stuff..

Hope this is of some help

C0d3M0nk3y 03-19-2005 04:08 PM

hmmm inxnaying the defaults didn't work had already did that, just forgot to mention it, I have also noticed that the uibuilder likes to insert code directly into the page so I make it a habit to keep dreamweaver open to see what the uibuilder inserted into the mainhud or the eq2ui files. oh well I guess I will try copying all the files ove then :mad: and go back into it and redo everything I did already :(

Kosmos 03-19-2005 04:16 PM

She's a fickle mistress that builder she is!


When you load eq2ui.xml and do any changes and do a save, you are basically letting her "the builder" do whatever she wants.

Some things she will do.
Remove include statements if she can't find the files.
Move include statements if she sees fit. 'Just because she can"
re-arrange elements.

My personal favorite....
Turn your long scrips in the OnEvents to Properties, and then re-distribute them as she see fit (alphabetically) in the XML.
That ones a real pain! Laffs says it only does that if you click the 'RUN' button.

Another favorit. I forget which one, but the text item on buttons has to be set on one of the properties, if you the 'text' is listed in two properties, if you don't change the correct one, she will just change it back for you on both of them. Sweet of her eh?

There's pleny more, have fun getting to know here.
She's not all that bad once you get used to her, and honestly, she's not got much competition, so that's why we all keep going back to her for more.

EDIT: She also doesn't like when other ladies mess with her files, so if you use text editors, be very careful what you change, because she will notice sometimes, and act very, very pissy! If you are going to run off and use another tool, just make sure you are sneaky about it and don't let her catch you.

Laffs 03-19-2005 05:15 PM

Lmao Kos...

That just about sum's it up.. All is fine if you know what code "she" adds and where if you dont then your screwed basicly lol..

For example if you cut or copy say the player window and paste it back into mainhud in the builder it will not make another file it will just add the code as a page in the mainhud file itself lol. Whilst that can have its uses for testing it can and does mess things up big time a good one to play with is the bottomv7 UI I mentioned before, Just load that into the builder and move a few windows about and see all the extra files and "duff" code it generates lol... Nothing against bottomv7 I love the UI (the one me messing with now actualy) but that seems to be the most I have ever seen the builder screw somthing up lol... Must have been a nightmare to make that UI from scratch.. :p

Zonx 03-20-2005 08:53 AM

Improperly closed tags causes this problem. You can usually figure out which file is causing problems by drilling down on the last item before stuff goes wonky.

Assuming you haven't reorganized the tree, if you're seeing HUD but aren't seeing Journals, there's a good chance an element nested under HUD isn't closed properly. Drill down the HUD tree and you'll probably see Journals nested under there. The likely culpret is whatever tag shows directly above Journals.

Another cause is opening a file in a text editor other than Notepad and saving it without first stripping the control characters in the first line. Those control character define the file's encoding to something most text editors can't deal with. They wind up stripping the encoding and converting punctuation to URL format. Quotes become &quote. UIBuilder proceeds to spasm on the converted file.

A_Nolan 10-04-2005 03:16 AM

Another problem with text editing
 
It also has problems with CaPs if the oBjEcT isn't capitalised correctly it will balk and not notice half of what you added :rolleyes:

found that out when I was working with window text and didn't cap text -- Text -- and it got rid of the other 2/3rd of my file :eek:

right now I'm trying to figure out why all my buttons pass "snap to grid" don't work :)

ah well at least I can move the ui pieces around without having to load ui after every change ( only have arachnophila for major xml editing not bad but no graphics)

and as for help I use a truncated eq2ui with only the art/template xmls and the file I'm working on it seems to please her ( but that could be the reasone my buttons don't work :confused: got to check that)


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

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI