Home » MODDING HQ 1.13 » v1.13 Bug Reports » XML Editor Bug Reports
Re: XML Editor Bug Reports[message #293212] Wed, 09 November 2011 11:49 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@agg121: Get latest version of the XML Editor to fix this problem. The last official 1.13 release (4452) contains the latest version of the XML Editor.

Download here:
http://ja2v113.pbworks.com/w/page/4218339/FrontPage

[Updated on: Wed, 09 November 2011 11:50] by Moderator

Report message to a moderator

Sergeant Major

Re: XML Editor Bug Reports[message #293235] Thu, 10 November 2011 10:40 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
@agg121:

The second one looks like a problem with the medical cross silhouettes.

The medical pocket and the syringe pocket (index 20 and 21 in pockets.xml) use the text for silhouettes 24 and 25 in silhouette.xml (in the Data-1.13/TableData/Lookup-folder) in the editor.

Please check whether or not your silhouette.xml contains 25 entries, your pockets.xml has 22 entries, and your silhouettes.sti (found in the Data/Interface-folder) contains 25 pics.

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #293313] Fri, 11 November 2011 22:38 Go to previous messageGo to next message
agg121 is currently offline agg121
Messages:3
Registered:October 2011
Location: Orange County, CA USA
@Starwalker
I have
22 entries in pockets.xml
23 entries in silhouettes.xml
26 entries in silhouettes.sti

@RoWa21, I already have it installed. but maybe I had a bad install?

Report message to a moderator

Civilian
Re: XML Editor Bug Reports[message #293532] Mon, 14 November 2011 20:20 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
The end of your silhouette.xml should look like this:

	
		23
		Revolver Ammo
	
	
		24
		Large Medical Cross
	
	
		25
		Small Medical Cross
	



Your silhouettes.sti seems to be O.K., i did not count entry 0...

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #294068] Thu, 24 November 2011 04:58 Go to previous messageGo to next message
agg121 is currently offline agg121
Messages:3
Registered:October 2011
Location: Orange County, CA USA
Thanks for the info, I reinstalled last official 1.13 release (4452) with the July update. the xml editor seems to be working fine.

However, the external attachment slot has disappeared in the game when I play. I see all the weapon attachment slots; barrel, laser, sight,scope, stock, ammo, and internal, but the slot for the external attachment. This makes the trigger group, useless because there is nowhere to attach it on a automatic weapon.

Any ideas where to look?

thanks

Report message to a moderator

Civilian
Re: XML Editor Bug Reports[message #303842] Tue, 24 April 2012 18:02 Go to previous messageGo to next message
Wil473

 
Messages:2815
Registered:September 2004
Location: Canada
Fired up the XMLEditor (0.84) that came with Rev.5216 to see if it supports the XML/tag for Flugente's Scope Modes Feature, and noticed that the New Attachment System attachment class tag was no longer being read. I'm guessing on the XML Editor's "General" tab the "Built-in Attach Class" is the tag for Flugente's new feature, which oddly seems to require the file TableData asAttachmentClass.XML despite this feature not requiring an XML per the thread. The drop down for the new "Custom Attach Class" seems to be empty.

May we get the old/critical-to-NAS Items.XML Tag back in please? Its dropdown menu should link to TableData\Lookup\AttachmentClass.XML and should only appear blank if someone uses a multi-attachmentclass (NAS supports it but it is fiendishly hard to sort out).

Also before any additional confusion arises may we have renamed TableData asAttachmentClass.XML, while the list is based on the NAS attachmentclass, it eventually became a separate tag. Perhaps AttachmentMode.XML?

EDIT: more confusion with attachmentclasses, under the Data menu's TableData sub menu, "Built-in Attachment Classes" is leading to the NAS AttachmentClasses XML Edit2: sorry, my mistake, I had earlier inserted a copy of my AttachmentClass.XML as nasAttachmentClass.XML to see if it was interacting with the "Custom Attach Class" field in the XML Editor.

Again, need to be clear that the old NAS Lookup\AttachmentClass.XML and are still in use for NAS. Flugente's new feature, while inspired by this NAS tag/XML is implemented in a new separate form - indeed I think it is hard coded.

EDIT2b: Basically, the old AttachmentClass support from earlier XMLEditors needs to be brought back, alongside support for scope modes (and other attachment stuff that Flugente's parallel attachment definition system requires).

[Updated on: Tue, 24 April 2012 19:00] by Moderator

Report message to a moderator

Lieutenant

Re: XML Editor Bug Reports[message #303856] Tue, 24 April 2012 21:36 Go to previous messageGo to next message
Flugente

 
Messages:3509
Registered:April 2009
Location: Germany
The attachments the game uses are read from the - tag in Items.xml.

For example, a ACOG Combo, 4x has 24, while a simple ACOG has 16. This is because 16 is the flag for SCope, 8 is the flag for Sight.

My feature does not need TableData asAttachmentClass.XML. It has nothing to do with it. The above tag simply determines what an attachemnt can do, not where it can be placed.

In r1399 of the GameDir-trunk, MaddMugsy renamed TableData\AttachmentClass.XML to TableData asAttachmentClass.XML.

Report message to a moderator

Captain

Re: XML Editor Bug Reports[message #303888] Wed, 25 April 2012 09:05 Go to previous messageGo to next message
Madd_Mugsy

 
Messages:634
Registered:July 2005
Location: Canada
Spotted the other thread first. Reply is here: http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=303887#Post303887

Basically, both fields still exist and both files are required by the editor.

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #303898] Wed, 25 April 2012 14:59 Go to previous messageGo to next message
sputnikk is currently offline sputnikk

 
Messages:14
Registered:August 2007
Location: Lule
Hi all!

I tried to start the xml editor yesterday, but i got an error message...

*************************************
Unhandled error. Please report this error to the JA2 1.13 Development Team on the 'Bears Pit Forum'.

Error:
Name cannot begin with the '<' character, hexadecimal value 0x3c. Line 1 position 2."
*************************************

I have just installed .NET 4.0. The editor is Version 0.87

What can be wrong?

[Updated on: Wed, 25 April 2012 15:00] by Moderator

Report message to a moderator

Private
Re: XML Editor Bug Reports[message #303899] Wed, 25 April 2012 15:13 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
@sputnikk

This is almost certainly a datafile problem. One of the xml contains a << somewhere, so the parsing obviously crashes. The file should be the last one visible in the loading screen, or you can check them yourself, especially since it's the first line of the file.

Report message to a moderator

First Sergeant
Re: XML Editor Bug Reports[message #303902] Wed, 25 April 2012 16:57 Go to previous messageGo to next message
sputnikk is currently offline sputnikk

 
Messages:14
Registered:August 2007
Location: Lule
Thanks for quick answer! Smile

Report message to a moderator

Private
Re: XML Editor Bug Reports[message #308859] Thu, 09 August 2012 10:07 Go to previous messageGo to next message
Istrebitel is currently offline Istrebitel

 
Messages:212
Registered:December 2009
Location: Russia, Saint-Petersburg
Xml editor breaks food system if you save anything (i was tweaking one weapon but it removed "food" tags from all food items)

Report message to a moderator

Sergeant 1st Class
Re: XML Editor Bug Reports[message #308860] Thu, 09 August 2012 10:15 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3658
Registered:July 2009
Try the new test editor in the food thread.

Report message to a moderator

Captain

Re: XML Editor Bug Reports[message #308861] Thu, 09 August 2012 11:26 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
[url=http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/308814/JMich.html#Post308814
JMich[/url]]Try the version found here, if it works as it should, I'll commit it. If there are any problems, tell me and I'll try to fix them.
P.S. I'm using the Food.xml szName tag to display the food type, so I'd suggest changing the 0 value item from "none" to "(none)" for ordering reasons. Also, the Pockets Available is a bitmask, so be aware of it should you mess with the MOLLE system.

True, I probably should have added a link here as well.

Report message to a moderator

First Sergeant
Re: XML Editor Bug Reports[message #308882] Thu, 09 August 2012 23:47 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
If there are no errors reported until tomorrow, I'm going to commit the patch and give a copy of the editor to be commited to the trunk as well.

Report message to a moderator

First Sergeant
Re: XML Editor Bug Reports[message #312845] Fri, 07 December 2012 10:23 Go to previous messageGo to next message
Grubby is currently offline Grubby
Messages:2
Registered:December 2012
http://img600.imageshack.us/img600/1421/ja2error.png

Anybody help with this one? If I move the error box it crashes while "creating database"

I was modifying weights of grenades to 1 for further throwing distance and my pc crashed, after a restart JA2 wouldnt load and the xml editor was throwing up these errors

I have got the game working again by re-doing the 1.13 install and overwriting all files. xml editor is still the same Sad

Report message to a moderator

Civilian
Re: XML Editor Bug Reports[message #312850] Fri, 07 December 2012 12:39 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
To get the XML Editor working again, delete "Data-1.13\XMLWorkingData". As for the error message, it seems that a section was deleted for some reason, and it shouldn't happen through the usage of the XML Editor. Did you modify anything through a text editor?

Report message to a moderator

First Sergeant
Re: XML Editor Bug Reports[message #312856] Fri, 07 December 2012 15:22 Go to previous messageGo to next message
Grubby is currently offline Grubby
Messages:2
Registered:December 2012
Should the "XMLworkingdata" file be in the "Data-1.13" folder in the JA2 root directory? Seems to be missing.

I was following another thread attempting to fix the problem which pointed me to

"C:\Users\User\AppData\Local\JA2_v1.13_Mod_Team\XML_Editor.exe_Url_q0jq0uq2gqu02wczivhvwraw13byytn5\0.60.0.0"

I opened the config file with notepad to make sure it was correct

Report message to a moderator

Civilian
Re: XML Editor Bug Reports[message #312881] Sat, 08 December 2012 12:26 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
It is located in the "Data-1.13" folder and not in the root.

Report message to a moderator

Sergeant Major

Re: XML Editor Bug Reports[message #314020] Tue, 08 January 2013 19:19 Go to previous messageGo to next message
PeTeTe809 is currently offline PeTeTe809

 
Messages:15
Registered:June 2010
Location: The Netherlands, Tilburg ...
I always edit my IMPs to be not so well equiped, I use the XML editor for that.

5778's XML editor is not working, as the complete noob I am to XML and editing I don't know how to fix. The XML editor is looking for files within the Data - 1.13 / TableData folder that aren't there. In previous builds the XML files it's looking for are there but here they have their own folders, not sure where I can edit the XML editor to find the files it is looking for.

Alternately, if I can import my IMPs from another build, or create them that way, would also work.

Any help?

[Updated on: Tue, 08 January 2013 19:20] by Moderator

Report message to a moderator

Private
Re: XML Editor Bug Reports[message #314021] Tue, 08 January 2013 19:27 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3658
Registered:July 2009
Wait for a new XML Editor. IMPs can be reused by copying the ***.dat2 files from your old profiles directory and then typing their nick name instead of xep624 on the web page.

Report message to a moderator

Captain

Re: XML Editor Bug Reports[message #314023] Tue, 08 January 2013 19:36 Go to previous messageGo to next message
Sam Hotte

 
Messages:1966
Registered:March 2009
Location: Middle of Germany
It's in file "XMLEditorInit.xml" (edit e.g. with notepad or similar plain text editor)
Quote:


edit path here

(At least it used to be this way in older version of XMLeditor)

Importing IMPs could work as well.
IMPs are stored as [callsign|nickname].dat2 in the according UserProfile in the profiles folder.

Copy the desired IMP's .dat2 file to the Userprofile in your new installation, start a new game and enter this IMP's callsign/nickname instead of the creation code in the login field on IMP website in game.
If it worked, this very IMP is added to your roster instantly.

[Updated on: Tue, 08 January 2013 19:37] by Moderator

Report message to a moderator

Sergeant Major
Re: XML Editor Bug Reports[message #314025] Tue, 08 January 2013 20:42 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3658
Registered:July 2009
And wrong. This isn't about pointing the editor to another mod, this is an effect of the recent tabledata cleanup. Someone will have to correct the filepaths in the xml-editor code.

I fear this will haunt us for some time, just like the HAM3.6 ini reordering a few years ago.

Report message to a moderator

Captain

Re: XML Editor Bug Reports[message #314056] Wed, 09 January 2013 19:18 Go to previous messageGo to next message
Clarkew is currently offline Clarkew

 
Messages:75
Registered:May 2011
Location: East Texas, USA
For now i just use the last build before the re-order to edit the xmls in s separate directory then copy the files i need to their respective directories and rename where necessary. a bit tedious but it works.

[Updated on: Wed, 09 January 2013 21:02] by Moderator

Report message to a moderator

Corporal
Re: XML Editor Bug Reports[message #322358] Tue, 02 July 2013 19:16 Go to previous messageGo to next message
Spookylizard is currently offline Spookylizard

 
Messages:12
Registered:March 2013
Hi, I'm using the XML that comes with Version 6038/1660 (For use with UC-113), and the XML editor is now suddenly throwing up an error that "column 'uiIndex' is ocnstrained to be unique. Value '0' is already present". It's worked before, when I first set everything up a couple of months ago, but now that I'm playing again, and wanted to tweak some settings, it's suddenly very unhappy and insists on crashing all the time.

Report message to a moderator

Private
Re: XML Editor Bug Reports[message #322359] Tue, 02 July 2013 20:00 Go to previous messageGo to next message
Gambigobilla

 
Messages:693
Registered:July 2008
It should tell you about a specific xml file with this error. Probably "items.xml". It seems there are two entries with "0". Open the file with notepad and search for this string. Delete or modify the second one.

Report message to a moderator

First Sergeant
Re: XML Editor Bug Reports[message #322361] Tue, 02 July 2013 20:29 Go to previous messageGo to next message
Spookylizard is currently offline Spookylizard

 
Messages:12
Registered:March 2013
Doesn't say that. It also isn't listing any specific XML files as it's loading them, so it's presumably at the top of the queue. I'll check through the files after work tonight. Thanks!

Report message to a moderator

Private
Re: XML Editor Bug Reports[message #322362] Tue, 02 July 2013 20:52 Go to previous messageGo to next message
Gambigobilla

 
Messages:693
Registered:July 2008
On a side note try deleting "xmlWorkingData" folder.

Report message to a moderator

First Sergeant
Re: XML Editor Bug Reports[message #322373] Tue, 02 July 2013 23:12 Go to previous messageGo to next message
Flugente

 
Messages:3509
Registered:April 2009
Location: Germany
Second Gambigobilla here. I often get that exact error because the editor somehow hangs. That will be the problem.

Report message to a moderator

Captain

Re: XML Editor Bug Reports[message #322377] Wed, 03 July 2013 01:08 Go to previous messageGo to next message
SharkD is currently offline SharkD

 
Messages:352
Registered:July 2003
Reposted from here.

SharkD
OK, in XMLEditorInit.xml I changed the datapath to:

	Data-UB\AddOns\Data-Mod-SOG69-Vietnam


and

	D:\Jagged Alliance 2\Data-UB\AddOns\Data-Mod-SOG69-Vietnam


But now the editor refuses to run. No error message either.

[edit]

Scratch that. I did get an error message after all. I simply didn't notice it.

http://i421.photobucket.com/albums/pp292/SharkD2161/Support/th_ja2_xmleditor_bug_01_zps55872884.png


SharkD
Well, the error says it's missing a certain STI, so my guess would be that the editor doesn't think to look for the files used by default before the add-on gets loaded in the parent data directory (e.g. Data-UB).


Gambigobilla
Basicly what i'm saying is get missing files from your "data-ub" folder. If those file are not there, check your "data-113" folder. If you can't find them again check your vanilla "data" folder.

[Updated on: Wed, 03 July 2013 01:09] by Moderator

Report message to a moderator

Master Sergeant
Re: XML Editor Bug Reports[message #322402] Wed, 03 July 2013 22:44 Go to previous messageGo to next message
Spookylizard is currently offline Spookylizard

 
Messages:12
Registered:March 2013
Thanks, Gambigobilla! XmlWorkingData folder had whatever error was causing it; removing that solved the problem. Now I can get back to making everything perfect.

Report message to a moderator

Private
Re: XML Editor Bug Reports[message #328089] Wed, 13 November 2013 17:41 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
And one question which bothers me for some time...

We have "Merc Profile Editor", "XML editor" maybe some more editors which I'm not aware and that is really great, makes me very happy :thumbsup:
Those two examples use XMLs and that's fine too, but what I'm not understanding why anybody bother to externalized all complex structures when those editors could be programmed to work with existing binary files ???

So policy is to externalized everything to XMLs and then create editors for them,... although wearing glasses on my nose can't see higher meaning of that.
Obviously XMLs are not so user friendly as some propaganda try to represent them Razz

Report message to a moderator

Master Sergeant
Re: XML Editor Bug Reports[message #328100] Wed, 13 November 2013 20:32 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
@Kriplo: The real problem is, that the editors are often out of date and do not support the latest xml files. With the data externalized to xml, modders can still make changes to the xml files, without the use of an editor. If we only had that data in binary format no modder could change it without the use of a proper binary editor.

I agree with you, if all the editors are up to date and support everything that the modders can change in 1.13, we do not need to have all the binary data externalized to xml. But sadly, that is not the case. So I think we have to stick with the xml data and of course still improve and keep the xml editors up to date.

Report message to a moderator

Sergeant Major

Re: XML Editor Bug Reports[message #328101] Wed, 13 November 2013 21:02 Go to previous messageGo to next message
silversurfer

 
Messages:2793
Registered:May 2009
In addition to that it is much easier to merge XML files than binary files. People like me who have made adjustments to some XMLs appreciate this option very much.

Report message to a moderator

Lieutenant
Re: XML Editor Bug Reports[message #328107] Wed, 13 November 2013 22:23 Go to previous messageGo to next message
Kriplo is currently offline Kriplo

 
Messages:256
Registered:February 2008
Location: Zagreb - Croatia
Don't mean to criticize (too much) or speaking about abandoning XMLs (they are here and they will stay) but need to put some observations which make me quite unhappy Wink

- personal changes to XMLs so often became declared on whole file as conflict after adding new tags and sometimes just for extra TAB or space (maybe solution for that is merge as Silversurfer said old with new but don't know how to do it)
- there are so many of them and they grow larger it's so easy to put manually something improper then spend hours figuring out what went wrong
- game became very complex and so hard for track all those externalizations and features, and all such games (e.g. fallout franchise) had one editor for all XMLs, well Rowa21, that would be really nice up to date or not Smile
- starting game under debug is so frustrating long comparing to 4 years ago no matter if you had top art PC or not
- no idea how modders fight this state but it's look to me they are more eager to stuck with too old versions then to keep track with trunk, although this is not only because 'friendly XMLs' but they had role especially when suddenly be moved to own subdirectories

There is more but that's all for now, bugs are waiting Very Happy

Report message to a moderator

Master Sergeant
Re: XML Editor Bug Reports[message #329795] Thu, 16 January 2014 08:17 Go to previous messageGo to next message
M16AMachinegun is currently offline M16AMachinegun

 
Messages:304
Registered:September 2013
Hey there.

XML Editor needs to have usSpotter tag support. There's no field to enter a value for this, and whenever items are edited, it deletes the tag, forcing manual editing of the xml file.

Report message to a moderator

Master Sergeant
Re: XML Editor Bug Reports[message #329796] Thu, 16 January 2014 09:58 Go to previous messageGo to next message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
usSpotter? Which file is that in? If it's in items.xml, the tag should not be deleted, and it should be available for editing (assuming you show it in the gridview).

If you mean usSpotting in items.xml, grab a newer XML Editor (160 is the latest one atm, grab it from here). Still no dedicated field, but it won't be deleted.

Report message to a moderator

First Sergeant
Re: XML Editor Bug Reports[message #332956] Thu, 22 May 2014 01:02 Go to previous messageGo to next message
M16AMachinegun is currently offline M16AMachinegun

 
Messages:304
Registered:September 2013
Attempting to use latest XML editor with AFS RC8 + SCI 7205

Get "Value cannot be null" when attempting to access LBE items



Turned "working directory" to FALSE/off and my problems disappeared (though load times are super long now)

Report message to a moderator

Master Sergeant
Re: XML Editor Bug Reports[message #332969] Thu, 22 May 2014 07:39 Go to previous messageGo to next message
Gambigobilla

 
Messages:693
Registered:July 2008
Delete XmlWorkingData folder in Data-AFS folder (i'm not sure about the profile folder name of AFS)
Turn back on working directory option.

Report message to a moderator

First Sergeant
Re: XML Editor Bug Reports[message #332972] Thu, 22 May 2014 09:44 Go to previous messageGo to previous message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
M16AMachinegun
Attempting to use latest XML editor with AFS RC8 + SCI 7205

Get "Value cannot be null" when attempting to access LBE items
Question, what did you change and got it not working? Was there a change through the XML Editor, a change done by hand, or only a new AFS installation?

Report message to a moderator

First Sergeant
Previous Topic: Some bugs from my latest run
Next Topic: Bugs: 2014 Official 1.13 Release (7435) with 7609 Update
Goto Forum:
  


Current Time: Fri Mar 29 14:20:38 GMT+2 2024

Total time taken to generate the page: 0.02575 seconds