EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 01-23-2007, 12:24 AM
uberfuzzy's Avatar
uberfuzzy uberfuzzy is offline
A Grassland Beetle
Interface Author - Click to view interfaces
 
Join Date: Sep 2006
Posts: 64
Default 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.
Reply With Quote
  #2  
Unread 01-23-2007, 03:19 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

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..
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #3  
Unread 01-23-2007, 03:48 AM
uberfuzzy's Avatar
uberfuzzy uberfuzzy is offline
A Grassland Beetle
Interface Author - Click to view interfaces
 
Join Date: Sep 2006
Posts: 64
Default

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!
Reply With Quote
  #4  
Unread 01-23-2007, 03:52 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

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..
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #5  
Unread 01-23-2007, 04:28 AM
uberfuzzy's Avatar
uberfuzzy uberfuzzy is offline
A Grassland Beetle
Interface Author - Click to view interfaces
 
Join Date: Sep 2006
Posts: 64
Default

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.
Reply With Quote
  #6  
Unread 01-23-2007, 07:18 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

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. But it was still good for a number of tests.

Welcome to the club!
__________________
If it ain't broke, it needs more features!
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 02:19 AM.


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