| View previous topic :: View next topic |
| Author |
Message |
Devilzimti Voice
Joined: 03 Jun 2006 Posts: 5
|
Posted: Sat Jun 03, 2006 2:59 pm Post subject: Where can i Dowload egghttp.tcl |
|
|
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 |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Sat Jun 03, 2006 3:55 pm Post subject: |
|
|
| 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 |
|
 |
Devilzimti Voice
Joined: 03 Jun 2006 Posts: 5
|
Posted: Sat Jun 03, 2006 4:25 pm Post subject: |
|
|
I can only find the download of the sourcecode on the link you gave me?
am is stupid? |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Sat Jun 03, 2006 4:31 pm Post subject: |
|
|
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 |
|
 |
Devilzimti Voice
Joined: 03 Jun 2006 Posts: 5
|
Posted: Sat Jun 03, 2006 5:08 pm Post subject: |
|
|
argh may it help if i simply make a new eggdrop?  |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Sat Jun 03, 2006 7:25 pm Post subject: |
|
|
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 |
|
 |
Devilzimti Voice
Joined: 03 Jun 2006 Posts: 5
|
Posted: Sat Jun 03, 2006 9:28 pm Post subject: |
|
|
Where can i tell it the bot?
sry im a noob
And on win32
should i set c://windrop//lib/tcl8.4//
as path? |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Jun 03, 2006 11:54 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Jun 04, 2006 1:57 am Post subject: |
|
|
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 |
|
 |
Devilzimti Voice
Joined: 03 Jun 2006 Posts: 5
|
Posted: Sun Jun 04, 2006 5:48 am Post subject: |
|
|
| 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: |
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 |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Sun Jun 04, 2006 11:19 am Post subject: |
|
|
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 |
|
 |
noname Voice
Joined: 27 May 2006 Posts: 5
|
Posted: Sun Jun 04, 2006 3:37 pm Post subject: |
|
|
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 |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Sun Jun 04, 2006 4:59 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Sun Jun 04, 2006 7:02 pm Post subject: |
|
|
| 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 . _________________ 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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Jun 05, 2006 12:02 am Post subject: |
|
|
KISS principle at work and try Gentoo  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
|