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

Client Checker (1.0.1) [Update 02-25-2007] SQL Support


Post New Thread Reply   
 
Thread Tools Display Modes
Crazed
Member
Join Date: Oct 2006
Old 05-17-2007 , 04:39   Re: Client Checker (1.0.1) [Update 02-25-2007] SQL Support
Reply With Quote #101

Quote:
Originally Posted by Ares1 View Post
A question. we tryed runing this plugin on a public server with 30 slots.

I have not set the tabels in my SQL databas. (I dont think thats the problem)

When we tryed the plugin it was laging like hell. So we turned it off. Any ide why it did like this?
Depending if you are using the SQL version. And could you show me your configs? Also I would like to know which other plugins you are running.

thx
Crazed is offline
daemonevo
Junior Member
Join Date: Nov 2005
Location: Christchurch
Old 05-18-2007 , 04:27   Re: Client Checker (1.0.1) [Update 02-25-2007] SQL Support
Reply With Quote #102

Quote:
Originally Posted by Crazed View Post
show me your configs please ..
running with sxe injected + amx match deluxe

// Show (dis)connect message of players [0 = Disabled, 1 = Enabled]
cc_connectmsg 0

// Show info in console when a players joins the server
cc_showinfo 0

// Show country in player connect message
// This uses the AMXModX GeoIP module so it needs to be enabled in modules.ini
cc_showgeoip 0

// Show message about invalid settings to:
// 0 = Disabled
// 1 = AMX Admins
// 2 = Checked Player + AMX Admins
// 3 = All players
cc_messagetype 3

// Show agreement menu [0 = No agreement, 1 = Show agreement]
cc_agreemenu 0
// Menu time out in seconds
cc_agreetimeout 30
// How long the agreement of a client should be saved
cc_daystosave 14

// Rate Checker [0 = Disabled, 1 = Enabled]
cc_ratecheck 1
// Ping Checker [0 = Disabled, 1 = Enabled]
cc_pingcheck 0
// Cvar Checker [0 = Disabled, 1 = Enabled]
cc_cvarcheck 1

// Logging [0 = Disabled, 1 = Enabled]
cc_writelog 1

// Write settings to config [0 = Disabled, 1 = Enabled]
cc_writecfg 1

// Maximum allowed invalid cvars before kick
cc_maxinvalid 10

// Check delay between checks in seconds
cc_chkdelay 4
// Maximum items to check at once
cc_maxitems 5

// Maximum ping allowed
cc_maxping 120
// Ping check cycles before kick
cc_maxpingwarns 6

// Minimum Allowed rates
cc_minupdaterate 50
cc_mincmdrate 50
cc_minrate 15000


// SQL Stuff
cc_sqlhost "localhost"
cc_sqldbname "ClientChecker"
cc_sqluser "my_user"
cc_sqlpass "my_pass"
daemonevo is offline
Tiny
Senior Member
Join Date: Jun 2004
Location: France
Old 05-19-2007 , 15:11   Re: Client Checker (1.0.1) [Update 02-25-2007] SQL Support
Reply With Quote #103

Quote:
Originally Posted by Crazed View Post
Sorry was really busy last weeks so had no time to support it. But it works like this:

equal_to 0 will check if the value is equal to 0 and if so it will change it to "set_value" so if you use equal_to 0 and use the set_value 0 it will loop indeed.

and for !equal_to 0 it is just the other way around. if the value is not equal to 0 set it to "set_value" this will also loop if you go for set_value 1 or something that is not equal with !equal_to. actually the set_value is not very useful in here.
So i've put the following thing in the cfg:

Code:
cl_minmodels {
!equal_to 0
set_value 0
}
 
gl_overbright {
!equal_to 0
set_value 0
}
 
gl_monolights {
!equal_to 0
set_value 0
}
Knowing that I would like to have this value set to 0.

But it was kicking people telling them that the cvar isn't allowed. Ain't something wrong ????

