L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 01:43:27 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Helpful posts > Topic: AOChat: not expecting login.
Pages: 1 2 3 [4] 5 6   Go Down
« previous next »
Print
Author Topic: AOChat: not expecting login.  (Read 8617 times)
0 Members and 1 Guest are viewing this topic.
Hurtig
Freshman
*
Offline Offline

Posts: 4


Re: AOChat: not expecting login.
« Reply #45 on: November 27, 2006, 08:50:16 PM »

Ok, I got both the GMP and the OpenSSL solution to compile and run.

When I print the generated key from AOChat it looks ok, but now I get the not-expected-login error again when AOChat tried to connect:

Code:
[2006-11-28 00:02:07]   [LOGIN] [STATUS]        Connecting
[2006-11-28 00:02:08]   [LOGIN] [STATUS]        Authenticating
Using AOKex for login key generation
Generated key: 5692F15408C2B4E90CB5857606266BFA22B4579yaddayadda
2006-11-28 00:02:08]   [LOGIN] [RESULT]        Error
[2006-11-28 00:02:08]   [LOGIN] [STATUS]        Logging in
AOChat: not expecting login.

The GMP and OpenSSL keys differ when I generate them. Are the supposed to be the same?

Logged
Keepbrave
Rookie
**
Offline Offline

Posts: 31


WWW
Re: AOChat: not expecting login.
« Reply #46 on: January 25, 2007, 10:56:19 AM »

Can someone explain all this to me in lamens terms?

This is my first time using linux and i juts bought a VPS serve rot run all this on plus some websites..

It runs centos-4
I got the bot installed but get this AOChat error, i downloaded the aokex and its sitting on my pc.

Someone please explain in lamens terms what to do next?
do i upload it and ssh in and run some commands or what?

Thanks for helping me out i am not used ot linux at all so be gentle with me Smiley
Logged
Barvaz
Freshman
*
Offline Offline

Posts: 12


Re: AOChat: not expecting login.
« Reply #47 on: February 15, 2007, 10:01:26 PM »

Quote from: Linux HOWTO
cd ~

wget http://auno.org/dev/aochat/php-aokex-0.1.tar.gz
tar zxf php-aokex-0.1.tar.gz
cd php-aokex
phpize
./configure
make
cp -p modules/aokex.so ..

check with php -m that you got all the needed modules installed.

ADD dl("aokex.so"); in the start of aochat.php


start the bot in the background:
screen -A -m -d -S redbot php start.php

view the bot console:
screen -r redbot

get bot back to background:
ctrl+a d
Logged
pusikas
Experienced
****
Offline Offline

Posts: 161


Re: AOChat: not expecting login.
« Reply #48 on: February 16, 2007, 02:37:14 AM »

No more need for aokex with the 2.11 bot.
Logged

Luuv  Bot-Keeper of Vengeance ^^*
Galdethi
Freshman
*
Offline Offline

Posts: 9


Re: AOChat: not expecting login.
« Reply #49 on: December 02, 2007, 03:35:34 PM »

I've been trying to get my bot running on an ubuntu server, i've gone through all the fixes posted in this thread and I still get the not expecting login crap, any way to save my bot? I no longer have a windows based server to host it off.

Im running the latest php mysql and bot.
« Last Edit: December 02, 2007, 03:54:09 PM by Galdethi » Logged
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: AOChat: not expecting login.
« Reply #50 on: December 03, 2007, 02:35:49 AM »

I am running the latest bot off Ubuntu 6.10 with no problem.

Please note that it should in theory run as long as you've installed php and mysql. However be sure that you install php5-cli as the command line interface is not installed with the php5 meta-package nor with libapache-mod-php5.

Are you sure you've set up the configuration correctly in the conf directory?
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Galdethi
Freshman
*
Offline Offline

Posts: 9


Re: AOChat: not expecting login.
« Reply #51 on: December 03, 2007, 07:32:07 AM »

Sadly positive, I guess ill rerun all the php mysql installs again see if anything changes Undecided
Logged
Galdethi
Freshman
*
Offline Offline

Posts: 9


Re: AOChat: not expecting login.
« Reply #52 on: December 06, 2007, 06:14:36 AM »

