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!

Pages: 1 [2] 3 4 ... 8   Go Down
  Print  
Author Topic: geowelcome plugin  (Read 12414 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 15
Offline Offline
« Reply #15 on: January 23, 2010, 06:32:56 AM »

ok i will do that.

Thank you again Smiley
Logged

Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoDUO, CoD5
Posts: 22
Offline Offline
WWW
« Reply #16 on: January 31, 2010, 05:30:14 PM »

I too am running the .py version of b3 and am getting the simplejson error.  How do I remedy this?
Logged
B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 63
Offline Offline
« Reply #17 on: February 01, 2010, 04:03:39 AM »

Install simplejson  Wink (http://pypi.python.org/pypi/simplejson/)

Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3341
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #18 on: February 01, 2010, 04:31:50 AM »

@sgt, in order to make your plugin compatible with python 2.6 would consider updating your code as such :
Code: python
try: 
   import json
except ImportError:
   import simplejson as json

This will also allow your plugin to work with the w32 standalone release of B3 which is build with python2.6.
Logged

B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 63
Offline Offline
« Reply #19 on: February 01, 2010, 05:24:21 AM »

@sgt, in order to make your plugin compatible with python 2.6 would consider updating your code as such :
Code: python
try: 
   import json
except ImportError:
   import simplejson as json

This will also allow your plugin to work with the w32 standalone release of B3 which is build with python2.6.

Thank you for the suggestion.
I attached an updated version.
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3341
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #20 on: February 01, 2010, 05:44:12 AM »

nice, but there is still a glitch  Wink

As the code I suggested to you import simplejson as 'json'
you then need to use 'json' instead of 'simplejson' in your code :

Code: python
json_response = json.loads(urlopen(lookup_url).read())

make sure to replace all previous occurences of simplejson with json and it should work as before for python 2.4/2.5 but also work with python 2.6
Logged

B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 63
Offline Offline
« Reply #21 on: February 01, 2010, 05:55:12 AM »

nice, but there is still a glitch  Wink

As the code I suggested to you import simplejson as 'json'
you then need to use 'json' instead of 'simplejson' in your code :

Code: python
json_response = json.loads(urlopen(lookup_url).read())

make sure to replace all previous occurences of simplejson with json and it should work as before for python 2.4/2.5 but also work with python 2.6

You're right, I didn't notice that change Smiley
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoDUO, CoD5
Posts: 22
Offline Offline
WWW
« Reply #22 on: February 01, 2010, 10:47:11 AM »

finally got simplejson installed.  ez_setup would not install for me. for what ever reason it was giving me a ton of errors.  I was ready to through the computer out the window.  Lucky for it, I'm in Detroit and it is in Chicago.   i was running python 2.5, so I figured the errrors might go away if I installed 2.6.  but I couldn't figure out how to install mysql interface with 2.6
so then I uninstalled everything and installed the 64bit version of 2.5 and the mysql still wouldn't install.
so I installed the 32 bit version and after all that I finally got everything up and running.

Just too bad I am not home to test it with the game.  Oh well.
Logged
Jr. Member
**
Posts: 40
Offline Offline
« Reply #23 on: February 02, 2010, 07:26:51 AM »

That plugin dont work without Punkbuster in COD2  Tongue
Logged
B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 63
Offline Offline
« Reply #24 on: February 02, 2010, 07:40:26 AM »

That plugin dont work without Punkbuster in COD2  Tongue

I don't see why, it has nothing to do with punkbuster.
I use iourt41, though this plugin doesn't have any game specific requirement, so it should work with cod too.

If you are getting any error, please post it, maybe someone can help you.
Logged
Jr. Member
**
Posts: 40
Offline Offline
« Reply #25 on: February 02, 2010, 09:55:31 AM »

becouse B3 has not the IP of the player in COD2 without PB. Have something to do with the cod2 parser.

Seams it will be fixed in the 1.2.2 version
http://www.bigbrotherbot.com/forums/general-usage-support/ip-adress-not-being-recorded/msg9730/#msg9730
Logged
Jr. Member
**
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 44
Offline Offline
WWW
« Reply #26 on: March 01, 2010, 12:20:52 PM »

i runing b3 from my comp to remote server

until now i use python 2.6 and everything working good, but cant use geowelcome plugin

when i install python 2.5 i run b3, and load geowelcome plugin, b3 started on server and load once log file from server, but not synchronize like on 2.6

is there any chance to run b3 with geowelcome plugin with python 2.6?

tnx
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3341
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #27 on: March 01, 2010, 12:26:44 PM »

as long as this plugin will depends on additional python modules you cannot run it with the B3 win32 standalone release.

If your dying to try this plugin you can install the B3 bot from sources (a bit more complicated as you need to install python on your computer as well as a few additional python modules). This will allow you to install the additional python modules this plugin makes use of.
Logged

Jr. Member
**
OS: Windows
Type: Home user
Gameservers: CodUo
Posts: 44
Offline Offline
« Reply #28 on: April 21, 2010, 01:25:31 PM »

Hello Smiley

With moving the !greeting from the admin plugin to the welcome plugin, people using the geowelcome plugin cannot use the !greeting command anymore.  Sad

Is there any chance the geowelcome will get the !greeting command build in?
Logged
B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 63
Offline Offline
« Reply #29 on: April 21, 2010, 03:07:12 PM »

Hello Smiley

With moving the !greeting from the admin plugin to the welcome plugin, people using the geowelcome plugin cannot use the !greeting command anymore.  Sad

Is there any chance the geowelcome will get the !greeting command build in?


Sure, it's an easy change.
I could do it this weekend. Though you are very welcome to do it yourself if cannot wait  Wink

Regards.
Logged
Tags:
Pages: 1 [2] 3 4 ... 8   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal