Problem with "screenshot" option

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

Moderator: Vic

Post Reply
bebert
Posts: 40
Joined: Mon Jan 12, 2009 1:04 pm

Problem with "screenshot" option

Post by bebert »

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

If "screenshot" is selected like that:

Image

This happens:

Image

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....[&:]
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem with "screenshot" option

Post by Vic »

hi,
 
whats your Operating system?
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem with "screenshot" option

Post by Vic »

You could also try switching of any protection software against other applications writing to your harddrive if you have any.
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem with "screenshot" option

Post by Vic »

oh and whats your RAM memory?
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
bebert
Posts: 40
Joined: Mon Jan 12, 2009 1:04 pm

RE: Problem with "screenshot" option

Post by bebert »

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
Posts: 40
Joined: Mon Jan 12, 2009 1:04 pm

RE: Problem with "screenshot" option

Post by bebert »

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 [;)]
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem with "screenshot" option

Post by Vic »

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
 
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
bebert
Posts: 40
Joined: Mon Jan 12, 2009 1:04 pm

RE: Problem with "screenshot" option

Post by bebert »

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>
&nbsp;&nbsp;&nbsp; <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...[&:]
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem with "screenshot" option

Post by Vic »

3. Do you have full admin rights on your system?
&nbsp;
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem with "screenshot" option

Post by Vic »

Could you send me an email to vic@xs4all.nl&nbsp;so i can send you a file.
&nbsp;
I'll try to fix this for you. But it might involve me sending you a test patch.
&nbsp;
kind reg,
vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem with "screenshot" option

Post by Vic »

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.
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem with "screenshot" option

Post by Vic »

So if you do not select "passwords" you dont get the bug?
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
bebert
Posts: 40
Joined: Mon Jan 12, 2009 1:04 pm

RE: Problem with "screenshot" option

Post by bebert »

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.[:)]
&nbsp;
If you want, you can try yourself with this scen which is upload in the sandbox of the scenario bank.
&nbsp;
&nbsp;
&nbsp;
I have the administrator rights on the computer (I hope), it's my personnal computer.
User avatar
Vic
Posts: 9282
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Problem with "screenshot" option

Post by Vic »

Found it.
&nbsp;
The answer is very simple.
&nbsp;
The name of the scenario is used in naming the screenshot file.
&nbsp;
You used a ":" character in the title.
&nbsp;
That is not allowed for file-names.
&nbsp;
hence the bug.
&nbsp;
rename your scenario and bug should be gone.
&nbsp;
kind reg,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
bebert
Posts: 40
Joined: Mon Jan 12, 2009 1:04 pm

RE: Problem with "screenshot" option

Post by bebert »

Thanks! [8D]
&nbsp;
&nbsp;
Post Reply

Return to “Advanced Tactics Support”