Home » MODDING HQ 1.13 » v1.13 Bug Reports » XML Editor Bug Reports
XML Editor Bug Reports[message #135188] Fri, 06 April 2007 03:02 Go to next message
Madd_Mugsy

 
Messages:634
Registered:July 2005
Location: Canada
The XML Editor has now been moved out of Alpha testing and into Beta testing. New binaries will now be included as part of your regular SVN updates.

Please post any problems you have with the XML Editor in this thread.

I don't want to start a whole bunch of threads for tracking XML Editor issues, since it is not really part of the main game application. Any new bug reports for the editor will be merged into this topic.

Thank you. Smile

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #135393] Mon, 09 April 2007 01:00 Go to previous messageGo to next message
Wil473

 
Messages:2815
Registered:September 2004
Location: Canada
I was in the process of trying to convert the XM25 and RPG-7 over to the new "true" explosive ammo when I noticed that the editor is still treating the variable "High Explosive" as a simple yes/no flag. I'm not sure how long this has been the case but for some time now, the High Explosive variable should take a reference to an index in the Explosives.xml (Please see re: explosive ammo, the wiki description being a a tad out of date, and the DBB modders figuring this out while I was getting unexplained teargas clouds...
http://www.ja-galaxy-forum.com/board/ubbthreads.php/ubb/showflat/Number/118156/page/2#Post118156 )

I tried using excel to fill in indexes linking to explosives.xml; but all this did was make the Editor crash. From looking at the xml right now, the existing explosive ammo types will produce the explosion defined under index 1 in explosives.xml when they strike ground (and the expected old JA2 explosive effect on object/character strikes). Will test later...

Similarly, I noticed the Bipod is a yes/no flag in the editor. I could have sworn before the editor we could actually fill in an actual value for how much bonus one would get when prone.

EDIT: I've just noticed that the suggestion to use ExplosionSize = 4 to activate the true explosive effect seems to have been implemented... partially... still getting a bullet strike effect on hitting a character, Explosion on ground strike, but no harmless animation at least.

EDIT2: Just more thinking, the editor seems to have no direct way of getting at explosives.xml yet (I think this was mentioned before). From the interface perspective, one way to get around this would be for the editor to recognize that on ExplosionSize = 4; the HighExplosive field needs to change from a check box to a button displaying the explosives.xml index the ammotype would link to; clicking the button opens one of those small editing windows used for item properties.

[Updated on: Mon, 09 April 2007 02:11] by Moderator

Report message to a moderator

Lieutenant

Re: XML Editor Bug Reports[message #135584] Tue, 10 April 2007 21:09 Go to previous messageGo to next message
Madd_Mugsy

 
Messages:634
Registered:July 2005
Location: Canada
1) HighExplosive is still a boolean in the code, so it's improbable that it works like that. In fact I don't think anything has been done on it in a long while. Check the other thread for more discussion. I'll update the xml editor once the code actually works.

2) Explosives.xml can be edited in the editor indirectly through the item detail forms via the Explosive tab.

3) The bipod has been a numeric field for several versions now... It's called bipod/prone and it's in the to-hit portion of the Bonuses tab.

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #136993] Fri, 27 April 2007 04:42 Go to previous messageGo to next message
Wil473

 
Messages:2815
Registered:September 2004
Location: Canada
Not sure if this is fixable but this might be important for anyone trying to create "DIY" weapon families via the XML Editor: the XML editor does not like it when you try to duplicate an items that has a "complex series of mergers" (at least it generates an error immediately and offers the quit or try to continue on prompt, I suggest quitting and going back to pre-error version from your last save).

