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: TWC  (Read 101274 times)

0 Members and 2 Guests are viewing this topic.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: AOWC
« Reply #45 on: August 09, 2008, 04:49:14 pm »
lol..should pay attention to what I delete...but with it in there nothing happens...no errors or anything

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: AOWC
« Reply #46 on: August 09, 2008, 04:58:46 pm »
replaced the file with the default...still no joy

Offline jarvil

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: AOWC
« Reply #47 on: August 10, 2008, 04:26:21 am »
I looked through the code. Man im just having trouble figuring out what is going on. I can read the PHP but the overall picture is very confusing to me as I don't understand bebot. I'm willing but pretty fresh to OO PHP programming. I understand the hooks providing new commands but dont really understand what is going on inside those hooks in relation to bebot.

Todo
Bebot chat not come up white.  not sure what you mean?
All bot chat comes up white in channel. Is that a bebot setting - ill look?
Can we have a setting for the [WEB] tag.

Enable Send/Recieve tells from AOWC
How to find the person behind the bot.... hmmm. Maybe they put name: message and the bot puts it in a new privmsg table for aowc to pickup.

Online user list - Does bebot keep an online user list inside a table?

Bring up item information in new window from itemref:// links. (Bot to query server) it currently Links Items to Auno altho there maybe a few bugs with the detection
Auno? whats Auno? Yeah it only picks up one, more than one link in the same line doesnt appear to work. I mean so web users can click on the item and get info in a new browser popup.

Webauth integration with Joomla
This ones mine when I get SVN working and learn some more.

Bugfix Todo
!quotes not appearing in webchat whats not appearing? - I need to verify against latest code

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: AOWC
« Reply #48 on: August 10, 2008, 05:23:27 am »
I looked through the code. Man im just having trouble figuring out what is going on. I can read the PHP but the overall picture is very confusing to me as I don't understand bebot. I'm willing but pretty fresh to OO PHP programming. I understand the hooks providing new commands but dont really understand what is going on inside those hooks in relation to bebot.

Todo
Bebot chat not come up white.  not sure what you mean?
All bot chat comes up white in channel. Is that a bebot setting - ill look?
Can we have a setting for the [WEB] tag. output uses the default color, if your bot uses white normally then it will use white, yes ill add a setting to change [WEB] to whateva u want

Enable Send/Recieve tells from AOWC
How to find the person behind the bot.... hmmm. Maybe they put name: message and the bot puts it in a new privmsg table for aowc to pickup.the same table is fine, i can eaasily add it when i get time and done with more important stuff

Online user list - Does bebot keep an online user list inside a table?yes the Box with the list in uses the table, i may add !online command in future but not important due to online box

Bring up item information in new window from itemref:// links. (Bot to query server) it currently Links Items to Auno altho there maybe a few bugs with the detection
Auno? whats Auno? Yeah it only picks up one, more than one link in the same line doesnt appear to work. I mean so web users can click on the item and get info in a new browser popup.Auno is for AO, i will do some research into AoC Items

Webauth integration with Joomla
This ones mine when I get SVN working and learn some more.

Bugfix Todo
!quotes not appearing in webchat whats not appearing? - I need to verify against latest code

Offline jarvil

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: AOWC
« Reply #49 on: August 11, 2008, 12:12:56 pm »
Hi,

Online Users depends on online_orgbot_names being defined. If its not you get nothing. Once I defined this value it worked a treat... well except for the fact there are many more users online than those in the list. I turned off a few things in bebot that may need to be turned back on.

Jarvil

Offline jarvil

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Re: AOWC
« Reply #50 on: August 11, 2008, 04:18:46 pm »
AOWC Settings
Color settings for AOWC. Text, Background and Page Background. Would like to set page background to black for the moment as it would look a whole lot better.

The async data exchange and javascript, thats some nice code Temar. Your a wiz man :-) I only know PHP hehe and was looking into how to do what you are doing. I read up about Ajax and figured thats the way to do it but had no idea how it was done. Sweet stuff.

Jarv

Offline Foxy

  • BeBot User
  • **
  • Posts: 37
  • Karma: +0/-0
Re: AOWC
« Reply #51 on: August 14, 2008, 04:11:31 am »
couple of issues:

Trying to install Vers 2
Done all database settings correct

but when i ran install i got

Install Complete v2.0 Beta r102

Fatal error: Call to undefined function socket_create() in C:\wamp\www\aoc\aowc_install.php on line 757

If i just goto the aoc page i get

Parse error: syntax error, unexpected '}' in C:\wamp\www\aoc\aowc.php on line 278

My setup Is windows Xp SP3 running WAmpServer, the server runs ok as i host a joomla website on it too and many other sites.

Im guessing there maybe a setting i have missed out.

any ideas




Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: AOWC
« Reply #52 on: August 14, 2008, 06:40:15 am »
well the 1st error is from the end of install when it gets latest info from my site, this wont affect the install

