EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   ui testing? (https://www.eq2interface.com/forums/showthread.php?t=7693)

uberfuzzy 01-23-2007 12:24 AM

ui testing?
 
was wondering how do you guys(and gals) test your ui as your making them?
afaik, the loadui just makes the game crash, so right now, i'm logging in/out each time to load it.

also, is there a way in the uibuilder to edit the script for things, or do you have to go into the xml and do it by hand.

Landiin 01-23-2007 03:19 AM

Sadly loading in and out is the only reliable way to test.

I get every thing the way I want it in the UIBuilder as far as positioning goes then close my eyes and save. ( lol ) Then test it in game, normally I'll have to adjust text because text doesn't display the same in game as it does in the UIBuilder.

As far as scripts go, sure you can edit/add them in the UIBuilder. Say for example you want to add some script to the OnClick event of a button. Just scroll the list box down to that property and double click on it. The UIBuider will the open up a multi line edit box you can use to edit/add your script in.

The way I do it, if I am positioning things and know I'm going to add script to it, I'll just add a char to that property before I save that way I don't have to type OnClick="..." later on in my text editor, I just enter the script. But I'm just lazy that way is all..

uberfuzzy 01-23-2007 03:48 AM

ah, thank you.

i never stopped to look at all the properties when you uncheck that box, and i didnt know about the double clicking on the property to bring up the multi line box, that helps alot.

found some info while i was looking around on the net after i posted this.
apperently, the /loadui command is 2 things, just the command brings up a window that lets you pick and then crashes the game,
but the /loadui <foldername> will actually switch/reload a ui without crashing!

Landiin 01-23-2007 03:52 AM

Quote:

Originally Posted by uberfuzzy
but the /loadui <foldername> will actually switch/reload a ui without crashing!

I'm afraid someone lied to you:P You have about a 20/80 percent chance of it working that way and I'm being generous with them numbers. You'll also have to zone, cast a spell, stand on one hand while rubbing your tummy to get your Objects to populate with data..

uberfuzzy 01-23-2007 04:28 AM

Quote:

Originally Posted by Landiin
I'm afraid someone lied to you:P You have about a 20/80 percent chance of it working that way and I'm being generous with them numbers. You'll also have to zone, cast a spell, stand on one hand while rubbing your tummy to get your Objects to populate with data..

i've just done it a couple times, and it seems to work, atleast for me.

only issues i see is it doesnt retain the uisettings(well, atleast which windows are open and/or where), but a quick /load_uisettings fixes that, and yeah, certain data isnt reloaded, like zone names.
but its betting then logging in/out alot.

Deathbane27 01-23-2007 07:18 AM

Quote:

Originally Posted by uberfuzzy
just the command brings up a window that lets you pick and then crashes the game,
but the /loadui <foldername> will actually switch/reload a ui without crashing!

That's how it worked for me once as well, but sadly both of them cause crashes now. Also, the latter only worked until I started casting something. :p But it was still good for a number of tests.

Welcome to the club! :)


All times are GMT -5. The time now is 01:59 PM.

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