|
Monery
|
 |
« on: July 22, 2007, 12: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
|
|
|
|
|
Logged
|
|
|
|
|
Khalem
|
 |
« Reply #1 on: July 22, 2007, 04: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.
|
|
|
|
|
Logged
|
BeBot Founder and Fixer Kingpin Madman coder and destroyer of good code
|
|
|
|
Monery
|
 |
« Reply #2 on: July 22, 2007, 07:57:42 PM » |
|
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
|
|
|
|
|
Logged
|
|
|
|
|
Khalem
|
 |
« Reply #3 on: July 23, 2007, 06:14:31 PM » |
|
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?
|
|
|
|
|
Logged
|
BeBot Founder and Fixer Kingpin Madman coder and destroyer of good code
|
|
|
|
Monery
|
 |
« Reply #4 on: July 24, 2007, 03: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
|
|
|
|
|
Logged
|
|
|
|
|
Khalem
|
 |
« Reply #5 on: July 24, 2007, 09:28:06 PM » |
|
Email it to Thomas.Juberg at Gmail dot Com
|
|
|
|
|
Logged
|
BeBot Founder and Fixer Kingpin Madman coder and destroyer of good code
|
|
|
|
Temar
|
 |
« Reply #6 on: July 24, 2007, 10:24:16 PM » |
|
lol did you put your email address like that so bots cant steal it?
|
|
|
|
|
Logged
|
MSN messenger: chris_smith96 at hotmain dot com Xfire: chriss96
|
|
|
|
Monery
|
 |
« Reply #7 on: July 25, 2007, 02:13:21 PM » |
|
one of the easiest ways to do it.... .txt file otw
|
|
|
|
|
Logged
|
|
|
|
|
Khalem
|
 |
« Reply #8 on: July 25, 2007, 03: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 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 <?
|
|
|
|
|
Logged
|
BeBot Founder and Fixer Kingpin Madman coder and destroyer of good code
|
|
|
|
Monery
|
 |
« Reply #9 on: July 26, 2007, 10:23:40 AM » |
|
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
|
|
|
|
« Last Edit: July 26, 2007, 10:25:23 AM by Monery »
|
Logged
|
|
|
|
|
Vhab
|
 |
« Reply #10 on: July 26, 2007, 10:25:42 AM » |
|
Nope, the end can stay as it is.
|
|
|
|
|
Logged
|
|
|
|
|
Monery
|
 |
« Reply #11 on: July 26, 2007, 10:31:01 AM » |
|
well Khalem and Vhab... we got any other ideas before I edit all the php files?
|
|
|
|
|
Logged
|
|
|
|
Trancillion
Rookie

Offline
Gender: 
Posts: 20
|
 |
« Reply #12 on: August 13, 2007, 10:34:29 AM » |
|
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
|
|
|
|
|
Logged
|
|
|
|
|
Alreadythere
|
 |
« Reply #13 on: August 13, 2007, 10:58:03 AM » |
|
Use 0.4.1 then, all files should use full <?php headers.
|
|
|
|
|
Logged
|
|
|
|
|