egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Worldtime1.3.tcl working, again.
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
hm2k
Halfop


Joined: 11 Sep 2006
Posts: 57
Location: UK

PostPosted: Tue Nov 30, 2010 1:49 pm    Post subject: Reply with quote

Here's what you need:

hm2k wrote:
I wrote a new worldtime.tcl which no longer uses a website to get the data.

I thought you may find this useful...

http://www.hm2k.com/posts/worldtime-tcl

Hope this helps.
Back to top
View user's profile Send private message
Thanhas
Op


Joined: 02 Sep 2006
Posts: 124
Location: Ottawa, Canada

PostPosted: Tue Nov 30, 2010 2:04 pm    Post subject: Reply with quote

lol it took around 2 minutes and sure no result

Code:
(06:58:09:30:11:10) <@Applets> .tz london
(06:59:52:30:11:10) <@ChatAway>  The time in London,United Kingdom is


hm2k wrote:
Here's what you need:

hm2k wrote:
I wrote a new worldtime.tcl which no longer uses a website to get the data.

I thought you may find this useful...

http://www.hm2k.com/posts/worldtime-tcl

Hope this helps.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
hm2k
Halfop


Joined: 11 Sep 2006
Posts: 57
Location: UK

PostPosted: Tue Nov 30, 2010 2:22 pm    Post subject: Reply with quote

Interesting.

If there is no result, it should return the "no result" error, yet in your case it is not.

Are you able to reach www.google.com from the machine that the eggdrop runs on? Try replacing the timeserver setting with www.yahoo.com instead.

Or, better still, change the gettime setting from 1 to 0.

Hope this helps.
Back to top
View user's profile Send private message
Thanhas
Op


Joined: 02 Sep 2006
Posts: 124
Location: Ottawa, Canada

PostPosted: Tue Nov 30, 2010 2:52 pm    Post subject: Reply with quote

