| Author |
"PreProcess" problem |
Teemu
Joined: Mar 12, 2002 Posts: 35 From: Helsinki, Finland
| Posted: 2002-12-22 16:59  
If I enter
PREPROCESS = TRUE
into my [SCENARIO] block, Silent Hunter 2 will crash before starting to load the mission. If I use
PREPROCESS = FALSE
everything goes fine, except randomizing units won't work.
Is it true I have to use "= TRUE" to use MUTEX?
 
|
HerrBaron
Joined: Feb 26, 2002 Posts: 493 From: Norwalk, CT
| Posted: 2002-12-22 23:21  
Quote:
|
On 2002-12-22 16:59, Teemu wrote:
If I enter
PREPROCESS = TRUE
into my [SCENARIO] block, Silent Hunter 2 will crash before starting to load the mission. If I use
PREPROCESS = FALSE
everything goes fine, except randomizing units won't work.
Is it true I have to use "= TRUE" to use MUTEX?
|
|
PREPROCESS = TRUE
directs the code which loads the scenario scripts to substitute all the identifiers in the script with their localized equivalents. yes, you'll need to use it to get mutexes to work.
_________________ Fair Winds and Following Seas!

HerrBaron
 
|
Mark K
Joined: Feb 27, 2002 Posts: 474 From: Petaluma, California
| Posted: 2002-12-24 00:38  
If Preprocess = FALSE, then EVERY group within a mutex is loaded, instead of just one. (which is sometimes pretty fun).
I've found that sometimes the shell (which does the preprocessing) will choke on SDF error more easily than the sim (which would just ignore them and keep running with the mistake).
thanks,
Mark Kundinger
(Ultimation)
 
|
Hitman
Joined: Sep 22, 2002 Posts: 51 From: Spain
| Posted: 2002-12-24 04:44  
I can never compare my wisdom with the people who have already replied here, but I want to point out something I´ve experienced:
I also got once the same problem, but in my case it had nothing to do with the preprocessor....it was something I had tipped wrong in the sdf, that made it crash. Sometimes you do very stupid faults when you type in, or when you copy&paste...and that is enough to get a crash...
I wrote the mission again from scratch, and the problems dissapeared...I reckon it is not the shortest way to solve it, but....it worked for me!
Also, it seems that changing the type of letter ( From the original "lucida console" ) gives problems...lot of people have experimented them. If you get a wrong line in a unit, the game may crash to desktop, but if you do it wrong on the mutexs, it may happen what you have suffered.
Ok, I´m not a top programmer ( I´m in fact very far from being that!), but I would recommend to you to write again the mission, step by step, seeing where it crashes...you´ll have then the error locked!
For non-advanced programmers, I think this is yet the best method.
Good luck!
 
|
|