Raised This Month: $7 Target: $400
 1% 

HighPingKicker OLO Based/Updated [22/10/2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   HamletEagle (36)
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 09-05-2018 , 23:39   HighPingKicker OLO Based/Updated [22/10/2022]
Reply With Quote #1

Public Info:

I found problems using the plugin made by "OLO" (sometimes it did not kick the player even though I was watching the ping and was always above the allowed), so I decided to give a little update and modify some things, making clear to the administrators of the site that I am posting just for help if anyone else goes through this.

Oh sure, I accept constructive criticism :D

Notes about changes/updates:

The plugin made by OLO uses dynamic number of arguments in its functions, and for some reason was failing (at least with me), so I made a small update on the way the tasks are created, passing the task ID correctly so as not to confuse with the ID of the player and I modified the cvar for pcvars (this does not make much difference, but who is updating one thing already avails and updates another.)

Servers using this plugin:

Here o/

Requirements:

* AMXX >= 1.10
* Compile locally

Obs:

~> Again, I thank "OLO" for the plugin originally produced, and SmileYzn for countless aids.

Submit translations:

Please send your translations through this link.

Available Languages:

Portuguese - iceeedR
English - iceeedR
Spanish - Rivotril
Romanian - Nutu_
Serbian - ^G[L]A^~Yuki
Slovak - Belo95135
German - Mordekay
Turkish - Snake
Hungarian - Hembi
Albanian - lantimilan
Simplified chinese - all85100
Russian - SomewhereLost
Albanian - edon1337


History:

Code:
0.1 [06/09/2018]
* First release

0.2 [10/09/2018]
* Fully upgraded to amxx 1.9.

0.3 [03/10/2018]
* new natives from amxx 1.9 used
* AutoExecConfig Added to plugin

0.4 [05/10/2018]
* AutoExecConfig removed since it was added to the new amxx.

0.5 [05/10/2018]
* Fixed a typo.

0.6 [18/10/2018]
* Fixed use of native bind_pcvar_ *
* Added language file

0.7 [06/12/2018]
* Added 2 cvars "Admin immunity" and "Notification filter"
* Changed .cfg creation path

0.8 [08/12/2018]
* Added to log the kick message.
* Small bugs fixed like the cvar "amx __..." (contained 2 underlines), please delete the newpingkicker.cfg and use the new file created.

0.8.1 [02/01/2019]
* Added variable to create log or not of kicked players.
* Corrected the notification method so that it is always updated with the value of the cvar.

0.9 [08/01/2019]
* Minor Adjustments

1.0 [27/02/2019]
* Clean and remove unnecessary code
* Removed the command amx_hpk, in view of the use of CFG.
* Added a filter for the immunity flag to admin.

1.1 [04/06/2019]
* Little fixes

1.2 [16/07/2019]
* Fixed some typos

1.3 [10/01/2020] - And probably the final version.
* Fixed language formatting when kicking.

1.4 [23/08/2021] - Final Version (No bug reporting)
* Small optimization in creating cvars.

1.5 [03/09/2021] - Minor adjustments for approval

1.5.1 [20/10/2021] - Updated LANG.

1.6 [31/05/2022]
* Logic redone after some reports that if a player got lag after some time without lag, the average was not correctly applied.
* No need to redownload lang or delete the cfg file.

1.7 [22/10/2022]
* Fixed log_amx which was using LANG_PLAYER instead of LANG_SERVER.
* Fixed small error in LANG file in pt-br.

Keep in mind the need to delete the old "NewPingkicker" cfg so that it can be generated the updated one.
-----------------------------------------------END----------------------------------------------
Attached Files
File Type: txt NewPingkicker.txt (2.8 KB, 223 views)
File Type: sma Get Plugin or Get Source (NewPingKicker.sma - 276 views - 6.7 KB)
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/

Last edited by iceeedr; 10-22-2022 at 12:30.
iceeedr is offline
Send a message via Skype™ to iceeedr
JusTGo
Veteran Member
Join Date: Mar 2013
Old 09-06-2018 , 09:02   Re: HighPingKicker OLO Based/Updated
Reply With Quote #2

maybe you should mention what you have updated from OLO version
__________________
JusTGo is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 09-06-2018 , 10:06   Re: HighPingKicker OLO Based/Updated
Reply With Quote #3

Just looking at the 2 sma's clearly perceives the difference. I do not want to go into the subject too much.
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-06-2018 , 10:18   Re: HighPingKicker OLO Based/Updated
Reply With Quote #4

Quote:
Originally Posted by iceeedr View Post
Just looking at the 2 sma's clearly perceives the difference. I do not want to go into the subject too much.
If you decide to take someone else's plugin and post it you should definitely say what you changed.
__________________
HamletEagle is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-06-2018 , 10:19   Re: HighPingKicker OLO Based/Updated
Reply With Quote #5

Quote:
* AMXX >= 1.8.2
The plugin won't compile on 1.8.2 because MAX_PLAYERS isn't defined.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 09-06-2018 , 10:25   Re: HighPingKicker OLO Based/Updated
Reply With Quote #6

Quote:
Originally Posted by OciXCrom View Post
The plugin won't compile on 1.8.2 because MAX_PLAYERS isn't defined.
Oops, my mistake, fixed.
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 09-06-2018 , 10:32   Re: HighPingKicker OLO Based/Updated
Reply With Quote #7

Quote:
Originally Posted by HamletEagle View Post
If you decide to take someone else's plugin and post it you should definitely say what you changed.
Seeing this side you are right, I will update the main post as soon as possible, I make clear that I have no intention of "stealing" the plugin made previously to post again because I do not receive anything for that, if that's the case and you think it's better, we can delete this post and I post the update in OLO's own post, I'm waiting for the best solution.
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-06-2018 , 10:40   Re: HighPingKicker OLO Based/Updated
Reply With Quote #8

Quote:
Originally Posted by iceeedr View Post
Seeing this side you are right, I will update the main post as soon as possible, I make clear that I have no intention of "stealing" the plugin made previously to post again because I do not receive anything for that, if that's the case and you think it's better, we can delete this post and I post the update in OLO's own post, I'm waiting for the best solution.
If the changes you made are significant enough you can make a new thread and take over the plugin(the original author name should be kept, you could say something like OLO & iceeedr)
__________________

Last edited by HamletEagle; 09-06-2018 at 10:40.
HamletEagle is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 09-06-2018 , 17:59   Re: HighPingKicker OLO Based/Updated
Reply With Quote #9

Quote:
Originally Posted by HamletEagle View Post
If the changes you made are significant enough you can make a new thread and take over the plugin(the original author name should be kept, you could say something like OLO & iceeedr)
The plugin made by OLO uses dynamic number of arguments in its functions, and for some reason was failing (at least with me), so I made a small update on the way the tasks are created, passing the task ID correctly so as not to confuse with the ID of the player and I modified the cvar for pcvars (this does not make much difference, but who is updating one thing already avails and updates another.) I wait for your endorsement to update the main post and / or delete the post and do just the weights in the original plugin, see you later.
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 09-08-2018 , 18:46   Re: HighPingKicker OLO Based/Updated
Reply With Quote #10

Glad to see people like you who take old PLUGIN and improve it, but I'd love you to do
*UPDATE and explain what has been fixed / arranged.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Reply


Thread Tools
Display Modes

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 05:29.


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