.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old November 18th, 2006, 08:36 PM

PopskiPPA PopskiPPA is offline
Corporal
 
Join Date: May 2006
Location: Stuttgart, Germany
Posts: 59
Thanks: 23
Thanked 5 Times in 5 Posts
PopskiPPA is on a distinguished road
Default Re: pbem game password problem

Using different compressing programs or sending the files uncompressed did not solve the problem.

But delaying the arrival of paradrops and glider landings by one turn made the problem appear one turn later. So I started a new pbem against myself on the same map. The turn after the paradrop/glider landings the password of player 2 was no longer accepted. The paras/gliders were russian. It didn't matter if the russians were played by player 1 or player 2, the password of player 2 was rejected.

So the problem seems to be associated with paras/gliders and/or the map.

Just ran a quick test:

August 1946, visibility 30, USSR vs USA, meeting engagement, random map 150*150

I bought in this order for Russia:

3* unit 200 G-11 Glider
1* formation 161 Para Company [A], last section deleted
8* unit 200 G-11 Glider
2* formation 43, unit 70 Guards Platoon
2* formation 100, unit 139 Horsa (Poland allied)
1* formation 4, unit 127 Guards Tank Co, last two sections deleted
1* formation 4, unit 294 Guards Tank Co, last two sections deleted

The first three glider stay empty to soak up AAA, the tanks go into the Horsas. All are plotted to land after turn 1 on the left side of the map. Entry top left corner, exit bottom left corner.
The turn after the landing player2s password is rejected.
Just repeated the test with the landings after turn 2, same result, password rejected after the landing.

I repeated this multiple times, every time the same result.

So it seems there is a problem with paras/gliders. I don't think it is faulty RAM or the harddisk because I can reproduce the problem.
How likely is it for faulty hardware to always affect the password of player2 and only after the landing of paras/gliders?
There was no transfer in the test game, so no corruption possible.

I'm attaching the turns of the test game.
password player1 russia
player2 usausausa
path in both cases D:\WinSPWW2

Popski
Attached Files
File Type: zip 471790-test game.zip (275.4 KB, 96 views)
__________________
Popski[PPA]

"Join Popski's Private Army and Enjoy the War!"
Reply With Quote
  #2  
Old November 18th, 2006, 10:11 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,996
Thanks: 490
Thanked 1,928 Times in 1,254 Posts
Mobhack is on a distinguished road
Default Re: pbem game password problem

interesting. it sounds as if it may be an array overrun, one of C/C++ little 'oddities' (sane languages like Pascal would throw an exeption at any attempt to address ouside an array's bounds).

I will look into this.

Andy
Reply With Quote
  #3  
Old November 19th, 2006, 02:02 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,996
Thanks: 490
Thanked 1,928 Times in 1,254 Posts
Mobhack is on a distinguished road
Default Re: pbem game password problem

OK - it was array addressing, but due to a typo I must have made some time ago.

It was in the glider landing routine, and results in data overwriting the password block. Now fixed (MBT and WW2).

Very good catch - it was a subtle little thing, which needed careful step-through on the debugger to find.

Until the newest EXEs come out - passworded PBEM games with gliders should not be played.

Cheers
Andy
Reply With Quote
  #4  
Old November 20th, 2006, 10:01 PM

PopskiPPA PopskiPPA is offline
Corporal
 
Join Date: May 2006
Location: Stuttgart, Germany
Posts: 59
Thanks: 23
Thanked 5 Times in 5 Posts
PopskiPPA is on a distinguished road
Default Re: pbem game password problem

Thank you for taking my observation seriously.

One little request: would it be possible to change the scrambled password of player2 back to what it was before the gliders landed? It was tobispiel. I'm attaching the turn (played for the first time, not the repeatedly played turn during testing).

It would be nice to finish this game before we change the sides.

Thank you very much!

PopskiPPA
Attached Files
File Type: rar 472238-slot002TobiRunde12.rar (700.2 KB, 95 views)
__________________
Popski[PPA]

"Join Popski's Private Army and Enjoy the War!"
Reply With Quote
  #5  
Old November 21st, 2006, 12:33 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,996
Thanks: 490
Thanked 1,928 Times in 1,254 Posts
Mobhack is on a distinguished road
Default Re: pbem game password problem

Sorry, but no.

A PBEM game is difficult enough to debug - one often has to go into the code and comment out lines for things the game is objecting to, and so on just to get the debug info. So actually changing that data - and getting it back on disk in a playable state (on the other players installation) from a game that has technically failed security, is decidedly non trivial. A PBEM game can really only be "debugged" by breaking it and the actual programme code.


Cheers
Andy
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:56 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.