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 

Where can i Dowload egghttp.tcl
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Devilzimti
Voice


Joined: 03 Jun 2006
Posts: 5

PostPosted: Sat Jun 03, 2006 2:59 pm    Post subject: Where can i Dowload egghttp.tcl Reply with quote

I would like to run the "wetter" script but it says
Quote:
[20:42] Tcl error in file 'eggdrop.conf':
[20:42] can't find package http 2.4
while executing
"package require http 2.4"
invoked from within
"set wetter(useragent) "Tcl http client (TCL [info patchlevel]; http [pa
quire http 2.4]; de-DE; ""
(file "scripts/wetter.tcl" line 94)
invoked from within
"source scripts/wetter.tcl"
(file "eggdrop.conf" line 1339)
[20:42] * KONFIGURATIONSDATEI NICHT GELADEN (NICHT GEFUNDEN ODER FEHLER)


I think that, i need the egghttp.tcl
Google gave me no result..
Sry 4 my bad englisch
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sat Jun 03, 2006 3:55 pm    Post subject: Reply with quote

error wrote:

[20:42] can't find package http 2.4

It's telling you that the http library, not the egghttp.tcl file is missing. Try reinstalling the TCL library
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
Devilzimti
Voice


Joined: 03 Jun 2006
Posts: 5

PostPosted: Sat Jun 03, 2006 4:25 pm    Post subject: Reply with quote

I can only find the download of the sourcecode on the link you gave me? Sad
am is stupid?
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sat Jun 03, 2006 4:31 pm    Post subject: Reply with quote

Yes, you need to get the source and compile/recompile it, that means installing/reinstalling the library.
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
Devilzimti
Voice


Joined: 03 Jun 2006
Posts: 5

PostPosted: Sat Jun 03, 2006 5:08 pm    Post subject: Reply with quote

argh may it help if i simply make a new eggdrop? Sad
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sat Jun 03, 2006 7:25 pm    Post subject: Reply with quote

That won't help unless you tell your bot where it can find the TCL_LIBRARY_PATH (default is /usr/local/lib/tcl8.4). If it doesnt exist you will need to download it from the link above.

*wonders why he didn't query his question in German in the thread of the script*
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
Devilzimti
Voice


Joined: 03 Jun 2006
Posts: 5

PostPosted: Sat Jun 03, 2006 9:28 pm    Post subject: Reply with quote

Where can i tell it the bot?
sry im a noob Rolling Eyes

And on win32
should i set c://windrop//lib/tcl8.4//
as path?
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Jun 03, 2006 11:54 pm    Post subject: Reply with quote

Seems that you're running a Windrop (as opposed to an eggdrop). Not every Tcl script can be executed by Windrop. DragnLord's weather script will, however, run happily on a Windrop. Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Jun 04, 2006 1:57 am    Post subject: Reply with quote

Devilzimti wrote:
Where can i tell it the bot?
sry im a noob Rolling Eyes

And on win32
should i set c://windrop//lib/tcl8.4//
as path?


try replacing
Code:

package require http 2.4

with
Code:

package require http

_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Devilzimti
Voice


Joined: 03 Jun 2006
Posts: 5

PostPosted: Sun Jun 04, 2006 5:48 am    Post subject: Reply with quote

Alchera wrote:
Seems that you're running a Windrop (as opposed to an eggdrop). Not every Tcl script can be executed by Windrop. DragnLord's weather script will, however, run happily on a Windrop. Smile


Hmmm =/
But DragnLord's Script unfoutunatley only Supports villages in the US Sad

demond wrote:
Devilzimti wrote:
Where can i tell it the bot?
sry im a noob Rolling Eyes

And on win32
should i set c://windrop//lib/tcl8.4//
as path?


try replacing
Code:

package require http 2.4

with
Code:

package require http


That didn't work, too.
Same error again =/

Maybe I should repair and old pc of mine and install Linux on it =(
Is Suse ok?
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sun Jun 04, 2006 11:19 am    Post subject: Reply with quote

The script runs fine on windrops. Just make sure you have not deleted/moved the libraries comming with windrop. They should be in ...\windrop\lib\tcl8.4 and will be found there under normal circumstances (you can try to check the var tcl_libPath to contain it, probably as something like /cygdrive/c/windrop/lib/tcl8.4).
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
noname
Voice


Joined: 27 May 2006
Posts: 5

PostPosted: Sun Jun 04, 2006 3:37 pm    Post subject: Reply with quote

download http://mitglied.lycos.de/salatuhr/http.tcl
copy it to ur script folder

and add it in ur eggdrop.conf
Code:

source scripts/http.tcl



p.s.
suse is definitely not ok.
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Sun Jun 04, 2006 4:59 pm    Post subject: Reply with quote

Devilzimti wrote:
Hmmm =/
But DragnLord's Script unfoutunatley only Supports villages in the US Sad

My script is for "International weather". This means it works for cities around the world, not only the USA.
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sun Jun 04, 2006 7:02 pm    Post subject: Reply with quote

DragnLord wrote:
Devilzimti wrote:
Hmmm =/
But DragnLord's Script unfoutunatley only Supports villages in the US Sad

My script is for "International weather". This means it works for cities around the world, not only the USA.

He never said it didnt support major cities all over the world... please read again what he really said (I am sure he knows about the diffrence between a city and a village).

@noname: what a workaround... well I guess it does the job Very Happy.
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Jun 05, 2006 12:02 am    Post subject: Reply with quote

noname wrote:
download http://mitglied.lycos.de/salatuhr/http.tcl
copy it to ur script folder

and add it in ur eggdrop.conf
Code:

source scripts/http.tcl



p.s.
suse is definitely not ok.

KISS principle at work and try Gentoo Razz
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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