Raised This Month: $51 Target: $400
 12% 

Issue with query_client_cvar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 11-16-2013 , 17:23   Issue with query_client_cvar
Reply With Quote #1

The following code works fine on listen server but not on public server:

PHP Code:
public client_putinserver(id)
{
    if(!
is_user_bot(id))
    {
        
set_task(1.0"Check_Cvars_Query"id)
    }
}

public 
Check_Cvars_Query(id)
{
    if(
is_user_connected(id))
    {
        
query_client_cvar(id"cl_minmodels""Cvar_Result")
        
        
set_task(1.0"Check_Cvars_Query"id)
    }
}

public 
Cvar_Result(id , const szCvar[], const szValue[])
{
    
client_print(idprint_console"Cvar Result; %s: %s"szCvarszValue)

On listen server, I see the print in my console fine, but on public, it doesn't even get called. I also didn't find any logs. Could someone help me out there? The following infos are from the public server:

meta version

Quote:
Metamod v1.20-am 2013-02-14 (5:13)
by Will Day <[email protected]>
http://www.metamod.org/
compiled: Feb 14 2013, 00:25:08 (msc optimized)
meta list

Quote:
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.8.3-d ini Start ANY
[ 2] Fun RUN - fun_amxx.dll v1.8.3-d pl1 ANY ANY
[ 3] Engine RUN - engine_amxx.dll v1.8.3-d pl1 ANY ANY
[ 4] CStrike RUN - cstrike_amxx.dll v1.8.3-d pl1 ANY ANY
[ 5] CSX RUN - csx_amxx.dll v1.8.3-d pl1 ANY ANY
[ 6] Rage RUN - rage_amxx.dll vBETA 3 pl1 ANY ANY
[ 7] Void__Int-ptr RUN - void__int-ptr.rh v1.1 pl6 ANY ANY
[ 8] Orpheu RUN - orpheu_amxx.dll v2.5.1 pl1 ANY ANY
[ 9] MySQL RUN - mysql_amxx.dll v1.8.3-d pl1 ANY ANY
[10] FakeMeta RUN - fakemeta_amxx.dl v1.8.3-d pl1 ANY ANY
[11] Ham Sandwich RUN - hamsandwich_amxx v1.8.3-d pl1 ANY ANY
11 plugins, 11 running
status

Quote:
hostname: Test Server
version : 48/1.1.2.7 6027 secure (10)
tcp/ip : 64.74.97.174:27015
map : de_dust2 at: 0 x, 0 y, 0 z
players : 1 active (32 max)

# name userid uniqueid frag time ping loss adr
# 2 "KrYpToN." 2 STEAM_0:1:15714 0 04:22 63 0 96.23.75.71:27005
1 users
amxx plugins

Quote:
Currently loaded plugins:
name version author file status
[ 1] AMXBans Core 6.0.3 HLXBans Dev Team amxbans_core.am running
[ 2] AMXBans Main 6.0.3 HLXBans Dev Team amxbans_main.am running
[ 3] AMXBans Flagged 6.0.3 HLXBans Dev Team amxbans_flagged running
[ 4] AMXBans Freeze 6.0.3 HLXBans Dev Team amxbans_freeze. running
[ 5] Admin Commands 1.8.3 AMXX Dev Team admincmd.amxx running
[ 6] Admin Help 1.8.3 AMXX Dev Team adminhelp.amxx running
[ 7] Multi-Lingual System 1.8.3 AMXX Dev Team multilingual.am running
[ 8] Menus Front-End 1.8.3 AMXX Dev Team menufront.amxx running
[ 9] Commands Menu 1.8.3 AMXX Dev Team cmdmenu.amxx running
[ 10] Players Menu 1.8.3 AMXX Dev Team plmenu.amxx running
[ 11] Maps Menu 1.8.3 AMXX Dev Team mapsmenu.amxx running
[ 12] Plugin Menu 1.8.3 AMXX Dev Team pluginmenu.amxx running
[ 13] Admin Chat 1.8.3 AMXX Dev Team adminchat.amxx running
[ 14] Anti Flood 1.8.3 AMXX Dev Team antiflood.amxx running
[ 15] Scrolling Message 1.8.3 AMXX Dev Team scrollmsg.amxx running
[ 16] Info. Messages 1.8.3 AMXX Dev Team imessage.amxx running
[ 17] Admin Votes 1.8.3 AMXX Dev Team adminvote.amxx running
[ 18] NextMap 1.8.3 AMXX Dev Team nextmap.amxx running
[ 19] Nextmap Chooser 1.8.3 AMXX Dev Team mapchooser.amxx running
[ 20] TimeLeft 1.8.3 AMXX Dev Team timeleft.amxx running
[ 21] Pause Plugins 1.8.3 AMXX Dev Team pausecfg.amxx running
[ 22] Stats Configuration 1.8.3 AMXX Dev Team statscfg.amxx running
[ 23] StatsX 1.8.3 AMXX Dev Team statsx.amxx running
[ 24] Map Spawns Editor 1.0.16 iG_os Map_Spawns_Edit running
[ 25] Automatic Unstuck 1.5 NL)Ramon(NL warcraft3FT.amx running
[ 26] Fix Echo Sounds 1.0 Throstur soundfix.amxx running
[ 27] AMX Super 4.2 Nospee Bmann_420 amx_super_nospe running
[ 28] AMX_Super Menu 0.8.1 Yami Kaitou amx_super_menu. running
[ 29] DoNotShootTheHostages 0.2 regalis DoNotShootTheHo running
[ 30] No Shield 0.2.1 ConnorMcLeod noshield.amxx running
[ 31] client_buy forward 0.1.1 ConnorMcLeod client_buy.amxx running
[ 32] query_cvar 1.0 jamyX query_cvar.amxx running
32 plugins, 32 running
EDIT: I also tried version 1.21 on public, didn't help. But metamod version is the same like in listen server.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.

Last edited by bibu; 11-16-2013 at 17:24.
bibu is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-16-2013 , 17:35   Re: Issue with query_client_cvar
Reply With Quote #2

I've tried on local dedicated server and it works as soon as i close motd.

code :
Spoiler
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 11-16-2013 , 17:55   Re: Issue with query_client_cvar
Reply With Quote #3

I really have no idea whats going on. That's why I posted all server versions and such. I don't know some said it can happen because of metamod version.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-16-2013 , 18:09   Re: Issue with query_client_cvar
Reply With Quote #4

I have tested with following addons/settings :

Code:
] version
Protocol version 48
Exe version 1.1.2.7 (cstrike)
Exe build: 17:46:18 Apr 25 2013 (6027)
Code:
] meta version
Metamod v1.21-am  2013-03-15 (5:13)
by Will Day <[email protected]>
   http://www.metamod.org/
