BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.4 support => Topic started by: Monery on July 22, 2007, 07:11:42 pm
-
Well I can't give any error logs due to the fact that i don't get any, but the bot is online in debug more.... Cherrs for the speed increase I have seen so far in the rooster build and lack of spam when the bot comes online the first time any ideas what I should do besides REM out a bunch of core modules and then go into the modules folder and repeat? I stopped after doing about 8 of them figuring I didn't configure something right and missed a step in the new release
-
Colors.php is a core module and is loaded before the bot even thinks about connecting to AO.
It would help greatly to see what is occuring in console when this happens and also know more about the enviroment you are running the bot in.
Commenting out Core modules is a sure way to break the bot.
-
this data which i appear is the php code just loops until I rem out FlexibleSecurity.php and then it fails on another module , then another and another as I am rem out modules which I am sure is not the way to fix it
I have not loaded any extra modules in nor have I modified any of the factory installed ones....
OS is Server 2003 Sp2
RAM is 768 MB
PHP Engine 5.2.3.3 The PHP Group
SQL Server My SQL 5
Not sure if u need anything else from me but if you do, let me know. I am sure that there was a step that i missed when setting it up that is new from 0.3.3 release that we have been using. There is more than 20000 char's of data that is dumped from the bot when I run the about 80k in a text file. The command I am running is the startbot.bat file which runs
@cls
@php -c ./ StartBot.php
but the bot runs fine it appears by the debug script named StartDebugBot.bat
@cls
@php -c ./ Main.php
pause
-
You are seeing actual PHP code in the console??
Something is definately wrong.
Could you please post the contents of the console window so we can see?
Are you using the PHP bundle provided by us?
-
yes I am using the PHP from the site here.... now like I said, I get like 80k worth of stuff dumped into the command window.... ALOT more than what I can fit into the forum.... how you want me to get it to you
-
Email it to Thomas.Juberg at Gmail dot Com
-
lol did you put your email address like that so bots cant steal it?
-
one of the easiest ways to do it.... .txt file otw
-
Do you have PHP installed system wide as well?
In any case, for the time being add this to your php.ini. Provided you start BeBot using the provided scripts it should use the php.ini in the bot directory. Else you will need to add it to the system wide php.ini
short_open_tag = "1"
Alternatively edit every php file and the Bot.conf and make sure the opening tag is
<?php
instead of the short
<?
-
I am running PHP from the directory the bot resides in. but just a quick question about the alternative....
If I change the <? to <?php... do i need to change the ?> at the end? The first change did no good btw... still get PHP output to the console window
-
Nope, the end can stay as it is.
-
well Khalem and Vhab... we got any other ideas before I edit all the php files?
-
tested it here, had the same problem with just listing up the php commands in the shell. edited them all with <?php at start and it works now
-
Use 0.4.1 then, all files should use full <?php headers.