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)GeoIP Problem
Pages: [1]   Go Down
  Print  
Author Topic: GeoIP Problem  (Read 703 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 21
Offline Offline
« on: September 30, 2010, 10:26:05 AM »

Hello
I`ve got problem with GeoIP (welcome plugin)
In log is writed cant import geoip
all files are in good directory
log file
100930 20:18:04    BOT        www.BigBrotherBot.com (b3) v1.3.2 [nt] (Daniel) [Win32 standalone]
100930 20:18:04    BOT        Python: 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
100930 20:18:04    BOT        Starting Iourt41Parser v1.7.11 for server 127.0.0.1:27966
100930 20:18:04    BOT        --------------------------------------------
100930 20:18:04    BOT        Attempting to connect to database mysql://root:******@localhost/b3...
100930 20:18:04    BOT        Connected to database [1 times]
100930 20:18:04    BOT        Game log D:\Program Files\UrbanTerror\q3ut4\games.log
100930 20:18:04    BOT        Starting bot reading file D:\Program Files\UrbanTerror\q3ut4\games.log
100930 20:18:04    BOT        Loading Plugins (external plugin directory: C:\Program Files\BigBrotherBot_1.3.2\extplugins)
100930 20:18:04    BOT        Loading Plugin #1 admin [@conf\plugin_admin.xml]
100930 20:18:04    BOT        AdminPlugin: Loading config @conf\plugin_admin.xml for AdminPlugin
100930 20:18:04    DEBUG    Register Event: Stop Process: AdminPlugin
100930 20:18:04    DEBUG    Register Event: Program Exit: AdminPlugin
100930 20:18:04    BOT        Plugin admin (1.7 - ThorN, xlr8or, Courgette) loaded
100930 20:18:04    BOT        Loading Plugin #2 stats [@conf\plugin_stats.xml]
100930 20:18:04    BOT        StatsPlugin: Loading config @conf\plugin_stats.xml for StatsPlugin
100930 20:18:04    DEBUG    AdminPlugin: Command "mapstats (mstats)" registered with cmd_mapstats for level (1, 100)
100930 20:18:04    DEBUG    AdminPlugin: Command "testscore (ts)" registered with cmd_testscore for level (1, 100)
100930 20:18:04    DEBUG    AdminPlugin: Command "topstats (tstats)" registered with cmd_topstats for level (9, 100)
100930 20:18:04    DEBUG    Register Event: Stop Process: StatsPlugin
100930 20:18:04    DEBUG    Register Event: Program Exit: StatsPlugin
100930 20:18:04    BOT        Plugin stats (1.2.3 - ThorN) loaded
100930 20:18:04    BOT        Loading Plugin #3 pingwatch [@conf\plugin_pingwatch.xml]
100930 20:18:04    BOT        PingwatchPlugin: Loading config @conf\plugin_pingwatch.xml for PingwatchPlugin
100930 20:18:04    VERBOSE    Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0x01227DA0>> (19029520) - [0, 30]s -1m -1h -1d -1M -1DOW
100930 20:18:04    DEBUG    AdminPlugin: Command "ci (None)" registered with cmd_ci for level (20, 100)
100930 20:18:04    DEBUG    Register Event: Stop Process: PingwatchPlugin
100930 20:18:04    DEBUG    Register Event: Program Exit: PingwatchPlugin
100930 20:18:04    BOT        Plugin pingwatch (1.2.2 - ThorN) loaded
100930 20:18:04    BOT        Loading Plugin #4 adv [@conf\plugin_adv.xml]
100930 20:18:04    BOT        AdvPlugin: Loading config @conf\plugin_adv.xml for AdvPlugin
100930 20:18:04    VERBOSE    Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x0122B300>> (19064656) - 0s [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58]m -1h -1d -1M -1DOW
100930 20:18:04    DEBUG    Register Event: Stop Process: AdvPlugin
100930 20:18:04    DEBUG    Register Event: Program Exit: AdvPlugin
100930 20:18:04    BOT        Plugin adv (1.1.4 - ThorN) loaded
100930 20:18:04    BOT        Loading Plugin #5 status [@conf\plugin_status.xml]
100930 20:18:04    BOT        StatusPlugin: Loading config @conf\plugin_status.xml for StatusPlugin
100930 20:18:04    VERBOSE    Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x012300A8>> (19403664) -
  • s -1m -1h -1d -1M -1DOW
100930 20:18:04    DEBUG    Register Event: Stop Process: StatusPlugin
100930 20:18:04    DEBUG    Register Event: Program Exit: StatusPlugin
100930 20:18:04    BOT        Plugin status (1.4.1 - ThorN) loaded
100930 20:18:04    BOT        Loading Plugin #6 extraadmin [C:\Program Files\BigBrotherBot_1.3.2\extplugins\conf\extraadmin.xml]
100930 20:18:04    INFO    Could not load built in plugin extraadmin (No module named extraadmin)
100930 20:18:04    INFO    trying external plugin directory : C:\Program Files\BigBrotherBot_1.3.2\extplugins
100930 20:18:04    BOT        ExtraadminPlugin: Loading config C:\Program Files\BigBrotherBot_1.3.2\extplugins\conf\extraadmin.xml for ExtraadminPlugin
100930 20:18:04    DEBUG    AdminPlugin: Command "change (ch)" registered with cmd_ChangePlayer for level (20, 100)
100930 20:18:04    DEBUG    AdminPlugin: Command "afk (afk)" registered with cmd_AFK for level (100, 100)
100930 20:18:04    DEBUG    AdminPlugin: Command "privatemessage (pm)" registered with cmd_PM for level (20, 100)
100930 20:18:04    DEBUG    Register Event: Stop Process: ExtraadminPlugin
100930 20:18:04    DEBUG    Register Event: Program Exit: ExtraadminPlugin
100930 20:18:04    BOT        Plugin extraadmin (0.1.0 - Beber888) loaded
100930 20:18:04    BOT        Loading Plugin #7 poweradminurt [C:\Program Files\BigBrotherBot_1.3.2\extplugins\conf\poweradminurt.xml]
100930 20:18:04    INFO    Could not load built in plugin poweradminurt (No module named poweradminurt)
100930 20:18:04    INFO    trying external plugin directory : C:\Program Files\BigBrotherBot_1.3.2\extplugins
100930 20:18:04    BOT        PoweradminurtPlugin: Loading config C:\Program Files\BigBrotherBot_1.3.2\extplugins\conf\poweradminurt.xml for PoweradminurtPlugin
100930 20:18:04    DEBUG    PoweradminurtPlugin: Using default value (7) for checkallowedchanges
100930 20:18:04    DEBUG    PoweradminurtPlugin: Names Interval: 0
100930 20:18:04    DEBUG    PoweradminurtPlugin: Check badnames: True
100930 20:18:04    DEBUG    PoweradminurtPlugin: Dupechecking: True
100930 20:18:04    DEBUG    PoweradminurtPlugin: Check unknowns: True
100930 20:18:04    DEBUG    PoweradminurtPlugin: Check namechanges: True
100930 20:18:04    DEBUG    PoweradminurtPlugin: Max. allowed namechanges per game: 7
100930 20:18:04    DEBUG    PoweradminurtPlugin: TeamsInterval: 2
100930 20:18:04    DEBUG    PoweradminurtPlugin: Teambalance Difference: 9
100930 20:18:04    DEBUG    PoweradminurtPlugin: Teambalance Maxlevel: 40
100930 20:18:04    DEBUG    PoweradminurtPlugin: Teambalance Announce: 2
100930 20:18:04    VERBOSE    RCON sending (127.0.0.1:27966) timelimit
100930 20:18:05    DEBUG    Get cvar timelimit = ["timelimit" is:"0^7", the default]
100930 20:18:05    DEBUG    PoweradminurtPlugin: Vote delay: -1
100930 20:18:05    DEBUG    PoweradminurtPlugin: Speccheck interval: 2
100930 20:18:05    DEBUG    PoweradminurtPlugin: Max Spectime: 5
100930 20:18:05    DEBUG    PoweradminurtPlugin: Speccheck Maxlevel: 2
100930 20:18:05    DEBUG    PoweradminurtPlugin: Maxplayers: 10
100930 20:18:05    DEBUG    PoweradminurtPlugin: Moon ON gravity: 100
100930 20:18:05    DEBUG    PoweradminurtPlugin: Moon OFF gravity: 800
100930 20:18:05    DEBUG    PoweradminurtPlugin: papublic password set to : secret
100930 20:18:05    DEBUG    PoweradminurtPlugin: pamatch_plugins_disable/plugin : [<Element plugin at 12c7378>, <Element plugin at 12c7418>, <Element plugin at 12c7468>, <Element plugin at 12c74b8>]
100930 20:18:05    DEBUG    PoweradminurtPlugin: pamatch_plugins_disable/plugin : spree
100930 20:18:05    DEBUG    PoweradminurtPlugin: pamatch_plugins_disable/plugin : adv
100930 20:18:05    DEBUG    PoweradminurtPlugin: pamatch_plugins_disable/plugin : tk
100930 20:18:05    DEBUG    PoweradminurtPlugin: pamatch_plugins_disable/plugin : pingwatch
100930 20:18:05    VERBOSE    RCON sending (127.0.0.1:27966) set bot_enable 0
100930 20:18:06    VERBOSE    RCON sending (127.0.0.1:27966) set g_spskill 4
100930 20:18:07    DEBUG    PoweradminurtPlugin: Bot enable: False
100930 20:18:07    DEBUG    PoweradminurtPlugin: Bot skill: 4
100930 20:18:07    DEBUG    PoweradminurtPlugin: Bot minplayers: 4
100930 20:18:07    DEBUG    PoweradminurtPlugin: Bot maps: ['ut4_abbey', 'ut4_algiers', 'ut4_austria', 'ut4_riyadh', 'ut4_uptown']
100930 20:18:07    DEBUG    PoweradminurtPlugin: Checking for bot support
100930 20:18:07    DEBUG    PoweradminurtPlugin: mapName not yet available
100930 20:18:07    VERBOSE    RCON sending (127.0.0.1:27966) set g_loghits 1
100930 20:18:07    DEBUG    PoweradminurtPlugin: Headshotcounter enable: True
100930 20:18:07    DEBUG    PoweradminurtPlugin: Broadcasting: True
100930 20:18:07    DEBUG    PoweradminurtPlugin: Announce all: True
100930 20:18:07    DEBUG    PoweradminurtPlugin: Announce percentages: True
100930 20:18:07    DEBUG    PoweradminurtPlugin: Minimum percentage: 10
100930 20:18:07    DEBUG    PoweradminurtPlugin: Warn to use helmet: True
100930 20:18:07    DEBUG    PoweradminurtPlugin: Warn after nr of hits in the head: 7
100930 20:18:07    DEBUG    PoweradminurtPlugin: Warn to use kevlar: True
100930 20:18:07    DEBUG    PoweradminurtPlugin: Warn after nr of hits in the torso: 50
100930 20:18:07    DEBUG    PoweradminurtPlugin: Rotation Manager is disabled
100930 20:18:07    VERBOSE    Added crontab <bound method PoweradminurtPlugin.teamcheck of <poweradminurt.PoweradminurtPlugin instance at 0x01287030>> (19684528) - 0s [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58]m -1h -1d -1M -1DOW
100930 20:18:07    VERBOSE    Added crontab <bound method PoweradminurtPlugin.speccheck of <poweradminurt.PoweradminurtPlugin instance at 0x01287030>> (19684432) - 0s [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58]m -1h -1d -1M -1DOW
100930 20:18:07    DEBUG    Register Event: Stop Process: PoweradminurtPlugin
100930 20:18:07    DEBUG    Register Event: Program Exit: PoweradminurtPlugin
100930 20:18:07    BOT        Plugin poweradminurt (1.5.4 - xlr8or) loaded
100930 20:18:07    BOT        Loading Plugin #8 knifer [C:\Program Files\BigBrotherBot_1.3.2\extplugins\conf\knifer.xml]
100930 20:18:07    INFO    Could not load built in plugin knifer (No module named knifer)
100930 20:18:07    INFO    trying external plugin directory : C:\Program Files\BigBrotherBot_1.3.2\extplugins
100930 20:18:07    BOT        KniferPlugin: Loading config C:\Program Files\BigBrotherBot_1.3.2\extplugins\conf\knifer.xml for KniferPlugin
100930 20:18:07    DEBUG    KniferPlugin: Could not find xlrstats plugin
100930 20:18:07    DEBUG    KniferPlugin: Minimum Level to use commands = 40
100930 20:18:07    DEBUG    KniferPlugin: Number of top slicers displayed = 5
100930 20:18:07    DEBUG    KniferPlugin: Knife ID = 12
100930 20:18:07    DEBUG    KniferPlugin: Challenge duration = 240
100930 20:18:07    DEBUG    KniferPlugin: Message displayed at 15 knife kills
100930 20:18:07    DEBUG    KniferPlugin: Message displayed at 10 knife kills
100930 20:18:07    DEBUG    KniferPlugin: Message displayed at 45 knife kills
100930 20:18:07    DEBUG    KniferPlugin: Message displayed at 50 knife kills
100930 20:18:07    DEBUG    KniferPlugin: Message displayed at 40 knife kills
100930 20:18:07    DEBUG    KniferPlugin: Message displayed at 55 knife kills
100930 20:18:07    DEBUG    KniferPlugin: Message displayed at 35 knife kills
100930 20:18:07    DEBUG    KniferPlugin: Message displayed at 25 knife kills
100930 20:18:07    DEBUG    KniferPlugin: Message displayed at 30 knife kills
100930 20:18:07    DEBUG    KniferPlugin: Message displayed at 20 knife kills
100930 20:18:07    DEBUG    AdminPlugin: Command "knenable (None)" registered with cmd_knenable for level (40, 100)
100930 20:18:07    DEBUG    AdminPlugin: Command "kndisable (None)" registered with cmd_kndisable for level (40, 100)
100930 20:18:07    DEBUG    AdminPlugin: Command "knstfu (None)" registered with cmd_stfu for level (40, 100)
100930 20:18:07    DEBUG    AdminPlugin: Command "knstats (kns)" registered with cmd_displaySelfScores for level (0, 100)
100930 20:18:07    DEBUG    AdminPlugin: Command "kntopstats (knts)" registered with cmd_displayScores for level (0, 100)
100930 20:18:07    DEBUG    AdminPlugin: Command "knallstats (knas)" registered with cmd_allstats for level (0, 100)
100930 20:18:07    DEBUG    AdminPlugin: Command "knchallenge (knch)" registered with cmd_challenge for level (0, 100)
100930 20:18:07    DEBUG    AdminPlugin: Command "kntestscore (kntest)" registered with cmd_testscore for level (0, 100)
100930 20:18:07    DEBUG    AdminPlugin: Command "knrecord (knrec)" registered with cmd_record for level (0, 100)
100930 20:18:07    DEBUG    Register Event: Stop Process: KniferPlugin
100930 20:18:07    DEBUG    Register Event: Program Exit: KniferPlugin
100930 20:18:07    BOT        Plugin knifer (0.3 - SvaRoX) loaded
100930 20:18:07    BOT        Loading Plugin #9 urtbslap [C:\Program Files\BigBrotherBot_1.3.2\extplugins\conf\urtbslap.xml]
100930 20:18:07    INFO    Could not load built in plugin urtbslap (No module named urtbslap)
100930 20:18:07    INFO    trying external plugin directory : C:\Program Files\BigBrotherBot_1.3.2\extplugins
100930 20:18:07    BOT        UrtbslapPlugin: Loading config C:\Program Files\BigBrotherBot_1.3.2\extplugins\conf\urtbslap.xml for UrtbslapPlugin
100930 20:18:07    DEBUG    Register Event: Stop Process: UrtbslapPlugin
100930 20:18:07    DEBUG    Register Event: Program Exit: UrtbslapPlugin
100930 20:18:07    BOT        Plugin urtbslap (0.0.2 - HSO Clan Development http://www.hsoclan.co.uk) loaded
100930 20:18:07    BOT        Loading Plugin #10 geowelcome [C:\Program Files\BigBrotherBot_1.3.2\extplugins\geowelcome.xml]
100930 20:18:07    INFO    Could not load built in plugin geowelcome (No module named geowelcome)
100930 20:18:07    INFO    trying external plugin directory : C:\Program Files\BigBrotherBot_1.3.2\extplugins
100930 20:18:07    CRITICAL    Error loading plugin: cannot import name geoip
Traceback (most recent call last):
  File "b3\parser.pyo", line 497, in loadPlugins
  File "b3\parser.pyo", line 565, in pluginImport
  File "C:\Program Files\BigBrotherBot_1.3.2\extplugins\geowelcome.py", line 47, in <module>
ImportError: cannot import name geoip
100930 20:18:07    INFO    STDOUT 220
100930 20:18:07    INFO    STDOUT


the line 47 isin  this geowelcome.py

import b3, threading, time
import b3.events
from b3.plugins.welcome import WelcomePlugin
from b3 import geoip
from b3.translator import translate

i want to add on my freind computer is same problem
« Last Edit: September 30, 2010, 10:27:41 AM by sfdg » Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #1 on: September 30, 2010, 10:53:49 AM »

The GeoIp welcome plugin is not supported by the standalone version of B3, you'll need the source version of B3 to use that plugin. Or you could use the countryfilter plugin instead, it has a similar feature.
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 21
Offline Offline
« Reply #2 on: September 30, 2010, 11:06:50 AM »

can i update? without losting anything?
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 21
Offline Offline
« Reply #3 on: October 01, 2010, 07:54:50 AM »

bump
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #4 on: October 01, 2010, 09:43:10 AM »

Update? Just use countryfilter instead.
Logged

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


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal