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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







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


Reply
 
Thread Tools Display Modes
  #1  
Old February 1st, 2010, 02:53 PM
Suhiir's Avatar

Suhiir Suhiir is offline
Lieutenant General
 
Join Date: Apr 2007
Location: Salt Lake City, UT
Posts: 2,829
Thanks: 542
Thanked 797 Times in 602 Posts
Suhiir is on a distinguished road
Default Bug in Scenhack?

While working on one of my OOB showcase scenarios I got the following message while trying to use Scenhack.

"Access violation at address 65676561. Read of address 65676561."

I can still use the Editor to open and modify the scenario as normal. And if I remove the German (OOB #044) units and replace them with more USMC (OOB #013) ones the access violation error doesn't show up.

Attached is a copy of the buggy scenario.
Note: This uses my modified USMC OOB.
Attached Files
File Type: zip spscn975.zip (103.2 KB, 121 views)
__________________
Suhiir - Wargame Junkie

People should not be afraid of their governments. Governments should be afraid of their people.

"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." - Albert Einstein
Reply With Quote
  #2  
Old February 1st, 2010, 08:27 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,489
Thanks: 3,957
Thanked 5,692 Times in 2,812 Posts
DRG will become famous soon enough
Default Re: Bug in Scenhack?

Anyone loading this is going to find a half gazillion things to "fix" unless they have your OOB installed. However, I do not get an Access violation message but I'm using a more up to date version of scenhack than you are but AFAIK the only real difference was a change to fix changing game length.

Maybe time to defrag the HD??

Don
Reply With Quote
  #3  
Old February 1st, 2010, 09:25 PM
Suhiir's Avatar

Suhiir Suhiir is offline
Lieutenant General
 
Join Date: Apr 2007
Location: Salt Lake City, UT
Posts: 2,829
Thanks: 542
Thanked 797 Times in 602 Posts
Suhiir is on a distinguished road
Default Re: Bug in Scenhack?

Might well be.
Thanks.
__________________
Suhiir - Wargame Junkie

People should not be afraid of their governments. Governments should be afraid of their people.

"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." - Albert Einstein
Reply With Quote
  #4  
Old February 2nd, 2010, 09:48 AM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: Bug in Scenhack?

Instead of defrag-ing, I would run a chkdsk /f first, just in case the file system is damaged ... simple fragmented files normally shouldn't pose any troubles since we left Win9x behind ... .
Maybe add a /r, because a NTFS file system does not damage itself normally ...

And while you're at it, maybe get yourself the "Ultimate Boot CD" , and run some RAM diagnostics first (Memtest-86 / plus). I advise doing that every couple of months anyway - RAM or motherboard starting to show faults isn't something you'll spot at once, but only when things already got really bad - and some irreplacable data got lost

But then, most likely, it's only the OOB that has some value in it that scenhack does not like at all. Therefore, instead of attaching the scenario file, better attach the OOB file for the developers to check !
Reply With Quote
  #5  
Old February 2nd, 2010, 12:24 PM
Suhiir's Avatar

Suhiir Suhiir is offline
Lieutenant General
 
Join Date: Apr 2007
Location: Salt Lake City, UT
Posts: 2,829
Thanks: 542
Thanked 797 Times in 602 Posts
Suhiir is on a distinguished road
Default Re: Bug in Scenhack?

That's why I sent this.
The bug showed up when I used something from the German (OOB #44) file NOT my revised USMC (OOB #13) file.

That said, it's certainly possible I have a RAM problem.
But I tried removing the German OOB stuff from the scenario.
No problem.
Added USMC stuff in same unit slots.
No problem.
Remove USMC stuff, add German stuff.
Got the same exact error.
*shrugs*
__________________
Suhiir - Wargame Junkie

People should not be afraid of their governments. Governments should be afraid of their people.

"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." - Albert Einstein
Reply With Quote
  #6  
Old February 2nd, 2010, 01:17 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,489
Thanks: 3,957
Thanked 5,692 Times in 2,812 Posts
DRG will become famous soon enough
Default Re: Bug in Scenhack?

EXACTLY what were you doing when this happened ?? What unit ??

Don
Reply With Quote
  #7  
Old February 2nd, 2010, 07:56 PM
Suhiir's Avatar

Suhiir Suhiir is offline
Lieutenant General
 
Join Date: Apr 2007
Location: Salt Lake City, UT
Posts: 2,829
Thanks: 542
Thanked 797 Times in 602 Posts
Suhiir is on a distinguished road
Default Re: Bug in Scenhack?

The last unit correctly displayed was a W German scout (OOB #44, Unit 388).
The next unit - the one not displayed - was also W German (OOB #44, Unit 512, 513, or 514) a Fjaeger scout. Can't say for certain which specific unit because it'd data is not displayed by Scenhack.
As to what I was doing -
I'd been purchasing units for a scenario I'm creating.
The W Germans were intended to represent an ambassador and his bodyguards.
I had not finished buying all the units I intend to but opened Scenhack to change the icon of a USMC ammo truck to a different icon I was using to represent it as a fuel truck for this specific scenario (I've done this before with zero problems).
When I loaded the scenario with Scenhack - bam - the error message.
Scenhack shows all my units up to #308 correctly, but #309 and on are not displayed.

Hope this helps.
__________________
Suhiir - Wargame Junkie

People should not be afraid of their governments. Governments should be afraid of their people.

"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." - Albert Einstein
Reply With Quote
  #8  
Old February 3rd, 2010, 12:23 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,489
Thanks: 3,957
Thanked 5,692 Times in 2,812 Posts
DRG will become famous soon enough
Default Re: Bug in Scenhack?

It loads for me without a problem in the editor, scenhack and as a sceanrio despite the majority of units being non existant becasue I'm using the stock OOB's

One thing I did notice though...... there were no MP's in the 'Marine REMF' unit.

I wonder why that would be......???

Don
Reply With Quote
  #9  
Old February 3rd, 2010, 01:41 PM
Suhiir's Avatar

Suhiir Suhiir is offline
Lieutenant General
 
Join Date: Apr 2007
Location: Salt Lake City, UT
Posts: 2,829
Thanks: 542
Thanked 797 Times in 602 Posts
Suhiir is on a distinguished road
Default Re: Bug in Scenhack?

You were looking at a "Work in Progress".
Give me time to finish it.
__________________
Suhiir - Wargame Junkie

People should not be afraid of their governments. Governments should be afraid of their people.

"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." - Albert Einstein
Reply With Quote
Reply

Bookmarks


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 12:21 PM.


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