Home » MODDING HQ 1.13 » v1.13 Bug Reports » XML Editor Bug Reports
Re: XML Editor Bug Reports[message #343169 is a reply to message #337643] Tue, 10 November 2015 17:56 Go to previous messageGo to next message
Torres

 
Messages:181
Registered:June 2010
Location: Canary Islands
Hi I'm using SCI_Unstable_Revision_7991_on_GameDir_2272on current AIMNAS core version from Github (no idea where to find the version of it other than it was last modified on July 2015).

Also the XML editor version is XML Editor Version: 0.106.1.164 and I'm getting the following message after editing a few of the items from AIMNAS...

Memory: 59,942,224 - Error:
Source: BackEnd
Base Error Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Stack Trace: at BackEnd.ItemTable.LoadItemData(String fileName, String filePath)
at BackEnd.ItemTable.LoadData()
at BackEnd.XmlDB.LoadData(DataTable table)
at BackEnd.XmlDB.LoadAllData()
at GUI.Main.Main()
Target Site: LoadItemData
Available Physical Memory: 6283108352
Available Virtual Memory: 8795343896576

Any quick way or anything I can do on my end? please and thanks!

Please do disregard this message, just discovered that due to the new tags the XML editor isn't an option anymore because is outdated :/

[Updated on: Sun, 15 November 2015 23:41]

Re: XML Editor Bug Reports[message #346683 is a reply to message #343169] Fri, 19 August 2016 15:22 Go to previous messageGo to next message
DargusMaximus

 
Messages:13
Registered:August 2014
Location: Poland
Is XML editor permamently broken?


Installed Jagged Alliance 2 Gold 1.10


Downloaded SCI_Unstable_Revision_8289_on_GameDir_2338 and applied it to game.


When launching XML editor i get:



******************************


2016-08-19 14:18:53 - Event Logging Started
			XML Editor Version: 0.106.1.164
			User Name:  
			Computer Name:  BSG-CIC
			Network Connection:  True
			Operating System:  Microsoft Windows 8.1 Pro


******************************


8/19/2016 2:19:08 PM - Memory: 30,575,536 - Error: 
			Source: BackEnd
			Base Error Type: System.NullReferenceException
			Message: Object reference not set to an instance of an object.
			Stack Trace:  at BackEnd.ItemTable.LoadItemData(String fileName, String filePath)
					at BackEnd.ItemTable.LoadData()
					at BackEnd.XmlDB.LoadData(DataTable table)
					at BackEnd.XmlDB.LoadAllData()
					at BackEnd.DataManager.LoadData()
					at GUI.Main.Main()
			Target Site:  LoadItemData
			Available Physical Memory:  6347620352
			Available Virtual Memory:  140736745627648



No other mods beside 1.13 added, just base Gold Version of JA2 + v.1.13


I even tried to go back to older versions of XML editor.


Is there any alternative tool?
Re: XML Editor Bug Reports[message #346685 is a reply to message #346683] Fri, 19 August 2016 20:53 Go to previous messageGo to next message
edmortimer

 
Messages:829
Registered:January 2015
Location: Home Free
Quote:
I even tried to go back to older versions of XML editor.


Is there any alternative tool?


The XML Editor has not been updated for a long time. It is recommended to not use it because it might (probably will) corrupt your files. I use Notepad++. You can use any text editor or code editor (not word processor).




Arulco Vacations Blog

Arulco Vacations Bears Pit Forum

Re: XML Editor Bug Reports[message #346761 is a reply to message #135188] Wed, 31 August 2016 18:38 Go to previous messageGo to next message
Akkak
Messages:1
Registered:August 2016
Location: Poland
Hello guys!
I think I found out temporary solution. To start xmleditor without errors I deleted line <usHackingModifier>50</usHackingModifier> from laptop in items.xml (item number 1021). Probably in other files there was something about "hackingmodifier" and it was deleted/renamed so xmleditor can't connect this line with anything (I'm probably wrong big grin )
Idk if editor is working corretly. I didn't check it up (After almost 2h of searching for that one line causing errors I don't want to live anymore).
Re: XML Editor Bug Reports[message #346763 is a reply to message #346761] Wed, 31 August 2016 19:45 Go to previous messageGo to next message
Gambigobilla

 
Messages:719
Registered:July 2008
XML editor hasn't been updated since 19 July 2015 and doesn't like new tags. XML editor is currently only good for viewing files, clicking save will eff up your XML files irrecoverably. Probably it's better to let it rest.
Re: XML Editor Bug Reports[message #346943 is a reply to message #346763] Sat, 17 September 2016 10:57 Go to previous messageGo to next message
Tyxe

 
Messages:76
Registered:May 2012
Location: France
J2 SVN revision 2341 XML does not even load.
Got error message : object reference not set to an instance of an object.

I don't know how you can easily edit some variables without this editor.
For exemple playing with NCtH, i know with notpad++ how to reduce the AP cost to fire a weapon but i have no idea of how many AP cost i actually reduce it.
Plenty of other things like this.
Re: XML Editor Bug Reports[message #346945 is a reply to message #346943] Sat, 17 September 2016 11:19 Go to previous messageGo to next message
silversurfer

 
Messages:2164
Registered:May 2009
Tyxe wrote on Sat, 17 September 2016 09:57
J2 SVN revision 2341 XML does not even load.
Got error message : object reference not set to an instance of an object.

Just see it as safety precaution so players don't break their files anymore using this outdated editor. ;-)
You can still use the editor to view data using the method described two posts earlier.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: XML Editor Bug Reports[message #348615 is a reply to message #346945] Wed, 01 February 2017 02:33 Go to previous messageGo to next message
Flugente

 
Messages:3158
Registered:April 2009
Location: Germany
In its current state, the only use the editor has is to list all items of a particular class. However, sometimes the editor decides to commit suicide and refuses to reinstart, complaining about some value in Items.xml being out of bounds. As I haven't edited that file, that is BS.

My question is: how do I get the stupid thing to restart? I just want to browse all items of a category to quickly get an item number and couldn't care less about actual editing work in there (which is done in Notepad++). I assume it stores some data somewhere, but where is that? I've nuked my entire 1.13 folder and found no xml folder outside of that. At this point this 'bug/feature' also affects the editors in all other JA2 installations I have, so... this sucks.

I just want the blasted thing to display item pics and ids for different categories, and otherwise bloody fuck off.

[Updated on: Wed, 01 February 2017 02:34]




Saren threw his head back and screamed in impotent fury, before falling to his throne, head in his claws, trembling in horrified disbelief.

Then he heard a faint chime as Sovereign subscribed to her ECHO channel.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: XML Editor Bug Reports[message #348618 is a reply to message #348615] Wed, 01 February 2017 08:37 Go to previous messageGo to next message
smeagol

 
Messages:2713
Registered:June 2008
Location: Bremen, Germany
Hey... I do everything with the editor! Don't you dare to bad mouth it so badly... it's like a beloved pet... (admittedly, it might look like a naked mole-rat... but still...).


Have you set xml working data to true in the xmleditorinit.ini? I have set it to false and the editor always creates a workingdata folder in my data folder. which I always have to delete, because it is way too big for my github updates... but that might be worth trying, i guess?

everything hte editor reads is in data\tabledata afaik.


Re: XML Editor Bug Reports[message #348620 is a reply to message #348618] Wed, 01 February 2017 08:54 Go to previous messageGo to next message
BattleGnome

 
Messages:54
Registered:April 2016
Is there any hope of the xml editor being updated? I know other apps can be used but it seems logical to use the one that is already there.

And how long has it been since tags we added that would require an update to the editor? Are there plans to add more tags? If not, then perhaps it's time to update the xml editor so it has full compatability again and put the whole issue to rest.
Re: XML Editor Bug Reports[message #348622 is a reply to message #348620] Wed, 01 February 2017 12:17 Go to previous messageGo to next message
smeagol

 
Messages:2713
Registered:June 2008
Location: Bremen, Germany
BattleGnome wrote on Wed, 01 February 2017 07:54
Is there any hope of the xml editor being updated? I know other apps can be used but it seems logical to use the one that is already there.

And how long has it been since tags we added that would require an update to the editor? Are there plans to add more tags? If not, then perhaps it's time to update the xml editor so it has full compatability again and put the whole issue to rest.


I totally agree that the editor needs an update!


Re: XML Editor Bug Reports[message #348624 is a reply to message #348622] Wed, 01 February 2017 13:43 Go to previous messageGo to next message
silversurfer

 
Messages:2164
Registered:May 2009
XML Editor complains about several "new" properties in Items.xml because it doesn't know them.

For example these:
<ItemFlag>2147483648</ItemFlag> (protection for explosives)
<usHackingModifier> (modifier for hacking skill)



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: XML Editor Bug Reports[message #349343 is a reply to message #135188] Sun, 26 March 2017 20:55 Go to previous messageGo to next message
sylar951

 
Messages:39
Registered:December 2013
Yeah, I want to change explosion radius of smoke tear&mustard gas grenades but can't use xml editor... It really needs to be updated so it can be used with new versions of SCIs
Re: XML Editor Bug Reports[message #349346 is a reply to message #346763] Mon, 27 March 2017 04:12 Go to previous message
Hawkeye

 
Messages:1651
Registered:October 2005
Location: Australia
Gambigobilla wrote on Thu, 01 September 2016 02:45
XML editor hasn't been updated since 19 July 2015 and doesn't like new tags. XML editor is currently only good for viewing files, clicking save will eff up your XML files irrecoverably. Probably it's better to let it rest.


Unfortunately I concur.


Previous Topic: JA2 1.13 Windows 8.1 -- Consistent Freezes
Next Topic: Bugs: 2014 Official 1.13 Release (7435) with 7609 Update
Goto Forum:
  


Current Time: Wed Oct 18 05:02:23 EEST 2017

Total time taken to generate the page: 0.01654 seconds