Ok ive reinstalled everything several times and I still get the unexpected login error, anyone got any clue what I can try next?

[edit]Tried going through all this again, reinstalled the lot and when I add the aokex bit I now get this error

 [LOGIN] [STATUS]        Connecting
/usr/bin/php: symbol lookup error: ./php_extension/aokex.so: undefined symbol: __gmp_set_memory_functions


I've reinstalled the gmp recompiled and messed about with it till im blue in the face Undecided
« Last Edit: December 06, 2007, 06:33:11 AM by Galdethi » Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1077


Re: AOChat: not expecting login.
« Reply #53 on: December 06, 2007, 08:03:33 AM »

Which version of bebot are you trying to run?

The newest version 0.4.3 should run without any need for aokex under linux. It just needs bcmath now, which is included in all php versions of the last years per default.
Logged
Galdethi
Freshman
*
Offline Offline

Posts: 9


Re: AOChat: not expecting login.
« Reply #54 on: December 06, 2007, 09:54:01 AM »

The latest version, thats why im so damn puzzled Undecided

Server is:

Dual core 3800+
4gb ram
Ubuntu 6.10
latest php
latest mysql
« Last Edit: December 06, 2007, 09:58:13 AM by Galdethi » Logged
Galdethi
Freshman
*
Offline Offline

Posts: 9


Re: AOChat: not expecting login.
« Reply #55 on: December 06, 2007, 10:31:52 AM »

Ok after leaving the damn bot running for ten mins saying the same not expecting login error, it connected, id love to know what the hell is going on though.
Logged
Metaphblade
Rookie
**
Offline Offline

Posts: 49


Re: AOChat: not expecting login.
« Reply #56 on: January 26, 2008, 07:56:18 PM »

i have tried everything i can think of.

Im trying to run my bot on a fresh install of slackware 12.0

i get the following message when trying to start it though.

AOChat class needs PHP version >= 5.2.0 to work.


any ideas?
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1077


Re: AOChat: not expecting login.
« Reply #57 on: January 27, 2008, 05:56:36 AM »

Update to php 5.2 or change the version string in AOChat.php.
Logged
Metaphblade
Rookie
**
Offline Offline

Posts: 49


Re: AOChat: not expecting login.
« Reply #58 on: January 27, 2008, 02:56:25 PM »

thats whats weird about all of this.....im using 5.2.3
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1077


Re: AOChat: not expecting login.
« Reply #59 on: January 27, 2008, 06:07:37 PM »

Do you have different php versions on your system and the bot is using a wrong one?

Worst case look for the line "AOChat class needs PHP version" in Sources/AOChat.php and simply comment the if ((float)phpversion() < 5.2) line out as well as the block inside {} directly afterwards.

If you got the right version there won't be any trouble - and right now the bot will run on any php version of the last few years.
Logged
Pages: 1 2 3 [4] 5 6   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Helpful posts > Topic: AOChat: not expecting login.
« previous next »
 
Jump to:  

Recent
Change text in remember "...
by gerborg
[November 21, 2008, 05:14:57 PM]

Log playtime from buddys ...
by Temar
[November 20, 2008, 10:33:57 AM]

Vote Core module and Simp...
by Temar
[November 19, 2008, 09:26:52 AM]

Restrict access for one m...
by Organizer
[November 19, 2008, 03:21:19 AM]

Custom / Revised Modules ...
by Elesar1
[November 17, 2008, 03:51:46 PM]

TWC
by Temar
[November 16, 2008, 11:39:12 AM]

Are there any FUN modules...
by Elesar1
[November 15, 2008, 07:39:15 PM]

Call to a member function...
by exxie
[November 15, 2008, 09:29:31 AM]

Ported Modules
by Alreadythere
[November 14, 2008, 06:10:07 PM]

cURL and other non-defaul...
by Temar
[November 14, 2008, 04:11:44 PM]
Stats
Members
Total Members: 1235
Latest: DDDepressionnn
Stats
Total Posts: 11037
Total Topics: 1496
Online Today: 18
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 0
Guests: 23
Total: 23

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.286 seconds with 29 queries. (Pretty URLs adds 0.03s, 4q)
Loading...