VaultNetwork.netVault Network Boards
Author Topic: DAOC UI EDITOR 1.110 [Locked]
Vanesyra  1 star
Posts: 108
Registered: 2009-12-8 17:31:44
since the old topic was locked... i have done a little work over the old ui editor's code making it java 7 ready. fixed a lot of little bugs and added some better previews and more options on some controls and removed unneeded options on others (as they do not do anything, expect wasting space ^^). chat window should display better, tabs should display correctly without having to click on a tab before. added test values for the training window and so on. added the missing "dontshowwhennegon" for labels.

download: tool.excidio.net/download/daoced.zip

overall the new version outputs shorter xmls with lesser unneeded values. just let me know if its working for you and if not whats broken? but what ever you do, don't add a window to the styles.xml... i will not fix that one! (editor is only saving changes on templates if the xml does not contain a window or the window was changed, don't ask me why i did not coded the base of the editor and it's not easy to find and fix. so just don't do it!)


the old and unchanged editor is located at http://tool.excidio.net/download/daoced-old.zip if anyone needs it for anything ^^
vn_taldren
Posts: 29
Registered:
did you add support for "Don't draw when -1" ?

Can't tell because it keeps crashing on me.

From LOG:
Nov-27-11 21:54:56 Info - Started DAoC User Interface Editor v1.80
Nov-27-11 21:54:56 Info - Auto loading most recent project
Nov-27-11 21:54:56 Info - Loading project from D:\Program Files (x86)\Electronic Arts\Dark Age of Camelot\ui\custom\
Nov-27-11 21:55:01 Warning - Unable to load image "cust13_hib_HousingMaps_01" Reason: Java heap space
Nov-27-11 21:55:01 Warning - Unable to load image "cust13_mid_ClassicMaps_01" Reason: Java heap space
Nov-27-11 21:55:01 Warning - Unable to load image "cust13_mid_SIMaps_01" Reason: Java heap space
Nov-27-11 21:55:01 Warning - Unable to load image "cust13_mid_CataMaps_01" Reason: Java heap space
Nov-27-11 21:55:01 Warning - Unable to load image "cust13_mid_HousingMaps_01" Reason: Java heap space
Nov-27-11 21:55:01 Warning - Unable to load image "cust13_shared_ToAMaps_01" Reason: Java heap space
Nov-27-11 21:55:02 Warning - Unable to load image "cust13_shared_RvRMaps_01" Reason: Java heap space
Nov-27-11 21:55:02 Warning - Unable to load image "cust13_shared_RvRMaps_03" Reason: Java heap space
Nov-27-11 21:55:02 Warning - Unable to load image "cust13_shared_RvRMaps_04" Reason: Java heap space
Nov-27-11 21:55:02 Warning - File Not Found: "D:\Program Files (x86)\Electronic Arts\Dark Age of Camelot\ui\custom/assets/custom_windows/crafting/viddi_craft6.tga"
Nov-27-11 21:55:04 Warning - Unable to load image "atlas_skin_mask" Reason: Java heap space
Nov-27-11 21:55:04 Info - Loaded D:\Program Files (x86)\Electronic Arts\Dark Age of Camelot\ui\custom\
Vanesyra  1 star
Posts: 108
Registered: 2009-12-8 17:31:44
yes i did.

try opening a console window (aka "cmd.exe" within windows). go to the directory where daoced.jar is located and type: java -Xms4096k -jar daoced.jar
this should increase the useable memory to 4GB. i also included this into a "daoced.bat" file that i added to the download right now. so you can re download it and use the daoced.bat to start the editor with 4GB memory size.
vn_taldren
Posts: 29
Registered:
Did as corrected and it loads now ....

I have no RightClick properties for elements in each of the windows.

Sometimes all the elements of a window will disappear and I will have to select another window and then click back in order to get them to reappear.

After a period of time (usually less then a minute) the program becomes unresponsive.
Vanesyra  1 star
Posts: 108
Registered: 2009-12-8 17:31:44
are you using the latest java 7?

what rightclick properties on what elements? on the list bottom left? "copy / paste" and this stuff? click on the list first then it should work.

never had elements disappearing for me

you try this with atlantis default ui or with your own? try closing opened windows using the "close all window" button. things get slow if you open to much windows with many ui elements within them. should not open more then 5 windows or so at a time.

if you are using java 7 already you may give me a link to download your ui to try this on my own.
vn_taldren
Posts: 29
Registered:
I got it to work, finally. I needed to install the 64 bit version of Java7. I only had the 32bit version installed for my 32bit browsers.
Vanesyra  1 star
Posts: 108
Registered: 2009-12-8 17:31:44
just re added the ability to set a "EndAlign" on "LabelDef" and "ScalarLabelDef". this is only used on the chat box input "LabelDef". this will make the text scroll to the left if you input huge text. if you had used the editor before this has been removed. so open chat window and set the labeldef to endalign = true to fix this.

EDIT: "java" it self has nothing to do with your browser. "java" is a programming language that is more or less platform independent. your browser uses "javascript" which is something total different. it's another language like English and Polish are different languages even if they both contain a "lish" within their name. so yes on a 64bit operating system you need a 64bis java install
vn_taldren
Posts: 29
Registered:
I think you misunderstand. From Oracles website:

DOWNLOAD INSTRUCTIONS
Click on the item below that represents your set up:

32-bit browser, you need to download 32-bit Java (recommended)
64-bit browser, you need to download 64-bit Java
Both 32-bit and 64-bit browsers, you need to download both 32-bit and 64-bit Java, respectively

Java for 32-bit browsers
Users should download 32-bit Java software, if they are using 32-bit browser on their 64-bit Windows. For downloading and installing 32-bit Java on your system

Go to Java.com.
Click on the Free Java Download button, and start the installation process

I don't use a 64-bit browser, so I never had a need to DL the 64-bit version of Java before. Most people don't, at least for the JRE.

New bugs:
As for your version of DAoCed ... so far its working, but I lost the ability to hide already shown windows by clicking on the window name in the upper left like I could in previous versions.

Old bugs:
For some reason, DAoCed will sometimes not show the upper row of pixels of a texture. It will show up fine in game however.

In the lower right corner is our Healers Helper for our UI ... the background elements are square with a transparent white line that should go all the way around. As you can see the top line is missing for each player.

Feature request:
A feature I would like to see ... The alignment tool for the window elements (lower left). I'd like to see two arrows next to the input box for the X and Y that would add and subtract the given number. Currently I have to keep changing the number from + to - in order to move things back and forth to find a good fit.
Vanesyra  1 star
Posts: 108
Registered: 2009-12-8 17:31:44
that's for java plugins within web browsers only. that bad anyway

hmm i was never able to hide a window by clicking on it in the upper left. strange, think i search this one. i always used the hide all button ^^

can you upload me a screenshot of your healers helper as it is displayed in game? so i can compare exactly what pixels are missing. because if you look on the white corners of the healers helper. you got a spacing of 3top 3right 3bot 2left?

is "click on a element" then "shift + arrow key" what you want?

EDIT: lol... go to "Settings" => "Misc" => "Toggle Window Visibility on Selection" to switch on off windows by clicking on them... i will set this default to enabled in the next release
EDIT: is the background of your healers helper a "status icon"? and does this 1px error happens to other elements to or only to status icons?
vn_taldren
Posts: 29
Registered:
Here is the screenshot of HH in game:


Here is a pic of what I am talking about for the feature request:


Right now you have to enter a number and hit apply. If you want to go the other way you have to change it to a negative number and hit apply. Be much easier if you just entered a number in the field and had two arrows (instead of apply) that would add and subtract it from the current position for that axis.

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.