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 DiscussionPlugins by CourgetteProblem with Banlist plugin for homefront
Pages: [1]   Go Down
  Print  
Author Topic: Problem with Banlist plugin for homefront  (Read 519 times) Bookmark and Share
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Posts: 234
Offline Offline
« on: April 22, 2011, 12:11:28 PM »

Hey,
I have the following part in my banlist.xml
Code:
    <ip_banlist>
<name>OGHF Banlist</name>
<file>@conf/banlistOGHF.txt</file>
<force_ip_range>no</force_ip_range>
<message>$name is BANNED</message>
<url><![CDATA[http://213.229.68.114/banlist.php]]></url>
</ip_banlist>

thats gets the OGHF banlist in the textfile and there is an entry:
Code:
76561198004944685  // P*Collector banned on  04/14/2011 (14:07), reason : whilst we review demo
Even if I don't think that he cheats (some people more must watch the replay at least) he can go on playing at our server. I don't want to get him banned but it was a good test for the plugin.

That was his first join today:
Code:
110422 15:15:13 CONSOLE [Message: SERVER_TRANSMISSION], [Channel: SERVER], [Data: LOGIN: P*Collector]
110422 15:15:13 CONSOLE [Message: SERVER_TRANSMISSION], [Channel: SERVER], [Data: TEAM CHANGE: P*Collector 0]
110422 15:15:13 DEBUG   onServerTeam_change: P*Collector 0
110422 15:15:13 DEBUG   Could not find client
At the following playerlist his GUID is not shown:
Code:
110422 15:15:15 CONSOLE [Message: SERVER_TRANSMISSION], [Channel: SERVER], [Data: PLAYER: 0 0  P*Collector 0 0]

then the check of his GUID:
Code:
110422 15:15:16 CONSOLE [Message: SERVER_TRANSMISSION], [Channel: SERVER], [Data: UID: P*Collector 76561198004944685]
110422 15:15:16 DEBUG   Client Connected: [P*Collector] P*Collector - 76561198004944685 ({})
110422 15:15:16 DEBUG   Storage: getClient Client<P*Collector>
110422 15:15:16 DEBUG   User not found 76561198004944685: u'No client matching guid 76561198004944685'
110422 15:15:16 BOT     Client not found in the storage 76561198004944685, create new
110422 15:15:16 DEBUG   Storage: setClient Client<P*Collector>
110422 15:15:16 DEBUG   Storage: setClient data {'time_add': 1303478116, 'time_edit': 1303478116, 'name': u'P*Collector', 'group_bits': 0, 'ip': '', 'greeting': '', 'auto_login': 1, 'connections': 1, 'mask_level': 0, 'guid': u'765611980$
110422 15:15:16 DEBUG   Client Authorized: [P*Collector] P*Collector - 76561198004944685
110422 15:15:16 VERBOSE Queueing event Client Authenticated Client<P*Collector>
110422 15:15:16 VERBOSE Parsing Event: Client Authenticated: BanlistPlugin
110422 15:15:16 DEBUG   BanlistPlugin: checking slot: P*Collector, P*Collector, , 76561198004944685
110422 15:15:16 DEBUG   BanlistPlugin: checking 76561198004944685
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: April 22, 2011, 12:47:33 PM »

could you send the full log please ?
Logged

Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Posts: 234
Offline Offline
« Reply #2 on: April 22, 2011, 02:04:30 PM »

http://81.88.24.229/b3.log
and http://81.88.24.229/b3.log.1

unfortunatly very good populated server Wink
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: April 22, 2011, 02:19:32 PM »

OK I see what's wrong now Smiley

Quote from: your config file for banlist
   <ip_banlist>
      <name>OGHF Banlist</name>
      <file>@conf/banlistOGHF.txt</file>
      <force_ip_range>no</force_ip_range>
      <message>$name is BANNED</message>
      <url><![CDATA[http://213.229.68.114/banlist.php]]></url>
   </ip_banlist>


Quote from: should really be
   <guid_banlist>
      <name>OGHF Banlist</name>
      <file>@conf/banlistOGHF.txt</file>
      <force_ip_range>no</force_ip_range>
      <message>$name is BANNED</message>
      <url><![CDATA[http://213.229.68.114/banlist.php]]></url>
   </guid_banlist>
Logged

Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Posts: 234
Offline Offline
« Reply #4 on: April 22, 2011, 03:35:54 PM »

I'm sorry for that waste of time!
Seems like I was a bit to blind Sad

So thank you very much.

Is there a way to get rid of one ban of their list without effect to the other bans?
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #5 on: April 22, 2011, 04:01:42 PM »

use a guid_whitelist to make an exception for that guid
Logged

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


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal