AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to query not all at once (https://forums.alliedmods.net/showthread.php?t=189289)

kileedyg 07-05-2012 13:03

How to query not all at once
 
for example using
PHP Code:

query_client_cvar 

PHP Code:

#include <amxmodx>
#include <amxmisc>

public client_connect(id) {
if (
task_exists(id)) {
remove_task(id)
set_task(0.5,"query1",id)
}
if (
task_exists(id)) {
remove_task(id)
set_task(0.5,"query2",id)
}
if (
task_exists(id)) {
remove_task(id)
set_task(0.5,"query3",id)
}
}

public 
query1(id) {
    
/*
        QUERY_CLIENT_CVAR
        CODES HERE
    */
 
}

public 
query2(id) {
    
/*
        QUERY_CLIENT_CVAR
        CODES HERE
    */
 
}

public 
query3(id) {
    
/*
        QUERY_CLIENT_CVAR
        CODES HERE
    */
 


i still got overflowing querying cvars, some tips please

DjOptimuS 07-05-2012 13:13

Re: How to query not all at once
 
stop using non-steam, query_client_cvar doesn't work on non-steam, that's why you get overflow

kileedyg 07-05-2012 13:15

Re: How to query not all at once
 
Quote:

Originally Posted by DjOptimuS (Post 1744009)
stop using non-steam, query_client_cvar doesn't work on non-steam, that's why you get overflow

reported,l2read description im getting overflow quering all at once 50+ cvars and i get oveflow about nonsteam, thats was obvious,reported for spamm.

ConnorMcLeod 07-05-2012 13:28

Re: How to query not all at once
 
Why don't you use the plugin i gave you, i never had any overflow with it.

kileedyg 07-05-2012 13:42

Re: How to query not all at once
 
Quote:

Originally Posted by ConnorMcLeod (Post 1744014)
Why don't you use the plugin i gave you, i never had any overflow with it.


can't edit it for my needs, im too dumb for understand whole your code, just need method, thanks mr connor.

Bugsy 07-05-2012 13:50

Re: How to query not all at once
 
Are you using steam?

kileedyg 07-05-2012 14:55

Re: How to query not all at once
 
Quote:

Originally Posted by Bugsy (Post 1744030)
Are you using steam?

i am, why you asking me? WE ALL KNOW THAT 47 PROTOCOL NON-STEAM get svc bad and kick's becouse query_client_cvar is not compatible, the 48 protocol non-steam and steam fully supports it, knowledge? also please read description ,i getting overflows becouse of amount that im querying, thanks for your reply, i don't know why people hating nonsteam players,look everyone has tryed nonsteam the protocol 48 of nonsteam doing same job as protocol 48 steam it just won't connecting to steam auth master servers, i support both non-steam and steam and both doing well, never had problems w/ it, the reason why i maked this topic becouse both nonsteam 48p and legit steam getting overflow, the reason as we disscused before w/ connor was that i querying all at once, so i just asking for method,thats all folks.

And yes i got both steam and nonsteam for testing purporses.


proof that im legit steam player

http://i46.tinypic.com/28u5mvc.png

kramesa 07-05-2012 15:37

Re: How to query not all at once
 
Quote:

Originally Posted by kileedyg (Post 1744073)
proof that im legit steam player

http://i46.tinypic.com/28u5mvc.png

But Counter-Strike is open and I did not see the Steam client. lol

kileedyg 07-05-2012 16:46

Re: How to query not all at once
 
Quote:

Originally Posted by kramesa (Post 1744103)
But Counter-Strike is open and I did not see the Steam client. lol

silent mode, also this topic is turning into flame about :crab::crab::crab:.

wickedd 07-05-2012 16:59

Re: How to query not all at once
 
Quote:

Originally Posted by kileedyg (Post 1744073)
i am, why you asking me? WE ALL KNOW THAT 47 PROTOCOL NON-STEAM get svc bad and kick's becouse query_client_cvar is not compatible, the 48 protocol non-steam and steam fully supports it, knowledge? also please read description ,i getting overflows becouse of amount that im querying, thanks for your reply, i don't know why people hating nonsteam players,look everyone has tryed nonsteam the protocol 48 of nonsteam doing same job as protocol 48 steam it just won't connecting to steam auth master servers, i support both non-steam and steam and both doing well, never had problems w/ it, the reason why i maked this topic becouse both nonsteam 48p and legit steam getting overflow, the reason as we disscused before w/ connor was that i querying all at once, so i just asking for method,thats all folks.

And yes i got both steam and nonsteam for testing purporses.


proof that im legit steam player

http://i46.tinypic.com/28u5mvc.png

Bullshit...I never tried "Non-Steam", so don't lie and say everybody tried it.


All times are GMT -4. The time now is 15:24.

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