L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 01:19:38 AM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.4 support > Topic: 0.4.0 stalling and rebooting after colors.php loads
Pages: [1]   Go Down
« previous next »
Print
Author Topic: 0.4.0 stalling and rebooting after colors.php loads  (Read 748 times)
0 Members and 1 Guest are viewing this topic.
Monery
Rookie
**
Offline Offline

Posts: 28


0.4.0 stalling and rebooting after colors.php loads
« 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
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: 0.4.0 stalling and rebooting after colors.php loads
« 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
Rookie
**
Offline Offline

Posts: 28


Re: 0.4.0 stalling and rebooting after colors.php loads
« 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
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: 0.4.0 stalling and rebooting after colors.php loads
« 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
Rookie
**
Offline Offline

Posts: 28


Re: 0.4.0 stalling and rebooting after colors.php loads
« 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
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: 0.4.0 stalling and rebooting after colors.php loads
« 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
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: 0.4.0 stalling and rebooting after colors.php loads
« 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
Rookie
**
Offline Offline

Posts: 28


Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #7 on: July 25, 2007, 02:13:21 PM »

one of the easiest ways to do it.... .txt file otw
Logged
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: 0.4.0 stalling and rebooting after colors.php loads
« 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
Code:
short_open_tag = "1"

Alternatively edit every php file and the Bot.conf and make sure the opening tag is
Code:
<?php
instead of the short
Code:
<?
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Monery
Rookie
**
Offline Offline

Posts: 28


Re: 0.4.0 stalling and rebooting after colors.php loads
« 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
BeBot Contributor
Experienced
*******
Offline Offline

Posts: 158


WWW
Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #10 on: July 26, 2007, 10:25:42 AM »

Nope, the end can stay as it is.
Logged
Monery
Rookie
**
Offline Offline

Posts: 28


Re: 0.4.0 stalling and rebooting after colors.php loads
« 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 Offline

Gender: Male
Posts: 20


Re: 0.4.0 stalling and rebooting after colors.php loads
« 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
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: 0.4.0 stalling and rebooting after colors.php loads
« Reply #13 on: August 13, 2007, 10:58:03 AM »

Use 0.4.1 then, all files should use full <?php headers.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.4 support > Topic: 0.4.0 stalling and rebooting after colors.php loads
« previous next »
 
Jump to:  

Recent
[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11144
Total Topics: 1505
Online Today: 8
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 14
Total: 15
Whackoeng

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.187 seconds with 28 queries. (Pretty URLs adds 0.031s, 4q)
Loading...