<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>--------------------- ut3-killer.pl</FONT></DIV>
<DIV><FONT face=Arial size=2>#!/usr/bin/perl</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>print "Fuzzy killer&amp;starter for UT3 linux 
server. v0.7\n";</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># default random maps<BR>my 
@MP=("Torlan","Avalanche","OnyxCoast");</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>my $cnt=0;<BR>my $fname;<BR>my $ftype;<BR>my 
$maxgames=7; </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># if UT3 not run start 
it<BR>&amp;checksrv;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>open(LOG,"tail -f killer.log|");</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>while(&lt;LOG&gt;){<BR>my $buff=$_;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># get last map name (for map voting)<BR>if($buff =~ 
/Log: Bringing World (\S+?)-(\S+?)\.TheWorld up/){<BR>&nbsp;&nbsp;&nbsp; 
$fname=$2;<BR>&nbsp;&nbsp;&nbsp; $ftype=$1;<BR>&nbsp;&nbsp;&nbsp; print 
"$ftype-$fname($cnt) &gt;&gt; $buff";<BR>&nbsp;&nbsp;&nbsp; # counter for 
games<BR>&nbsp;&nbsp;&nbsp; $cnt++;<BR>&nbsp;&nbsp;&nbsp; # map per cycle, and 
restart<BR>&nbsp;&nbsp;&nbsp; 
if($cnt&gt;$maxgames){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&amp;utkiller;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
$cnt=0;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&amp;utstarter($ftype,$fname);<BR>&nbsp;&nbsp;&nbsp; }<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>close(LOG);<BR>exit;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>sub utkiller {<BR>&nbsp;&nbsp;&nbsp; # find 
pid<BR>&nbsp;&nbsp;&nbsp; my $pid = &amp;findpid;<BR>&nbsp;&nbsp;&nbsp; 
if($pid&gt;0){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "Kill UT3: 
$pid\n";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `kill 
$pid`;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sleep 
10;<BR>&nbsp;&nbsp;&nbsp; } else {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
print "Error get pid\n";<BR>&nbsp;&nbsp;&nbsp; }<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>sub utstarter {<BR>&nbsp;&nbsp;&nbsp; 
my($type,$map)=@_;<BR>&nbsp;&nbsp;&nbsp; print "Start: 
$type-$map\n";<BR>&nbsp;&nbsp;&nbsp; my $ppid = fork;<BR>&nbsp;&nbsp;&nbsp; 
if($ppid==0){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `ut3-starter.sh 
$type $map 2&gt;&gt;killer.log`;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
exit;<BR>&nbsp;&nbsp;&nbsp; }<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>sub checksrv {<BR>&nbsp;&nbsp;&nbsp; my $pid = 
&amp;findpid;<BR>&nbsp;&nbsp;&nbsp; 
if($pid==0){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # start random 
map<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my 
$num=int(rand(3));<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "No UT3, 
start new @MP[$num]...\n";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&amp;utstarter("WAR",@MP[$num]);<BR>&nbsp;&nbsp;&nbsp; } else 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "UT3 running... wait tan 
sec.";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sleep 
10;<BR>&nbsp;&nbsp;&nbsp; }<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>sub findpid {<BR>&nbsp;&nbsp;&nbsp; my $pid = `ps 
-aef|grep ut3-bin|grep -v grep|awk '{print \$2}'`;<BR>&nbsp;&nbsp;&nbsp; 
$pid+=0;<BR>&nbsp;&nbsp;&nbsp; return $pid;<BR>}<BR>-------------- 
ut3-starter.sh</FONT></DIV>
<DIV><FONT face=Arial size=2>#!/bin/sh</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>if [ "$1" == "" ]; then<BR>&nbsp;&nbsp;&nbsp; echo 
"No game type";<BR>&nbsp;&nbsp;&nbsp; exit<BR>fi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>if [ "$2" == "" ]; then<BR>&nbsp;&nbsp;&nbsp; echo 
"No map name";<BR>&nbsp;&nbsp;&nbsp; exit<BR>fi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>cd Binaries</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>./ut3 server 
$1-$2?MaxSpectators=5?goalscore=3?MaxPlayers=14?ServerDescription=XXXXX?numplay=8?botskill=8?AdminPassword=XXXXX 
-login=XXXX -password=XXXXX -unattended</FONT></DIV>
<DIV><FONT face=Arial size=2>--------------</FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=sadelta@planet.nl href="mailto:sadelta@planet.nl">Marco</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=ut3@icculus.org 
  href="mailto:ut3@icculus.org">ut3@icculus.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, January 05, 2008 5:25 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [ut3] Random Crashes</DIV>
  <DIV><FONT face=Arial size=2></FONT><BR></DIV>
  <DIV><FONT face=Arial size=2>At least your server is running a couple of days, 
  mine isent when we play 1 map and that map </FONT></DIV>
  <DIV><FONT face=Arial size=2>is finished then people starting to vote for next 
  map.</FONT></DIV>
  <DIV><FONT face=Arial size=2>After the vote the problem kicks in all players 
  are hanging in awaiting status and after a period of time 
  disconnected.</FONT></DIV>
  <DIV><FONT face=Arial size=2>So i took a look at the server and after my 
  suprise seeing it running i thought what the hell, so going back to the game 
  itself server is visable in the </FONT></DIV>
  <DIV><FONT face=Arial size=2>online browser.</FONT></DIV>
  <DIV><FONT face=Arial size=2>But nobody cant connect to the server anymore, so 
  that sux big time :(</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Any ideers how to fix this ?</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Marco</FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=cbrunelle8@cogeco.ca href="mailto:cbrunelle8@cogeco.ca">Chris 
    Brunelle</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=ut3@icculus.org 
    href="mailto:ut3@icculus.org">ut3@icculus.org</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, January 05, 2008 4:40 
    AM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> [ut3] Random Crashes</DIV>
    <DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT 
    face=Arial size=2></FONT><BR></DIV>
    <DIV class=Section1>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I’m still experiencing random 
    crashes. Server will stay up for a couple days, then crash.&nbsp; I restart 
    it, it’ll stay up for a day crash, repeat 
    cycle….<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I’ve had a couple crashes with 
    the “negative time delta” error as well.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Any ETA for the next 
    version?<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">--Chris<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>