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

Title: 0.4.0 stalling and rebooting after colors.php loads
Post 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
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Khalem on July 22, 2007, 11:27:58 pm
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.
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Monery on July 23, 2007, 02:57:42 am
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
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Khalem on July 24, 2007, 01:14:31 am
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?
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Monery on July 24, 2007, 10:13:17 pm
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
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Khalem on July 25, 2007, 04:28:06 am
Email it to Thomas.Juberg at Gmail dot Com
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Temar on July 25, 2007, 05:24:16 am
lol did you put your email address like that so bots cant steal it?
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Monery on July 25, 2007, 09:13:21 pm
one of the easiest ways to do it.... .txt file otw
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Khalem on July 25, 2007, 10:13:25 pm
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
Code: [Select]
short_open_tag = "1"

Alternatively edit every php file and the Bot.conf and make sure the opening tag is
Code: [Select]
<?php
instead of the short
Code: [Select]
<?
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Monery on July 26, 2007, 05:23:40 pm
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
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Vhab on July 26, 2007, 05:25:42 pm
Nope, the end can stay as it is.
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Monery on July 26, 2007, 05:31:01 pm
well Khalem and Vhab... we got any other ideas before I edit all the php files?
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Trancillion on August 13, 2007, 05:34:29 pm
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
Title: Re: 0.4.0 stalling and rebooting after colors.php loads
Post by: Alreadythere on August 13, 2007, 05:58:03 pm
Use 0.4.1 then, all files should use full <?php headers.
SimplePortal 2.3.7 © 2008-2024, SimplePortal