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.

Announce: IP Location script

Support & discussion of released scripts, and announcements of new releases.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

If all you're going to say is "it doesn't work" then the only likely answer you're going to get is "ohh well"

Help us to help you
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

KEMA, I change

Code: Select all

puts $id "User-Agent: Netscape"
and comment

Code: Select all

#puts $id "Connection: Close"
, so it works fine, but it gives strange locations for ips, doesnt matter.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

username wrote:KEMA, I change

Code: Select all

puts $id "User-Agent: Netscape"
and comment

Code: Select all

#puts $id "Connection: Close"
, so it works fine, but it gives strange locations for ips, doesnt matter.
I'd suggest using this file.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

v0.01c

Post by rosc2112 »

I added DNSStuff's iplocator to my script. It works for me, if it doesn't work for you, talk to dnsstuff's admins, not me.

http://members.dandy.net/~fbn/iplocator.tcl.txt
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

rosc2112, change in your script

Code: Select all

require package http
to

Code: Select all

package require http
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Thanks, was a last minute change and I didn't rehash to test (d'ah) :)
s
shahrul
Voice
Posts: 27
Joined: Sun Mar 06, 2005 8:52 am

Post by shahrul »

Hi,

I have account at dnsstuff.com , does this tcl support it?
can u fix this with account login ?

Thanks
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

No.
User avatar
Exedore
Halfop
Posts: 43
Joined: Sun Jan 27, 2008 10:04 pm

Post by Exedore »

How can I set this tcl whit this Ip Locator?

Code: Select all

http://www.internautas.org/w-iplocaliza.html
Thks
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Exedore wrote:How can I set this tcl whit this Ip Locator?

Code: Select all

http://www.internautas.org/w-iplocaliza.html
Learn tcl and follow the script as an example? All it does is pull data off webpages then use regexp and various standard scripting "tricks" to output formatted data..
User avatar
Exedore
Halfop
Posts: 43
Joined: Sun Jan 27, 2008 10:04 pm

Post by Exedore »

I did, nothing happens..

And is your tcl. At least help us.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

If the problem is a broken script, I will fix it. As far as adding new features, I just don't have the resources anymore, I'm on dialup, I don't go on irc hardly at all, I don't have the desire to continue writing new stuff, etc. Sorry, you'll have to add new features on your own. If "nothing happened" I'd suggest learning how to debug things.
B
Bordom
Voice
Posts: 1
Joined: Thu Nov 13, 2008 6:52 pm

Post by Bordom »

Hi rosc2112, I know it's been a while since anyone has written about this script so I'd like to take a moment and thank you for creating such a great-use script. I was hoping you still receive emails from this forum due to a problem I'm having with the script. I've tried playing with it and modifying it to get it to work but I'm just not good enough at the present time. When anyone tries to pull !ip it gives me the following errors.


[17:08] <fuxx0rz> [17:07] Tcl error [pIpcheckRaw318]: can't read "results": no such variable
[17:08] <fuxx0rz> [17:08] Tcl error in script for 'timer1212':
[17:08] <fuxx0rz> [17:08] wrong # args: should be "pIpcheckCancel command nick target chan"

I'm running Ubuntu with eggdrop1.6.19 & tcl 8.4
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Prolly website changed.
s
srirasha
Voice
Posts: 1
Joined: Sat Sep 08, 2012 7:16 am

Re: Announce: IP Location script

Post by srirasha »

rosc2112 wrote:Something I whipped up a while ago in about an hour (most of which was just trying to figure out how to set POST queries for geobyte's site. I eventually cheated and just used lynx to see what was being submitted ;) )

This script will take an IP or hostname and look up their location data from anti-online.com or geobytes.com. Keep in mind, both sites impose a quota/usage limit..

If anyone knows of a *good* IP-Locator site that does not impose such a limit, let me know (I looked at quite a few other sites, and they either did not meet my needs, did not accept a hostname ((yes I know I could do the hostname lookup myself first..but I'm lazy :P )) or their data was so wildly inaccurate as to be all but useless..) So, the emphasis is on *good* IP-Locator ;)

http://members.dandy.net/~fbn/iplocator.tcl.txt

Also uploaded to archives.

Hi,
Don't worry,I recommend you to visit http://www.ip-details.com/ .Here you can Details like location,country,ISP provider,Latitude and Longitude details of an ip Address .
Post Reply