BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: kolguy on August 18, 2011, 11:20:43 am

Title: First time user
Post by: kolguy on August 18, 2011, 11:20:43 am
Hello there ,

I am first time bebot user and trying to setup bebot for my org in AoC .

i followed all the instructions given in installation wiki but end up with the following errors ....

I am using windows 7 64 bit ... PHP is the lastest version as on there website.

MYSQL is from a hosting site that i use for my other website,  could that be a problem ?



Code: [Select]
Deprecated: Assigning the return value of new by reference is deprecated in C:\U
sers\Jeremiah\Downloads\BeBot-0.6.8\modules\IRC.php on line 682

Deprecated: Assigning the return value of new by reference is deprecated in C:\U
sers\Jeremiah\Downloads\BeBot-0.6.8\Sources\SmartIRC.php on line 1158

Deprecated: Assigning the return value of new by reference is deprecated in C:\U
sers\Jeremiah\Downloads\BeBot-0.6.8\Sources\SmartIRC.php on line 1184

Deprecated: Assigning the return value of new by reference is deprecated in C:\U
sers\Jeremiah\Downloads\BeBot-0.6.8\Sources\SmartIRC.php on line 1219

Deprecated: Assigning the return value of new by reference is deprecated in C:\U
sers\Jeremiah\Downloads\BeBot-0.6.8\Sources\SmartIRC.php on line 1321

Deprecated: Assigning the return value of new by reference is deprecated in C:\U
sers\Jeremiah\Downloads\BeBot-0.6.8\Sources\SmartIRC.php on line 1595

Deprecated: Assigning the return value of new by reference is deprecated in C:\U
sers\Jeremiah\Downloads\BeBot-0.6.8\Sources\IRC\messagehandler.php on line 49

Deprecated: Assigning the return value of new by reference is deprecated in C:\U
sers\Jeremiah\Downloads\BeBot-0.6.8\Sources\IRC\messagehandler.php on line 60

Deprecated: Assigning the return value of new by reference is deprecated in C:\U
sers\Jeremiah\Downloads\BeBot-0.6.8\Sources\IRC\messagehandler.php on line 318

Deprecated: Assigning the return value of new by reference is deprecated in C:\U
sers\Jeremiah\Downloads\BeBot-0.6.8\Sources\IRC\messagehandler.php on line 366
Abott [SETTINGS]        [SAVED] connected for module irc set to FALSE as datatyp
e bool





Code: [Select]
Abott [MOD-CUSTOM]      [DIR]   Loading additional modules in directory custom/m
odules/


Abott [LOGIN]   [STATUS]        Connecting to aoc server aoc-eu-um.live.ageofcon
an.com:7000
Abott [LOGIN]   [STATUS]        Authenticating
Sending RPCPacket:0
Received RPC Packet:0
Sending RPCPacket:1
Received RPC Packet:5
Received RPC Packet:1

Deprecated: Function split() is deprecated in C:\Users\Jeremiah\Downloads\BeBot-
0.6.8\Sources\AOChat.php on line 564
Sending RPCPacket:2628963075
Received RPC Packet:1572964753
Sending RPCPacket:1783917889
Received RPC Packet:543911653
Unsupported rpcpacket type (in, 543911653)
Received RPC Packet:201968165
Sending RPCPacket:3755495822
Received RPC Packet:3289695727
Sending RPCPacket:4016139958
Received RPC Packet:4170821964
Received RPC Packet:1334945164
Received RPC Packet:590742969
Sending RPCPacket:1014796908
Received RPC Packet:1525492320
Received RPC Packet:598094586
Read error: EOF
Abott [ERROR]   [AOChatWrapper_Core]    I was unable to get the user id for user
: 'Abott'
Abott [SETTINGS]        [LOAD]  Loaded settings from database.

Warning: socket_read(): unable to read from socket [10053]: An established conne
ction was aborted by the software in your host machine.
 in C:\Users\Jeremiah\Downloads\BeBot-0.6.8\Sources\AOChat.php on line 311
Read error: An established connection was aborted by the software in your host m
achine.

Abott [CONN]    [ERROR] Bot has disconnected. Reconnecting in 60 seconds.



the bot never logs in ... i have cleared the logfile as was suggested in a other post.
Title: Re: First time user
Post by: kolguy on August 19, 2011, 06:16:15 pm
Here is the patch for 2.7.

Changes are in Sources/AOChat.php

Change
AOCP_LOGIN_CHARID       => array("name"=>"Login CharacterID",                   "args"=>"III"),
to
AOCP_LOGIN_CHARID       => array("name"=>"Login CharacterID",                   "args"=>"IIIS"),

Change ( line 468 ish AND 935 ish )
 $loginCharacterPacket = new AOChatPacket("out", AOCP_LOGIN_CHARID, array(1,$this->char["id"],$this->serverseed ) );
to
 $loginCharacterPacket = new AOChatPacket("out", AOCP_LOGIN_CHARID, array(1,$this->char["id"],$this->serverseed, "en") );

I also attached the whole file if you just want to replace it with the changes.

thanks this fixed a issue i had.

thanx
SimplePortal 2.3.7 © 2008-2025, SimplePortal