.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
  #21  
Old May 23rd, 2022, 05:48 PM

The_Think_Tanker The_Think_Tanker is offline
Private
 
Join Date: May 2015
Posts: 16
Thanks: 18
Thanked 6 Times in 5 Posts
The_Think_Tanker is on a distinguished road
Default Re: Abadan Peninsula Black Screen - Bug

Quote:
Originally Posted by Mobhack View Post
I'll probably run it at a future date with the map text layer code commented out and see if it runs OK.

I have tried map text off, it worked for ten or twelve turns and then bang...

Also this map is one of the examples one should use to point out to map designers what NOT to ever lay down to the poor AI other than in a very carefully crafted scenario, best in fact if it was left for human v human only scenarios.

- it has two paralell rivers N/S. If the AI is given barges or barge carriers it will only shuttle to the nearest bank. It has no chance of getting over the second river. The river crossing and beach landing code is set up for one (1) patch of water.
- It has one east to west as well, and the AI may well move any floaty thing right along that ignoring land and hit the rear of te map... and that north channel leaves:
- an isolated island up in the North, and that extends to land on the right side as my Pakistani test tanks were engaging Indian AMX-13s that ran along the road there.
- The enemy in my test game that ran 10 or so moves before it went black on me bought naval artillery. A quick check buy and naval fire support was on offer for a meeting engagement for P1 pakistan as well. So it thinks its a beach map (might try turning the GBeach & GWideRiver flags off and saving the map later, see if they contribute to the problem).
- Oh, and the water is smack in the AI deployment area so it will plot some stuff in the deep water which will drown. It has guard code to try and avoid that but it only shifts units a few hexes before giving up..

It may be a map to use against the AI if you view map and put in bridges. Otherwise it shouuld only be for PBEM play with 2 humans, IMHO. Or left in whatever scenario it came from (Is there a scenario using this map?). Its certainly not for the AI ever to use unless in a well laid out scenario where there will never be a need to cross the second vertical channel of deep water. About the only way the AI could deal with that is if it was given lots of amphibious APCs, PT-76 etc and they survived any combat on the island.

But its probably best nuked as it is an example of a map designer being too clever - or if not, it needs a map text file telling any prospective user that it is only for use in scenario design and never to be used for random battles with the AI!
I actually made my own little version of this map with some bridges across each river so the AI wouldn't get totally confused, at the least. Once I get it working without bugs I'm happy to mess around with the scenarios to get the AI functioning properly, but of course this black screen has been making that quite hard.

Try and see if the file I uploaded works for you though, as it seems to work for me and I've not encountered our black screen bug since.
Reply With Quote
  #22  
Old May 23rd, 2022, 06:49 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,956
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
Mobhack is on a distinguished road
Default Re: Abadan Peninsula Black Screen - Bug

That seems to have done the trick - hasnt blown u in 12 or so turns AI v AI anyhow.

Oh and that shows up as "Beach landing " when the scenario info button is pressed, so it definately has the gBeach variable set on that map. Hence the ability to buy naval support arty.
Reply With Quote
  #23  
Old May 23rd, 2022, 08:25 PM

The_Think_Tanker The_Think_Tanker is offline
Private
 
Join Date: May 2015
Posts: 16
Thanks: 18
Thanked 6 Times in 5 Posts
The_Think_Tanker is on a distinguished road
Default Re: Abadan Peninsula Black Screen - Bug

Quote:
Originally Posted by Mobhack View Post
That seems to have done the trick - hasnt blown u in 12 or so turns AI v AI anyhow.

Oh and that shows up as "Beach landing " when the scenario info button is pressed, so it definately has the gBeach variable set on that map. Hence the ability to buy naval support arty.
Wonderful. If there are any further changes either you or Don think I should include, let me know and I can upload an updated version. If not I'll go through the map to make sure I didn't make any spelling errors and then remove the signature I placed at the bottom-right, and that should then be ready to package and send to you all.

Thank you so very much Don and Andy for your help in fixing this issue as I've been proverbially banging my head against a wall trying to get it to work. Thanks!
Reply With Quote
The Following 2 Users Say Thank You to The_Think_Tanker For This Useful Post:
  #24  
Old May 24th, 2022, 06:29 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,492
Thanks: 3,963
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: Abadan Peninsula Black Screen - Bug

The unusual part of this exercise has been I NEVER had a problem. Not once did it crash.

What you did is almost exactly what I did in a revised version I sent Andy for testing. We'll see if that works OK for him
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #25  
Old May 24th, 2022, 07:52 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,492
Thanks: 3,963
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: Abadan Peninsula Black Screen - Bug

Weird on Weird on Weird.

Andy reports my version blacked out and I had removed all the old text and put it back in in a slightly different hex. He reports your's works in all cases so that's what we'll use.
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #26  
Old May 24th, 2022, 12:33 PM

The_Think_Tanker The_Think_Tanker is offline
Private
 
Join Date: May 2015
Posts: 16
Thanks: 18
Thanked 6 Times in 5 Posts
The_Think_Tanker is on a distinguished road
Default Re: Abadan Peninsula Black Screen - Bug

Quote:
Originally Posted by DRG View Post
Weird on Weird on Weird.

Andy reports my version blacked out and I had removed all the old text and put it back in in a slightly different hex. He reports your's works in all cases so that's what we'll use.
That is very, very strange. At least we know what the procedure is if we come across this issue again, or with a different map. But it seems that we haven't fully nailed down where the issue is coming from either, besides it being text-related.
Reply With Quote
  #27  
Old May 25th, 2022, 07:12 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,492
Thanks: 3,963
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: Abadan Peninsula Black Screen - Bug

Quote:
Originally Posted by The_Think_Tanker View Post

That is very, very strange. At least we know what the procedure is if we come across this issue again, or with a different map. But it seems that we haven't fully nailed down where the issue is coming from either, besides it being text-related.
Not really. That map was part of just over 200 maps converted to the current map format In June 2005. What's strange is it took 17 years to be found and that you and Andy had it crash and I never did and that my removal and re-entry of all existing text did not work and yours did

It takes just ONE thing to cause things like this to manifest themselves.... or in my case not.
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
The Following User Says Thank You to DRG For This Useful Post:
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 04:46 PM.


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