--
[ Converted text/html to text/plain ]

Wow, thanks. What do you mean by "it doesn't work too well"? Does it crash, or
boot clients? I'll give it a test run tonight.

The batch file overwriting another is a great idea, I'll use that if the other
plan doesn't work too well.

And I don't recall being answered to about whether I could use MySQL with
Admin Mod. I have found something that enables me to use a MySQL database as a
user database. Maybe there's some way I could use this to make the script
intercept commands from my database.

The way this would (in theory) work is to have a table called "watcher". My
PHP script can add an entry into the database, and when the database is
checked every few seconds, the command in the "command" coloumn is executed on
the server. Obviously, my script is password protected, and won't run commands
like "exit" or "disconnect" :D

Thanks for all the help so far guys, I'm nearly there :)

PS: And if you're interested, the server runs Win 2k, has a 2ghz processer,
512 mb ram and 40 gb of HDD, incase you're wondering about performance. It
doubles as a lot of stuff, but there's no real processor usage most of the
time. It just sits there, and I thought I might as well do something useful
with it :)
================================================
Steve Rukuts
------------------------------------------------
e-mail: [EMAIL PROTECTED]
MSN: [EMAIL PROTECTED]
ICQ: 98613165
Web: http://www.xteve.com/
================================================
The contents of this e-mail may be confidential.
If some annoying computer error occurs and it gets
sent to people other than the intended recipient,
do nothing, and delete it from your computer.
----------------- Original message follows -----------------
Date: 11/03/2003 - 4:15 p.m. (UTC)
From: "Sniper"
To:
Subject: Re: [hlcoders] Am I an idiot?
Note: It doesn't work that well, though. Erm.
Sniper
----- Original Message -----
From: "Sniper"
To:
Sent: Tuesday, March 11, 2003 11:09 AM
Subject: Re: [hlcoders] Am I an idiot?
> GAMEDIR "PATH" is the command to change to another mod in-game.
>
> Sniper
>
> ----- Original Message -----
> From: "Daniel Koppes"
> To:
> Sent: Tuesday, March 11, 2003 10:06 AM
> Subject: Re: [hlcoders] Am I an idiot?
>
>
> > -snip-
> >
> >
> > >I doubt this techinque would work under Linux because Win32 batch file
> > >execution has the peculiar behavior of re-reading the batch file each
> time a
> > >new line is executed (i.e. it doesn't cache the open batch file in
memory
> > >anywhere). At least it didn't do this under MS-DOS 6.x, the behavior
> might
> > >not be the same under Win2K/WinNT/WinXP, you'll have to try it yourself
> and
> > >see.
> > >
> > >Jeffrey "botman" Broome
> >
> >
> > Easy, have the batch file execute *another* batch file instead of
calling
> > hlds directly :)
> >
> > ----------
> > Programmer and Modeller for < http://pokemod.fragoff.net/>The
> > < http://pokemod.fragoff.net/>Pokemod
> >
> > ----------
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to