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.

Where can i Dowload egghttp.tcl

Help for those learning Tcl or writing their own scripts.
D
Devilzimti
Voice
Posts: 5
Joined: Sat Jun 03, 2006 2:56 pm

Where can i Dowload egghttp.tcl

Post by Devilzimti »

I would like to run the "wetter" script but it says
[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
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

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.
D
Devilzimti
Voice
Posts: 5
Joined: Sat Jun 03, 2006 2:56 pm

Post by Devilzimti »

I can only find the download of the sourcecode on the link you gave me? :(
am is stupid?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

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.
D
Devilzimti
Voice
Posts: 5
Joined: Sat Jun 03, 2006 2:56 pm

Post by Devilzimti »

argh may it help if i simply make a new eggdrop? :(
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

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...
D
Devilzimti
Voice
Posts: 5
Joined: Sat Jun 03, 2006 2:56 pm

Post by Devilzimti »

Where can i tell it the bot?
sry im a noob :roll:

And on win32
should i set c://windrop//lib/tcl8.4//
as path?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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

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

Code: Select all

package require http 2.4
with

Code: Select all

package require http
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
D
Devilzimti
Voice
Posts: 5
Joined: Sat Jun 03, 2006 2:56 pm

Post by Devilzimti »

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. :)
Hmmm =/
But DragnLord's Script unfoutunatley only Supports villages in the US :(
demond wrote:
Devilzimti wrote:Where can i tell it the bot?
sry im a noob :roll:

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

Code: Select all

package require http 2.4
with

Code: Select all

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?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

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...
n
noname
Voice
Posts: 5
Joined: Sat May 27, 2006 4:28 pm

Post by noname »

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

and add it in ur eggdrop.conf

Code: Select all

source scripts/http.tcl

p.s.
suse is definitely not ok.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

Devilzimti wrote:Hmmm =/
But DragnLord's Script unfoutunatley only Supports villages in the US :(
My script is for "International weather". This means it works for cities around the world, not only the USA.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

DragnLord wrote:
Devilzimti wrote:Hmmm =/
But DragnLord's Script unfoutunatley only Supports villages in the US :(
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 :D.
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...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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

and add it in ur eggdrop.conf

Code: Select all

source scripts/http.tcl

p.s.
suse is definitely not ok.
KISS principle at work and try Gentoo :P
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply