<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Shockwave,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This is great.&nbsp; I assume you've seen Crow 
King's Autokick (<A 
href="http://www.filefront.com/?filepath=/mohaacrew/tools/Autokick12beta.zip">http://www.filefront.com/?filepath=/mohaacrew/tools/Autokick12beta.zip</A>),&nbsp;you 
may get more ideas from that.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>One of the ideas I've been toying around with is a 
dynamic config program that manages not only user/server interaction, but game 
map deployment.&nbsp; For example, using rcon and expect, I've been able to 
create map rotations for different gametype/maps, ie. a TDM, followed by OBJ, by 
rTDM.&nbsp;&nbsp; Unfortunately, I can't seem to get all the timing correct for 
detecting map end, changing gametype and starting new maps.&nbsp; The players 
that have tried it have liked the idea.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Let me know if you need beta testing.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>--[MC]Hammer</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=shockwave@clanshortfuse.com 
  href="mailto:shockwave@clanshortfuse.com">[-SF-]Shockwave</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=mohaa@icculus.org 
  href="mailto:mohaa@icculus.org">mohaa@icculus.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, September 05, 2002 10:32 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [mohaa] Server control programs 
  for Linux</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>
  <DIV><FONT face=Arial size=2>Hello all,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I have been working for the last week or so on 
  creating a server control program for Linux.&nbsp; This program is written in 
  Perl and has been&nbsp;tested on a stock RedHat&nbsp;7.2 
  Linux&nbsp;server.&nbsp; So far I have been able to do the 
  following:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>(1)&nbsp; The server program launches the game 
  and can be used in conjunction with "screen" to allow flexibility for people 
  using&nbsp;SSH to connect to the game server remotely.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>(2)&nbsp; A multiple line server message printed 
  to the game console can be automated to broadcast at regular intervals for 
  every player to see.&nbsp; This is good for advertising the server name &amp; 
  IP, policies, and email of the server admin.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>(3)&nbsp; Using the client program I wrote, 
  multiple users can connect to the server program via sockets and issue 
  commands to the server.</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; (a) each user connected gets 
  to see the server output</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; (b) each user can see what the 
  other users have sent to the server</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I originally got the idea when Ryan mentioned 
  using named pipes and was prompted to start work on the project after I 
  realized that the backspace key won't work when trying to edit console 
  messages.&nbsp; I hate fat-fingering messages and not being able to correct 
  them.&nbsp; The project is still under development and&nbsp;all of the 
  settings are built into the program itself at this stage.&nbsp; I intend to 
  allow settings to be specified via&nbsp;configuration files so the program 
  code won't need to be adjusted, however I have been more focused on getting 
  the whole thing to actually work first.&nbsp; Currently I am working on the 
  following functionality:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>- individual dynamic filtering of server output 
  to clients to keep feedback uncluttered and customizable</FONT></DIV>
  <DIV><FONT face=Arial size=2>- ability to easily kick players by their player 
  number rather than typing their names in quotes</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; (I hate trying to type in 
  those long names with weird characters while the server output spams my 
  console)</FONT></DIV>
  <DIV><FONT face=Arial size=2>- monitoring of team killers for warnings and 
  autokick</FONT></DIV>
  <DIV><FONT face=Arial size=2>- ability to ban players by IP 
  address</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I haven't noticed any server messages that 
  indicate what team a player is on, but the score column seems to offer a 
  possible clue.&nbsp; I haven't thoroughly experimented with it, but it appears 
  that members of the same team share the same score value.&nbsp; If I can 
  separate the player list by those values while monitoring kill messages, it 
  might be possible to use that&nbsp;information together&nbsp;to determine if a 
  player has killed someone on his own team.&nbsp; If anyone knows of a better 
  way to determine this information, please contact me.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>If anyone has any other ideas regarding 
  functionality or any other suggestions I'm interested.&nbsp; With any luck and 
  barring any snags, I'll have most of it done soon.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial 
size=2>Shockwave</FONT></DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>