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!

You are here: Big Brother Bot ForumAdd-OnsPlugins Discussion (Moderator: MordyT)Request: Colored name kicker
Pages: [1]   Go Down
  Print  
Author Topic: Request: Colored name kicker  (Read 480 times) Bookmark and Share
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« on: March 17, 2011, 07:37:44 PM »

I'd like a plugin that kicks anyone that has a ^ color in their name for MW2 (should work in COD 4 and 5 I'd imagine.

Can anyone make this?
Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4
Posts: 180
Offline Offline
WWW
« Reply #1 on: March 17, 2011, 08:02:04 PM »

If you can find a way of getting clients names with the colours still in it. I can just make a few changes to my CoD Colour Warn plugin to make what you want.
« Last Edit: March 17, 2011, 09:07:57 PM by Spoon » Logged

Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #2 on: March 18, 2011, 09:21:31 AM »

Actually, could this be extended to any non-standard ascii character as well? It seems some people lately have been using non-standard ascii characters (� etc) and B3 can't seem to kick because you have to type in the exact user name to kick or ban (Why is that?)

The B3 log already seems to detect the color codes. For example:

Quote
110318 10:03:30   DEBUG   fedemodern^7 found in status/playerList
110318 07:34:18   VERBOSE   connectClient() = {'11': {'slot': '11', 'last': '0', 'name': '^2M^4r^1X^7'
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #3 on: March 18, 2011, 09:22:39 AM »

Actually, could this be extended to any non-standard ascii character as well? It seems some people lately have been using non-standard ascii characters (� etc) and B3 can't seem to kick because you have to type in the exact user name to kick or ban (Why is that?)



The B3 log already seems to detect the color codes. For example:



!list them, or just type enough characters that are unique... You don't need the full name..
« Last Edit: March 18, 2011, 09:26:39 AM by MordyT » Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #4 on: March 18, 2011, 09:28:37 AM »


!list them, or just type enough characters that are unique... You don't need the full name..

That doesn't always work. I !permbanned someone with color codes in their name and after I did, they disappeared from the list and they could not be kicked. Entering a partial name resulted in a message that no one was found with that name.
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #5 on: March 18, 2011, 09:32:37 AM »

Kick them before permabanning. The aiw code doesn't kick when you ban if I remember correctly...
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #6 on: March 18, 2011, 09:56:14 AM »

Here's an example of a player with non-standard characters and how it can be a problem.

You'll notice his name in the player list and when he chats look different from each other.

http://cloud.steampowered.com/ugc/578917718736276974/BCCF7E34C5D6CCFC031FF59E2CC1E7513E94E350/
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #7 on: March 18, 2011, 09:59:25 AM »

in that example, if you type !kick hugo test does it kick him?
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #8 on: March 18, 2011, 10:09:48 AM »

When I posted this, I thought the reason I couldn't kick the player in question was because of color codes or non-standard ascii. I've now learned that a typo in the cod6.py was preventing the !perbanned player from being kicked after the !permban command was issued and not their name, so this isn't as much of a priority now. Just gotta wait and see if we get a fix for the cod6.py in the 1.5.2b version.
Logged
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4
Posts: 180
Offline Offline
WWW
« Reply #9 on: March 19, 2011, 01:34:15 AM »

Actually, could this be extended to any non-standard ascii character as well? It seems some people lately have been using non-standard ascii characters (� etc) and B3 can't seem to kick because you have to type in the exact user name to kick or ban (Why is that?)

The B3 log already seems to detect the color codes. For example:


But if I use client.exactName or client.name B3 has already striped the colours from there name. I need to find a non striped version of there name to run though the code.
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal