query_client_cvar is blocked
Sombody check thiis function..
query_client_cvar() I think this query doesn't work now. Server cannot recive client query or Client ignore this query. |
Re: query_client_cvar is blocked
non-steam ?!
|
Re: query_client_cvar is blocked
addicted2sex asked if you have non-steam... becouse that native doesn't work in non-steam version.
|
Re: query_client_cvar is blocked
NOT NON-STEAM
Do this in your server by yourself. and Tell me if it works. |
Re: query_client_cvar is blocked
What you mean with "do this", what is "this"?
the query_client_cvar() work perfect in steam... maybe your code have some mistakes. |
Re: query_client_cvar is blocked
it was not my code.
Check this plugins Jumpstats http://forums.alliedmods.net/showthread.php?t=87906 Rate Customizer http://forums.alliedmods.net/showthread.php?t=101174 That query doesn't work. |
Re: query_client_cvar is blocked
Which cvar are you trying to query?
|
Re: query_client_cvar is blocked
maybe you know if you see that plugin's code.
developer cl_***speed fps_max cl_cmdrate That Client's Cvars can be executed by clinet_cmd() But query_client_cvar() function doesn't send(or recieve) Client Query. here is simple code. #include <amxmodx> public plugin_init() { register_plugin("Query Test", "0.1", "test") register_clcmd("test", "clcmd_test") } public clcmd_test(Client) if (!is_user_bot(Client)) set_task(2.0, "CheckPlayerRates", Client) public CheckPlayerRates(Client) { query_client_cvar(Client, "cl_cmdrate", "CvarResult") } public CvarResult(Client, const Cvar[], const Value[]) { new fValue = str_to_num(Value) client_print(0, print_console, "We Can Use query(Client cl_cmdrate= %d", fValue) return PLUGIN_HANDLED; } If you can see "We Can Use Query" Message, It works. but....not |
Re: query_client_cvar is blocked
Code
PHP Code:
Code:
id=1 cvar=cl_cmdrate value=30Code:
id=1 cvar=fps_max value=72.0 |
Re: query_client_cvar is blocked
Server is Linux (version : 48/1.1.2.6/Stdio 4617 secure (10) )
and absolutly not non-steam Meta list description stat pend file vers src load unlod [ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.1.3 ini Start ANY and Plugin list name version author file status [ 1] Admin Base 1.8.1.3746 AMXX Dev Team admin.amxx running [ 2] Admin Commands 1.8.1.3746 AMXX Dev Team admincmd.amxx running [ 3] Menus Front-End 1.8.1.3746 AMXX Dev Team menufront.amxx running [ 4] Commands Menu 1.8.1.3746 AMXX Dev Team cmdmenu.amxx running [ 5] Players Menu 1.8.1.3746 AMXX Dev Team plmenu.amxx running [ 6] Maps Menu 1.8.1.3746 AMXX Dev Team mapsmenu.amxx running [ 7] Plugin Menu 1.8.1.3746 AMXX Dev Team pluginmenu.amxx running [ 8] Admin Chat 1.8.1.3746 AMXX Dev Team adminchat.amxx running [ 9] Anti Flood 1.8.1.3746 AMXX Dev Team antiflood.amxx running [ 10] Admin Votes 1.8.1.3746 AMXX Dev Team adminvote.amxx running [ 11] NextMap 1.8.1.3746 AMXX Dev Team nextmap.amxx running [ 12] TimeLeft 1.8.1.3746 AMXX Dev Team timeleft.amxx running [ 13] Pause Plugins 1.8.1.3746 AMXX Dev Team pausecfg.amxx running [ 14] Stats Configuration 1.8.1.3746 AMXX Dev Team statscfg.amxx running [ 15] query cvar test 1.0 bugsy qtest.amxx running say test => no response. hum... it worked 1 or 2 weeks ago i think. (my jump server had enforced above CVARS) but now it doesn't work with me. What is wrong with me ? huh??? It has something to do with steam client updating ? |
| All times are GMT -4. The time now is 15:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.