compiled: Mar 15 2013, 15:20:21  (msc optimized)
Code:
] meta list
Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.8.3-d  ini  Start ANY  
 [ 2] POD-Bot mm       RUN   -    podbot_mm.dll     vV3B21    ini  Chlvl ANY  
 [ 3] Fun              RUN   -    fun_amxx.dll      v1.8.3-d  pl1  ANY   ANY  
 [ 4] Engine           RUN   -    engine_amxx.dll   v1.8.3-d  pl1  ANY   ANY  
 [ 5] FakeMeta         RUN   -    fakemeta_amxx.dl  v1.8.3-d  pl1  ANY   ANY  
 [ 6] CStrike          RUN   -    cstrike_amxx.dll  v1.8.3-d  pl1  ANY   ANY  
 [ 7] CSX              RUN   -    csx_amxx.dll      v1.8.3-d  pl1  ANY   ANY  
 [ 8] Ham Sandwich (u  RUN   -    hamsandwich_amxx  v1.4      pl1  ANY   ANY  
 [ 9] Orpheu           RUN   -    orpheu_amxx.dll   v2.5.1    pl1  ANY   ANY  
9 plugins, 9 running
Code:
] amxx modules
Currently loaded modules:
      name                    version     author               status     
 [ 1] Fun                     1.8.3-dev   AMX Mod X Dev Team   running    
 [ 2] Engine                  1.8.3-dev   AMX Mod X Dev Team   running    
 [ 3] FakeMeta                1.8.3-dev   AMX Mod X Dev Team   running    
 [ 4] CStrike                 1.8.3-dev   AMX Mod X Dev Team   running    
 [ 5] CSX                     1.8.3-dev   AMX Mod X Dev Team   running    
 [ 6] Ham Sandwich (updated)  1.4         AMX Mod X Dev Team   running    
 [ 7] Orpheu                  2.5.1       joaquimandrade & Ar  running    
7 modules, 7 correct
Code:
] amxx list
Currently loaded plugins:
       name                    version     author            file             status   
 [  1] Admin Base              1.8.3       AMXX Dev Team     admin.amxx       running  
 [  2] Admin Commands          1.8.3       AMXX Dev Team     admincmd.amxx    running  
 [  3] Multi-Lingual System    1.8.3       AMXX Dev Team     multilingual.am  running  
 [  4] Menus Front-End         1.8.3       AMXX Dev Team     menufront.amxx   running  
 [  5] Commands Menu           1.8.3       AMXX Dev Team     cmdmenu.amxx     running  
 [  6] Players Menu            1.8.3       AMXX Dev Team     plmenu.amxx      running  
 [  7] Admin Chat              1.8.3       AMXX Dev Team     adminchat.amxx   running  
 [  8] Anti Flood              1.8.3       AMXX Dev Team     antiflood.amxx   running  
 [  9] Admin Votes             1.8.3       AMXX Dev Team     adminvote.amxx   running  
 [ 10] NextMap                 1.8.3       AMXX Dev Team     nextmap.amxx     running  
 [ 11] Nextmap Chooser         1.8.3       AMXX Dev Team     mapchooser.amxx  running  
 [ 12] TimeLeft                1.8.3       AMXX Dev Team     timeleft.amxx    running  
 [ 13] Pause Plugins           1.8.3       AMXX Dev Team     pausecfg.amxx    running  
 [ 14] Stats Configuration     1.8.3       AMXX Dev Team     statscfg.amxx    running  
 [ 15]                         0.0.1       ConnorMcLeod      query_minmodels  running  
15 plugins, 15 running
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 11-17-2013 , 06:33   Re: Issue with query_client_cvar
Reply With Quote #5

Looks like you got an older version? But anyway, for me it works on listen and not on public. Has this maybe something todo with those steamCMD updates? Because unfortunately my gsp does all the updates and such, and it was always up to date.

Quote:
] version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 13:14:12 Aug 29 2013 (6153)
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-18-2013 , 11:40   Re: Issue with query_client_cvar
Reply With Quote #6

Quote:
Originally Posted by bibu View Post
Looks like you got an older version?
No, you just have the Beta version
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode