Matrix Games Forums

To End All Wars: Mountain InfantryPandora: Eclipse of Nashira Announced! Deal of the Week: Command Ops goes half price!New Fronts are opening up for Commander: The Great WarCharacters of World War 1Sign of for the Pike and Shot Beta!More Games are Coming to Steam! Return to the Moon on October 31st! Commander: The Great War iPad Wallpapers Generals of the Great War
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Crash after loading master file

 
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] >> Advanced Tactics Series >> Advanced Tactics Support >> Crash after loading master file Page: [1]
Login
Message << Older Topic   Newer Topic >>
Crash after loading master file - 11/22/2011 7:28:04 AM   
Ormand

 

Posts: 104
Joined: 2/17/2009
Status: offline
Vic,
I ran into a problem trying to load a master file into a scenario. This is v2.09 and here are the steps. First, I used my graphics mod as the base master file for starting up the editor, via mod at start up. Then, I clicked on create scenario, which has the graphics loaded from the master file, but none of the peoples, and it shows the masterfile name in the settings window. I made the map and wanted to get started putting in some units. But, since I also wanted to use the peoples in the master file, I then reloaded the master file. If I stay away from the map, I can see the peoples, sft's, etc. Anything as long as I stay away from the map, and if I go into the event editor, I do not close the event editor window. When I click on the map box to go to the map, I get a crash with "object not set to an instance of an object" and the following details:

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at WindowsApplication1.BitmapStore.Getheight(Int32 nr, Int32 zoom)
at WindowsApplication1.MapPartClass.Paint()
at WindowsApplication1.MapWindowClass..ctor(GameClass& tGame, Int32 tminheight, Int32 tminwidth, Int32 tZoomLevel)
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.5448 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
Assembly Version: 1.0.4287.26311
Win32 Version: 1.0.4287.26311
CodeBase: file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/AdvancedTacticsGold.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
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.5447 (Win7SP1GDR.050727-5400)
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.5420 (Win7SP1.050727-5400)
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.5420 (Win7SP1.050727-5400)
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%20Gold/ICSharpCode.SharpZipLib.DLL
----------------------------------------
irrKlang.NET
Assembly Version: 1.3.0.0
Win32 Version: 1, 1, 0, 0
CodeBase: file:///C:/Matrix%20Games/Advanced%20Tactics%20Gold/irrKlang.NET.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.

Erich
Post #: 1
RE: Crash after loading master file - 11/23/2011 4:07:03 AM   
Ormand

 

Posts: 104
Joined: 2/17/2009
Status: offline
Update. This crash seems to happen when I load an overlay, and then try to load a masterfile. This happens regardless of the masterfile, i.e., my mod or generic.at2. The other way around seems to be fine.

Also, it looks like the only way to make the overlay go away completely is to load another transparent one. I find that after I save the scenario and then start it, the edges of the overlay graphic can still be visible in the game.

(in reply to Ormand)
Post #: 2
RE: Crash after loading master file - 11/23/2011 4:38:54 AM   
ernieschwitz

 

Posts: 1559
Joined: 9/15/2009
From: Denmark
Status: offline
You can remove an overlay by simply loading one, and then cancel the operation.

As for the crash, i have no idea why it does that.

(in reply to Ormand)
Post #: 3
RE: Crash after loading master file - 11/29/2011 9:01:05 AM   
Vic


Posts: 3632
Joined: 5/17/2004
Status: offline
@Ormand,

Thanks for reporting.

Also ernie is right. Thats the way to remove an overlay.

If you dont want the overlay to show in game make sure to remove it again before starting play. But you dont have you can make a design in which the overlay map that is no blitted behind the hexes is an integeral part by using transparent hexes. I have nobody seen using this functionality yet actually.

The crash bug has been catched and will be fixed with v2.10. Thanks for reporting!

best,
Vic


< Message edited by Vic -- 11/29/2011 9:02:57 AM >


_____________________________

Victor Reijkersz Designs
www.vrdesigns.nl

(in reply to ernieschwitz)
Post #: 4
RE: Crash after loading master file - 11/30/2011 5:10:11 AM   
Ormand

 

Posts: 104
Joined: 2/17/2009
Status: offline
This is interesting. I hadn't realized the transparent hex feature (what I get for just moving over from AT and not reading the manual I guess). So, you could use, say a hand drawn or a satellite image as the map. I presume that the terrain is still there. I didn't know this.

(in reply to Vic)
Post #: 5
RE: Crash after loading master file - 11/30/2011 8:17:08 AM   
Vic


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

quote:

ORIGINAL: Ormand

This is interesting. I hadn't realized the transparent hex feature (what I get for just moving over from AT and not reading the manual I guess). So, you could use, say a hand drawn or a satellite image as the map. I presume that the terrain is still there. I didn't know this.


Noh it has been added in one of the recent patches after release of ATG. You could indeed do what you suggest, the only downside of this approach is somewhat loss of map speed.

best,
Vic

_____________________________

Victor Reijkersz Designs
www.vrdesigns.nl

(in reply to Ormand)
Post #: 6
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Advanced Tactics Support >> Crash after loading master file 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.063