Booya
collapse collapse

Menu

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Search


* Board Stats

  • stats Total Members: 1061
  • stats Total Posts: 18264
  • stats Total Topics: 2479
  • stats Total Categories: 7
  • stats Total Boards: 31
  • stats Most Online: 178

Recent Posts

Pages: [1] 2 3 ... 10
1
General discussion / Re: Bot hosting (UtAvDrift Hosting)
« Last post by Tessman on August 24, 2017, 10:19:33 am »
What is the best bot hosting service right now?
2
General discussion / Re: CIDB
« Last post by bitnykk on July 21, 2017, 10:19:38 am »
Just for information, xyphos and vhabot CIDB are now both down.

To make your !items command work properly again, edit your modules\ao\Items.php file in a text editor.

Around line 46, change the variable named "server" like this :
Code: [Select]
var $server = 'http://cidb.botsharp.net/';
Save the file, restart the bot and it should work ;)
3
AoC 0.6 support / Re: Line 99 StartBot.php
« Last post by Kepha on October 17, 2016, 10:37:57 am »
Silly me.

I did try StartBot.php but was getting more errors which made me ignore it. After not doing it, I found out that I am using an old version of files which require a lot of code/line changing due to the php version. I replaced a few files and end up here,

Quote
BOT [MOD]        [DIR]   Loading modules

Fatal error: Cannot redeclare class ModuleControlGUI in /********/bebot/modules/ModulesControlUI.php on line 144

Problem solved.  :o

Made a new installation with the bebot master.zip I found in a different thread and all is good. Good timing as well, holidays are over, I will need to repeat all of this again later on.

Thank you Khalem  ;)

4
AoC 0.6 support / Re: Line 99 StartBot.php
« Last post by Khalem on October 16, 2016, 01:38:15 pm »
A few things to note.

The bot does not need to (and should not) be placed in directory accessible by web.
The bot should also not be run by the root user or any other privileged user.

The is a documentation error, due to files being renamed, the appropriate filename is
StartBot.php
5
AoC 0.6 support / Re: Line 99 StartBot.php
« Last post by Kepha on October 14, 2016, 12:22:11 am »
Right.

I installed LAMP with PHP5.

I have placed the bebot folder under /var/www/html/ and tried to start the bot with "php5 start.php"(I have php and php5 listed)

On the first time it said "Could not open input file: start.php", to install php5 -cli, which I did; tried to repeat the command and now I only get the same message "Could not open input file: start.php".

Am I one step closer?
6
AoC 0.6 support / Re: Line 99 StartBot.php
« Last post by Khalem on October 06, 2016, 08:49:30 pm »
The reason you are running into issues is because XAMPP installs itself into /opt which is outside the default path.

As such, you will need to specify the full path to the executeable, although you are likely to run into other issues as well since php support libraries won't be in the default path either.

However, given that XAMPP installs itself in such a way, you should probably not have any issues having the OS supplied php packages installed at the same time.
f.ex:
apt install php5 php5-mysql

I have not had a chance to test php7 yet, however the latest git snapshot should likely work.
7
AoC 0.6 support / Re: Line 99 StartBot.php
« Last post by Kepha on September 24, 2016, 01:46:50 am »
Thank you for the reply Khalem.

Ubuntu Gnone 16.04 LTS.

I just installed XAMPP 5.6 as opposed to LAMP since the latter is optimized for PHP 7.
I am hoping that my problem was passing through the PHP version and the bot code.

- when trying to "php StartBot.php" I get that the program php is currently not installed and suggests me to install php7.0-cli
- when trying "php5 StartBot.php" I get a similar message to also install php7.0-cli

Any suggestions?
8
AoC 0.6 support / Re: Line 99 StartBot.php
« Last post by Khalem on September 22, 2016, 10:01:08 pm »
Which distribution and release are you running?

The bot is failing to load the mysql php module which it needs to operate.
9
AoC 0.6.x Custom/Unofficial modules / Re: New Central itemDB (!item[s|reg])
« Last post by aoc_botter on September 17, 2016, 07:06:44 pm »
Hi,

I have just set up a new bot. I haven't gotten around to installing this module, but wouldn't running this if you still plan on maintaining it.

Server: Crom
Bot: Dancingbot
10
AoC 0.6 support / Re: Unknown dimension error.
« Last post by aoc_botter on September 17, 2016, 06:53:20 pm »
Hey,

Thanks for the help. I did manage to get the bot working, however I had to do a few things. First, the correct config file helped greatly. Much appreciated.

I had to download 6.9 (snapshot) archive...this is the only version that would work. I used MySql 5.0.18 and php5.2.13.

All of these things together got my bot up an running.
Pages: [1] 2 3 ... 10

* Recent Posts

Bot hosting (UtAvDrift Hosting) by Tessman
[August 24, 2017, 10:19:33 am]


CIDB by bitnykk
[July 21, 2017, 10:19:38 am]


Line 99 StartBot.php by Kepha
[October 17, 2016, 10:37:57 am]


New Central itemDB (!item[s|reg]) by aoc_botter
[September 17, 2016, 07:06:44 pm]


Unknown dimension error. by aoc_botter
[September 17, 2016, 06:53:20 pm]

* Who's Online

  • Dot Guests: 23
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Forum Staff

Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator