In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

Pages: [1]   Go Down
  Print  
Author Topic: GeoIP  (Read 955 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod 6 Aiw
Posts: 41
Offline Offline
WWW
« on: September 21, 2011, 11:41:11 AM »

now, i know there were a lot of questioning about this, but i dont find any solution.

I got b3 1.7.1 myrthe and when i try to install geowelcome i get this error,

Code:
110921 21:34:51 INFO 'trying external plugin directory : C:\\SERVERS\\b31\\extplugins'
110921 21:34:51 CRITICAL 'Error loading plugin: cannot import name geoip'
Traceback (most recent call last):
  File "b3\parser.pyo", line 604, in loadPlugins
  File "b3\parser.pyo", line 717, in pluginImport
  File "C:\SERVERS\b31\extplugins\geowelcome.py", line 49, in <module>
ImportError: cannot import name geoip

i somewere saw that GeoIP.dat  where do i need to put this, or do i dont need it?

can somebody help me?
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 #1 on: September 21, 2011, 01:38:25 PM »

if you are using the windows version of B3 (win installer) instead of installing from sources, this plugin will not work.
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
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod 6 Aiw
Posts: 41
Offline Offline
WWW
« Reply #2 on: September 21, 2011, 09:17:51 PM »

i think i got the windows pack with no installer but no sources,  can you give me an exact link of 1.7.1 latest version no installer with sources?

Thanks
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: September 22, 2011, 05:26:52 AM »

Here is a link to the "sources"
http://forum.bigbrotherbot.net/downloads/?sa=downfile&id=5

please note with this you will need python installed and mysql-python. the version you have is already compiled so it doesn't need python with that one.

In essence, you need to follow steps 1,2,4,5 on this page:
http://wiki.bigbrotherbot.net/installation:installation
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
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod 6 Aiw
Posts: 41
Offline Offline
WWW
« Reply #4 on: September 22, 2011, 06:48:19 AM »

now, i downloaded those sources etc, python tings,

what do i need to run?  do i need to run  in the root of the sources b3_run??

because it works fully but still with the geowelcome plugin i get in logs

Code:
110922 16:41:43 VERBOSE 'Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x0000000003041988>> (50526584) - [0]s -1m -1h -1d -1M -1DOW'
110922 16:41:43 DEBUG 'Register Event: Stop Process: StatusPlugin'
110922 16:41:43 DEBUG 'Register Event: Program Exit: StatusPlugin'
110922 16:41:43 BOT    'Plugin status (1.4.9 - ThorN) loaded'
110922 16:41:43 BOT    'Loading Plugin #6 geowelcome [C:\\SERVERS\\b32\\b3\\extplugins\\conf\\geowelcome.xml]'
110922 16:41:43 INFO 'Could not load built in plugin geowelcome (No module named geowelcome)'
110922 16:41:43 INFO 'trying external plugin directory : C:\\SERVERS\\b32\\b3\\extplugins'
110922 16:41:43 CRITICAL 'Error loading plugin: cannot import name geoip'
Traceback (most recent call last):
  File "C:\SERVERS\b32\b3\parser.py", line 607, in loadPlugins
    pluginModule = self.pluginImport(plugins[s]['name'], plugins[s]['path'])
  File "C:\SERVERS\b32\b3\parser.py", line 720, in pluginImport
    return imp.load_module(name, fp, pathname, description)
  File "C:\SERVERS\b32\b3\extplugins\geowelcome.py", line 49, in <module>
    from b3 import geoip
ImportError: cannot import name geoip

what did i do wrong?
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: September 22, 2011, 07:27:12 AM »

you need to run b3_run.py

We also need a full b3.log showing the issue
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
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod 6 Aiw
Posts: 41
Offline Offline
WWW
« Reply #6 on: September 23, 2011, 05:08:35 AM »

So when i apply the plugin geowelcome i get this

http://www.pastie.org/2579266

what did i do wrong?
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: September 23, 2011, 05:28:41 AM »

I know this may see like a stupid question, but you have a file:

C:\SERVERS\b32\geoip.py
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
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod 6 Aiw
Posts: 41
Offline Offline
WWW
« Reply #8 on: September 23, 2011, 07:23:47 AM »

I dont think i have



these are the files that i have.

do i need geoip.py?
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 #9 on: September 23, 2011, 07:26:21 AM »

there is the issue.

Download the geowelcome plugin from here: http://forum.bigbrotherbot.net/downloads/?sa=view%3bdown=51

extract the contents of it.

take the geoip.py, translators.py, json.py and place those in the root b3 directory, aka: C:\SERVERS\b32\
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
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: Cod 6 Aiw
Posts: 41
Offline Offline
WWW
« Reply #10 on: September 23, 2011, 08:53:49 AM »

ow now i know, i didnt had those .py because i jsut copys some files from old installation=D

srr, works fine now

may close.
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 #11 on: September 23, 2011, 09:05:55 AM »

Awesome. Glad it is working for you, closing as requested.
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
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal