Raised This Month: $ Target: $400
 0% 

HPK request (max 120 ping)!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Netr0pa
BANNED
Join Date: Dec 2007
Old 05-12-2008 , 23:53   HPK request (max 120 ping)!
Reply With Quote #1

Hi!

I know that there is already a High Ping Kicker BUT the only problem is: When I tried to modify the standard cvar in .sma file, it doesnt work

I tried to put the standard max ping to 200 so I dont need to type in the console:

amx_hpk "120" "200" "200" "200"

everytime I start up my server (It turns back to the basic setting after the mapchange and it's really annoying!

Here is the code that I tried to change but It doesnt work on the server( I got the old setting which is : amx_hpk "70" eventhoug I've changed these cvars)

PHP Code:
register_plugin("High Ping Kicker (Steam)","0.16.2","OLO/shadow")
  
register_concmd("amx_hpk","cmdHpk",ADMIN_KICK,"- configures high_ping_kicker plugin")
  
register_cvar("amx_hpk_ping","120")
  
register_cvar("amx_hpk_check","200")
  
register_cvar("amx_hpk_tests","200")
  
register_cvar("amx_hpk_delay","200"

Last edited by Netr0pa; 05-13-2008 at 08:14.
Netr0pa is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 05-13-2008 , 06:00   Re: HPK request (max 120 ping)!
Reply With Quote #2

Try adding those CVARs into yout server.cfg or amxx.cfg:
Code:
amx_hpk 120 200 200 200
or
Code:
amx_hpk_ping 120 amx_hpk_check 200 amx_hpk_tests 200 amx_hpk delay 200
__________________
hleV is offline
Netr0pa
BANNED
Join Date: Dec 2007
Old 05-13-2008 , 08:14   Re: HPK request (max 120 ping)!
Reply With Quote #3

But when the server changes map, it will change back to the default settings
Netr0pa is offline
hazard1337
Senior Member
Join Date: Sep 2006
Old 05-13-2008 , 09:45   Re: HPK request (max 120 ping)!
Reply With Quote #4

no, the server loads amxx.cfg and server.cfg everytime it loads up. Ie: map change, restart, crash + reload
__________________
[IMG]http://img139.**************/img139/1530/2sejaewg1.gif[/IMG]
If you +/- my K, leave your name.
I do not take requests VIA PM
Click on this before requesting/suggesting
This is your best friend
hazard1337 is offline
Send a message via Skype™ to hazard1337
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-13-2008 , 16:02   Re: HPK request (max 120 ping)!
Reply With Quote #5

The server does NOT load the server.cfg file on mapchange unless you tell it to using the mapchangecfg cvar
__________________
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
hazard1337
Senior Member
Join Date: Sep 2006
Old 05-13-2008 , 16:03   Re: HPK request (max 120 ping)!
Reply With Quote #6

Huh...thought it did...well there you go.
__________________
[IMG]http://img139.**************/img139/1530/2sejaewg1.gif[/IMG]
If you +/- my K, leave your name.
I do not take requests VIA PM
Click on this before requesting/suggesting
This is your best friend
hazard1337 is offline
Send a message via Skype™ to hazard1337
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-13-2008 , 16:04   Re: HPK request (max 120 ping)!
Reply With Quote #7

Nope, that is only Source games

You learned your new thing for the day, lol
__________________
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
hazard1337
Senior Member
Join Date: Sep 2006
Old 05-13-2008 , 21:47   Re: HPK request (max 120 ping)!
Reply With Quote #8

Guess so...lol
__________________
[IMG]http://img139.**************/img139/1530/2sejaewg1.gif[/IMG]
If you +/- my K, leave your name.
I do not take requests VIA PM
Click on this before requesting/suggesting
This is your best friend
hazard1337 is offline
Send a message via Skype™ to hazard1337
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 01:40.


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