GeoIP for Lua5 - Page 3
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

GeoIP for Lua5

Started by VidFamne, 08 March, 2005, 21:15:04

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mogli

#50
ah thx,
I missed that will fix it,
or if you don't want to wait then
replace
self:Save(  )  with this one in GeoIP:Main()
self:SaveDB( self._db, "IP-Bot/GeoIPDB.txt" )

and check for the first GeoIP:Save(... )  and replace by
GeoIP:SaveDB( ). else just wait a while I'll fix it and post
the working script then, I didn't notice, cause I didn't try to update the Range :S

Mogli


Mogli

#52
New Version, see the Changelog for details,
and Note that you have to delete 2 files
cause these need to be updated one is

IP-Bot/CountryList.txt
and
IP-Bot/GeoIPDB.txt

the update will not take long a few seconds maximum

GeoIP-0.6

Psycho_Chihuahua

Gr8 Work Mogli/Chill  :D

Could you post it in the Script Db as well? Addy in my Sig ;)

Thnx a lot m8
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

nEgativE

Hi, where can i get Script Db for this script ? :) tks in advance. Mogli

Vidfamne, tell me, what is the latest version of your script ? Tks also.

Psycho_Chihuahua

QuoteOriginally posted by Luso
Hi, where can i get Script Db for this script ?

Quote--// "This product runs with GeoIP data created by MaxMind, available from http://maxmind.com/" //--

Download the latest GeoIP Country CSV Format
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Bobby1999

Any chance Mogli/Chill your gonna do a new lua 5 Seculite?

Mogli

Thx Psycho_Chihuahua :)
just one thing I'd like to add to update the

Database, you must deleted 2 files
1. GeoIPCountryWhois.csv  whitch you will replace by the new one
2. GeoIPDB.txt whitch will be newly created after script restart

I just forgot to also delete the second file

Bobby1999 about SecuLite, I am not quite sure,
if its only a specific function you'd like then just PM me,
but to convert the whole script might take a bit longer.

Anyways here is a new GeoIP version,
fixed a mistake and updated the shown statsdate

GeoIP-0.6a

Psycho_Chihuahua

QuoteOriginally posted by Mogli

Thx Psycho_Chihuahua :)
No Problem m8, was easy to answer  :]



And as Usual  :D  here the Germanized Version

GeoIP-0.6a German
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Bobby1999

#59
I just liked the whole script ,but nps if its to much work :)))
Having run the latest geoIP
I like the inbuilt whois function of Seculite:)

the_pest

Add "no country limits for operators" to next version :)
use

Hades

looks like r click meny doesn't work :D

Mogli

the_pest:
I'll make an option for OP's to bypass
any check.

Hades:
Have you made any chages for this variable?
GeoIP._ShowPrefix
if not, then it sometimes can be that
a script that runs after GeoIP erases the clients right click menu.
Else maybe some more details would be helpfull.

Hades

geo-ip script runs as last one in my hub
however i didn't set prefix is this why?
Where i set the prefix also if this is not the problem may be hawks terminator has conflict ?It has own rclikc menu??

Mogli

No you are doing it all right,
if you haven't changed anything and the script runs as
last then you should be able to get the rightclick menue,
and as the script runs last the terminator script
cannot clear the right click menue.
But you can try to stop all other scripts, then reconnect
and check if you can get the right click menue.
If then start the other script again one by one,
and reconnect to see if you suddenly don't see the
rightclick menue anymore.
But if you cannot get the menue to work anyhow,
then I have no clue  ?(

Hades

#65
r click menu exists with or without terminator active and it's clickable.
Even appropriate command shows on mchaT but without prefix and doesn't do a thing.
I tried typing them manually in mchat with all prefixes i could possibly come up with so i think last geoip ver has commands problem - they won't work:P or may be i have to edit a few lines but have no clue wchich ones...:((

Psycho_Chihuahua

well its working fine here
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Mogli

New Version,
its smaller and faster :)

GeoIP-0.7

SilvaO

Hi Mogli!
Is it possible to see all ips from eats country?
Is there a command to do that?

Mogli

Not yet,
I guess it could be added,
but tell me what do you need it for?

bastya_elvtars

QuoteOriginally posted by SilvaO
Hi Mogli!
Is it possible to see all ips from eats country?
Is there a command to do that?

It may be resource-intensive, maybe you should use the CSV directly.
Everything could have been anything else and it would have just as much meaning.

SilvaO

#71
QuoteOriginally posted by SilvaO
Hi Mogli!
Is it possible to see all ips from eats country?
Is there a command to do that?

QuoteOriginally posted by Mogli
Not yet,
I guess it could be added,
but tell me what do you need it for?

Ok!
Here in Portugal we have a limit about download traffic exp. National 20 GB of downloads, International 2 GB of downloads sow I like to know the traffic stats in my hub to bloke it, sow this way I  do not have to pay more, I like to have traffic control

PS. GeoIP it is a wonderful script , please continue with this out standing script.

Thank you SilvaO

Mogli

QuoteOriginally posted by SilvaO
Ok!
Here in Portugal we have a limit about download traffic exp. National 20 GB of downloads, International 2 GB of downloads sow I like to know the traffic stats in my hub to bloke it, sow this way I  do not have to pay more, I like to have traffic control

PS. GeoIP it is a wonderful script , please continue with this out standing script.

Thank you SilvaO

Now that is something, and always found my ISP shitty ;),
Well you could add Portugal to the Allowed countries and
remove All, but this could only minimalize the traffic a bit,
cause everybody is able to connect to your IP, I guess
these bytes can't be stoped by script, but I suppose
they are less than a passive searchreply or a huge userlist, check the rightclick menue for
Allowedcountries and let me know if it suits your needs

SilvaO

Thank you Mogli, works 100%

Mogli

-- V 0.7a
-- Top online Countries added ( Idea from UwV )
-- Added Saving All Stats to file ( requested by UwV )


GeoIP-0.7a

SMF spam blocked by CleanTalk