This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Countryban

Support & discussion of released scripts, and announcements of new releases.
Post Reply
B
BoaR
Halfop
Posts: 48
Joined: Fri Jul 20, 2007 1:36 am

Countryban

Post by BoaR »

Hello,

i need help please. i have problems using countryban.tcl from perplexa.

http://perplexa.ugug.org/web/uploads/fi ... tryban.tcl

Using eggdrop 1.6.18 + SSL on shell with FreeBSD 6.2 with pipe support.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Think you could be abit more speciffic on your problems? Otherwize we could only suggest that you contact the author.
NML_375
B
BoaR
Halfop
Posts: 48
Joined: Fri Jul 20, 2007 1:36 am

Post by BoaR »

when i try to update the country ban list i get this error;

<BoaR> -countryban update
<speedvision> Please wait, updating Maxmind GeoIP database (this may take a while)...
<speedvision> An error occured while updating the database (restoring previous objects)

well the owner tried to help me but wasnt quite sure what to do, he told me to manually download GeoIPCountryCSV.zip and he helped me change the script so that the script wont download the file but instead use the downloaded file, i have the same error either way so he said not to use it..

perhaps others had the same problem with the script so i am trying to get help here hoping one could tell exactly what the problem is..

thanks
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Could you try executing "unzip -p geoip.db", where geoip.db would be the downloaded archive, and post the result?
NML_375
B
BoaR
Halfop
Posts: 48
Joined: Fri Jul 20, 2007 1:36 am

Post by BoaR »

well it looks like it's unzipping but i dont see an unzipped file after unzipping.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Actually, what you should see is the unzipped content written directly to stdout. If not, this is the reason the script does'nt work for you, as the unzip binary does'nt support "unzip to pipe".
NML_375
B
BoaR
Halfop
Posts: 48
Joined: Fri Jul 20, 2007 1:36 am

Post by BoaR »

does it work for you out of the box ?

on my shell i did: unzip --help
-p extract files to pipe, no messages

unzip supports -p switch on my shell.
Post Reply