And by the way is the use of regex (#include <regex>) necessary in case i don't use a regex pattern ?
__________________
KiKoo et Bisous

Last edited by Tiny; 06-07-2007 at 06:36.
Tiny is offline
iggy_bus
BANNED
Join Date: Oct 2005
Old 07-01-2007 , 09:12   Re: Client Checker (1.0.1) [Update 02-25-2007] SQL Support
Reply With Quote #104

Code:
[ 64] unknown                 unknown  unknown           ClientChecker.a  bad load 
( 64) Load fails: Module/Library "nvault" required for plugin.  Check modules.ini.
Code:
            name                    version  author               status     
          [ 1] unknown                 unknown  unknown              bad load   
          [ 2] Sockets                 1.76     HLSW Dev Team        running    
          [ 3] CStrike                 1.76     AMX Mod X Dev Team   running    
          [ 4] FakeMeta                1.76d    AMX Mod X Dev Team   running    
          [ 5] GeoIP                   1.76     AMX Mod X Dev Team   running    
          [ 6] CSX                     1.76c    AMX Mod X Dev Team   running    
          [ 7] Engine                  1.76     AMX Mod X Dev Team   running    
          [ 8] Fun                     1.76     AMX Mod X Dev Team   running    
          [ 9] RegEx                   1.76     AMX Mod X Dev Team   running    
         9 modules, 8 correct
Anyone has nvault module that works ?
iggy_bus is offline
Tiny
Senior Member
Join Date: Jun 2004
Location: France
Old 07-03-2007 , 15:18   Re: Client Checker (1.0.1) [Update 02-25-2007] SQL Support
Reply With Quote #105

Here's the one from the last pack.
Attached Files
File Type: zip nvault_amxx_i386.zip (48.8 KB, 245 views)
__________________
KiKoo et Bisous
Tiny is offline
savage9r
Member
Join Date: Jan 2006
Location: Columbus, OH
Old 07-04-2007 , 14:02   Re: Client Checker (1.0.1) [Update 02-25-2007] SQL Support
Reply With Quote #106

first off, great plugin! have been looking for something like this for a long time. i especially like the banned_name function.

i am having the same lag problem using the SQL version. everything works fine, but when players connect, don't agree to the terms, etc. the whole server lags.

i'm new to SQL, but i was curious if this mod is querrying the SQL every time someone connects / chooses an option? our website is on a seperate server (dual quad core cpu's) and is pretty fast the majority of the time, but does slow down occasionally. could that cause the server to lag if it can't connect quick enough?

if so, is it possible to only querry at mapchange? our forum mod does that for stats.

here is our ClientChecker.cfg:

Code:
// Show (dis)connect message of players [0 = Disabled, 1 = Enabled]
cc_connectmsg 1

// Show info in console when a players joins the server
cc_showinfo 1

// Show country in player connect message
// This uses the AMXModX GeoIP module so it needs to be enabled in modules.ini
cc_showgeoip 1

// Show message about invalid settings to:
// 0 = Disabled
// 1 = AMX Admins
// 2 = Checked Player + AMX Admins
// 3 = All players
cc_messagetype 1

// Show agreement menu [0 = No agreement, 1 = Show agreement]
cc_agreemenu 1
// Menu time out in seconds
cc_agreetimeout 30
// How long the agreement of a client should be saved
cc_daystosave 999

// Rate Checker [0 = Disabled, 1 = Enabled]
cc_ratecheck 1
// Ping Checker [0 = Disabled, 1 = Enabled]
cc_pingcheck 0
// Cvar Checker [0 = Disabled, 1 = Enabled]
cc_cvarcheck 1

// Logging [0 = Disabled, 1 = Enabled]
cc_writelog 1

// Write settings to config [0 = Disabled, 1 = Enabled]
cc_writecfg 1

// Maximum allowed invalid cvars before kick
cc_maxinvalid 0

// Check delay between checks in seconds
cc_chkdelay 4

// Maximum items to check at once
cc_maxitems 5

// Maximum ping allowed
cc_maxping 500

// Ping check cycles before kick
cc_maxpingwarns 6

// Minimum Allowed rates
cc_minupdaterate 20
cc_mincmdrate 20
cc_minrate 10000


// SQL Stuff
cc_sqlhost "209.31.112.62"
cc_sqldbname "savage9r_ClientChecker"
cc_sqluser "savage9r_SID"
cc_sqlpass "xxxxxxxxx"
thanks
__________________


Last edited by savage9r; 07-05-2007 at 14:20.
savage9r is offline
Send a message via MSN to savage9r Send a message via Yahoo to savage9r
Crazed
Member
Join Date: Oct 2006
Old 07-29-2007 , 07:12   Re: Client Checker (1.0.1) [Update 02-25-2007] SQL Support
Reply With Quote #107

Quote:
Originally Posted by savage9r View Post
first off, great plugin! have been looking for something like this for a long time. i especially like the banned_name function.

i am having the same lag problem using the SQL version. everything works fine, but when players connect, don't agree to the terms, etc. the whole server lags.

i'm new to SQL, but i was curious if this mod is querrying the SQL every time someone connects / chooses an option? our website is on a seperate server (dual quad core cpu's) and is pretty fast the majority of the time, but does slow down occasionally. could that cause the server to lag if it can't connect quick enough?

if so, is it possible to only querry at mapchange? our forum mod does that for stats.
Sorry for the late response. I have been a bit inactive cause of a really busy period, but yes I think it is possible to let it only query on mapchange. I will change it today and test it and if it is working I will post a new update.
Crazed is offline
noonoo
Senior Member
Join Date: Mar 2006
Location: London - UK
Old 12-04-2007 , 19:38   Re: Client Checker (1.0.1) [Update 02-25-2007] SQL Support
Reply With Quote #108

