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

This Month's Specials

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

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2 > Campaigns, Scenarios & Maps
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old August 3rd, 2023, 11:12 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,994
Thanks: 488
Thanked 1,928 Times in 1,254 Posts
Mobhack is on a distinguished road
Default Re: Omaha Beach - Scen #9

I noticed that the buggy terrain appears on the map edge only after smoke has first appeared on the map. Everything is just fine till smoke/flame is added.

If you press "U" to clear smoke, then the grass hexes that overwrite grey map edge ones go away again, until you press U again or new smoke arrives - triggering the global "show smoke" flag.

Now - if you clear smoke and then hit end turn, and no new smoke arrives - you might be able to make it through the turn end. However Don's solution of saving, exiting the game and restarting again is a much better solution here. Especially if you see some garbage map hexes that aren't green grass at the LHS of the map - like that red blob!.

So the problem seems to be related to the smoke, likely an index or a pointer out of bounds (?) - and the very large map with loads of toys on it - I'll need to debug that when I find the time. If it is (hopefully) in some small part then hopefully I can put some guard code into whatever is doing this and pointing off into the map array(s) which likely are declared just after the smoke one in memory. (If the game had been programmed in say Pascal, rather than C++, then that language would have thrown an array out of bounds error "hissy fit", C++ simply assumes that the programmer fully intended to do whatever daft thing it's told to..)
Reply With Quote
The Following 2 Users Say Thank You to Mobhack For This Useful Post:
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 04:27 AM.


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