EQ2Interface.com
Search Downloads


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

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 05-13-2005, 12:20 PM
Laffs's Avatar
Laffs Laffs is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Runnyeye
Posts: 1,404
Default File Diff problem

In the attached zip file is 2 files..

Now the one thats labled "WORKING" is the one that was made in the UI builder
The other one was generated from VB

Everything tells me that the 2 files are identical !!

But yet the generated one just will not work, In game it has no frame or background and wont display the harvest info.... In the UI builder after notes page 5 it includes the rest of the mainhud files under the parent page..

Now I know from past exp that there is usualy either </Page> or /> missing for it to do that but far as win merge tells me and after comparing the 2 myself this does not seem to be the case

I would appriciate it if one of you guys could have a look at the 2 files for me and maybe spot what is wrong...

Thanks
Attached Files
File Type: zip Notes.zip (7.5 KB, 193 views)
__________________
Laffs UI Mods
I can only please one person per day. Today is not your day. Tomorrow doesn't look to good either !
(Wicann on Runnyeye)
Reply With Quote
  #2  
Unread 05-13-2005, 12:26 PM
Dolby's Avatar
Dolby Dolby is offline
Bacon Eater
Premium Member
EQ2Interface Admin
This person is a EQ2Map developer.
 
Join Date: Feb 2004
Posts: 2,452
Default

Your right the files are identical... I checked them with beyond compare and there is no difference.

You got me, hopefuly some one else can figure it out.
Reply With Quote
  #3  
Unread 05-13-2005, 12:46 PM
Laffs's Avatar
Laffs Laffs is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Runnyeye
Posts: 1,404
Default

Thanks for running a check Dolby..

Anyone else got any ideas?
__________________
Laffs UI Mods
I can only please one person per day. Today is not your day. Tomorrow doesn't look to good either !
(Wicann on Runnyeye)
Reply With Quote
  #4  
Unread 05-13-2005, 12:46 PM
ger's Avatar
ger ger is offline
Steward of the Faithful
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
Default

The files are identical…except for one thing: they aren't saved in the same file format. One is in UTF-8 as expected, the other seems to be ASCII.
__________________
Reply With Quote
  #5  
Unread 05-13-2005, 12:50 PM
Laffs's Avatar
Laffs Laffs is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Runnyeye
Posts: 1,404
Default

How the hell did you find that out ?

I guess the working one is in UTF-8 huh ?

*EDIT*

Ah oks I see now how you figured that out look at the encoding lol

Hum problem now is how the hell to get the VB to output to UTF-8 ... The last one did np's

__________________
Laffs UI Mods
I can only please one person per day. Today is not your day. Tomorrow doesn't look to good either !
(Wicann on Runnyeye)

Last edited by Laffs : 05-13-2005 at 12:57 PM.
Reply With Quote
  #6  
Unread 05-13-2005, 03:13 PM
Dolby's Avatar
Dolby Dolby is offline
Bacon Eater
Premium Member
EQ2Interface Admin
This person is a EQ2Map developer.
 
Join Date: Feb 2004
Posts: 2,452
Default

Quote:
Originally Posted by ger
The files are identical…except for one thing: they aren't saved in the same file format. One is in UTF-8 as expected, the other seems to be ASCII.
Ger is the man! Never thought to look at that.
Reply With Quote
  #7  
Unread 05-13-2005, 04:08 PM
Laffs's Avatar
Laffs Laffs is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Runnyeye
Posts: 1,404
Default

Yup I didnt think of looking at that either lol...

Well I checked and the VB should be making UTF-8 files me using all the right IO commands but they keep coming up as ANSI

Had a look at a few others they are in that encoding as well, but they seem to work fine its just this one lol
__________________
Laffs UI Mods
I can only please one person per day. Today is not your day. Tomorrow doesn't look to good either !
(Wicann on Runnyeye)
Reply With Quote
  #8  
Unread 05-13-2005, 06:05 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Lol, first thing I thought to check but then I saw Ger beat me to it.

Laffs, its probably easier to have your VB write acceptable ASCII. Open the UTF-8 version in WordPad and save it ONCE. This should convert it to an ASCII format you can use as a basis for your script. Typical changes are quotes, apostrophies, ampersands.

Note: once a file is in ASCII, you don't want to save it in UIBuilder. Saving it in UIBuilder results in a progresive translation degeneration issue as it tries to re-convert the ASCII & into &amp;
Reply With Quote
  #9  
Unread 05-13-2005, 10:19 PM
Laffs's Avatar
Laffs Laffs is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Runnyeye
Posts: 1,404
Default

Thanks for that... But that is somthing I know... (no disrespect ment)
the VB is set up to save in the correct format but it aint lol

I have cut the code from the VB output into the twin file.. and all works well ... of course because of the encoding issue... Eq just seems to have problems with whats contained within the harvesting pages.. Looks like I gotta just rewrite them insted of using existing... seems to be the </Page> /> tags still that cause the problems there.... This all go's well deep and I have tested / F%*^D about with them them all, and got some interesting results to say the least lol

Best of it is this has got to be the most basic VB exe ever, lamo I mean apart from the GUI , the code is only 1 line long on the button LOL ... the rest is either user text input or static / hardcoded if you like (Yeh thats it !! , Hardcoded, Hehe, Aka its not my F-up)

I can see me sending the source to Ger likes , as he is the main man, for this stuff ....... Failing that Its rewrite the harvesting info in a format that will work =/

__________________
Laffs UI Mods
I can only please one person per day. Today is not your day. Tomorrow doesn't look to good either !
(Wicann on Runnyeye)
Reply With Quote
  #10  
Unread 05-14-2005, 10:11 AM
ger's Avatar
ger ger is offline
Steward of the Faithful
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
Default

I'm willing to take a look at the source if you'd like, although my grasp of VB is pretty basic (no pun intended.) I'm more of a C# kinda guy.

For the record, I noticed the format difference by doing a binary compare in UltraEdit-32, saw one file had a single-character linebreak (CR or LF) and the other had a twin-character linebreak (CR and LF.) From there it was a pretty short leap of logic.
__________________
Reply With Quote
  #11  
Unread 05-14-2005, 10:35 AM
Laffs's Avatar
Laffs Laffs is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Runnyeye
Posts: 1,404
Default

Thanks...

I will send you a linky to the source shortly... I had noticed that the linebreaks seem to have somthing to do with the type of encoding eg with or without a signature and stuff.. Only reason I used VB was it saved one hell of a lot of typing lol as I was able to paste over 90% of the output code into hidden textboxes

Anyways you will see this when you get time to have a look
__________________
Laffs UI Mods
I can only please one person per day. Today is not your day. Tomorrow doesn't look to good either !
(Wicann on Runnyeye)
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 01:14 PM.


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