Here is a list of the cvars HLGuard 1.8 sets but for use with this plugin, if you want to use them just copy and paste the code below into your chk_cvars.cfg. I didnt include ex_interp as we dont restrict it so add that if you want.

Code:
cl_pitchspeed {
         !equal_to 225
         set_value 225
}
scr_ofsx {
         !equal_to 0
         set_value 0
}
scr_ofsy {
         !equal_to 0
         set_value 0
}
scr_ofsz {
         !equal_to 0
         set_value 0
}
hud_draw {
         !equal_to 1
         set_value 1
}
cl_timeout {
         !equal_to 35
         set_value 35
}
c_maxdistance {
         !equal_to 200
         set_value 200
}
c_maxpitch {
         !equal_to 90
         set_value 90
}
c_maxyaw {
         !equal_to 135
         set_value 135
}
c_minpitch {
         !equal_to 0
         set_value 0
}
cl_gaitestimation {
         !equal_to 1
         set_value 1
}
cl_lc {
         !equal_to 1
         set_value 1
}
cl_lw {
         !equal_to 1
         set_value 1
}
cl_movespeedkey {
         !equal_to 0.52
         set_value 0.52
}
cl_nosmooth {
         !equal_to 0
         set_value 0
}
cl_pitchdown {
         !equal_to 89
         set_value 89
}
cl_pitchspeed {
         !equal_to 225
         set_value 225
}
cl_pitchup {
         !equal_to 89
         set_value 89
}
cl_smoothtime {
         !equal_to 0.1
         set_value 0.1
}
cl_yawspeed {
         !equal_to 210
         set_value 210
}
default_fov {
         !equal_to 90
         set_value 90
}
ex_extrapmax {
         !equal_to 1.2
         set_value 1.2
}
fakelag {
         !equal_to 0
         set_value 0
}
fakeloss {
         !equal_to 0
         set_value 0
}
fps_modem {
         !equal_to 0
         set_value 0
}
brightness {
         !equal_to 1
         set_value 1
}
gamma {
         !equal_to 3
         set_value 3
}
gl_nocolors {
         !equal_to 0
         set_value 0
}
gl_overbright {
         !equal_to 0
         set_value 0
}
gl_alphamin {
         !equal_to 0.25
         set_value 0.25
}
gl_clear {
         !equal_to 0
         set_value 0
}
gl_monolights {
         !equal_to 0
         set_value 0
}
lambert {
         !equal_to 1.5
         set_value 1.5
}
lightgamma {
         !equal_to 2.5
         set_value 2.5
}
s_automin_distance {
         !equal_to 2
         set_value 2
}
s_distance {
         !equal_to 60
         set_value 60
}
s_automax_distance {
         !equal_to 30
         set_value 30
}
s_max_distance {
         !equal_to 1000
         set_value 1000
}
s_min_distance {
         !equal_to 5
         set_value 5
}
s_numpolys {
         !equal_to 200
         set_value 200
}
s_refgain {
         !equal_to 0.4
         set_value 0.4
}
gl_zmax {
         !equal_to 0
         set_value 0
}
cam_idealdist {
         !equal_to 64
         set_value 64
}
cl_showevents {
         !equal_to 0
         set_value 0
}
ambient_fade {
         !equal_to 100
         set_value 100
}
ambient_level {
         !equal_to 0.3
         set_value 0.3
}
s_occfactor {
         !equal_to 0.25
         set_value 0.25
}
hud_draw {
         !equal_to 1
         set_value 1
}
s_a3d {
         !equal_to 0
         set_value 0
}
gl_polyoffset {
         !equal_to 0.1
         set_value 0.1
}
max_smokepuffs {
         !equal_to 120
         set_value 120
}
cl_forwardspeed {
         !equal_to 400
         set_value 400
}
cl_sidespeed {
         !equal_to 400
         set_value 400
}
cl_backspeed {
         !equal_to 400
         set_value 400
}
texgamma {
         !equal_to 2
         set_value 2
}
Here is a copy of the cvar file from HLGuard 1.8 which i got these settings from.

