Recently I had to reset my laptop and so all my files including the bot and the mysql went lost . I then had for the second time several joyful hours of figuring out how to get it to work.
I am writing this guide to safe those who want to make them oneself from this pain.
There is a bebot installation on shadowrealm (http://bebot.shadow-realm.org/wiki/installation)
but some parts seem to be not working anymore , for me at least it didnt lead to success.
First of all , what do you need ?
Bebot files : https://github.com/J-Soft/BeBot-legacy
do only use these files as they always get updated - safe yourself a lot of time
Simply click "download zip" on the right side of your screen.
Mysql database:
This was the most tricky part . On version 4.3 i had a syntax error when entering the command to create a user . Version 5.5 simply crashed . With some others i had problems with the security settings.
After some trying this was finally the version that worked without any problems and the bot could also connect with it.
http://olex.openlogic.com/packages/m...ge_detail_tabs
scroll down and download the windows installer (16.1MB)
The 3rd thing you need are the php files . There you also need to find the right ones , otherwise the bot won't work
For me it was PHP 5.5 (5.5.27) VC11 x86 Non Thread Safe
for some reason it wouldnt work with pvp5.4
http://windows.php.net/download/
Then you should have a laptop or computer with a 24/7 connection to the internet.
Installation : (here I will slack a bit and copy-paste most from "bebot.shadow-realm.org)
At first let' start with the Mysql installation
1) click on win32.msi file and run the installer
2) Click Next.
3) Select Typical, Click Next.
4) Click Install
5) Select Skip Sign-Up, Click Next.
6) Check Configure MySQL Server Now, Click Finish.
Now it might be that the configuration setup won't open , then you have to do it manually
Simply go to your Mysql installation folder -> bin-> mysqlinstanceconfig.exe and open it.
Click Next.
Select Detailed Configuration, Click Next.
Select Developer Machine, Click Next.
Select Multifunctional Database, Click Next.
Select C: and Installation Path, Click Next.
Select Decision Support, Click Next.
Check Enable TCP/IP Networking and Enable Strict Mode, Click Next.
Select Standard Character Set, Click Next.
Check Install As Windows Servers, Check Launch the MySQL Server automatically, Check Include Bin Directory in Windows PATH, Click Next.
Enter and confim your root password. Write down your root password and do not loose it!!! Do not check Enable root access from remote machines. Click Next. (here you might have to add a firewall exception if you get a error message in the next step.)
Click Execute.
If everything has worked properly you can advance to creating a database.
With the usual "cmd" window i had several problems either with creating an user or it didnt recognize mysql
So enter "command" in the search panel and open the "mysql command line client"
-write down all your settings you will enter in this consol as you will need them later-
Type CREATE DATABASE databasename CHARACTER SET latin1; (replace databasename with the name of the database you wish to create)
Press Enter/Return.
CREATE USER username@localhost; (Change username to the username you want, keep @localhost)
Press Enter/Return.
SET PASSWORD FOR username@localhost = PASSWORD('newpassword'); (Change username and newpassword to your selected username and password, again keep @localhost)
Press Enter/Return.
Type GRANT ALL on databasename.* TO username@localhost; (Again, change username, keep @localhost)
Press Enter/Return.
Type quit then Enter/Return to exit the MySQL Monitor.
Now you have a created a database - back to the bot.
At first extract the downloaded php files
- in the main folder you need to copy those files
libeay32.dll
php.exe
php5.dll
ssleay32.dll
and paste them into your main bot folder
then there is a php subfolder "ext" from here you will copy these files
php_curl.dll
php_mbstring.dll
php_mysql.dll
php_sockets.dll
create a subfolder in your bebot direction called "phpext" and paste these files into it.
Now create a new .txt file in your bebot folder (rightclick -> new -> new text file) at best it is a simple .txt and not word or something else
-copy and paste this into the file
;;;;;;;;;;;;;;;;;
; BeBot php.ini ;
;;;;;;;;;;;;;;;;;
; BeBot should normally stay way below this limit
memory_limit = 30M
; The following settings control what warnings and errors PHP will output.
; Please note that BeBot 0.6 still outputs a lot of notices and warnings that can be safely ignored.
;
; Error Level Constants:
; E_ALL - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
; E_ERROR - fatal run-time errors
; E_RECOVERABLE_ERROR - almost fatal run-time errors
; E_WARNING - run-time warnings (non-fatal errors)
; E_PARSE - compile-time parse errors
; E_NOTICE - run-time notices (these are warnings which often result
; from a bug in your code, but it's possible that it was
; intentional (e.g., using an uninitialized variable and
; relying on the fact it's automatically initialized to an
; empty string)
; E_STRICT - run-time notices, enable to have PHP suggest changes
; to your code which will ensure the best interoperability
; and forward compatibility of your code
; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
; initial startup
; E_COMPILE_ERROR - fatal compile-time errors
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
; E_USER_ERROR - user-generated error message
; E_USER_WARNING - user-generated warning message
; E_USER_NOTICE - user-generated notice message
; E_DEPRECATED - warn about code that will not work in future versions
; of PHP
; E_USER_DEPRECATED - user-generated deprecation warnings
;
; Common Values:
; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.)
; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices)
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE _ERROR (Show only errors)
; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
error_reporting = E_ALL & ~E_NOTICE
display_errors = On
log_errors = On
error_log = log/php_errors.log
; This is where PHP can find the PHP extensions like sockets and mysql.
extension_dir = "phpext"
and rename to php.ini
You are almost done . Now launch age of conan and create a character which should be your bot ->get it into your guild -> exit the game again
-It can be on both , a premium and free to play account , but note that the bot on a f2p account will have the same restrictions as any other character - which means you will have to add it to friends first before you are able to receive tells from the bot (for example raid plans )
Open the conf folder and edit Bot.conf (delete the .TEMPLATE at the end and open it with your editor)
here 6 things you have to edit .
$ao_username = "" (your account name)
$ao_password = "" (account password)
$bot_name = "" (name of the toon you want as bot)
$dimension = "" (server name)
$guild = "" (guess what)
$owner = "" (name of your main character)
Now open the Mysql.conf an add the values you selected in the command consol.
$dbase = "databasename";
$user = "username";
$pass = "newpassword";
$server = "localhost"
Click on "StartBot.bat" and if you dont miss a .dll file on your computer the bot should be working now.
In case you miss "libssh2.dll" like I did , just enter the name of it in google and download it from dll-found.com
Ps.: I am no php programmer and have only very little knowledge about it , so if you want to create your own custom modules i am probably not the right guy to ask