Then probably not. Other than whats provided via the query response servers give back (player count, timelimit, etc). I also don't know off the top of my head how that list is populated.
- Andrew -----Original Message----- From: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of Yaakov Smith Sent: Wednesday, 11 March 2009 5:04 PM To: 'Discussion of Half-Life Programming' Subject: Re: [hlcoders] Server CVars No, I want to get the value of the CVAR from an external application I'm writing. -----Original Message----- From: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of Andrew Armstrong Sent: Wednesday, 11 March 2009 5:00 PM To: 'Discussion of Half-Life Programming' Subject: Re: [hlcoders] Server CVars Yep, at least from a VSP environment, simply call: ConVar* hostName = cvar->FindVar("hostname"); if (hostName) { // Do stuff with this variable std::string currentHostName = std::string(hostName->GetString()); } You can also call GetInt() and a few others on the convar to interpret it differently; check the valve wiki. - Andrew -----Original Message----- From: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of Yaakov Smith Sent: Wednesday, 11 March 2009 1:29 PM To: 'Discussion of Half-Life Programming' Subject: [hlcoders] Server CVars Is there a way to get the value of server CVars, without using RCON? _______________________________________________ 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