Code:
//====
// Forced cvars
//====
hlg_conncommand "cl_pitchspeed 225;alias cl_pitchspeed"
hlg_conncommand "scr_ofsx 0;alias scr_ofsx"
hlg_conncommand "scr_ofsy 0;alias scr_ofsy" 
hlg_conncommand "scr_ofsz 0;alias scr_ofsz" 
hlg_conncommand "hud_draw 1;alias hud_draw" 
hlg_conncommand "cl_timeout 35;alias cl_timeout" 
hlg_conncommand "c_maxdistance 200;alias c_maxdistance"
hlg_conncommand "c_maxpitch 90;alias c_maxpitch"
hlg_conncommand "c_maxyaw 135;alias c_maxyaw"
hlg_conncommand "c_minpitch 0;alias c_minpitch"
hlg_conncommand "c_minyaw -135;alias c_minyaw"
hlg_conncommand "cl_gaitestimation 1;alias cl_gaitestimation"
hlg_conncommand "cl_lc 1;alias cl_lc"
hlg_conncommand "cl_lw 1;alias cl_lw"
hlg_conncommand "cl_movespeedkey 0.52;alias cl_movespeedkey"
hlg_conncommand "cl_nosmooth 0;alias cl_nosmooth"
hlg_conncommand "cl_pitchdown 89;alias cl_pitchdown"
hlg_conncommand "cl_pitchspeed 225;alias cl_pitchspeed"
hlg_conncommand "cl_pitchup 89;alias cl_pitchup"
hlg_conncommand "cl_smoothtime 0.1;alias cl_smoothtime"
hlg_conncommand "cl_yawspeed 210;alias cl_yawspeed"
hlg_conncommand "default_fov 90;alias default_fov"
hlg_conncommand "ex_extrapmax 1.2;alias ex_extrapmax"
hlg_conncommand "ex_interp 0.1;alias ex_interp"
hlg_conncommand "fakelag 0;alias fakelag"
hlg_conncommand "fakeloss 0;alias fakeloss"
hlg_conncommand "fps_modem 0;alias fps_modem"
hlg_conncommand "brightness 1;alias brightness"
hlg_conncommand "gamma 3;alias gamma"
hlg_conncommand "gl_nocolors 0;alias gl_nocolors"
hlg_conncommand "gl_overbright 0;alias gl_overbright"
hlg_conncommand "gl_alphamin 0.25;alias gl_alphamin"
hlg_conncommand "gl_clear 0;alias gl_clear"
hlg_conncommand "gl_monolights 0;alias gl_monolights"
hlg_conncommand "lambert 1.5;alias lambert"
hlg_conncommand "lightgamma 2.5;alias lightgamma"
hlg_conncommand "s_automin_distance 2;alias s_automin_distance"
hlg_conncommand "s_distance 60;alias s_distance"
hlg_conncommand "s_automax_distance 30;alias s_automax_distance"
hlg_conncommand "s_max_distance 1000;alias s_max_distance"
hlg_conncommand "s_min_distance 5;alias s_min_distance"
hlg_conncommand "s_numpolys 200;alias s_numpolys"
hlg_conncommand "s_refgain 0.4;alias s_refgain"
hlg_conncommand "gl_zmax 0;alias gl_zmax"
hlg_conncommand "cam_idealdist 64;alias cam_idealdist"
hlg_conncommand "cl_showevents 0;alias cl_showevents"
hlg_conncommand "ambient_fade 100;alias ambient_fade"
hlg_conncommand "ambient_level 0.3;alias ambient_level"
hlg_conncommand "s_occfactor 0.25;alias s_occfactor"
hlg_conncommand "hud_draw 1;alias hud_draw"
hlg_conncommand "s_a3d 0;alias s_a3d"
hlg_conncommand "s_disable_a3d;alias s_enable_a3d"
hlg_conncommand "gl_polyoffset 0.1;alias gl_polyoffset"
hlg_conncommand "max_smokepuffs 120;alias max_smokepuffs"
hlg_conncommand "cl_forwardspeed 400;alias cl_forwardspeed"
hlg_conncommand "cl_sidespeed 400;alias cl_sidespeed"
hlg_conncommand "cl_backspeed 400;alias cl_backspeed"
hlg_conncommand "texgamma 2;alias texgamma"
Anyway i hope this helps anybody looking for a decent cvar config.

Thanks again Crazed for a brilliant plugin
noonoo is offline
mvdv25
Member
Join Date: Mar 2005
Location: The Netherlands
Old 12-19-2007 , 15:59   Re: Client Checker (1.0.1) [Update 02-25-2007] SQL Support
Reply With Quote #109

Could someone fix this plugin to work with 1.8?

for some reasons it will crash the server, the server is time-out but in server console it says the server is running
mvdv25 is offline
Send a message via MSN to mvdv25
noonoo
Senior Member
Join Date: Mar 2006
Location: London - UK
Old 12-19-2007 , 18:25   Re: Client Checker (1.0.1) [Update 02-25-2007] SQL Support
Reply With Quote #110

Quote:
Originally Posted by mvdv25 View Post
Could someone fix this plugin to work with 1.8?

for some reasons it will crash the server, the server is time-out but in server console it says the server is running
This plugin works fine for me on my test server which is running v1.8 of amxx.
noonoo 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 18:14.


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