Hurtig
Freshman
Offline
Posts: 4
|
 |
« 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: [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
|
 |
« 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 
|
|
|
|
|
Logged
|
|
|
|
Barvaz
Freshman
Offline
Posts: 12
|
 |
« Reply #47 on: February 15, 2007, 10:01:26 PM » |
|
cd ~ wget http://auno.org/dev/aochat/php-aokex-0.1.tar.gztar 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
|
 |
« 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
Posts: 9
|
 |
« 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
|
 |
« 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
Posts: 9
|
 |
« 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 
|
|
|
|
|
Logged
|
|
|
|
Galdethi
Freshman
Offline
Posts: 9
|
 |
« 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 
|
|
|
|
« Last Edit: December 06, 2007, 06:33:11 AM by Galdethi »
|
Logged
|
|
|
|
|
Alreadythere
|
 |
« 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
Posts: 9
|
 |
« Reply #54 on: December 06, 2007, 09:54:01 AM » |
|
The latest version, thats why im so damn puzzled  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
Posts: 9
|
 |
« 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
|
 |
« 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
|
 |
« 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
|
 |
« Reply #58 on: January 27, 2008, 02:56:25 PM » |
|
thats whats weird about all of this.....im using 5.2.3
|
|
|
|
|
Logged
|
|
|
|
|
Alreadythere
|
 |
« 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
|
|
|
|
|