I'm coming into this thread late, so I might have missed something, but
it sounds like you need to do this:
- multiple servers
- all run adminmod
- a server's admins may change at any time

If I may suggest it, use the SQL version of adminmod.  You can create a
database that has all the users.  When you want to create a dynamic list
for a specific server, all you have to do is change your SQL query cvar
for the specific HLDS server.  Like so:

mysql_users_sql "SELECT password, access FROM %s WHERE ((name='%s') OR
(name='%s'))"

Your SQL query can be more advanced if you want to create a limited
list.  One way to do that is to add another field to your users table.
Example:

mysql_users_sql "SELECT password, access FROM %s WHERE ((name='%s') OR
(name='%s')) AND teamid='47'"

Because you would be using SQL queries to access your player list, there
are many possibilities for creating an admin list.  If this looks
appealing and I can help you more, let me know.

Morph


On Sun, 2004-03-28 at 15:58, steve apale wrote:
> what I'd like to do is have multiple private CS games (using adminmod)
> where the users are not known beforehand (hence manual editing of
> users.ini is not an option). Since there will be a different users.ini
> for every private game, there should also be a different adminmod.cfg
> and server.cfg as well. Each set of .cfg and .ini files are stored in a
> separate folder for easy determination of which set of config files are
> for which game. Getting the paths for the numerous .cfg and .ini files
> is turning out to be a nightmare. In short, I haven't yet been able to
> get all the .cfg and .ini files properly loaded (I've managed to get a
> few, but never all).
>
> Anyone every tried something of this sort? Perhaps my solution to the
> multiple games with different config. files is the wrong one?
>
> thanks.
>
>
> On Sun, 2004-03-28 at 01:05, localhost wrote:
> > If you edit adminmod.cfg and change the paths to users.ini and such
> > (relative to your mod directory) then it will work fine.
> >
> > Make sure that you're editing the correct server.cfg (it sounds like you
> > have more than one).  Other than that it should work
> >
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of steve apale
> > Sent: Saturday, March 27, 2004 4:36 PM
> > To: hlds
> > Subject: [hlds_linux] non-standard .cfg files for CS and AdminMod
> >
> > It seems like CS works fine with a non-standard server.cfg location as
> > long as the "servercfg" command-line option is passed to it. But what
> > about in conjunction with AdminMod? CS seems to expect the AdminMod
> > config file to be in cstrike/addons/adminmod/... (even after altering
> > the "exec" path in server.cfg). As well, is there a way to force
> > adminmod.cfg to accept the .ini files (users.ini, ips.ini etc etc) in
> > non-standard locations (it seems to only accept it the default location
> > as the docs seem to imply).
> >
> > Any help would be much appreciated.
> >
> >
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> >
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives, please 
> > visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux


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

Reply via email to