You are here: Big Brother Bot ForumAdd-OnsPluginsReleases!geowelcome plugin
Pages: 1 [2]   Go Down
  Print  
Author Topic: geowelcome plugin  (Read 1043 times)
Jr. Member
**
Posts: 13
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: 13
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 Contributor
Jr. Member
****
Posts: 18
Offline Offline
« Reply #17 on: February 01, 2010, 04:03:39 AM »

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

Logged
Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1133
Offline Offline
WWW
« 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 Contributor
Jr. Member
****
Posts: 18
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
Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1133
Offline Offline
WWW
« 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 Contributor
Jr. Member
****
Posts: 18
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: 13
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: 36
Offline Offline
« Reply #23 on: February 02, 2010, 07:26:51 AM »

That plugin dont work without Punkbuster in COD2  Tongue
Logged
B3 Contributor
Jr. Member
****
Posts: 18
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: 36
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
**
Posts: 19
Offline Offline
« 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
Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1133
Offline Offline
WWW
« 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

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