Querying ConVars
Has anyone got this working with an mms plugin? http://developer.valvesoftware.com/w...Server_Plugins
I tried to load the server plugin callback interface so I could hook OnQueryCvarValueFinished, but I get an error about not loading MMS as a Valve server plugin printed to my console about 100 times. Do I have to make a "dummy" Valve plugin interface instead of just hooking that function? EDIT: sslice said to add the new functions to to the engine and serverdll interaces, but I haven't got it working yet. EDIT2: I tried it on Linux and it works fine. Just doesn't seem to be working on Windows (DODS). |
Re: Querying ConVars
Has anybody contacted Valve about win32 DoD:S yet?
For those interested in Querying ConVars from clients: http://developer.valvesoftware.com/w...rom_Server_DLL From a SourceMM plugin's perspective, this would involve hooking IServerGameDLL::OnQueryCvarValueFinished. |
Re: Querying ConVars
Yes, it looks like Windows DODS is still at ServerGameDLL005.
And thanks for all the help yesterday sslice! |
Re: Querying ConVars
I will try to come up with a SourceMM solution to using this on older GameDLL versions. However, it probably won't be before the new year.
|
Re: Querying ConVars
???
How would you do that? The functions haven't even been added to the binary have they? |
Re: Querying ConVars
Well, once all the games are updated, all the engines will have the proper functions, but older mods won't have the cvar query callback. I think BAILOPAN is talking about providing a way for mods to still use the cvar querying if the mod doesn't have the callback.
|
Re: Querying ConVars
I have a rather nifty idea to solving this but I don't want to say anything until I'm sure it'll work.
|
Re: Querying ConVars
So has anyone gotten anywhere with this yet?
I'm a bit behind but I'm guessing GetClientConVarValue doesn't work anymore? |
Re: Querying ConVars
They've since updated the DODS binaries, so the new interface works on windows and linux both. GetClientConVarValue never worked on many of the convars anyway, so it's actually better in that sense.
|
Re: Querying ConVars
Quote:
|
All times are GMT -4. The time now is 09:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.