Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Noob: just basic model changes = error

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Decisive Campaigns: Ardennes Offensive >> Scenario Design and Modding >> Noob: just basic model changes = error Page: [1]
Login
Message << Older Topic   Newer Topic >>
Noob: just basic model changes = error - 11/22/2021 6:13:17 AM   
jzardos


Posts: 662
Joined: 3/15/2011
Status: offline
Ok, trying to get my feet wet so I thought I would just first try and work off existing Watch am Rhein scen. But getting an exception when my scen loads for play.

Steps

1. loaded Watch am Rhein
2. saved it as 'Watch am Rhein Test'
3. test start on it and works

4. went into historical unit editor and made a copy of 'germanymodels.dc4his' called 'germanymodels2.dc4his'
5. back to main menu and loaded my 'Watch am Rhein Test'
6. started simple editor -> Libraries
7. clicked on '6) German Models' and Load Library
8. choose my 'germanymodels2.dc4his' under modellibs dir to load
9. on page just selected 'reload library'
10. back to Dashbaord and save scen
11. start scen and it fails when loading

quote:

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

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at WindowsApplication1.HandyFunctionsclass.IsAlliedOrSelf(Int32 reg1, Int32 reg2, Boolean ForReconPurpose) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\HandyFunctionsClass.vb:line 12574
at WindowsApplication1.HandyFunctionsclass.SetHexReconAndZOCUnitMoves_LosRules(Int32 ox, Int32 oy, Int32 omap, Int32 x, Int32 y, Int32 map, Int32 regnr, Int32 unr, Boolean ZOCConquest, Boolean dontcountair, Boolean changezoc, Int32 overrulerecon) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\HandyFunctionsClass.vb:line 6239
at WindowsApplication1.HandyFunctionsclass.SetHexReconAndZOCUnitMoves(Int32 ox, Int32 oy, Int32 omap, Int32 x, Int32 y, Int32 map, Int32 regnr, Int32 unr, Boolean ZOCConquest, Boolean dontcountair, Boolean changezoc, Int32 overrulerecon) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\HandyFunctionsClass.vb:line 6615
at WindowsApplication1.HandyFunctionsclass.SetHexReconAndZOC(Int32 x, Int32 y, Int32 map, Int32 regnr) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\HandyFunctionsClass.vb:line 7154
at WindowsApplication1.ProcessingClass.SetInitialReconAndZOC(Int32 regnr) in G:\VR\VRDevelopment\WindowsApplication1\Game\Calculations\ProcessingClass.vb:line 1931
at WindowsApplication1.GameLoopMainWindowClass2.handleTimer() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\NewWindows\Initial\GameLoopMainWindowClass2.vb:line 261
at WindowsApplication1.ScreenClass.HandleTimer() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\ScreenClass.vb:line 1129
at WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 2312
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4420.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.7983.20373
Win32 Version: 1.0.7983.20373
CodeBase: file:///C:/Program%20Files%20(x86)/Matrix%20Games/Decisive%20Campaigns%20Ardennes%20Offensive/Ardennes.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4400.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
irrKlang.NET4
Assembly Version: 1.0.6617.18847
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/Matrix%20Games/Decisive%20Campaigns%20Ardennes%20Offensive/irrKlang.NET4.DLL
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.84.0.0
Win32 Version: 0.84.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Matrix%20Games/Decisive%20Campaigns%20Ardennes%20Offensive/ICSharpCode.SharpZipLib.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:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

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.
Post #: 1
RE: Noob: just basic model changes = error - 11/22/2021 7:12:02 AM   
Vic


Posts: 8262
Joined: 5/17/2004
Status: offline
Yes the editors will need some more fixes as more people are trying things we never tried.

Will avoid this from happening in next build.

Could you please email to vic@vrdesigns.net
- germanymodels2.dc4his
- your wacht am rhein test scn

So that I can copy what you are doing.

I'd like to fix this a quick possible.

Best wishes,
Vic



_____________________________

Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics


(in reply to jzardos)
Post #: 2
RE: Noob: just basic model changes = error - 11/22/2021 7:35:28 AM   
jzardos


Posts: 662
Joined: 3/15/2011
Status: offline
quote:

ORIGINAL: Vic

Yes the editors will need some more fixes as more people are trying things we never tried.

Will avoid this from happening in next build.

Could you please email to vic@vrdesigns.net
- germanymodels2.dc4his
- your wacht am rhein test scn

So that I can copy what you are doing.

I'd like to fix this a quick possible.

Best wishes,
Vic




Done. I followed the steps in the initial post. I also just recently uninstalled and installed again and repeated steps with the same results.

< Message edited by jzardos -- 11/22/2021 7:37:00 AM >

(in reply to Vic)
Post #: 3
RE: Noob: just basic model changes = error - 11/22/2021 4:36:30 PM   
Oberst_Klink

 

Posts: 4778
Joined: 2/10/2008
From: Germany
Status: offline
I am most certain what the problem was. When loading | importing the model library in the simple editor, Jason forgot to replace the Axis regime. That mistake I made before as well.

Klink, Oberst

_____________________________

My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.

(in reply to jzardos)
Post #: 4
RE: Noob: just basic model changes = error - 11/22/2021 7:17:18 PM   
Vic


Posts: 8262
Joined: 5/17/2004
Status: offline
I could not reproduce this...

I tried.

1. load 'wacht'
2. save 'wacht' as 'wacht2'
3. load 'german models'
4. save 'german models' as 'german models2'
5. load 'wacht2'
6. import 'german models2'

Can you retry to reproduce this bug with the latest open beta? It might have gotten fixed after i sent the v1.00.01 to slitherine.

Let me know please.

Best wishes,
Vic

_____________________________

Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics


(in reply to Oberst_Klink)
Post #: 5
RE: Noob: just basic model changes = error - 11/22/2021 7:17:54 PM   
Vic


Posts: 8262
Joined: 5/17/2004
Status: offline

quote:

ORIGINAL: Oberst_Klink

I am most certain what the problem was. When loading | importing the model library in the simple editor, Jason forgot to replace the Axis regime. That mistake I made before as well.

Klink, Oberst


I dont think so. And it should be impossible to do that now too.


_____________________________

Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics


(in reply to Oberst_Klink)
Post #: 6
RE: Noob: just basic model changes = error - 11/24/2021 4:38:21 AM   
abulbulian


Posts: 1047
Joined: 3/31/2005
Status: offline
Thanks for all the help here Vic and Klink. The screen showing me 0)axis would be replaced by axis was misleading me that I didn't have to change anything. It actually did not replace, but created a new regime. So by going in and CHANGEing it to axis manually it work. Believe Vic is changing that default display to work as expected. Great game!

I had same problem as Jzardos. So this post helped me out!

< Message edited by abulbulian -- 11/24/2021 4:41:16 AM >


_____________________________

- Beta Tester WitE and ATG
- Alpha/Beta Tester WitW and WitE2

"Invincibility lies in the defence; the possibility of victory in the attack." - Sun Tzu

(in reply to Vic)
Post #: 7
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Decisive Campaigns: Ardennes Offensive >> Scenario Design and Modding >> Noob: just basic model changes = error Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.715