Frequently Asked Questions
Contents
内容
- What do I do if I get the Error "User file not found"?
- "User file not found"というエラーが出た場合どうすればよいのですか?
- My Eggdrop won't run; It just says "Can't find your hostname!"
- "Can't find your hostname!"と言うだけでEggdropが起動しません。
- What the heck is Tcl?
- 一体TCLとは何なのですか?
- My bot dies, and the last entry in the logfile is "Received terminate signal". What does that mean, and can I prevent it?
- BOTがクラッシュしてLOGの最後の部分に"Received terminate signal"とありました。この意味は何ですか?また、どうすれば防げますか?
- My compile dies at the last minute with "LD fatal signal 11"!
- BOTのコンパイル時に"LD fatal signal 11"と表示して停止してしまいます!
- Someone else set up a bot I don't like. Are there any backdoors I can use to take their bot down?
- 他の誰かかがBOTをセットアップしました。私は好まないのでこれらのBOTを停止させる事ができるバックドアはありますか?
- What are modules?
- モジュールとは何ですか?
- Can I compile Eggdrop without dynamic modules? ダイナミックモジュールなしでコンパイルできますか?
- Where can I get a pre-compiled Eggdrop for my computer?
- 自分のコンピュータ用にコンパイルされたEggdropは何処で手に入りますか?
- I get "Makefile:3 : invalid operator" of some such thing When I try to "make"
- "make"しようとしたときに"Makefile:3 : invalid operator"といくつか似た様なのが表示されました。
- When I "tclsh scripts/weed <userfile> c" It barfs chunks at me and dies.
- "tclsh scripts/weed<userfile> c"と入力したときにチャンクを吐いて停止してしまいました。
- I get "ld-elf.so.1: Shared object "libtcl80.so.1" not found" or "eggdrop: error in loading shared libraries / libtcl8.1.so: cannot open shared object file: No such file or directory" when I try to start my bot.
- BOTを起動させようとした時に"ld-elf.so.1: Shared object"libtcl80.so.1" not found" や "eggdrop: error in loading shared libraries / libtcl8.1.so: cannot open shared object file: No such file or directory"というのが表示されました。
- I get a whole pile of "unresolved symbol 'Tcl_AppendResult'" (or some other symbol) when I try to load a module.
- モジュールを読み込もうとした時におびただしい数の"unresolved symbol'Tcl_AppendResult'" (またはいくつかの他のシンボル)というのが表示されました。
1. What do I do if I get the error "User file not found"?
1."User file not found"というエラーが出た場合どうすればよいのですか?
- Run Eggdrop with the "-m" option (i.e., "eggdrop -m eggdrop.conf").
- Eggdropを"-m"オプション付きで起動させて下さい。(例、"eggdrop -m eggdrop.conf")。
- Go to IRC and send "hello" to your bot (i.e., "/msg mybot hello").
- IRCサーバに繋いだ後"hello"とあなたのBOTに送って下さい。 (例、"/msg mybot hello")。
- You will become an owner on your bot. You can leave the bot running (nobody else will become an owner if they say "hello"), but in the future, don't use the "-m" option when running the bot.
- するとあなたがBOTのオーナーになれます。これでBOTを動作したままにして良いです(他の誰かが"hello"と言ってもオーナーにはなりません)。今後、"-m"オプションを付けて起動させる必要はありません。
2. My Eggdrop won't run; it just says "can't find your hostname!"
2. "Can't find your hostname!"と言うだけでEggdropが起動しません。
Your machine is set up strangely, and Eggdrop can't figure out its network hostname. You can get around this by setting the my-ip setting in the config file correctly.
あなたのコンピュータがおかしくセットアップされており、Eggdropはそのホスト名を解決できません。コンフィグファイル中のmy-ip設定を適切に設定する事によってこの問題を回避できます。
Tcl is a scripting language written by John Ousterhout. It's much better than most "built-in" script languages (like the one in ircII) and is meant to be linked with anything needing a scripting language, so I linked it with Eggdrop. Tcl commands contains a list of additional Tcl commands provided by Eggdrop. There are also several example scripts in the scripts/ directory, and one in the doc directory called first_script.txt. There are also hundreds of scripts floating around on the ftp/web sites if you like working by example (which is typically the best way).
TCLとはJohn Ousterhout氏によって開発されたスクリプト言語です。これは他のどの内蔵スクリプト言語(ircIIにあるような)よりも素晴らしく、TCLはスクリプト言語を必要とするものと組み合わせるためのものです。従ってEggdropとTCLは組み合わされています。TclコマンドにEggdropから供給されている追加のコマンドがあります。またscripts/ディレクトリにいくつかの参考となるスクリプトがあり、そこにはfirst_script.txtというドキュメントがあります。参考用のスクリプトで良いなら(最も典型的な最良の方法)何百ものスクリプトもまたFTPやWEBサイトに置かれています。
4. My bot dies and the last entry in the logfile is "received terminate signal". What does that mean and can i prevent it?
4. BOTがクラッシュしてLOGの最後の部分に"Received terminate signal"とありました。この意味は何ですか?また、どうすれば防げますか?
There's nothing you can do to prevent it. It means the system administrator is killing the Eggdrop process. Most of the time, it's an automatic thing that happens when the system is being rebooted, so it's harmless. If you have a crontab running, the bot will get restarted when the system is back online. Occasionally, the system administrator will kill the bot manually. For example, if he/she doesn't want bots running on the system.
これを防ぐ事はできません。これはシステムの管理者がEggdropのプロセスを殺した事を意味します。大抵は、システムが再起動をする時に起きる自動的なものですから安全なものです。crontabで動かしているなら、システムが復帰した時にBOTは再起動します。時折、管理者はBOTを殺します。例えば管理者がシステム上でBOTを動かす事を好まなかったりした場合です。
5. My compile dies at the last minute with "ld fatal signal 11"!
5. BOTのコンパイル時に"LD fatal signal 11"と表示して停止してしまいます!
See the Compiling FAQ.
Compiling FAQを参照して下さい。
6. Someone else set up a bot I don't like. Are there any backdoors I can use to take their bot down?
6. 他の誰かかがBOTをセットアップしました。私は好まないのでこれらのBOTを停止させる事ができるバックドアはありますか?
No, there have never been any backdoors and there never will be, so please stop asking. Every once in a while, someone finds a way to exploit a bug in Eggdrop, but we fix these bugs as soon as we find out about them. If you want to bring down someone else's bot, you will not have my/our help.
ありません。バックドアを搭載した事も、またこれから搭載する事もありませんので、これに関しての質問はご遠慮下さい。今もなお、ある人はそうするためにバグをうまく利用する方法を探していますが、私たちはそれらのバグが見つかり次第すぐに修正しています。他人のBOTを攻撃したいのなら私たちの助言は役に立たないでしょう。
Modules are a way of adding extra features to the bot, much like Tcl scripts, without requiring the bot to be recompiled. See doc/MODULES for more info.
モジュールはTCLスクリプトに非常によく似ていて、BOTに再コンパイルなしで機能を追加するものです。さらに多くの情報のためにdoc/MODULESを参照して下さい。
8. Can I compile Eggdrop without dynamic modules?
Yes, you can. If the configure script detects that your system CAN'T run modules, it will setup 'make' to link the modules in statically for you. You can choose this option yourself by using 'make static'. You can also try to compile dynamic modules on a static-only system by using 'make eggdrop'.
できます。configureスクリプトがあなたのシステムのモジュールを動作させるのが不可能だと判断したら、静的にモジュールをリンクして'make'します。このオプションは'make static'と入力する事によっても可能です。また静的モジュールのみのシステムでも'make eggdrop'と入力する事によってダイナミックモジュールをコンパイルできます。
8a. Do I still need to 'loadmodule' modules?
8a. "loadmodule"モジュールは今もなお必要ですか?
YES, when you compile statically, all the modules are linked into the main executable. HOWEVER, they are not enabled until you use loadmodule to enable them, hence you get nearly the same functionality with static modules as with dynamic modules.
必要です。静的にコンパイルした時に、全てのモジュールは実行ファイルにリンクされています。しかしながら、全てのモジュールを有効にするためにloadmoduleを使うまではそれらは有効になりません。したがって、静的モジュールもダイナミックモジュールとして大体の機能的に似たものを得られます。
9. Where can i get a pre-compiled Eggdrop for my computer?
9. 自分のコンピュータ用にコンパイルされたEggdropは何処で手に入りますか?
It is HIGHLY recommended AGAINST using pre-compiled Eggdrops from un-trusted sources. Eggdrop has been a regular target for hacking and crashing. Distribution of pre-compiled (binary) versions of Eggdrop are the easiest way for hackers to provide you with the easiest (and most dangerous) way of gaining access to, not only your bot, but to your computer account directly. Don't advertise your pre-compiled Eggdrop binary sites on the Eggdrop list either. =P
信頼性のないところからコンパイルされたEggdropは絶対に使用しないで下さい。Eggdropはハッキングやクラッシュのための一般的な標的にされています。ハッカー達にとってコンパイルされた(バイナリ)EggdropはあなたのBOTだけでなくあなたのコンピュータのアカウントにアクセスさせることを与える最も簡単(そして最も危険な)な方法です。そしてまた、あなたのコンパイルされたEggdropのバイナリも広めないで下さい。=P
10. I get 'Makefile:3 :invalid operator' or some-such-thing when I try to 'make'.
10. "make"しようとしたときに"Makefile:3 : invalid operator"といくつか似た様なのが表示されました。
Try 'gmake'.
'gmake'を試して下さい。
11. When I 'tclsh scripts/weed <userfile> c' it barfs chunks at me and dies. :(
11. "tclsh scripts/weed<userfile> c"と入力したときにチャンクを吐いて停止してしまいました。:(
Upgrade your Tcl, you are probably using Tcl 7.5 or earlier. Some of the commands in weed require Tcl7.6 to run, so either upgrade it or remove the offending lines from you userfile manually (those starting with '.' generally) and accept the loss of that data.
TCLをアップグレードして下さい。ひょっとしたら7.5以前のTCLを使っているのかもしれません。いくつかのマイナーなコマンドは実行するのにTCL7.6を要求しますので、アップグレードするかそのコマンドを犠牲にしてユーザファイルから問題のある行(それらは一般的に'.'で始まります)を手で取り除いて下さい。
12. I get "ld-elf.so.1: Shared object "libtcl80.so.1" not found" or "eggdrop: error in loading shared libraries / libtcl8.1.so: cannot open shared object file: No such file or directory" when I try to start my bot.
12. BOTを起動させようとした時に"ld-elf.so.1: Shared object"libtcl80.so.1" not found" や "eggdrop: error in loading shared libraries / libtcl8.1.so: cannot open shared object file: No such file or directory"というのが表示されました。
'./configure' is looking in the wrong place for Tcl; it looks like it compiled with one version of Tcl and tries to load another. Maybe your sysadmin upgraded Tcl and didn't tell you. In that case, you should just need to recompile your bot.
'./configure'はTCLの誤った場所を探します。一見、あるバージョンのTCLと共にコンパイルされた様に見え、他を読み込もうとします。恐らくあなたのコンピュータの管理者はTCLをアップグレードしてそれをあなたに知らせなかったのでしょう。その場合、BOTを再コンパイルする必要があります。
Maybe, when upgrading, he didn't clean the old version of Tcl, and './configure' is looking for the files in the wrong places, or trying to use different versions of tcl.h and libtcl*. Smack your admin and have him install Tcl properly. ;) You can also try:
たぶん、アップグレードの際に管理者は古いバージョンのTCLを消さなかったので、'./configure'は必要なファイルを間違った場所で探してしまったか異なったバージョンのtcl.hとlibtcl*.を使おうとしてしまったのです。管理者をひっぱだいてTCLを正しくインストールさせましょう。;)また、あなたは以下の事を試す事ができます:
./configure --with-tcllib=<path-to-tcl-lib> --with-tclinc=<path-to-tcl-inc>
Tell configure where to look for the Tcl files.
configureにTCLのファイルがある場所を教えます。
Try looking for libtcl by:
libtclを探してみて下さい:
ls /usr/lib/libtcl*
ls /usr/local/lib/libtcl*Try looking for tcl.h by:
tcl.hを探してみて下さい:
ls /usr/include/*/tcl.h
ls /usr/local/include/*/tcl.hIf everything else fails, try to install Tcl to your home dir ;) (Suggested by dw@Undernet, dw@lixom.nu).
これでもなお失敗する様でしたらTCLをあなたのホームディレクトリにインストールしてみて下さい;)(dw@Undernet、dw@lixom.nuによる提案).
13. I get a whole pile of "Unresolved symbol 'Tcl_AppendResult'" (or some other symbol) when I try to load a modules.
13. モジュールを読み込もうとした時におびただしい数の"unresolved symbol'Tcl_AppendResult'" (またはいくつかの他のシンボル)というのが表示されました。
Possibility A: See section 12.
可能性A: セクション12を参照して下さい。
Possibility B: Some of the standard libraries have been compiled for static linking only on your machine, you have 3 options:
可能性B: いくつかの標準的なライブラリは静的リンクのみでコンパイルされていますので、3つの選択があります:
If it's your own machine, recompile Tcl using dynamic linking by using './configure --enable-shared' when you configure Tcl (not the bot) and then remake, & reinstall.
あなた自身のコンピュータならば、TCL(BOTではなくて)をコンフィグする時に'./configure --enable-shared'と入力してダイナミックリンクを使ってTC+を再コンパイル、リメイク、そして再インストールして下さい。
If it's not your machine, you make have to resort to 'make static' and 'make install DEST="path"' to make and install your bot.
あなたのコンピュータではない場合、BOTをメイク、インストールするために'make static'そして'make install DEST="path"'を入力してみて下さい。
If you are of a more aggressive sense of mind, go beat the stuffing out of your admin for having lame static libraries. :)
あなたが人を恐れない精神の持ち主なら不自由な静的ライブラリのせいで損害を受けている名目で管理者を殴り飛ばしてみましょう。:)
Copyright © 1997 Robey Pointer
Copyright © 1999, 2000, 2001, 2002 Eggheads Development Team