I have been programming a few plug-ins from time to
time, and I am now at the point where I cannot get
enough information from the HL/adminmod interface,
like teamkills, teaminjuring, team performance and
stats treatment of any sort. The amount of info you
can get from the HL engine is very limited.
We already have a real-time log parser putting all the
data into tables (the structure is rather elaborate)
in a MySQL database (both parser and database running
on a different maching, of course, to save those
cycles for the CounterStrike server).
So I plan to build an interface between adminmod, and
an external MySQL database. So that adminmod can send
queries to the MySQL database and get recordsets in
return. This way it will be possible to get all kind
of information from inside adminmod plug-ins (yippeee).
The way I plan to do this is to use the linux/unix
feature named pipes, or fifos. As win32 doesn't have
this feature, it will be something that will only work
on linux servers, but as these represent more than
half of all servers out there, it should still be
interesting. A named pipe seems like an ordinary file,
but is in reality a fifo queue. Adminmod already has
an interface towards files, so there is only a matter
of writing a perl script on "the other side" to send
queries to the mysql database.
So, I'd like to know, before starting the project, if
anyone tried the same, if it is worth the work, things
like that.
---jAz---
Nobody/Anonymous
None
None
Public
|
Date: 2007-08-19 16:04 Logged In: NO |
|
Date: 2002-07-28 18:32 Logged In: YES |
|
Date: 2002-04-11 12:26 Logged In: YES |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use