Problem Creating additional sprikes under Landscape Types

Post bug reports and ask for tech support here. Post any Community Site Requests here as well.

Moderator: Vic

Post Reply
User avatar
cbelva
Posts: 2223
Joined: Sat Mar 26, 2005 8:11 pm
Location: Nevada USA

Problem Creating additional sprikes under Landscape Types

Post by cbelva »

Vic,

I am trying to create a new scenario using totoal different landscape and I am trying to create my own sprikes under the landscape type window. I can create the first sprike with no problem. But when I try to create another one, I get "Unhandled exception has occurred in your application". The sprike goes ahead and sets up, but every time I click on it I get this error. I also noticed that the "random" button at the bottom is not working. I am pasting the body of the message at the end for you to look at. It appears I have a setting off somewhere, but I can'f figure it out. I have looked at several of the other scenarios without any help.

Thanks for your help



************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at WindowsApplication1.LandscapeTypeWindowClass.maketabsheetnr0b()
at WindowsApplication1.LandscapeTypeWindowClass.HandleMouseClick(Int32 x, Int32 y, Int32 b)
at WindowsApplication1.MainEditScreenClass.HandleMouseClick(Int32 x, Int32 y, Int32 b)
at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(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.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at WindowsApplication1.ImmoveableForm.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.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.2859.25877
Win32 Version: 1.0.2859.25877
CodeBase: file:///C:/Matrix%20Games/Advanced%20Tactics/bin/AdvancedTactics.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
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
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.84.0.0
Win32 Version: 0.84.0.0
CodeBase: file:///C:/Matrix%20Games/Advanced%20Tactics/bin/ICSharpCode.SharpZipLib.DLL
----------------------------------------
Charles Belva
On Target Simulations LLC
EricSilver_MatrixForum
Posts: 61
Joined: Thu Apr 20, 2006 11:15 am

RE: Problem Creating additional sprikes under Landscape Types

Post by EricSilver_MatrixForum »

By taking a simple look at that report, I can see this line :

"Index was outside the bounds of the array"

cbelva, you say you get that error when you create your second "sprite", right?

maybe that second sprite is bigger in dimensions (X and Y) than what is predefined by the game? maybe the width or the height of that bitmap is too big?
User avatar
cbelva
Posts: 2223
Joined: Sat Mar 26, 2005 8:11 pm
Location: Nevada USA

RE: Problem Creating additional sprikes under Landscape Types

Post by cbelva »

EricSilver, Thanks for yoru reply.
 
I don't think that is it. When I use sprites from the default directory that was used in other scenarios for this same purpose I get the same results. I tested it on one of the original scenarios and I got the same error when I try to add another sprite to the list. If I delete the original spikes, I can add them back and even different ones with no problems. It is when I try to add an additional one that I get the problem. That is why I am let to believe it is a setting on some other screen I am not seeing.
Charles Belva
On Target Simulations LLC
User avatar
cbelva
Posts: 2223
Joined: Sat Mar 26, 2005 8:11 pm
Location: Nevada USA

RE: Problem Creating additional sprikes under Landscape Types

Post by cbelva »

I am bumping this up. I am unsure if this is a bug. If you don't understand my explanation, I can post some screens later on that shows the problema nd what I am trying to do. I am trying to design a new scenario using a complete different terrain set. Everything seems to be working except for this one problem with adding new terrain sprikes.
Charles Belva
On Target Simulations LLC
User avatar
Vic
Posts: 9967
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem Creating additional sprikes under Landscape Types

Post by Vic »

Cbelva! thanks for reporting this stupid bug. it will be fixed in public beta v1.02 which will arrive in a couple of days.
 
sorry it was there in the first place.
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
cbelva
Posts: 2223
Joined: Sat Mar 26, 2005 8:11 pm
Location: Nevada USA

RE: Problem Creating additional sprikes under Landscape Types

Post by cbelva »

Thanks for your reply. I had come to the conclusion that it had to be a bug since I could not find any additions settings that needed to be changed for the terrain.
 
Vic, This is a great game. Thanks for your efforts on it.
Charles Belva
On Target Simulations LLC
User avatar
Vic
Posts: 9967
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem Creating additional sprikes under Landscape Types

Post by Vic »

its a complex game and i am really happy that players help me perfect it. keep those reports comming in!
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
NickGen
Posts: 149
Joined: Thu Nov 01, 2007 9:59 pm
Contact:

RE: Problem Creating additional sprikes under Landscape Types

Post by NickGen »

yes, i confirm cbelva report....I have the same problem....
[:(]  I am stuck in the creation of my mod....[/align]
Nick
User avatar
Vic
Posts: 9967
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem Creating additional sprikes under Landscape Types

Post by Vic »

the v1.02 is very close now. hold on for one more day please.
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Post Reply

Return to “Advanced Tactics Support”