i did it but didnt work Sad((


hm2k wrote:
Interesting.

If there is no result, it should return the "no result" error, yet in your case it is not.

Are you able to reach www.google.com from the machine that the eggdrop runs on? Try replacing the timeserver setting with www.yahoo.com instead.

Or, better still, change the gettime setting from 1 to 0.

Hope this helps.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Thanhas
Op


Joined: 02 Sep 2006
Posts: 124
Location: Ottawa, Canada

PostPosted: Tue Nov 30, 2010 2:57 pm    Post subject: Reply with quote

and weather TCL is also making issue got from ur websites

Code:
[22:37] scripts/weather.tcl error: can't find package html
[22:37] scripts/weather.tcl error: http is required, see http://wiki.tcl.tk/1475
[22:37] scripts/weather.tcl error: can't find package htmlparse
[22:37] scripts/weather.tcl error: Tcllib is required, see http://wiki.tcl.tk/12   



hm2k wrote:
Interesting.

If there is no result, it should return the "no result" error, yet in your case it is not.

Are you able to reach www.google.com from the machine that the eggdrop runs on? Try replacing the timeserver setting with www.yahoo.com instead.

Or, better still, change the gettime setting from 1 to 0.

Hope this helps.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
hm2k
Halfop


Joined: 11 Sep 2006
Posts: 57
Location: UK

PostPosted: Tue Nov 30, 2010 3:45 pm    Post subject: Reply with quote

Thanhas wrote:
i did it but didnt work Sad((


Based on the details you're providing (or rather lack of), I'll need shell access in order to diagnose it further.

Thanhas wrote:
and weather TCL is also making issue got from ur websites

Code:
[22:37] scripts/weather.tcl error: can't find package html
[22:37] scripts/weather.tcl error: http is required, see http://wiki.tcl.tk/1475
[22:37] scripts/weather.tcl error: can't find package htmlparse
[22:37] scripts/weather.tcl error: Tcllib is required, see http://wiki.tcl.tk/12   


Are you able to follow the links it suggests? You need to install those packages. You really should discuss other scripts somewhere else.
Back to top
View user's profile Send private message
Thanhas
Op


Joined: 02 Sep 2006
Posts: 124
Location: Ottawa, Canada

PostPosted: Tue Nov 30, 2010 11:47 pm    Post subject: Reply with quote

when i type .wz london in the partyline this is the msg

Code:
[07:45] Tcl error [pub:wz]: Unknown option -urlencoding, must be: -accept, -proxyfilter, -proxyhost, -proxyport, -useragent



hm2k wrote:
Thanhas wrote:
i did it but didnt work Sad((


Based on the details you're providing (or rather lack of), I'll need shell access in order to diagnose it further.

Thanhas wrote:
and weather TCL is also making issue got from ur websites

Code:
[22:37] scripts/weather.tcl error: can't find package html
[22:37] scripts/weather.tcl error: http is required, see http://wiki.tcl.tk/1475
[22:37] scripts/weather.tcl error: can't find package htmlparse
[22:37] scripts/weather.tcl error: Tcllib is required, see http://wiki.tcl.tk/12   


Are you able to follow the links it suggests? You need to install those packages. You really should discuss other scripts somewhere else.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
hm2k
Halfop


Joined: 11 Sep 2006
Posts: 57
Location: UK

PostPosted: Wed Dec 01, 2010 6:09 am    Post subject: Reply with quote

What version of tcl do you have installed?
Back to top
View user's profile Send private message
Thanhas
Op


Joined: 02 Sep 2006
Posts: 124
Location: Ottawa, Canada

PostPosted: Wed Dec 01, 2010 12:00 pm    Post subject: Reply with quote

how can i check ? which version is that


hm2k wrote:
What version of tcl do you have installed?
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
hm2k
Halfop


Joined: 11 Sep 2006
Posts: 57
Location: UK

PostPosted: Wed Dec 01, 2010 12:06 pm    Post subject: Reply with quote

Ask the person who runs the system your eggdrop is on. It's probably out of date so they should upgrade it.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Wed Dec 01, 2010 1:00 pm    Post subject: Reply with quote

Thanhas wrote:
how can i check ? which version is that


hm2k wrote:
What version of tcl do you have installed?



If you have enabled the use of
.tcl
command in your eggdrop.conf, then you could do:
.tcl info tclversion
as a command in the partyline.

Code:

<yournick> .tcl info tclversion
<botnick> Tcl: 8.5
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Wed Dec 01, 2010 2:07 pm    Post subject: Reply with quote

For the -urlencoding issue, it was already asked and solved as part of this thread.

A link to http2.5 (the version with urlencoding) can be found at the above url as well as how to get it working on eggdrop or windrop.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
hm2k
Halfop


Joined: 11 Sep 2006
Posts: 57
Location: UK

PostPosted: Wed Dec 01, 2010 2:27 pm    Post subject: Reply with quote

speechles wrote:
For the -urlencoding issue, it was already asked and solved as part of this thread.

A link to http2.5 (the version with urlencoding) can be found at the above url as well as how to get it working on eggdrop or windrop.


http2.5 is shipped with tcl 8.4 which was released 18-Apr-2008. You should upgrade to tcl 8.4 or above, if you haven't already.

I've updated weather.tcl to reflect this.
Back to top
View user's profile Send private message
LOQUILLO
Voice


Joined: 21 Jul 2004
Posts: 14
Location: Perú

PostPosted: Mon Jan 24, 2011 4:59 pm    Post subject: Reply with quote

Hi people, this is a worldtime thread and not a weather thread.
Actually I'm working in a fix for worldtime
_________________
LOQUILLO
IRC Network: EFnet
Channel: #Spanglish
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
hm2k
Halfop


Joined: 11 Sep 2006
Posts: 57
Location: UK

PostPosted: Mon Jan 24, 2011 7:04 pm    Post subject: Reply with quote

Both worldtime.tcl and weather.tcl are currently fully functional.

No fixes are necessary, just follow the download link for the latest revision.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 6 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber