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 is currently offline Torres

 
Messages:171
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]

Report message to a moderator

Staff Sergeant
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
cdudau
purged

[Updated on: Mon, 07 January 2019 19:54] by Moderator

Report message to a moderator

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 is currently offline edmortimer

 
Messages:1533
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).

Report message to a moderator

Sergeant Major
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 is currently offline 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).

Report message to a moderator

Civilian
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:693
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.

Report message to a moderator

First Sergeant
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 is currently offline Tyxe

 
Messages:78
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.

Report message to a moderator

Corporal
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:2793
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

Report message to a moderator

Lieutenant
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:3509
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]




I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

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.

Report message to a moderator

Captain

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 is currently offline smeagol

 
Messages:2705
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.

Report message to a moderator

Lieutenant

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 is currently offline BattleGnome

 
Messages:60
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.

Report message to a moderator

Corporal
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 is currently offline smeagol

 
Messages:2705
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!

Report message to a moderator

Lieutenant

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:2793
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

Report message to a moderator

Lieutenant
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 is currently offline sylar951

 
Messages:57
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

Report message to a moderator

Corporal
Re: XML Editor Bug Reports[message #349346 is a reply to message #346763] Mon, 27 March 2017 04:12 Go to previous messageGo to next message
Hawkeye is currently offline Hawkeye

 
Messages:2416
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.

Report message to a moderator

Lieutenant

Re: XML Editor Bug Reports[message #356545 is a reply to message #349346] Wed, 23 January 2019 07:43 Go to previous message
kmoi is currently offline kmoi

 
Messages:39
Registered:September 2013
Yes. This editor is not perfect. But it is also a very practical auxiliary tool. MOD is very useful in development and viewing.

I really hope someone can update it so that it can be used in the new development version 8647.

Report message to a moderator

Private 1st Class
Previous Topic: Some bugs from my latest run
Next Topic: Bugs: 2014 Official 1.13 Release (7435) with 7609 Update
Goto Forum:
  


Current Time: Sat Apr 20 10:44:46 GMT+3 2024

Total time taken to generate the page: 0.02135 seconds