as for the aowc.php error i cant see anything wrong and it works fine 4 me and most orgs

Offline Foxy

  • BeBot User
  • **
  • Posts: 37
  • Karma: +0/-0
Re: AOWC
« Reply #53 on: August 14, 2008, 01:44:51 pm »
just dropped database and settings.php

and filled in again

got
Making user_prefs Table...Done
Checking user_prefs Table...OK
Making settings Table...Done
Checking settings Table...OK
Checking & Adding Settings...Done
Making users Table...Done
Checking users Table...OK
Checking bot message Table...OK
Updateing settings file...Done

but still getting parse error on aowc.php

In settings.php i have the following

Code: [Select]
// AOWC Settings

$this -> settings["forum_sql_server"] = 'localhost';
$this -> settings["forum_sql_username"] = 'aowc';
$this -> settings["forum_sql_password"] = '******';
$this -> settings["bot_sql_server"] = 'localhost';
$this -> settings["bot_sql_username"] = 'bebot';
$this -> settings["bot_sql_password"] = '*******';
$this -> settings["forum_pre"] = '';
$this -> settings["forum_db"] = 'aowc';
$this -> settings["orgbot_db"] = 'bebot';
$this -> settings["orgbot_name"] = 'Anacon';
$this -> settings["online_orgbot_names"] = '';
$this -> settings["orgbot_names"] = ';';
$this -> settings["aowc_db"] = 'aowc';
$this -> settings["aowc_pre"] = '';
$this -> settings["login_table"] = '';
$this -> settings["loginbots_prefix"] = '';
$this -> settings["orgchat"] = TRUE;
$this -> settings["loginchat"] = FALSE;
$this -> settings["forum_root"] = 'C:wampwwwaoc';
$this -> settings["aowc_root"] = 'C:wampwwwaoc';
$this -> settings["aowc_url"] = 'http://localhost/aoc';
$this -> settings["user_data"] = 3;
$this -> settings["allow_new"] = TRUE;

Using Files from - http://aowc.aofiles.com/svn/AOWC_Lite/trunk/


Trying to get to work with AOC


Offline Naghachian

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: AOWC
« Reply #54 on: August 14, 2008, 02:47:13 pm »
i just get a completely empty page when i load the aowc.php or index.php regardless of what computer i load it from....

is this some kind of PHP error on my side ?

i use IIS6, PHP5 and MySQL

edit : a phpinfo file works perfectly, but i also noticed that i cannot CHMOD the files included in AOWC.
they are all 666 and i thought i changed them to 755 but when i look them up nothing has happened.

I understand that this has nothing to do with AOWC or bebot specifically but does anyone here know why this happens ?
« Last Edit: August 14, 2008, 03:26:40 pm by Naghachian »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: AOWC
« Reply #55 on: August 14, 2008, 04:33:41 pm »
foxy shouldnt the forum and aowc root be mroe like c:\wampwwwaoc

Offline Foxy

  • BeBot User
  • **
  • Posts: 37
  • Karma: +0/-0
Re: AOWC
« Reply #56 on: August 15, 2008, 01:40:37 am »
when i set in settings it is set to C:\wamp\www\aoc
but seems after i run the install it adds it like = C:wampwwwaoc which i thought was odd too, but thought i leave it as it does it

but even when changed it still gets parse error


Offline Naghachian

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: AOWC
« Reply #57 on: August 15, 2008, 01:28:56 pm »
i just get a completely empty page when i load the aowc.php or index.php regardless of what computer i load it from....

is this some kind of PHP error on my side ?

i use IIS6, PHP5 and MySQL

edit : a phpinfo file works perfectly, but i also noticed that i cannot CHMOD the files included in AOWC.
they are all 666 and i thought i changed them to 755 but when i look them up nothing has happened.

I understand that this has nothing to do with AOWC or bebot specifically but does anyone here know why this happens ?

I can add that when i run the install file everything works fine.... its when i try to run index.php or aowc.php that i get a blank page.

PHP doesnt log any errors and the page source is 0byte large.

result of installation :
User_prefs Table Already Exists and Doesnt Require Updating
Checking user_prefs Table...OK
settings Table Already Exists and Doesnt Require Updating
Checking settings Table...OK
Checking & Adding Settings...Done
PHPBB Table not Used
Checking bot message Table...OK
Updateing settings file...Done

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: AOWC
« Reply #58 on: August 16, 2008, 04:01:36 am »
Ok i think i solved the problem of Blank pages and unexpected errors even so code seems fine
i installed apache on my laptop to test with windows as i normally use my Linux server
i got lots of errors
the problm was apparently me putting <? instead of <?php
so just redownload the SVN copy and it should be ok

Offline Naghachian

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: AOWC
« Reply #59 on: August 18, 2008, 04:35:49 pm »
thanks Temar, it works like a charm now :D

wonderful module, good job

 

* 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: 261
  • 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