Archive > BeBot 0.4 support

AOChat: not expecting login (again)

(1/4) > >>

Zeephonz:
I decided to move my org bot across from the Windows PC to a *nix box. The *nix box is running PHP v5.2.5 (cli version), MySQL and has Bebot 0.4.3 copied across to it.

Everything connects properly to the SQL database, a php -m shows BCMath etc loaded, but again I see that horrible message "AOChat: not expecting login" popping up.

Start up the Windows one, everything is fine, switch back, same error. I have looked at every thread on this here, tried all suggestions relevant to my versions, but to no avail.

What could possibly be causing this?

Blueeagle:
The instant suspect is conf/Bot.conf

Not that, unlike windows, *nix filenames are case sensitive so bot.conf is not the same file as Bot.conf. If the file is all lower case it will never be loaded.

Also check the file permissions.

I will look at adding fatal errors when config files are not found or cannot be loaded, but for now you'll just have to double check the files manually.
Never mind that. That file is required so it should be fatal if not found.

Need to do a bit more research.

But please do double check the username and password that is in conf/Bot.conf

Also please include distro, kernel, architecture and build version of PHP.

Temar:
unless u are right but he uses multi bots but its loading the default file because of cant find argument.Bot.conf

Zeephonz:
I run the bot from the directory it's installed in, and it's the only bot on this machine.

Here's the main load of information you are looking for...

Bebot 0.4.3 - installed
MySQL 5.0.51b

> php -v
PHP 5.2.4 (cli) (built: Aug 31 2007 23:57:08)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

> php -m
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
date
dbase
dom
exif
fbsql
filter
ftp
gd
gettext
hash
iconv
imap
json
ldap
libxml
mbstring
mcrypt
memcache
mhash
ming
mssql
mysql
mysqli
oci8
odbc
OpenBase Module
openssl
pcntl
pcre
pdf
PDO
pdo_mysql
PDO_OCI
pdo_pgsql
pdo_sqlite
pgsql
posix
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
SQLite
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]

> Starting the bot gives...

_/_/_/      _/_/_/  _/_/_/      _/_/        _/_/   

         An Anarchy Online Chat Automaton         

             v.0.4.3 - PHP 5.2.4     

===================================================

Connected to MySQL

Botname [2008-06-26 03:36:46]  [CORE]  [LOAD]  Security.php
Botname [2008-06-26 03:36:46]  [SETTINGS]      [LOAD]  Loaded settings from database.
(all the otherstuff in between loads here cleanly)
Botname [2008-06-26 03:36:50]  [LOGIN] [STATUS]        Connecting
Botname [2008-06-26 03:36:51]  [LOGIN] [STATUS]        Authenticating
Botname [2008-06-26 03:37:15]  [LOGIN] [RESULT]        Error
Botname [2008-06-26 03:37:15]  [LOGIN] [STATUS]        Logging in
AOChat: not expecting login.

... then goes into startup loop, trying again.

Anything else you need?

Blueeagle:

--- Quote from: Zeephonz on June 26, 2008, 05:55:51 am ---Botname [2008-06-26 03:36:50]  [LOGIN] [STATUS]        Connecting
Botname [2008-06-26 03:36:51]  [LOGIN] [STATUS]        Authenticating
Botname [2008-06-26 03:37:15]  [LOGIN] [RESULT]        Error
Botname [2008-06-26 03:37:15]  [LOGIN] [STATUS]        Logging in
AOChat: not expecting login.

... then goes into startup loop, trying again.

Anything else you need?


--- End quote ---
I need you to check the user name and password one more time. Also you need to check that the name of the player that the bot assumes is correct.
And if you still think the username/password/toon is right log in to that accout using your regular anarchy client.
And if it still fails after you've corrected the username/password/toon then I'll need a copy of your bot directory after you've removed the username and passwords from your Bot.conf and MySQL.conf files zipped up and sendt here so I can rule out that it's not infact a typo.

Also read this previous post

Navigation

[0] Message Index

[#] Next page

Go to full version