BigBrotherBot / big-brother-bot

Big Brother Bot B3 is a complete and total server administration package for online games. B3 is designed primarily to keep your server free from the derelicts of online gaming, but offers more, much more.
http://www.bigbrotherbot.net
148 stars 143 forks source link

v1.10.10 Geowelcome is not a built-in plugin #364

Open aboalwi opened 8 years ago

aboalwi commented 8 years ago

uncommented geowelcome in b3.ini yet it doesn't work

b3 log file:

10:05:54 VERBOSE  'Geowelcome is not a built-in plugin (No module named welcome)'
10:05:54 VERBOSE  u'Trying external plugin directory : C:\\B3\\extplugins'
10:05:54 ERROR    'Could not load plugin geowelcome'
Traceback (most recent call last):
  File "c:\jenkins_slave\workspace\B3-stable-release\b3\parser.py", line 859, in loadPlugins
  File "c:\jenkins_slave\workspace\B3-stable-release\b3\parser.py", line 1076, in pluginImport
ImportError: No module named geowelcome

PS: everything else works perfectly fine it just this geowelcome thingy

danielepantaleone commented 8 years ago

The geowelcome plugin has always give this type of error. Could you make use of the Location plugin to achieve a similar behavior (i.e: display the country of connecting players)? I don't expect a fix to come in the next few months since the project is not maintained anymore as it used to.

aboalwi commented 8 years ago

It's OK don't bother I'm using normal welcome plugin. Heck it's a luxury to have. Have a good day sir.

On Thu, 22 Sep 2016 10:41 am Daniele Pantaleone, notifications@github.com wrote:

The geowelcome plugin has always give this type of error. Could you make use of the Location plugin to achieve a similar behavior (i.e: display the country of connecting players)? I don't expect a fix to come in the next few months since the project is not maintained anymore as it used to.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BigBrotherBot/big-brother-bot/issues/364#issuecomment-248833727, or mute the thread https://github.com/notifications/unsubscribe-auth/AQTiUNtyQYLWnhaB8QYodkYKviFyZ31Iks5qsjEpgaJpZM4KDlje .

ShikiTheUndead commented 4 years ago

I know this is 3 years too late, but for anyone having this issue have you tried adding the direct path in the geowelcome init.py file such as:

`import time import threading

import sys sys.path.insert(1, 'C:\B3\plugins\welcome')

from b3.functions import getCmd from b3.plugins.welcome import WelcomePlugin from b3.plugins.welcome import F_FIRST from b3.plugins.welcome import F_NEWB from b3.plugins.welcome import F_USER from b3.plugins.welcome import F_ANNOUNCE_FIRST from b3.plugins.welcome import F_ANNOUNCE_USER from b3.plugins.welcome import F_CUSTOM_GREETING

class GeowelcomePlugin(WelcomePlugin): `

BestNoob commented 3 years ago

I know this is 3 years too late, but for anyone having this issue have you tried adding the direct path in the geowelcome init.py file such as:

`import time import threading

import sys sys.path.insert(1, 'C:\B3\plugins\welcome')

from b3.functions import getCmd from b3.plugins.welcome import WelcomePlugin from b3.plugins.welcome import F_FIRST from b3.plugins.welcome import F_NEWB from b3.plugins.welcome import F_USER from b3.plugins.welcome import F_ANNOUNCE_FIRST from b3.plugins.welcome import F_ANNOUNCE_USER from b3.plugins.welcome import F_CUSTOM_GREETING

class GeowelcomePlugin(WelcomePlugin): `

Why and how should this help ?

There is a general issue because .... :

Welcome is creating the class: class WelcomePlugin(b3.plugin.Plugin)

and geowelcome is creating it to ? class GeowelcomePlugin(WelcomePlugin)

if it is a build in plugin shouldnt it be: class GeowelcomePlugin(b3.plugin.Plugin)

it trys to load "geowelcome and welcome ERROR 'Could not load plugin geowelcome' ImportError: No module named welcome

but none is creating it ........... so how the f**** should it work xD ???