AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   High Ping Kicker - Lite Edition (https://forums.alliedmods.net/showthread.php?t=79147)

Derek 10-18-2008 21:37

Re: High Ping Kicker - Lite Edition
 
Thank God! Thanks for this plugin.

exvel 10-19-2008 09:16

Re: High Ping Kicker - Lite Edition
 
Quote:

The only thing it will put out (I believe) is 'Kicked for high ping'. So you guys really want just one line to be translated.
Yes, we want. :)

Bugsy 10-19-2008 09:51

Re: High Ping Kicker - Lite Edition
 
I'm getting a compile error for the below. I don't see a missing parenthesis or semi-colon though.

PHP Code:

119    new Float:tickRate GetTickInterval();
120    new cmdRate UMIN(StringToInt(rate), 20);
121
122    ping 
-= ((0.5 cmdRate) + (tickRate 1.0)); 

Code:

SourcePawn Compiler 1.0.3
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

C:\Program Files\Pawn Studio\temp961.sp(120) : error 001: expected token: ")", but found ";"
C:\Program Files\Pawn Studio\temp961.sp(122) : error 001: expected token: ";", but found "-identifier-"

2 Errors.

Compilation Time: 0.92 sec


Stinkyfax 10-19-2008 13:54

Re: High Ping Kicker - Lite Edition
 
i put sm_maxping 200 in sourcemod.cfg but it still gives me 150 when i check in console as long as i do not exec sourcemod.cfg again.

Liam 10-19-2008 14:06

Re: High Ping Kicker - Lite Edition
 
Quote:

Originally Posted by Bugsy (Post 702139)
I'm getting a compile error for the below. I don't see a missing parenthesis or semi-colon though.

PHP Code:

119    new Float:tickRate GetTickInterval();
120    new cmdRate UMIN(StringToInt(rate), 20);
121
122    ping 
-= ((0.5 cmdRate) + (tickRate 1.0)); 

Code:

SourcePawn Compiler 1.0.3
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC
 
C:\Program Files\Pawn Studio\temp961.sp(120) : error 001: expected token: ")", but found ";"
C:\Program Files\Pawn Studio\temp961.sp(122) : error 001: expected token: ";", but found "-identifier-"
 
2 Errors.
 
Compilation Time: 0.92 sec


I had the same problem. I had to update my spcomp / compile programs with the latest version.

Liam 10-19-2008 14:07

Re: High Ping Kicker - Lite Edition
 
Quote:

Originally Posted by Stinkyfax (Post 702251)
i put sm_maxping 200 in sourcemod.cfg but it still gives me 150 when i check in console as long as i do not exec sourcemod.cfg again.

Read the directions?

Change it in hpk_lite.cfg

Stinkyfax 10-20-2008 03:51

Re: High Ping Kicker - Lite Edition
 
oh, it might auto created hpk_lite.cfg? now it's working fine, thanks.

DataMatrix 10-20-2008 11:05

Re: High Ping Kicker - Lite Edition
 
Hi Liam.

This does not work in Zombie Panic Source.

A guy with 500 ping stayed in the server even though max ping was set to 300...

Any ideas?

Liam 10-20-2008 13:51

Re: High Ping Kicker - Lite Edition
 
Uh. Never played that. Never tested that. Dunno what to tell you?

DataMatrix 10-21-2008 05:15

Re: High Ping Kicker - Lite Edition
 
I was hoping you'd be able to fix it :P


All times are GMT -4. The time now is 07:13.

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