You cant exec configs outside of the game folder, couldnt do it in hl1 engine either, and you cant do it in quake engine ... i see a pattern here ;)
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of dexion Sent: 17 July 2005 18:18 To: hlds@list.valvesoftware.com Subject: RE: [hlds] maxplayers in server.cfg for hlds ive tried to get it to execute something outside the gamefolder but with no success. I wanted to lock down a few other svars that people like to change. I believe it has a place it is coded to look and can not deviate from. Unless I am just plain not pathing it correctly. Anyone have any luck execing a config outside the game folder? I have sort of come up with a workaround in my head. Always adding a line at the end of their server.cfg via a dos window every time the server restarts that execs a cfg that is in the gamefolder that they do not have access to (remove permissions to it.) That would work, but I would prefer not to have to have so many steps, who knows what I have not thought of. dex -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of sprout Sent: Sunday, July 17, 2005 1:06 PM To: hlds@list.valvesoftware.com Subject: Re: [hlds] maxplayers in server.cfg for hlds something you could do as I host is have it execute a server config thats not in the folder they have access to like if they have c:/games/source then set it in c:/games/source1.cfg have that as the config I don't think if you set it to another config file I don't think it executes the first one to do this you would prolly do havn't ever done this so correct me if im wrong exec ../../source1.cfg im just figuring from my dos learning days... so please correct me if im wrong or if this is even possible ----- Original Message ----- From: "dexion" <[EMAIL PROTECTED]> To: <hlds@list.valvesoftware.com> Sent: Sunday, July 17, 2005 9:06 AM Subject: RE: [hlds] maxplayers in server.cfg for hlds > woops thats supposed to read mmaxplayers works in hlds no idea about srcds > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of dexion > Sent: Sunday, July 17, 2005 9:57 AM > To: hlds@list.valvesoftware.com > Subject: RE: [hlds] maxplayers in server.cfg for hlds > > > thats not a bad idea unless they overwrite the server.cfg with their own > (which they nearly often do, but I could work something up like that.) > > That maxplayer in the server.cfg world or hlds, not sure about srcds. > dex > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of ironchef > Sent: Sunday, July 17, 2005 5:22 AM > To: hlds@list.valvesoftware.com > Subject: RE: [hlds] maxplayers in server.cfg for hlds > > > dexion wrote: >> I guess i wasnt clear enough. When launching a hlds server in the >> command >> line one must specify a maxplayers -maxplayers 10 for instance. It is >> possible to put maxplayers 32 in the server.cfg and have the server >> launch >> with 32 players instead of 10. I would like a way to invalidate the >> command >> in the server.cfg and have only the command line one be used. >> dex > > Odd, I was always under the impression that this variable was limited to > startup only. I wonder if this changed with Source. > > I suppose you could also make a config file for each of your clients, > and use the mapchangecfgfile cvar (does this work on Source?) to make > your own, that'll: 1) exec the client's server.cfg; 2) exec YOUR server, > overwriting any cvars you want restricted, like maxplayers. > > So for instance, for client 1, his startup becomes: > > +mapchangecfgfile client1.cfg > > And in client1.cfg, we have: > > exec Client1-editable.cfg // the file the client can edit > maxplayers 16 // the value YOU want for maxplayers > > That should overwrite any changes they make. > > -- > ironchef > http://www.dexworld.org/ > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds