.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   WinSPMBT (http://forum.shrapnelgames.com/forumdisplay.php?f=78)
-   -   Bug: Abadan Peninsula Black Screen - Bug (http://forum.shrapnelgames.com/showthread.php?t=52879)

The_Think_Tanker May 23rd, 2022 05:48 PM

Re: Abadan Peninsula Black Screen - Bug
 
Quote:

Originally Posted by Mobhack (Post 852659)
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:rolleyes: - 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.

Mobhack May 23rd, 2022 06:49 PM

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.

The_Think_Tanker May 23rd, 2022 08:25 PM

Re: Abadan Peninsula Black Screen - Bug
 
Quote:

Originally Posted by Mobhack (Post 852664)
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! :D

DRG May 24th, 2022 06:29 AM

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

DRG May 24th, 2022 07:52 AM

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.

The_Think_Tanker May 24th, 2022 12:33 PM

Re: Abadan Peninsula Black Screen - Bug
 
Quote:

Originally Posted by DRG (Post 852668)
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.

DRG May 25th, 2022 07:12 AM

Re: Abadan Peninsula Black Screen - Bug
 
Quote:

Originally Posted by The_Think_Tanker (Post 852670)

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.


All times are GMT -4. The time now is 09:43 AM.

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