[mohaa] Auto responder??
Shockwave
shockwave at clanshortfuse.com
Fri Apr 25 14:19:52 EDT 2003
Quint,
There are two helpful commands you can use to get info. First, try this:
mohaa_admin --defaults
That will show you the default settings the program will use if not
overridden in the mohaa_admin.cfg file. Next, you can try this:
mohaa_admin --help
This will show you command line options you can use when you start the
program. The program attempts to find the game server log file by
interrogating the "fs_outputpath" and "logfilename" server variables. If
either is specified in the PROGRAM setting in the mohaa_admin.cfg file, it
will override what the program default is. In your example, it should be
looking for a file called "/mohaa/log/qconsole.log". The first thing I
would do is identify if the log file actually exists. You should run the
server without the tool first and ensure a log file is generated each time
the server is started. Once this is accomplished, then you can attempt to
use the tool.
Additionally, I should point out that I have never made the necessary
modifications to make it work with Spearhead. Last time I checked, the
Spearhead server didn't record kill messages in the log file, so this will
thwart any TK detection. Since I've never tested it with Spearhead, I don't
know how it will react. What I can tell you is that it works rather well
with MOH:AA. I have been running it on my server for a long time without
any problems.
If you're still having problems, perhaps you can email me directly. That
way we won't drag everyone else into a debug session. ;)
Shockwave
----- Original Message -----
From: "Quint van Drosthagen" <quint at kaleplek.net>
To: <mohaa at icculus.org>
Sent: Friday, April 25, 2003 12:28 PM
Subject: Re: [mohaa] Auto responder??
> Shockwave,
>
> This is exactly what is going wrong, but what commend can i do to let him
> find my logfile... Here is my startup (comes out of mohaa_admin.cfg)
>
> PROGRAM = /mohaa/spearhead_lnxded +set logfile 2 +set fs_outputpath
> /mohaa/log +set logfilename qconsole.log +set dedicated 1 +set cheats 0
+set
> ui_console 1 +set g_gametype 2 +set sv_maxclients 18 +set developer 2 +set
> logfile 2 +map dm/mohdm1 +exec server.cfg
>
> the tool is installed in /mohaa/mohadmin.
>
> And this is what he is saying :
>
> MOH:AA Linux Server Admin Tool v1.2
> ========================================
> Found configuration file: /mohaa/mohadmin/mohaa_admin.cfg
> Processing...
> Configuration file processing complete.
> Ban file exists, checking permissions...
> Ban file verified.
> Localization file not specified. Using default settings.
> Player registry not active.
> Communications active on 127.0.0.1:1200...
>
> Attempting to start game server...
> --- Common Initialization ---
> Medal of Honor Spearhead 2.15 linux-i386 Mar 18 2003
> Cvar_Set2: fs_outputpath /mohaa/log
> ----- FS_Startup -----
> Game server started successfully.
>
> Monitor process cannot open game server log file for reading: No such file
> or directory
>
> Terminated
> -bash-2.05b$
>
>
> Program received signal 15
>
>
>
> Please can you help me because this is the tool i am looking for a long
> time...;-)
>
> Cheers
> Quint
>
>
> Stack dump:
> # 1 /mohaa/spearhead_lnxded [0x8096385]
> # 2 /lib/i686/libc.so.6 [0x42028558]
> # 3 /lib/i686/libc.so.6(_IO_sgetn+0x28) [0x42070798]
> # 4 /lib/i686/libc.so.6(_IO_fread+0x89) [0x42063939]
> # 5 /mohaa/spearhead_lnxded [0x809050f]
> # 6 /mohaa/spearhead_lnxded [0x8090bf5]
> # 7 /mohaa/spearhead_lnxded [0x8090da7]
> # 8 /mohaa/spearhead_lnxded [0x806e4f9]
> # 9 /mohaa/spearhead_lnxded [0x806f981]
> # 10 /mohaa/spearhead_lnxded [0x806fe54]
> # 11 /mohaa/spearhead_lnxded [0x8070658]
> # 12 /mohaa/spearhead_lnxded [0x806a07e]
> # 13 /mohaa/spearhead_lnxded [0x8096671]
> # 14 /lib/i686/libc.so.6(__libc_start_main+0xc7) [0x420158f7]
> # 15 /mohaa/spearhead_lnxded(_IO_file_fopen+0xb9) [0x804ba01]
>
>
>
> Met vriendelijke groeten,
> Quint van Drosthagen
> ----- Original Message -----
> From: "Shockwave" <shockwave at clanshortfuse.com>
> To: <mohaa at icculus.org>
> Sent: Friday, April 25, 2003 6:04 PM
> Subject: Re: [mohaa] Auto responder??
>
>
> > If you look at the README, it explains what you need to do. The error
is
> > being generated because the program cannot find the log file generated
by
> > your server.
> >
> > Shockwave
> >
> > ----- Original Message -----
> > From: "Quint van Drosthagen" <quint at kaleplek.net>
> > To: <mohaa at icculus.org>
> > Sent: Friday, April 25, 2003 2:19 PM
> > Subject: Re: [mohaa] Auto responder??
> >
> >
> > > All,
> > >
> > > I looked at this admintool, but everytime i start it up i get the
> message
> > :
> > >
> > > Monitor process cannot open game server log file for reading: No such
> file
> > > or directory
> > >
> > > What dos this mean??? i lo to a different directory the normal.
> > >
> > > > Brill thanks shockwave will take a look at that :)
> > > >
> > > > ahem anyone know perl? ;)
> > > >
> > > > ----- Original Message -----
> > > > From: "Shockwave" <shockwave at clanshortfuse.com>
> > > > To: <mohaa at icculus.org>
> > > > Sent: Thursday, April 24, 2003 10:07 PM
> > > > Subject: Re: [mohaa] Auto responder??
> > > >
> > > >
> > > >> The tool is written in Perl and the source is available here:
> > > >>
> > > >> http://www.clanshortfuse.com/mohaa_admintool.shtml#Files
> > > >>
> > > >> As far as giving you the line, it isn't that simple. Check out the
> > > >> README file and look at the section that describes how the tool
works
> > > >> and you'll see what I mean. =)
> > > >>
> > > >> Shockwave
> > > >>
> > > >> ----- Original Message -----
> > > >> From: "Steve Rendell" <steve at rendy.co.uk>
> > > >> To: <mohaa at icculus.org>
> > > >> Sent: Thursday, April 24, 2003 4:31 PM
> > > >> Subject: Re: [mohaa] Auto responder??
> > > >>
> > > >>
> > > >> > Any chance you can give me the line that handles your !forgive
> > > >> command?
> > > >> >
> > > >> > What file does it go into as well??
> > > >> >
> > > >> > Thanks
> > > >> > ----- Original Message -----
> > > >> > From: "Shockwave" <shockwave at clanshortfuse.com>
> > > >> > To: <mohaa at icculus.org>
> > > >> > Sent: Thursday, April 24, 2003 8:52 PM
> > > >> > Subject: Re: [mohaa] Auto responder??
> > > >> >
> > > >> >
> > > >> > > The tool I wrote to handle TK'ers also has a !forgive command
> > > >> which
> > > >> reacts
> > > >> > > to text entered by players into chat. Accomplishing the task
you
> > > > mention
> > > >> > is
> > > >> > > really a matter of defining the text to which the program will
> > > >> react
> > > > and
> > > >> > > what it will do when it gets a match.
> > > >> > >
> > > >> > >
> > > >> > > Shockwave
> > > >> > >
> > > >> > >
> > > >> > > ----- Original Message -----
> > > >> > > From: "Sander de Hond" <sanderdehond at home.nl>
> > > >> > > To: <mohaa at icculus.org>
> > > >> > > Sent: Wednesday, April 23, 2003 11:14 AM
> > > >> > > Subject: RE: [mohaa] Auto responder??
> > > >> > >
> > > >> > >
> > > >> > > > Great idea do not know if it's possible :)
> > > >> > > >
> > > >> > > > -----Oorspronkelijk bericht-----
> > > >> > > > Van: Steve Rendell [mailto:steve at rendy.co.uk]
> > > >> > > > Verzonden: donderdag 24 april 2003 1:33
> > > >> > > > Aan: mohaa at icculus.org
> > > >> > > > Onderwerp: [mohaa] Auto responder??
> > > >> > > >
> > > >> > > >
> > > >> > > > Evening guys,
> > > >> > > >
> > > >> > > > Just been thinking and wondered if this is possible.
> > > >> > > > I'd like to srite a 'trigger' script similar to the ones you
> can
> > > > write
> > > >> =
> > > >> > > > for IRC chat to help answer the questions people continually
> ask
> > > >> on
> > > > my
> > > >> =
> > > >> > > > serevr ;)
> > > >> > > >
> > > >> > > > e.g. NoName: Is FF on?
> > > >> > > > would match (*Is FF*) some prewitten line which would cause
> > > >> console
> > > > to
> > > >> =
> > > >> > > > reply
> > > >> > > > console: Friendly Fire is ON
> > > >> > > >
> > > >> > > > or NoName: whats the next map?
> > > >> > > > would match (*next map*) causing reply
> > > >> > > > console: Map Rotation: Brest, Omaha, Malta... etc
> > > >> > > >
> > > >> > > > Is this possible?
> > > >> > > >
> > > >> > > > Kindest regards to the mailing list,
> > > >> > > > Steve
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> >
> > >
> > >
> > >
> >
> >
>
More information about the Mohaa
mailing list