<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [bf1942] What's happening DICE?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#d4d0c8>
<DIV><FONT face=Arial size=2>OT I know but needs fixing :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Could we get the win32 server process issue fixed 
in BFV.</FONT></DIV>
<DIV><FONT face=Arial size=2>The issue is that under win32 when the new map is 
loaded</FONT></DIV>
<DIV><FONT face=Arial size=2>a new process is created just like unix but unlike 
unix</FONT></DIV>
<DIV><FONT face=Arial size=2>a new win32 process doesn't hold the console 
etc.</FONT></DIV>
<DIV><FONT face=Arial size=2>This means that servers started in command prompts 
or</FONT></DIV>
<DIV><FONT face=Arial size=2>under monitoring scripts fail to function correctly 
after the</FONT></DIV>
<DIV><FONT face=Arial size=2>first map change. In the case of a monitoring 
script a failure</FONT></DIV>
<DIV><FONT face=Arial size=2>is detected as the old process quits ( unlike under 
unix</FONT></DIV>
<DIV><FONT face=Arial size=2>where exec is used and hence just replaces the 
current</FONT></DIV>
<DIV><FONT face=Arial size=2>running image ). As a straight cmd prompt the 
server</FONT></DIV>
<DIV><FONT face=Arial size=2>console becomes unusable.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The solution would be change the win32 design to 
have</FONT></DIV>
<DIV><FONT face=Arial size=2>a control process which restarts the server on map 
change.</FONT></DIV>
<DIV><FONT face=Arial size=2>The control process is started by the user which 
creates the</FONT></DIV>
<DIV><FONT face=Arial size=2>server process and then waits on it. When the 
server process</FONT></DIV>
<DIV><FONT face=Arial size=2>hits map change it just quits with a specific exit 
code say</FONT></DIV>
<DIV><FONT face=Arial size=2>exit code 2 this is detected by the control process 
and</FONT></DIV>
<DIV><FONT face=Arial size=2>restarts the server process ( new map ). Note it 
should only</FONT></DIV>
<DIV><FONT face=Arial size=2>restart the server by default on map change but 
adding a</FONT></DIV>
<DIV><FONT face=Arial size=2>switch to restart on failure might also help 
others</FONT></DIV>
<DIV><FONT face=Arial size=2>e.g. +restart 1</FONT></DIV>
<DIV><FONT face=Arial size=2>The same design could be used for both unix and 
win32</FONT></DIV>
<DIV><FONT face=Arial size=2>to keep the code common.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Steve / K</FONT> 
</DIV><br>================================================<br>
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. <br>
<br>
In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137<br>
or return the E.mail to postmaster@multiplay.co.uk.</body></HTML>