Raised This Month: $32 Target: $400
 8% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 06-04-2019 , 12:29   Re: HighPingKicker OLO Based/Updated [04/06/2019]
Reply With Quote #61

PHP Code:
1.1 [04/06/2019]
Little fixes 
__________________


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
all85100
Junior Member
Join Date: May 2018
Location: Henan, China
Old 07-16-2019 , 01:40   Re: HighPingKicker OLO Based/Updated [04/06/2019]
Reply With Quote #62

This plugin seems to be a bit problematic. The value of "VarPing" in the code should output the value of the "amx_hpk_ping" parameter, which now shows the player current Ping value.
all85100 is offline
all85100
Junior Member
Join Date: May 2018
Location: Henan, China
Old 07-16-2019 , 01:44   Re: HighPingKicker OLO Based/Updated [04/06/2019]
Reply With Quote #63

At line 93,

if((get_user_flags(id) & ADMIN_IMMUNITY) || (get_user_flags(id) & pCvars[FlagImmunity] && pCvars[VarImmunity]))

I added two conditions for custom permission tags and immune tags.
how do you feel

Last edited by all85100; 07-16-2019 at 01:45.
all85100 is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 07-16-2019 , 05:50   Re: HighPingKicker OLO Based/Updated [04/06/2019]
Reply With Quote #64

First of all thanks for using the plugin.

1 - You're right in part, in fact there was a problem with the cvar instead of "pCvars [VarPing]" was just "VarPing". Adjusted.

2 - It is unnecessary, ADMIN_IMMUNITY is equivalent to flag "a", so if you put "amx_hpk_flag" flag "a" already hits the result without having to put the flag in hardcoded mode. Unnecessary
__________________


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 07-16-2019 , 05:53   Re: HighPingKicker OLO Based/Updated [04/06/2019]
Reply With Quote #65

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


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
all85100
Junior Member
Join Date: May 2018
Location: Henan, China
Old 07-16-2019 , 06:22   Re: HighPingKicker OLO Based/Updated [16/07/2019]
Reply With Quote #66

I want to set "amx_hpk_flag" to "b", and the player who has the reserved channel permission does not detect ping.

Last edited by all85100; 07-16-2019 at 06:46.
all85100 is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 07-16-2019 , 06:27   Re: HighPingKicker OLO Based/Updated [16/07/2019]
Reply With Quote #67

Jut go to "yourserver\cstrike\addons\amxmodx\configs\pl ugins\NewPingkicker"

And set the cvar

// The admin immunity flag
// -
// Default: "a"
amx_hpk_flag "b"
__________________


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
all85100
Junior Member
Join Date: May 2018
Location: Henan, China
Old 07-16-2019 , 06:45   Re: HighPingKicker OLO Based/Updated [16/07/2019]
Reply With Quote #68

The plugin does not take effect. If the player exceeds the limit ping value, the player will not be kicked out. The Chat display also shows a problem.





The NewPingkicker.txt file is now garbled and may not be using UTF-8

Last edited by all85100; 07-16-2019 at 06:46.
all85100 is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 07-16-2019 , 09:10   Re: HighPingKicker OLO Based/Updated [16/07/2019]
Reply With Quote #69

Quote:
Originally Posted by all85100 View Post
The plugin does not take effect. If the player exceeds the limit ping value, the player will not be kicked out. The Chat display also shows a problem.



The NewPingkicker.txt file is now garbled and may not be using UTF-8

Translation file again saved and tested with notepad ++ without BOM, sma file updated and tested, working correctly.
Could you download, check and return me?
__________________


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
all85100
Junior Member
Join Date: May 2018
Location: Henan, China
Old 07-16-2019 , 09:19   Re: HighPingKicker OLO Based/Updated [16/07/2019]
Reply With Quote #70

Still Chinese is garbled, you download this file from me

http://154.8.156.177/NewPingkicker.txt


我测试一下

Last edited by all85100; 07-16-2019 at 09:43.
all85100 is offline
Old 07-16-2019, 09:26
all85100
This message has been deleted by all85100.
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 13:31.


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