.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Mod error (http://forum.shrapnelgames.com/showthread.php?t=7990)

DirectorTsaarx December 16th, 2002 09:10 PM

Re: Mod error
 
Quote:

Originally posted by Dan C.:
I am working on a mod for SEIV:Gold and I have run into a strange error. All the datafiles load without any warnings, but when I start a game (say after selecting 2-3 player races, and no NPC's) the program gets to around 50% of player placement and then gives an "Integer Overflow" error popup and stops.

<font size="2" face="Verdana, Helvetica, sans-serif">If it gets to 50% placement with 2 player races, that would be immediately after (or possibly during) placement of player 1. So, given that you found the error in techarea.txt, it's possible that the game engine checks tech areas during (at the end of?) each player's placement phase. Which makes a certain amount of sense, as races need to pick up their racial techs & the game may need to place racial facilities in high-tech start games...

Dan C. December 17th, 2002 05:38 PM

Re: Mod error
 
Quote:

Originally posted by DirectorTsaarx:
If it gets to 50% placement with 2 player races, that would be immediately after (or possibly during) placement of player 1. So, given that you found the error in techarea.txt, it's possible that the game engine checks tech areas during (at the end of?) each player's placement phase. Which makes a certain amount of sense, as races need to pick up their racial techs & the game may need to place racial facilities in high-tech start games...
<font size="2" face="Verdana, Helvetica, sans-serif">No, actually it goes to 50% (48% sometimes) regardless of the number of players. It must place all the players, then perform the tech trees for all the players and then set up the facilities on all the planets.
The game does such a good job on data checking, when it doesnt it can catch you by surprise as you assume that the data files are valid by this point.

DirectorTsaarx December 17th, 2002 10:52 PM

Re: Mod error
 
Quote:

Originally posted by Dan C.:
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by DirectorTsaarx:
If it gets to 50% placement with 2 player races, that would be immediately after (or possibly during) placement of player 1. So, given that you found the error in techarea.txt, it's possible that the game engine checks tech areas during (at the end of?) each player's placement phase. Which makes a certain amount of sense, as races need to pick up their racial techs & the game may need to place racial facilities in high-tech start games...

<font size="2" face="Verdana, Helvetica, sans-serif">No, actually it goes to 50% (48% sometimes) regardless of the number of players. It must place all the players, then perform the tech trees for all the players and then set up the facilities on all the planets.
The game does such a good job on data checking, when it doesnt it can catch you by surprise as you assume that the data files are valid by this point.
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Hmmmm. Interesting. It's been a while since I watched the progress bar for "placing races". I may have to pay more attention next time.


All times are GMT -4. The time now is 01:58 AM.

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