- Earlier this week, I built up the six versions of the SCAR in stats (now that we have the graphics in 1.13 for the current official six plus graphics for SCAR parts). I had no problem duplicating the original SCAR Heavy and SCAR Light to act as the base for the additional four types.
- Then defined the 30 mergers to allow conversion between any one SCAR type to another one.
- Later on I tried to copy the original SCAR-H used previously as the base stats for the much predicted 7.62x39mm SCAR and promptly got the error. All of the SCAR's in my xmls will generate the error (pasted below is the details from trying to duplicate from the original SCAR-H that the other two were produced from). As far as I can tell, the only difference is that when I duplicated the first 4 SCAR's the complicated merger definitions did not exist yet.

The same error occurs when I tried duplicating the HK416 (now HK416 14.5" barrel) after I had defined mergers where all 5.56mm and .223 AR-15 variants in the Hybrid can be merged with a 416 Upper to create the basic HK416 14.5" barrel. As I do not yet have the other 416 in-game graphically, I'm going to take my time building up their stats as new items.

Below is the error I get when I now try to duplicate the original SCAR-H used to generate the other two H variants.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Data.ConstraintException: Column 'firstItemIndex, secondItemIndex' is constrained to be unique. Value '1175, 1180' is already present.
at System.Data.UniqueConstraint.CheckConstraint(DataRow row, DataRowAction action)
at System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent)
at System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Int32 position, Boolean fireEvent, Exception& deferredException)
at System.Data.DataTable.InsertRow(DataRow row, Int32 proposedID, Int32 pos, Boolean fireEvent)
at System.Data.DataRowCollection.Add(DataRow row)
at BackEnd.DefaultTable.DuplicateRows(DataRow[] rows, DataRow parentRow, Int32 baseKey)
at BackEnd.DefaultTable.DuplicateRows(DataRow[] rows, DataRow parentRow, Int32 baseKey)
at BackEnd.DefaultTable.DuplicateRow(Int32 key)
at BackEnd.XmlDB.DuplicateRow(DataTable table, Int32 key)
at GUI.ItemGridForm.DuplicateMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
XML Editor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/JA%201.13/XML%20Editor.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
BackEnd
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/JA%201.13/BackEnd.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.210 (QFE.050727-2100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


[Updated on: Fri, 27 April 2007 05:17] by Moderator

Report message to a moderator

Lieutenant

Re: XML Editor Bug Reports[message #137389] Wed, 02 May 2007 16:45 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
The XML-Editor did not update TonyInventory.XML the last time I changed some things (introduced new items).

As Tony seems to make more serious problems recently, I also mentioned this in another thread.

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #137882] Mon, 07 May 2007 19:12 Go to previous messageGo to next message
Thor is currently offline Thor

 
Messages:423
Registered:February 2007
Location: Belgium
The editor is very nice. Easy to use too.

However, it seems rather unstable. Don't know if it is logical, but the following happened to me more than once (on the other hand, maybe it is just me):

If I just look at the items... and make a nice list with features that intrest me, the editor crashes when trying to open it later.

Example:

- Items - Show - by class (e.g. armour)
- Tagg columns (replacing ID & others and adding aim bonus & bonus AP as new columns)
- Change the columns' order
- Exit editor (without saving)

Next time I try to open the editor it doesn't want to and tells me to warn Mugsy (unhandled error)... Is this normal?

Report message to a moderator

Master Sergeant
Re: XML Editor Bug Reports[message #137964] Tue, 08 May 2007 03:17 Go to previous messageGo to next message
Majek is currently offline Majek

 
Messages:437
Registered:January 2003
Location: Slovenia
is that message this http://shrani.si/files/xmleditxa4i.jpg ? or is it different?

Report message to a moderator

Master Sergeant
Re: XML Editor Bug Reports[message #138034] Tue, 08 May 2007 16:23 Go to previous messageGo to next message
Thor is currently offline Thor

 
Messages:423
Registered:February 2007
Location: Belgium
Yep, it's something similar
With some Dutch words (using Ditch windows version)

[Updated on: Tue, 08 May 2007 16:24] by Moderator

Report message to a moderator

Master Sergeant
Re: XML Editor Bug Reports[message #138043] Tue, 08 May 2007 18:04 Go to previous messageGo to next message
Majek is currently offline Majek

 
Messages:437
Registered:January 2003
Location: Slovenia
well delete the JA2Data.xsd and run the editor again.

Report message to a moderator

Master Sergeant
Re: XML Editor Bug Reports[message #138068] Tue, 08 May 2007 20:56 Go to previous messageGo to next message
Madd_Mugsy

 
Messages:634
Registered:July 2005
Location: Canada
Sorry for the delay. I'm working on these now. Expect a new exe shortly...

I've already resolved the "TableHandler" issue, and am now fixing the duplicate items error.

EDIT: Fixed, but I had to make it so that not all the entries in the merge table were duplicated. The entries where the new item is part of the merge-combination are duplicated. The entries where the item is one of the merge results are not duplicated. This is because it would otherwise store two identical combinations with different results, which not only screws up the referential integrity of the files, but would also screw up the game Razz

@Starwalker: What problems are there with the inventory? Can you please list out the steps to recreate the problem? Thanks!

EDIT 2: Version 0.31 uploaded to SVN

[Updated on: Tue, 08 May 2007 21:48] by Moderator

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #138166] Wed, 09 May 2007 10:46 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
Madd Mugsy
@Starwalker: What problems are there with the inventory? Can you please list out the steps to recreate the problem? Thanks!

Sorry, I can't, because it did not happen again (which is fine by me).

I simply added some new items, and indicated that Tony should buy them (checked the box, but left inventory at 0).
Saved and then exited the XML-Editor.
SVN showed changed versions for all the files I changed (all Items-xmls, magazines.xml, merges.xml, etc.), but did not show any change for the NPC-inventories, those were left untouched although I changed at least two (Tony and Sam).
I do not remember precisely, but it could be that even the Windows Explorer did not show the new time/date stamp for the inventory-xmls.

But it did not happen again on later runs, so you can probably not recreate it Sad

The other Tony-problem is much more pressing, the German forum is mentioning it more often, but I have yet to see it here on the BP.

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #138295] Thu, 10 May 2007 17:04 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
Stumbled upon something in the newest version of the XML-Editor (though it was probably present in the earlier incarnations, too): It complains if the range bonus of match ammo is 120m, obviously the upper limit is not set high enough on this one, too (happened with other values before).

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #138314] Thu, 10 May 2007 20:38 Go to previous messageGo to next message
Madd_Mugsy

 
Messages:634
Registered:July 2005
Location: Canada
Fix uploaded to SVN Smile

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #142603] Sun, 03 June 2007 10:27 Go to previous messageGo to next message
Deus Ex is currently offline Deus Ex

 
Messages:37
Registered:July 2006
Location: Sarawak, Malaysia
Help! XML editor stopped working!

It occured after the most recent update (rev818). Now whenever I start it up it says "Error: unable to assign constraints" and goes on about some values are unique or some other crap. I think it's the german items XML causing the problems cos' the editor specifically brought up a window with uiIndex 795 in germanitems...oh i can't remember the exact message.

[Updated on: Sun, 03 June 2007 10:44] by Moderator

Report message to a moderator

Private 1st Class
Re: XML Editor Bug Reports[message #142609] Sun, 03 June 2007 11:24 Go to previous messageGo to next message
bundybear is currently offline bundybear

 
Messages:8
Registered:September 2006
Location: Queensland Australia
I just had a quick look and yes there is a problem with German.Items.xml
there are two 795
quick fix for now is just open the file in a text editor and delete the second 795
the one after 796
Someone will have to update svn

Report message to a moderator

Private
Re: XML Editor Bug Reports[message #142832] Mon, 04 June 2007 10:37 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
Will repair and update it soon!

EDIT: Fixed and updated it, I hope there are not more faulty entries like that.

[Updated on: Mon, 04 June 2007 10:41] by Moderator

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #146381] Sun, 24 June 2007 12:41 Go to previous messageGo to next message
Tobias is currently offline Tobias

 
Messages:31
Registered:July 2006
Location: Munich, GERMANY
I can't open the German.Items.xml too. The message says:
ERROR: Ein Name darf nicht mit dem Zeichen '<', HEX-Wert 0x3C, beginnen. Zeile 5880, Position 2.
ERROR: A name must not beginn with '<'. Row 5880, position 2.

When I open the file with xml-spy, everything seems to be fine?!
When I try the editor whith an earlier version of this file, the same error occurs?!

O.K. problem solved. I deleted the .xsd file and now it works. Smile

[Updated on: Mon, 25 June 2007 09:45] by Moderator

Report message to a moderator

Private 1st Class
Re: XML Editor Bug Reports[message #146402] Sun, 24 June 2007 14:13 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
Last time I used the XML-Editor (last Thursday), there were no problems.
I'll have a look into it tomorrow, but it looks as if one tag is missing the closing bracket '>', and thus is interpreted as a name.

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #146552] Mon, 25 June 2007 12:00 Go to previous messageGo to next message
Majek is currently offline Majek

 
Messages:437
Registered:January 2003
Location: Slovenia
Farmer Toby

O.K. problem solved. I deleted the .xsd file and now it works. Smile

That should always be the first thing you try when you encounter a bug Smile

Report message to a moderator

Master Sergeant
Re: XML Editor Bug Reports[message #146555] Mon, 25 June 2007 12:28 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
We'll get problems when the new inventory is released, unless Mugsy adapts the XML-Editor Sad

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #152407] Thu, 09 August 2007 07:49 Go to previous messageGo to next message
Deus Ex is currently offline Deus Ex

 
Messages:37
Registered:July 2006
Location: Sarawak, Malaysia
Need help again. I just bought a new computer, transferred the entire ja2 game from external harddrive to the new one, and now the XML editor wouldn't work. It gives a message like "the application failed to initialize properly 0xc0000135." I've transferred the game from the external harddrive to other computers before with no such issues? Can anyone tell me what's going on? The map editor seems to work, but the bloody xml wouldn't.

Report message to a moderator

Private 1st Class
Re: XML Editor Bug Reports[message #152409] Thu, 09 August 2007 10:14 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1961
Registered:October 2005
Location: Austria
This error messages indicates, that the .NET Framework 2.0 is missing. The XML Editor requires the framework. Just download and install it.

Link: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5

Then it should work!

Report message to a moderator

Sergeant Major

Re: XML Editor Bug Reports[message #152423] Thu, 09 August 2007 14:01 Go to previous messageGo to next message
Deus Ex is currently offline Deus Ex

 
Messages:37
Registered:July 2006
Location: Sarawak, Malaysia
ok, i'll try, thanks.

Report message to a moderator

Private 1st Class
Re: XML Editor Bug Reports[message #153000] Tue, 14 August 2007 08:33 Go to previous messageGo to next message
awatz is currently offline awatz

 
Messages:42
Registered:August 2002
Location: Philippines
The Editor does not save any changes that I've made in any XML file.

Report message to a moderator

Corporal
Re: XML Editor Bug Reports[message #153009] Tue, 14 August 2007 10:05 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
You did hit the 'Save'-button, didn't you?
I ask just to make it clear, when you hit the 'Apply' or 'O.K.' buttons during item manipulation, the values are only saved to the temporary database the XML-Editor works on, nothing will be saved to the actual XML-files unless the 'Save' button is used.
Once upon a time I exited the editor without saving, and had to re-do it all...

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #153017] Tue, 14 August 2007 10:38 Go to previous messageGo to next message
Majek is currently offline Majek

 
Messages:437
Registered:January 2003
Location: Slovenia
Beware that you don't click the Open button by mistake like i did. had to go over eveything to even remember what i changed xD

[Updated on: Tue, 14 August 2007 10:39] by Moderator

Report message to a moderator

Master Sergeant
Re: XML Editor Bug Reports[message #153252] Thu, 16 August 2007 01:01 Go to previous messageGo to next message
awatz is currently offline awatz

 
Messages:42
Registered:August 2002
Location: Philippines
Starwalker
You did hit the 'Save'-button, didn't you?
I ask just to make it clear, when you hit the 'Apply' or 'O.K.' buttons during item manipulation, the values are only saved to the temporary database the XML-Editor works on, nothing will be saved to the actual XML-files unless the 'Save' button is used.
Once upon a time I exited the editor without saving, and had to re-do it all...


yes I clicked on the save button. several times even

Report message to a moderator

Corporal
Re: XML Editor Bug Reports[message #153297] Thu, 16 August 2007 10:30 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
Hmm, that's strange. Did you update the editor recently? Delete the JA2Data.xsd file and start the editor again (the editor will make a new xsd-file), then change an item and try to save. Then please report the result here.

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #159065] Tue, 25 September 2007 03:35 Go to previous messageGo to next message
Dr-D is currently offline Dr-D

 
Messages:102
Registered:July 2005
Location: Portugal
I don't know if this was reported or not, but here is my bug report.

I have been editing dbb mod xmls to make them compatible with xml editor (they had several errors), and i found out that some
X
tags had a value bigger then 1.

I corrected them to 1, but the mod makers, and other forum members sayed that in recent builds, the game allows that tag to be higher then 1, that it is no longer a boolean but an integer.

If this is true, then the editor needs to be updated.

Report message to a moderator

Sergeant
Re: XML Editor Bug Reports[message #159865] Sun, 30 September 2007 00:50 Go to previous messageGo to next message
E4MC is currently offline E4MC

 
Messages:6
Registered:August 2007
Location: Arizona, USA
I gave Starwalker some correct weights for items in the last few days, and he made changes to the game. After updating with the SVN yesterday I noticed that the weights sill didn't seem right, and some of my IMP's items that had been the correct weight were now much heavier. So I checked the xml editor to see if someone had edited weights, but the xml editor was showing the correct weights in hexagrams for what my IMP's items used to weigh.

For example, the Colt M4 Commando weighs 5.5 lbs in real life and in the game. 5.5 lbs converts to metric 24 hg, which was the setting for its weight in the xml editor. However, after the update, the Commando's in-game weight is now incorrect at 6.8 lbs, but its xml editor weight is correct at 240 hg.

Before I updated, 10 hg set with the editor equaled the correct conversion of 2.2 lbs in game. After the update, 10 hg converted incorrectly to 2.6 lbs in game. I figured that changes had been made to the conversion for some reason or other, so I started experimenting with the editor to find out what each setting would weigh in game so I could make adjustments to items. I started at 0 hg and went up and this is what I found:

0 hg = .1 lb
1 hg = .2 lb
2 hg = .4 lb
3 hg = .7 lb
4 hg = .9 lb
5 hg = 1.1 lb
6 hg = 1.3 lb
7 hg = 1.5 lb
8 hg = 1.8 lb
9 hg = 2.0 lb
10 hg - 2.2 lb

Wait a minute! These are the correct conversion weights in lbs. So I stopped because I figured I must have been mistaken earlier that the conversion was incorrect. But then I noticed that the Commando still weighed 6.8 lbs when it should weigh only 5.5 lbs, so I started checking items again, including items I had already checked, and all of the sudden, 10 hg was incorrectly weighing 2.6 lbs again!



Report message to a moderator

Private
Re: XML Editor Bug Reports[message #159870] Sun, 30 September 2007 01:19 Go to previous messageGo to next message
gmonk

 
Messages:670
Registered:April 2002
Location: Newfoundland, Canada
Just asking: is the weapon loaded or unloaded in-game when you check the weight?

Report message to a moderator

First Sergeant
Re: XML Editor Bug Reports[message #159959] Mon, 01 October 2007 11:22 Go to previous messageGo to next message
E4MC is currently offline E4MC

 
Messages:6
Registered:August 2007
Location: Arizona, USA
Doh! I didn't think of that. I'll do some experimenting and see. Thanks.

Report message to a moderator

Private
Re: XML Editor Bug Reports[message #159965] Mon, 01 October 2007 11:37 Go to previous messageGo to next message
gmonk

 
Messages:670
Registered:April 2002
Location: Newfoundland, Canada
NP dude, I always forget that sort of thing myself, that's why I thought of asking Wink

Report message to a moderator

First Sergeant
Re: XML Editor Bug Reports[message #159968] Mon, 01 October 2007 11:45 Go to previous messageGo to next message
E4MC is currently offline E4MC

 
Messages:6
Registered:August 2007
Location: Arizona, USA
Yep, when I took the magazines out the weights were correct, so disregard this bug report. Thanks again.

Report message to a moderator

Private
Re: XML Editor Bug Reports[message #160008] Mon, 01 October 2007 16:11 Go to previous messageGo to next message
Alastor is currently offline Alastor
Messages:1
Registered:October 2007
Hello!

I seem to have a serious problem getting the editor to run:

Quote:

XML Editor.exe - Application Error

Application has generated an exception that could not be handled.

Process ID=0x260 (608), Thread ID=0x148 (328).

Click OK to terminate the application.
Click CANCEL to debug the application.


I have already deleted the JA2Data.xsd file but it didn't change a thing.

I'm running Win2k pro with SP4 and .NET Framework 2.0 installed.
I'm using the newest vanilla SVN revision 891.

Any ideas on this would be welcome.


Edit:

Looks like I caused that myself -_- :wb:

After installing again and updating to the new SVN build it works. I must've probably screwed up some files with a third party xml editor.

[Updated on: Mon, 01 October 2007 16:50] by Moderator

Report message to a moderator

Civilian
Re: XML Editor Bug Reports[message #176664] Wed, 27 February 2008 18:35 Go to previous messageGo to next message
Deathstruck is currently offline Deathstruck

 
Messages:132
Registered:June 2007
Error:
The string '2' is not a valid Boolean value


Installed Frameworks, and it still crashes with this message at the start

Report message to a moderator

Sergeant
Re: XML Editor Bug Reports[message #176665] Wed, 27 February 2008 18:54 Go to previous messageGo to next message
Madd_Mugsy

 
Messages:634
Registered:July 2005
Location: Canada
Are you using NIV? or DBB? Version .33 of the editor doesn't support non-boolean values in the highExplosive field in AmmoTypes.xml. You need to use version .34 which is available through the NIV thread in the dev forum,

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #176895] Fri, 29 February 2008 23:14 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
When loading a single item to edit it (version 0.34), some of the up/down arrows for some values are nearly invisible, because the got shifted right, and are partly under the window's frame.

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #176898] Fri, 29 February 2008 23:26 Go to previous messageGo to next message
Madd_Mugsy

 
Messages:634
Registered:July 2005
Location: Canada
This is a font issue. Are you using large fonts or small fonts? I rigged everything up to work with both, but if another developer modifies the item detail form on a machine using small fonts it screws it all up again... stupid visual studio...

My plan is to fix it for .35 which will also have forms for editing MercStartingGear.xml. Should have it done by sometime next week... if I'm lucky, sometime this weekend.

Report message to a moderator

First Sergeant

Re: XML Editor Bug Reports[message #176904] Sat, 01 March 2008 01:40 Go to previous messageGo to previous message
Seraph

 
Messages:19
Registered:June 2006
Location: Germany
Hello Madd Mugsy.
Could you explain, please, how i can delete entries in the Attachments and Attachment Data sections?

Report message to a moderator

Private
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 08:30:00 GMT+2 2024

Total time taken to generate the page: 0.02255 seconds