Problem with "screenshot" option (Full Version)

All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Advanced Tactics Support



Message


bebert -> Problem with "screenshot" option (2/1/2009 6:06:41 PM)

In my last update of the scénario WaW 35c Bebert's mod, I have a problem.

If "screenshot" is selected like that:

[URL=http://www.casimages.com][img]http://nsa04.casimages.com/img/2009/02/01/090201070909347143.jpg[/img][/URL]

This happens:

[URL=http://www.casimages.com][img]http://nsa04.casimages.com/img/2009/02/01/090201071035625585.jpg[/img][/URL]

But if "screenshot" is not selected, all is correct, I can play.

Do you know what goes wrong? Maybe it is my own, but I don't undersatnd why....[&:]




Vic -> RE: Problem with "screenshot" option (2/1/2009 6:30:52 PM)

hi,

whats your Operating system?




Vic -> RE: Problem with "screenshot" option (2/1/2009 6:34:35 PM)

You could also try switching of any protection software against other applications writing to your harddrive if you have any.




Vic -> RE: Problem with "screenshot" option (2/1/2009 6:40:34 PM)

oh and whats your RAM memory?




bebert -> RE: Problem with "screenshot" option (2/1/2009 6:59:14 PM)

And? [:D]

So, I use windows XP, my RAM is 896 MB, with a dual hardcore AMD Atlon 1,6 Ghz.

But the same happens on the computer on another player. I don't have any detail about his PC.

Well, if we don't select "screenshots", all is fine.




bebert -> RE: Problem with "screenshot" option (2/2/2009 9:21:17 AM)

Vic, where are you? Are yous still here? Maybe are you sleeping...[>:][:D]

I think I have missed something in my review of the scen, but I don't know what. The scenario WaW ver 35 bebert's mod is upload in the sandbox of the scen bank of the AT site. But if you can have just a look about that, and maybe tell me what's wrong, I will be happy. So, I am yet happy with your game, but I will be MORE happy [;)]




Vic -> RE: Problem with "screenshot" option (2/2/2009 10:20:22 AM)

1. Try the screenshot option on a really small map. like 20x20. to see if it fails there too.

2. Copy & Paste the full text of the error message please

kind regards,
Vic




bebert -> RE: Problem with "screenshot" option (2/2/2009 11:09:27 AM)

Thanks for your attention and your help.

All is fine with other scenarii with the same map. It is only happens when I put the password of the german player before I play the first turn, when "screenshots" option is selected.

The error text is:

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

************** Exception Text **************
System.NotSupportedException: The given path's format is not supported.
  at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
  at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
  at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
  at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, AccessControlActions control, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
  at System.IO.FileStream..ctor(String path, FileMode mode)
  at WindowsApplication1.HandyFunctionsclass.doscreenshot(String extension)
  at WindowsApplication1.GameLoopMainWindowClass.HandleMouseClick(Int32 x, Int32 y, Int32 b)
  at WindowsApplication1.GameLoopScreenClass.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.42 (RTM.050727-4200)
   CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsApplication1
   Assembly Version: 1.0.3317.28965
   Win32 Version: 1.0.3317.28965
   CodeBase:
file:///C:/Matrix%20Games/Advanced%20Tactics/bin/AdvancedTactics.exe
----------------------------------------
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
   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
----------------------------------------
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
----------------------------------------
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.85.5.452
   Win32 Version: 0.85.5.452
   CodeBase:
file:///C:/Matrix%20Games/Advanced%20Tactics/bin/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.


I understand nothing of that...[&:]




Vic -> RE: Problem with "screenshot" option (2/2/2009 11:44:36 AM)

3. Do you have full admin rights on your system?




Vic -> RE: Problem with "screenshot" option (2/2/2009 11:45:54 AM)

Could you send me an email to vic@xs4all.nl so i can send you a file.

I'll try to fix this for you. But it might involve me sending you a test patch.

kind reg,
vic




Vic -> RE: Problem with "screenshot" option (2/2/2009 11:50:35 AM)


quote:

ORIGINAL: Bébert

Thanks for your attention and your help.

All is fine with other scenarii with the same map. It is only happens when I put the password of the german player before I play the first turn, when "screenshots" option is selected.


Woops!

i did not see that.

Thats really odd.




Vic -> RE: Problem with "screenshot" option (2/2/2009 11:51:48 AM)

So if you do not select "passwords" you dont get the bug?




bebert -> RE: Problem with "screenshot" option (2/2/2009 12:11:13 PM)

I have the bug with or without password, but only if "screenshots" is selected, when I press "strat turn" before the firts german turn (that is the first player turn in this scen), and only with the version 35c version of WaW, not with other version of the scenario WaW (my former version 35a, or version 33 or 34). If "screenshots" is not selected, all is fine. So I guess the new version doesn't support "screenshots" option, but I would like understand why, eventually fix it (if it is possible), and I guess you too.[:)]

If you want, you can try yourself with this scen which is upload in the sandbox of the scenario bank.



I have the administrator rights on the computer (I hope), it's my personnal computer.




Vic -> RE: Problem with "screenshot" option (2/2/2009 12:36:27 PM)

Found it.

The answer is very simple.

The name of the scenario is used in naming the screenshot file.

You used a ":" character in the title.

That is not allowed for file-names.

hence the bug.

rename your scenario and bug should be gone.

kind reg,
Vic




bebert -> RE: Problem with "screenshot" option (2/2/2009 12:43:55 PM)

Thanks! [8D]





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.96875