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?
September 08, 2008, 11:57:42 AM

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 7834 times)
0 Members and 2 Guests 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: 1024


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: 1024


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: 1024


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
Help with online info in ...
by clashbot
[Today at 11:44:17 AM]

syntax error .... Main.ph...
by Temar
[Today at 08:42:07 AM]

Org Relaying
by Temar
[Today at 08:20:58 AM]

BeBot v0.5.3 released (de...
by Temar
[Today at 12:32:25 AM]

Security
by Alreadythere
[September 06, 2008, 10:02:42 AM]

Probs with relay from gue...
by Temar
[September 06, 2008, 09:03:06 AM]

Raid spam in guild chat
by Temar
[September 06, 2008, 09:01:18 AM]

Link 2 Guilds via 2 Bots?
by Temar
[September 05, 2008, 04:22:40 PM]

SVN download
by clashbot
[September 05, 2008, 05:12:59 AM]

TWC
by Temar
[September 05, 2008, 12:27:23 AM]
Stats
Members
Total Members: 967
Latest: canibaal
Stats
Total Posts: 10425
Total Topics: 1414
Online Today: 19
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 4
Guests: 26
Total: 30
Temar
clashbot
Snarfblatt

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