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.

botchk issue

General support and discussion of Eggdrop bots.
Post Reply
i
intel
Halfop
Posts: 57
Joined: Tue Feb 26, 2008 11:51 pm

botchk issue

Post by intel »

I am running eggdrop 1.8 and when I do a ./autobotchk my.conf I get
Eggdrop v1.8.1+alpha (C) 1997 Robey Pointer (C) 1999-2017 Eggheads
Configure flags: none
Compiled with: IPv6, TLS, handlen=32
[16:21:05] LANG: No lang files found for section core.
while executing
"exec "$dir/$binary" -v"
invoked from within
"if {![regexp {handlen=([0-9]+)} "[exec "$dir/$binary" -v]" -> handlen]} {
puts " Could not find handlen used, defaulting to 32."
# len 32 means u..."
(file "./autobotchk" line 250)
What am I missing?
User avatar
m4s
Halfop
Posts: 97
Joined: Mon Jan 30, 2017 3:24 pm

Re: botchk issue

Post by m4s »

Hi,

Try this:
./autobotchk my.conf -dir "/way/to/your/konfig/file/" -noemail -5
User avatar
Get_A_Fix
Master
Posts: 206
Joined: Sat May 07, 2005 6:11 pm
Location: New Zealand

Post by Get_A_Fix »

Same thing for me. Running Debian 8.7, with 3.16.0-4-amd64 kernel.
Eggdrop compiled perfectly, with no stdout errors. It only errored when I created cron using ./autobotchk

Code: Select all

devnull@matrix.home: cd ~/eggdrop/scripts; chmod 700 autobotchk; ./autobotchk chmod.conf -dir /home/devnull/eggdrop -noemail

autobotchk 1.11, (C) 1999-2003 Jeff Fisher (guppy@eggheads.org)

                 (C) 2004-2016 Eggheads Development Team
------------------------------------------------------------

Opening 'chmod.conf' for processing ... done
Scanning the config file ................ done
  Defaulting $botnet-nick to "chmod"
Eggdrop v1.8.1 (C) 1997 Robey Pointer (C) 1999-2017 Eggheads
Configure flags:  '--with-tclinc=/usr/include/tcl8.6/tcl.h' '--with-tcllib=/usr/lib/x86_64-linux-gnu/libtcl8.6.so' '--with-handlen=30' '--with-openssl=/usr/local/ssl'
Compiled with: IPv6, TLS, handlen=30
[09:08:22] LANG: No lang files found for section core.
    while executing
"exec "$dir/$binary" -v"
    invoked from within
"if {![regexp {handlen=([0-9]+)} "[exec "$dir/$binary" -v]" -> handlen]} {
  puts "  Could not find handlen used, defaulting to 32."
  # len 32 means u..."
    (file "./autobotchk" line 250)
devnull@matrix.home
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
User avatar
m4s
Halfop
Posts: 97
Joined: Mon Jan 30, 2017 3:24 pm

Post by m4s »

Hi,

Try this:
./autobotchk chmod.conf -dir "/home/devnull/eggdrop/" -noemail -5

You did not write the "!!!
User avatar
Get_A_Fix
Master
Posts: 206
Joined: Sat May 07, 2005 6:11 pm
Location: New Zealand

Post by Get_A_Fix »

m4s wrote:Hi,

Try this:
./autobotchk chmod.conf -dir "/home/devnull/eggdrop/" -noemail -5

You did not write the "!!!
That still doesn't work. It's easier to just crontab -e and enter manually.
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
w
willyw
Revered One
Posts: 1203
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

I'm not sure that I understand but:

Would it solve it to simply copy autobotchk up one dir, so that a copy is in the same dir with the eggdrop executable and the working .conf file? Then no -dir switch is needed.

I've done it this way many times.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
User avatar
m4s
Halfop
Posts: 97
Joined: Mon Jan 30, 2017 3:24 pm

Post by m4s »

Get_A_Fix wrote:
m4s wrote:Hi,

Try this:
./autobotchk chmod.conf -dir "/home/devnull/eggdrop/" -noemail -5

You did not write the "!!!
That still doesn't work. It's easier to just crontab -e and enter manually.
Hi,

Worked for me! You only have to know the correct path to your config file. :)
C
Carolyn40
Voice
Posts: 1
Joined: Thu Apr 27, 2017 8:51 pm

Re: botchk issue

Post by Carolyn40 »

I had this issue too, at first. Here is how I managed it perfectly.

1. navigate to the directory where the eggdrop executable is installed.
2. make sure that the config file for your bot is in this directory as well
3. type:

Code: Select all

scripts/autobotchk <config_filename> -noemail -5
no need to specify the path for the config file this way.
If all else fails, read the directions.
Post Reply