.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 > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old December 12th, 2006, 08:37 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Unit array is too small :(

Yes. The first time a single corrupt/out-of-bounds/incorrect item is accessed, the whole shebang goes tits-up. You need to remove the problem sprite altogether and try without it. If the same problem persists after that, it needs more investigating.

Mind you, I'm just conjecturing based on how map files behave. What with the 563 sites (1-563), the game will behave normally as long as you stay in provinces with correct assignment and don't access the nation overview. But as soon as you try to enter a province that has #feature 564+ assigned in the map file, or you press F1 (which accesses the province for site reference) you get the fatal error.

Since mod files, just like map files, are text based sequential command lists where the commands are executed in order, it logically follows that the first instance of accessing an entity supposedly created by an invalid command kills the process dead.

Edi
Reply With Quote
 

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 05:30 PM.


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