collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: 0.4.0 stalling and rebooting after colors.php loads  (Read 11516 times)

0 Members and 1 Guest are viewing this topic.

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
0.4.0 stalling and rebooting after colors.php loads
« 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

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #1 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.
BeBot Founder and Fixer Kingpin

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #2 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

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #3 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?
BeBot Founder and Fixer Kingpin

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #4 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

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #5 on: July 25, 2007, 04:28:06 am »
Email it to Thomas.Juberg at Gmail dot Com
BeBot Founder and Fixer Kingpin

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #6 on: July 25, 2007, 05:24:16 am »
lol did you put your email address like that so bots cant steal it?

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #7 on: July 25, 2007, 09:13:21 pm »
one of the easiest ways to do it.... .txt file otw

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #8 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]
<?
BeBot Founder and Fixer Kingpin

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #9 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
« Last Edit: July 26, 2007, 05:25:23 pm by Monery »

Offline Vhab

  • Contributor
  • *******
  • Posts: 180
  • Karma: +0/-0
    • VhaBot Forum
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #10 on: July 26, 2007, 05:25:42 pm »
Nope, the end can stay as it is.

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #11 on: July 26, 2007, 05:31:01 pm »
well Khalem and Vhab... we got any other ideas before I edit all the php files?

Offline Trancillion

  • BeBot User
  • **
  • Posts: 20
  • Karma: +0/-0
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #12 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

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #13 on: August 13, 2007, 05:58:03 pm »
Use 0.4.1 then, all files should use full <?php headers.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 301
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal