Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: PingKicker Plugin  (Read 27281 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: PingKicker Plugin
« Reply #45 on: March 05, 2013, 06:26:38 PM »
could you provide a link to your source ? There might be other useful info for me

Offline ozon

  • Full Member
  • ***
  • Posts: 107
    • GitHub
Re: PingKicker Plugin
« Reply #46 on: March 05, 2013, 08:59:55 PM »
[20:47:35]   player.ping GreenCONTROLERlp
[20:47:35]   r375: 13

To date, no documentation was published. admin.help show it and it allow to ping a player. It response the ping.

Syntax..
player.ping <playername>
it response the ping.

playerList dosnt show it.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: PingKicker Plugin
« Reply #47 on: March 08, 2013, 12:53:12 AM »
the PingKicker plugin works for BF3 with B3 v1.9.1 or later. See http://forum.bigbrotherbot.net/battle-field-3/dlc-end-game/

Offline ozon

  • Full Member
  • ***
  • Posts: 107
    • GitHub
Re: PingKicker Plugin
« Reply #48 on: March 08, 2013, 02:04:21 PM »
It works fine. Any Git repo? Want make a pull request for little changes.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: PingKicker Plugin
« Reply #49 on: March 08, 2013, 04:23:58 PM »
I don't think so, you can email the author to be sure

Offline ozon

  • Full Member
  • ***
  • Posts: 107
    • GitHub
Re: PingKicker Plugin
« Reply #50 on: March 20, 2013, 01:52:38 AM »
After I received no response, I have now created a new fork on Github.

current/original version v1.0.1: https://github.com/ozon/b3-plugin-pingkicker/tree/v1.0.1
New stuff/forks/whatever can start on https://github.com/ozon/b3-plugin-pingkicker

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: Re: PingKicker Plugin
« Reply #51 on: March 20, 2013, 09:27:00 AM »
If you feel like taking over the support for this plugin, let me know and we'll make the download page target your github repo

Offline ozon

  • Full Member
  • ***
  • Posts: 107
    • GitHub
Re: PingKicker Plugin
« Reply #52 on: March 20, 2013, 07:35:59 PM »
I think i can do it.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: PingKicker Plugin
« Reply #53 on: March 24, 2013, 11:39:35 AM »
I changed the download link to it points to your github master branch.

Offline storm_ss

  • Jr. Member
  • **
  • Posts: 48
Re: PingKicker Plugin
« Reply #54 on: January 01, 2014, 01:11:41 PM »
Has anyone tried this on a BF4 server to see if it kicks players for a high ping?

Offline ozon

  • Full Member
  • ***
  • Posts: 107
    • GitHub
Re: PingKicker Plugin
« Reply #55 on: January 01, 2014, 01:51:46 PM »
This plugin works on a BF4 server perfectly.

Offline storm_ss

  • Jr. Member
  • **
  • Posts: 48
Re: PingKicker Plugin
« Reply #56 on: January 01, 2014, 03:22:33 PM »
Thanks ozon, I'll give it a try then. :)

Offline ruinzaO

  • Newbie
  • *
  • Posts: 7
Re: PingKicker Plugin
« Reply #57 on: May 22, 2014, 05:00:33 PM »
Hello, I am using this version of b3
Code: [Select]
BigBrotherBot-1.10.0dev.daily200-20140521-win32 
because xlrstats installed v3, only I'm having problems with the plugin, instead of kick it is banning.

Code: [Select]
 b3-plugin-pingkicker-develop

Code: [Select]
140521 01:22:58	VERBOSE	'Queueing event Client Disconnect 3'
140521 01:22:59 DEBUG "Storage: setClientPenalty data {'time_edit': 1400646179, 'keyword': None, 'time_expire': -1, 'admin_id': 304, 'reason': 'Ping alto no Server (326).', 'inactive': 0, 'data': '', 'client_id': 304, 'duration': 0, 'time_add': 1400646179, 'type': 'Kick'}"
140521 01:22:59 VERBOSE 'RCON sending (192.168.0.125:28970) \'clientkick 3 "Player Banned:^7 Ping alto no Server (326)."\''

Offline zdanman

  • Full Member
  • ***
  • Posts: 68
Re: PingKicker Plugin
« Reply #58 on: February 05, 2015, 12:42:03 AM »
Doesnt work in Insurgency.

For Example: The following executes...

Code: [Select]
if ping > self._maxPing:
self.console.verbose('ping:%s max:%s', ping, self._maxPing)

Output:

Code: [Select]
ping:71 max:400

The only feasible reason for this is that ping or _maxPing is actually a string or other data type.
adding the following to the code has fixed this problem:

Code: [Select]
ping = int(ping)
if ping > self._maxPing:
      self.console.verbose('ping:%s max:%s', ping, self._maxPing)

Thank me later.

Offline Slimbips

  • Full Member
  • ***
  • Posts: 65
Re: PingKicker Plugin
« Reply #59 on: April 22, 2017, 12:34:51 PM »
hey guys, for me its not working.

i havethe pingwatch running... but that think only watches...... no kick function in there wich is funny imo.
but oke i placed the pingkicker.py in extplugins, and in the conf folder i placed the plugin_pingkicker.xml

than in b3.xml i putt the line <plugin name="pingkicker" config="@conf/plugin_pingkicker.xml"/>

its for cod4

but when i restart the b3 bot it doesnt seem to work, any ideas?
« Last Edit: April 22, 2017, 12:51:42 PM by Slimbips »

 


Rate this page +1 at Google Search