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 ... 3 4 [5] 6 7 ... 9   Go Down
  Print  
Author Topic: geowelcome plugin  (Read 14668 times) Bookmark and Share
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #60 on: September 02, 2010, 04:38:57 AM »

for example this happen to me and not to my friends. i really unable to understand the cause.
Logged

B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 67
Offline Offline
« Reply #61 on: September 02, 2010, 04:42:50 AM »

for example this happen to me and not to my friends. i really unable to understand the cause.

Just go to http://ipinfodb.com and check your IP Wink
Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #62 on: September 02, 2010, 04:44:21 AM »

Just go to http://ipinfodb.com and check your IP Wink
yes, it is. my ip appears correctly.
i thought this was a setting.
Logged
B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 67
Offline Offline
« Reply #63 on: September 02, 2010, 04:47:13 AM »

yes, it is. my ip appears correctly.
i thought this was a setting.

nop, at the moment the plugin doesn't have a way to hide or change the data returned by the service.
Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 123
Offline Offline
« Reply #64 on: September 02, 2010, 04:50:22 AM »

nop, at the moment the plugin doesn't have a way to hide or change the data returned by the service.
very well, thank you! :-)
Logged
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 11
Offline Offline
WWW
« Reply #65 on: November 15, 2010, 09:31:37 AM »

Hi, I must revive this post xD because all my geowelcome installs aren't working. There is a problem with the plugin? or the ipinfodb site?

Someone has the same problem? Specifically I am using Urban Terror

EDIT: If you use !whereis,  the game shows "There was an error processing your command".

It seems the ipinfodb has changed its API?

EDIT2: "The old API will be disabled on Nov 15th 12:00am GMT. Existing users are requested to update their APIs as soon as possible" says in the website. May be I must get an API key and change the URL in the plugin?
« Last Edit: November 15, 2010, 09:37:00 AM by ipwnn00bs » Logged
B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 67
Offline Offline
« Reply #66 on: November 15, 2010, 10:22:05 AM »

EDIT2: "The old API will be disabled on Nov 15th 12:00am GMT. Existing users are requested to update their APIs as soon as possible" says in the website. May be I must get an API key and change the URL in the plugin?

Didn't know about this.

Will update the code accordingly.


Logged
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 11
Offline Offline
WWW
« Reply #67 on: November 15, 2010, 02:28:26 PM »

Thanks, I wanted to try changing the URL and some other things, but I can't obtain my api key because there is no mail of ipinfodb =(
May be I will register again
Logged
B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 67
Offline Offline
« Reply #68 on: November 15, 2010, 02:36:49 PM »

Thanks, I wanted to try changing the URL and some other things, but I can't obtain my api key because there is no mail of ipinfodb =(
May be I will register again

same problem here, didn't get the key yet  Sad

I'm adding some hacks to add an option to use a local database, though in this case the database needs to be updated manually.

Will upload an update tomorrow.
Logged
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 11
Offline Offline
WWW
« Reply #69 on: November 15, 2010, 07:39:53 PM »

Don't worry, but I MUST report an extra issue...

May be some people is getting the same problem...

In my servers, nobody can connect!!!
the story is long, I thought was hacked or something xD

But b3 was kicking everyone.


Short story: I think some routine in the plugin causes a "access denied" for all the IP's because can't retrieve the data from ipinfodb. The workaround, disable the plugin. But that behavior is really weird, everybody getting kicked, including my bots xDDD.

What about using geoip (the system command). the database isn't updated recurrently but is a workaround. But the local database option seems better.

I don't know a lot of python, but If I can help you, contact me.

I hope the api keys will come soon xD

Logged
B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 67
Offline Offline
« Reply #70 on: November 16, 2010, 04:53:54 AM »

I fixed the issues here http://www.bigbrotherbot.net/forums/downloads/?sa=view;down=51

I'm also using a generic api key to avoid everyone to register its own (though you are free to use your own key if you want, just edit API_KEY in geoip.py)

Updated files where geowelcome.py (to fix the kicks when no info could be get) and geoip.py

Local database wasn't included yet, because I wanted to releases asap.

This version include support for memcache (read readme.txt to know how to set it up).

Thank you for your reports Cheesy
Logged
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 11
Offline Offline
WWW
« Reply #71 on: November 16, 2010, 08:32:22 AM »

My API key never arrived....

Many many thanks for

-Fix the kicks
-Fix the plugin
-Add memcache (wow, is a kind of proxy like squid but for objects! Sounds nice)

You're a great coder.

Logged
B3 Contrib/Support
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 67
Offline Offline
« Reply #72 on: November 16, 2010, 09:03:29 AM »

My API key never arrived....

Many many thanks for

-Fix the kicks
-Fix the plugin
-Add memcache (wow, is a kind of proxy like squid but for objects! Sounds nice)

You're a great coder.



If you want your key just go here http://ipinfodb.com/resend_activation.php
Mine arrives in minutes after completing that form.

regards.
Logged
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: cod
Posts: 26
Offline Offline
« Reply #73 on: November 17, 2010, 02:04:41 AM »

Hello all hello Sgt

same problem for me.. all kicked yesterday by geowelcome..
i go to try your fix..
I fixed the issues here http://www.bigbrotherbot.net/forums/downloads/?sa=view;down=51
tks

[attachment deleted by maintenance]
Logged

B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #74 on: December 18, 2010, 06:09:39 PM »

I just pulled the latest from the download section this morning and found a typo:

101218 20:08:20 INFO    STDOUT Error: [Errno 2] No such file or directory: '/home/b3/b3/conf/extplugins/GeoIP/GeoIP.dat'

but this should be /b3/GeoIP/GeoIP.dat according to your instructions
 or at least  /b3/extplugins/conf/GeoIP/GeoIP.dat

If your still working on this, Could you just make a entry in the xml file that allows the user you specify where the GeoIP.dat file is.
Like in my case I already have GeoIP.dat installed for xlr web stats, and it doesn't make sense to have more then one copy on the server.

     
Logged
Tags:
Pages: 1 ... 3 4 [5] 6 7 ... 9   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal